Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


MSXML Document Load does not return

From: Adam Becker <ajbecker@-----.--->
To: NULL
Date: 11/3/2009 10:27:00 AM
My application runs as a service using MSXML3.  Typically, it runs
without any problems, however I occasionally see the call below to
load hang and never return:

CComPtr< IXMLDOMDocument> pTempDoc;
hr =3D pTempDoc.CoCreateInstance(__uuidof(FreeThreadedDOMDocument));
=85
hr =3D pTempDoc->load(varFilePath, &bLoadResult);

The file path is to a URL that is hosted on the local machine.  If I
log on to the machine with the same user that the service is running
as I can access the URL just fine via IE.  SSL is not in the picture.
Nothing appears to have any locks on the file.  Here is a stack trace
of the thread that is hung by this call (from a mini dump:)

00 061edca4 7739bbd1 ntdll!KiFastSystemCallRet
01 061edd00 7739ce36 user32!MsgWaitForMultipleObjectsEx+0xd7
02 061edd1c 6f376d93 user32!MsgWaitForMultipleObjects+0x1f
03 061edd6c 6f376df5 urlmon!FindMimeFromData+0x561
04 061edda8 6f35aeeb urlmon!FindMimeFromData+0x5c3
05 061ede2c 6f35ab49 urlmon!CreateURLMonikerEx2+0xc53
06 061ede70 6f35af82 urlmon!CreateURLMonikerEx2+0x8b1
07 061ede94 72e73718 urlmon!CreateURLMonikerEx2+0xcea
08 061edee0 72e72bdd msxml3!DllCanUnloadNow+0x9c7d
09 061edefc 72e72b26 msxml3!DllCanUnloadNow+0x9142
0a 061edf30 72e729d9 msxml3!DllCanUnloadNow+0x908b
0b 061edf5c 72e6295c msxml3!DllCanUnloadNow+0x8f3e
0c 061edfe0 72e73259 msxml3!DllGetClassObject+0xa2f3
0d 061edffc 72e73141 msxml3!DllCanUnloadNow+0x97be
0e 061ee07c 01a30740 msxml3!DllCanUnloadNow+0x96a6

I have found that if I delete the local user the service runs as and
re-create it, then the problem will go away, however, I=92m not too fond
of this as a solution.  Does anyone know what could cause this or what
I could do to better debug this issue?  I should probably add that
this is not something that I can reproduce at will but I do have a
memory dump of a process that is in this state.

Thanks for any help.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent