Article ID: 310833 - Last Review: January 11, 2006 - Revision: 4.2 SetILInstrumentedCodeMap may cause access violationThis article was previously published under Q310833 SYMPTOMSICorProfilerInfo::SetILInstrumentedCodeMap may cause an access violation in the managed application that is
being profiled if it is called from a JITCompilationStarted callback. CAUSE The fStartJit flag is set to FALSE when ICorProfilerInfo::SetILInstrumentedCodeMap is called the first time. RESOLUTION To avoid this problem, always set the fStartJit flag to TRUE when SetILInstrumentedCodeMap is called for the first time. On any subsequent calls, set it to TRUE on a per method basis. STATUSThis
behavior is by design. REFERENCESFor additional information, click the
article number below to view the article in the Microsoft Knowledge Base: 309551
(http://support.microsoft.com/kb/309551/EN-US/
)
INFO: CLR Profiling Services Problems
| Article Translations
|
Back to the top
