Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

Exception during msxml6 FreeObjects

$
0
0
Hi,

I have a relatively complicated test written in VB.NET.  This test invokes COM objects through interops.  Those COM objects intern invoke functionality in the MSXML6.dll.  My test finishes successfully and I see the last print statements I've made in the test.  After the test has finished it appears kernel32 is invoking ExitProcess.  At that time i get a pop up window that states 
"The

instruction at "0x58830fa1" referenced memory at "0x00000038". The memory could not be

"read""

I was able to get a dump file using windbg.  The stack looks like this:
0012f464 7c827779 77e827d0 d0000144 00000004 ntdll!KiFastSystemCallRet
0012f468 77e827d0 d0000144 00000004 00000000 ntdll!ZwRaiseHardError+0xc
0012f6d4 77e76a20 0012f6fc 77e61ac1 0012f704 kernel32!UnhandledExceptionFilter+0x51a
0012f6dc 77e61ac1 0012f704 00000000 0012f704 kernel32!BaseProcessStart+0x39
0012f704 7c828772 0012f7e8 0012ffe0 0012f804 kernel32!_except_handler3+0x61
0012f728 7c828743 0012f7e8 0012ffe0 0012f804 ntdll!ExecuteHandler2+0x26
0012f7d0 7c82857e 000b5000 0012f804 0012f7e8 ntdll!ExecuteHandler+0x24
0012f7d0 58830fa1 000b5000 0012f804 0012f7e8 ntdll!KiUserExceptionDispatcher+0xe
0012fb04 5885fd3b 04b1d758 04b03780 00000000 msxml6!Base::FreeObjects+0x8f
0012fb24 5885f710 54ab668e 00000000 00000001 msxml6!Base::FinishFreeObjects+0x7c
0012fb54 58870ec1 0012fb74 0012fb80 7c81a352 msxml6!Runtime_exit+0xbc
0012fb60 7c81a352 58800000 00000000 00000001 msxml6!InitDllMain+0xdd
0012fb80 7c830e90 5885ab78 58800000 00000000 ntdll!LdrpCallInitRoutine+0x14
0012fc38 77e668ab 00000001 79fdc3f8 00000000 ntdll!LdrShutdownProcess+0x182
0012fd24 77e6690d 00000000 77e8f3b0 ffffffff kernel32!_ExitProcess+0x43
0012fd38 79fdc3d4 00000000 00000000 00000000 kernel32!ExitProcess+0x14
0012ff60 79f082a8 00000000 01000000 79f07e56 mscorwks!SafeExitProcess+0x157
0012ffb0 79007c24 00000000 79e70000 0012fff0 mscorwks!DisableRuntime+0xdc
0012ffc0 77e6f23b 00000000 00000000 7ffdf000 mscoree!_CorExeMain+0x2c
0012fff0 00000000 79007bf0 00000000 78746341 kernel32!BaseProcessStart+0x23

Has anyone seen a similar issue?  Of course I googled (oops i mean binged :) ) and couldn't seem to ask the correct question, or no one has experienced what I am.

I am running my test on a 2003 SP2 VM.

Smart pointers are being used and the create call that is being may is:

#import "msxml6.dll" rename_namespace("ExMSXML")
ExMSXML::IXMLDOMDocument2Ptrm_XMLDocument;
m_XMLDocument.CreateInstance(_T("Msxml2.FreeThreadedDOMDocument.6.0"));

Thanks in advance for any help you all can provide.

-Justin


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>