MyApp.vshost.exe: Managed (v4.0.30319)' has exited with code -1073741819 (0xc0000005). RRS feed

  • Question

  • Hello,

    I have a quite complex application which also uses inter process communication via named pipes and copying unmanaged memory around via InteropServices, etc. I.e. lots of potential sources for the access violation error 0xc0000005 I get when I exit the application in release mode. Now I just don't have a clue how and where to start my search. Can I do something similar to the memory leak detection in C/C++ (_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );)?

    I'm aborting a few threads at application end and in Debug I see according exceptions (an exception of type 'System.Threading.ThreadAbortException' occurred in LsfmInterop.dll but was not handled in user code). But that's about it.

    Thanks in advance for any suggestion

    Thursday, April 19, 2012 8:51 AM

All replies