G
Guest
I really am banging my head with this one...
I have a regular unmanaged C++ application that is using mixed DLLs to
(amongst other things) call a C# back-end (which is using ADO .NET). I am
getting random crashes, typically after 15-60 minutes of inactivity. The
error message and call stack are listed below.
Unhandled exception at 0x792483e0 (mscorwks.dll) in
debug_build_wks_crash.dmp: 0xC0000005: Access violation reading location
0xfeef00da.
mscorwks.dll!CorExitProcess() + 0x5e2c
mscorwks.dll!ND_CopyObjDst() + 0x2fa9
mscorwks.dll!CorExitProcess() + 0x4a3c
mscoree.dll!__CorDllMain@12() + 0x1c
ntdll.dll!_LdrpCallInitRoutine@16() + 0x14
ntdll.dll!_LdrShutdownThread@0() + 0xdb
kernel32.dll!_ExitThread@4() + 0x3e
mscorwks.dll!ReleaseFusionInterfaces() + 0x44a7f
mscorwks.dll!ReleaseFusionInterfaces() + 0x441b0
kernel32.dll!_BaseThreadStart@8() + 0x37
In an attempt to fix or identify the problem I have:
1. Searched the code for places where unmanaged code could be corrupting
managed memory.
2. Tracked (using Trace.WriteLine()) garbage collection. This seemed to
indicate that garbage collection (of my objects) had taken place long before
the crash.
3. Implemented the workaround for the mixed DLL loading problem
(http://support.microsoft.com/?id=814472).
I can't make much sense of the call stack, even this
(http://msdn.microsoft.com/library/d...y/en-us/cpgenref/html/grfuncorexitprocess.asp) document doesn't really help me.
I would really appreciate either suggestions as to what might be causing the
problem or ideas that might help me track it down.
Thanks
I have a regular unmanaged C++ application that is using mixed DLLs to
(amongst other things) call a C# back-end (which is using ADO .NET). I am
getting random crashes, typically after 15-60 minutes of inactivity. The
error message and call stack are listed below.
Unhandled exception at 0x792483e0 (mscorwks.dll) in
debug_build_wks_crash.dmp: 0xC0000005: Access violation reading location
0xfeef00da.
mscorwks.dll!CorExitProcess() + 0x5e2c
mscorwks.dll!ND_CopyObjDst() + 0x2fa9
mscorwks.dll!CorExitProcess() + 0x4a3c
mscoree.dll!__CorDllMain@12() + 0x1c
ntdll.dll!_LdrpCallInitRoutine@16() + 0x14
ntdll.dll!_LdrShutdownThread@0() + 0xdb
kernel32.dll!_ExitThread@4() + 0x3e
mscorwks.dll!ReleaseFusionInterfaces() + 0x44a7f
mscorwks.dll!ReleaseFusionInterfaces() + 0x441b0
kernel32.dll!_BaseThreadStart@8() + 0x37
In an attempt to fix or identify the problem I have:
1. Searched the code for places where unmanaged code could be corrupting
managed memory.
2. Tracked (using Trace.WriteLine()) garbage collection. This seemed to
indicate that garbage collection (of my objects) had taken place long before
the crash.
3. Implemented the workaround for the mixed DLL loading problem
(http://support.microsoft.com/?id=814472).
I can't make much sense of the call stack, even this
(http://msdn.microsoft.com/library/d...y/en-us/cpgenref/html/grfuncorexitprocess.asp) document doesn't really help me.
I would really appreciate either suggestions as to what might be causing the
problem or ideas that might help me track it down.
Thanks