APPLICATION_VERIFIER_LOCK_IN_FREED_HEAP
How do i fix this problem during shutdown with a freeing an active critical section in the msxml code? the trace when this happens is this:
ChildEBP RetAddr
0012b1b4 6e923760 ntdll!DbgBreakPoint
0012b3b8 6c7730ee vrfcore!VerifierStopMessageEx+0x4b5
0012b3dc 6c765fa9 vfbasics!VfBasicsStopMessage+0x8e
0012b424 6c769cc9 vfbasics!AVrfpFreeMemLockChecks+0x109
0012b440 6c76bd86 vfbasics!AVrfpFreeMemNotify+0x39
0012b458 773f168d vfbasics!AVrfpNtdllHeapFreeCallback+0x16
0012b474 6e877e97 ntdll!AVrfInternalHeapFreeNotification+0x4d
0012b4c8 773dafe1 verifier!AVrfDebugPageHeapDestroy+0x137
0012b4dc 7637098e ntdll!RtlDestroyHeap+0x7a
0012b4e8 6c76be6d kernel32!HeapDestroy+0xe
0012b4f8 71f9b30a vfbasics!AVrfpHeapDestroy+0x2d
0012b508 71f9b2da msxml3!heap_destroy+0x1f
0012b514 71f9b297 msxml3!_MP_HEAP_ENTRY::~_MP_HEAP_ENTRY+0x1c
0012b528 71f9aa2a msxml3!MpHeapDestroy+0x53
0012b530 71f9ae5d msxml3!MpHeapExit+0x18
0012b534 71f9ae49 msxml3!Memory_exit+0xa
0012b540 6e8759c9 msxml3!InitDllMain+0x104
0012b588 6e927fcb verifier!AVrfpStandardDllEntryPointRoutine+0x109
0012b5d0 6c77118e vrfcore!VfCoreStandardDllEntryPointRoutine+0x127
0012b628 7739e1c4 vfbasics!AVrfpStandardDllEntryPointRoutine+0x10ethe initialization stack trace is here:
0047911c 7739cf8f ntdll!RtlInitializeCriticalSectionAndSpinCount+0x19
00479120 6c766885 vfbasics!AVrfpInitializeCriticalSectionCommon+0x135
00479124 6c766a02 vfbasics!AVrfpRtlInitializeCriticalSection+0x12
00479128 71f68dc9 msxml3!SafeInitializeCriticalSection+0x38
0047912c 71f68da0 msxml3!X_CRITICAL_SECTION::Initialize+0x12
00479130 71f7ba40 msxml3!NodeManager::New+0x5e
00479134 71f6fd92 msxml3!Document::init+0x52
00479138 71f6faee msxml3!_createDOMDocument+0x19
0047913c 71fa608c msxml3!CreateDOMDocument+0x3a
00479140 71f69b31 msxml3!ClassFactory_CreateInstance+0x50
00479144 7672750f ole32!CServerContextActivator::CreateInstance+0x172
00479148 7672705b ole32!ActivationPropertiesIn:
elegateCreateInstance+0x108
0047914c 7672772d ole32!CApartmentActivator::CreateInstance+0x112
00479150 7672764f ole32!CProcessActivator::CCICallback+0x6d
00479154 76727609 ole32!CProcessActivator::AttemptActivation+0x2c
00479158 767275ba ole32!CProcessActivator::ActivateByContext+0x4f
0047915c 767276af ole32!CProcessActivator::CreateInstance+0x49
00479160 7672705b ole32!ActivationPropertiesIn:
elegateCreateInstance+0x108
00479164 76727121 ole32!CClientContextActivator::CreateInstance+0xb0
00479168 7672705b ole32!ActivationPropertiesIn:
elegateCreateInstance+0x108
0047916c 767272c5 ole32!ICoCreateInstanceEx+0x403
00479170 7674e2a2 ole32!CComActivator:
oCreateInstance+0xd9
00479174 7674e203 ole32!CoCreateInstanceEx+0x38
00479178 7674e1bc ole32!CoCreateInstance+0x37
0047917c 00422bb3 NetSP!ATL::CComPtrBase<MSXML2::IXMLDOMDocument>::CoCreateInstance+0x73 [c:\program files\microsoft visual studio 8\vc\atlmfc\include\atlcomcli.h @ 234]
00479180 0041f70b NetSP!WinMail_Get_AttributeValue+0x7b [c:\v7\current\netsp\windowsmailset.cpp @ 276]
00479184 0041fb5a NetSP!WinMail_Get_NewsAccountFilename+0x10a [c:\v7\current\netsp\windowsmailset.cpp @ 312]
00479188 00417928 NetSP!WinMain+0xa98 [c:\v7\current\netsp\netsp.cpp @ 752]
0047918c 004289f6 NetSP!__tmainCRTStartup+0x286 [f:\sp\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 589]Thanks
Answers
I suggest posting searching for this type of issue on the MSXML forum, as well as posting the question there. People there will be able to give you better advice on MSXML than in this forum, which mostly handles how to install or interpret Application Verifier as integrated in VS.
http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.xml
Thanks,
Dave Lubash - Microsoft Visual Studio Team Engineering
All Replies
I suggest posting searching for this type of issue on the MSXML forum, as well as posting the question there. People there will be able to give you better advice on MSXML than in this forum, which mostly handles how to install or interpret Application Verifier as integrated in VS.
http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.xml
Thanks,
Dave Lubash - Microsoft Visual Studio Team Engineering


