Our application is a C# XBAP. Near as I can tell, the problem we are running into seems to be within IE rather than our code, so I tried looking for an appropriate IE forum, but the best I could find was "Internet Explorer Extension Development"
and I got no response there, so trying here instead.
Our application consists of a main IE instance (which contains the XBAP). From the C# code in this XBAP, we obtain a reference to the IHtmlWindow2 object. From that, we periodically call .open(...) to launch various other dialogs of interest
Our users began reporting random crashes, some with IE7, some with IE8. I have been able to recreate a similar crash on my development system (Windows 7, IE8, Visual Studio 2010).
Upon crashing, no information is sent to Event Viewer, and nothing is caught by our C# Exception handling either - IE simply exits. I had to attach a native debugger (rather than managed) to get anything on this. The debugger gave me the following
Unhandled exception at 0x61755473 (mshtml.dll) in iexplore.exe: 0xC0000005: Access violation reading location 0xfeeefeee.
The error is apparently occuring in a native thread with the following callstack:
mshtml.dll!CRunPtrBase::SetRun() + 0x3a b
View Complete Post