Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

The thread tried to read from or write to a virtual address for which it does not have the appropriate access.

$
0
0

I am experiencing a random crash in a .NET 3.5 WPF application. The crash happens around once a week.

The event log indicates its a .NET fatal execution engine error with the faulting module mscorwks.dll

Using adplus I have captured a dump file.

The dump indicates the underlying exception message was as follows

"The thread tried to read from or write to a virtual address for which it does not have the appropriate access."

I have been unable to trace the error back into my code, the call stack in the dump seems to be entirely inside the framework itself and the problem seems to happen at random times.

I'm not sure if anyone can decipher what might be happening from the call stack below. Any help is appreciated.

    mscorwks.dll!ArrayClass::GetApproxArrayElementTypeHandle()  + 0x13 bytes    
     mscorwks.dll!ArrayBase::GetArrayElementTypeHandle()  + 0x36 bytes    
     mscorwks.dll!ArrayBase::GetTypeHandle()  + 0x11 bytes    
     mscorwks.dll!Object::GetTypeHandle()  + 0x143944 bytes    
     mscorwks.dll!ObjIsInstanceOf()  + 0x2f bytes    
     mscorwks.dll!@JITutil_ChkCastAny@8()  + 0xa0 bytes    
     System.ni.dll!6face3ab()     
     [Frames below may be incorrect and/or missing, no symbols loaded for System.ni.dll]    
     System.ni.dll!6face306()     
     PresentationFramework.ni.dll!5c8f3bcf()     
     PresentationFramework.ni.dll!5c8f3ae5()     
     WindowsBase.ni.dll!5e11c366()     
     WindowsBase.ni.dll!5e1056c3()     
     PresentationFramework.ni.dll!5d240b42()     
     PresentationFramework.ni.dll!5c8686bf()     
     WindowsBase.ni.dll!5e10a31a()     
     WindowsBase.ni.dll!5e10a20a()     
     WindowsBase.ni.dll!5e108384()     
     WindowsBase.ni.dll!5e10d26d()     
     WindowsBase.ni.dll!5e10d1f8()     
     mscorlib.ni.dll!70365991()     
     mscorwks.dll!_CallDescrWorker@20()  + 0x33 bytes    
     mscorwks.dll!_CallDescrWorkerWithHandler@24()  + 0x9f bytes    
     mscorwks.dll!MethodDesc::CallDescr()  + 0x15a bytes    
     mscorwks.dll!MethodDesc::CallTargetWorker()  + 0x1f bytes    
     mscorwks.dll!MethodDescCallSite::CallWithValueTypes_RetArgSlot()  + 0x1a bytes    
     mscorwks.dll!ExecuteCodeWithGuaranteedCleanupHelper()  + 0x9f bytes    
     mscorwks.dll!ReflectionInvocation::ExecuteCodeWithGuaranteedCleanup()  + 0xfe bytes    
     mscorlib.ni.dll!70365887()     
     mscorlib.ni.dll!703504b5()     
     WindowsBase.ni.dll!5e10d133()     
     WindowsBase.ni.dll!5e107a27()     
     WindowsBase.ni.dll!5e107d13()     
     WindowsBase.ni.dll!5e10a4fe()     
     WindowsBase.ni.dll!5e10a42a()     
     WindowsBase.ni.dll!5e10a31a()     
     WindowsBase.ni.dll!5e10a20a()     
     WindowsBase.ni.dll!5e108384()     
     WindowsBase.ni.dll!5e1074e1()     
     WindowsBase.ni.dll!5e107430()     
     WindowsBase.ni.dll!5e109b6c()     
     user32.dll!_InternalCallWinProc@20()  + 0x23 bytes    
     user32.dll!_UserCallWinProcCheckWow@32()  + 0xb3 bytes    
     user32.dll!_DispatchMessageWorker@8()  + 0xe6 bytes    
     user32.dll!_DispatchMessageW@4()  + 0xf bytes    
     0012be8a()    
     WindowsBase.ni.dll!5e107b24()     
     WindowsBase.ni.dll!5e1071f9()     
     WindowsBase.ni.dll!5e10719c()     
     PresentationFramework.ni.dll!5c88f07e()     
     PresentationFramework.ni.dll!5c88e37f()     
     PresentationFramework.ni.dll!5c8756d6()     
     PresentationFramework.ni.dll!5c875699()     
     mscorwks.dll!_CallDescrWorker@20()  + 0x33 bytes    
     mscorwks.dll!_CallDescrWorkerWithHandler@24()  + 0x9f bytes    
     mscorwks.dll!MethodDesc::CallDescr()  + 0x15a bytes    
     mscorwks.dll!MethodDesc::CallTargetWorker()  + 0x1f bytes    
     mscorwks.dll!MethodDescCallSite::CallWithValueTypes_RetArgSlot()  + 0x1a bytes    
     mscorwks.dll!ClassLoader::RunMain()  - 0x38e85 bytes    
     mscorwks.dll!Assembly::ExecuteMainMethod()  + 0xa4 bytes    
     mscorwks.dll!SystemDomain::ExecuteMainMethod()  + 0x3e3 bytes    
     mscorwks.dll!ExecuteEXE()  + 0x49 bytes    
     mscorwks.dll!__CorExeMain@0()  + 0x98 bytes    
     mscoreei.dll!712af5a3()     
     mscoree.dll!_ShellShim__CorExeMain@0()  + 0x227 bytes    
     mscoree.dll!__CorExeMain_Exported@0()  + 0x8 bytes    
     kernel32.dll!@BaseThreadInitThunk@12()  + 0x12 bytes    
     ntdll.dll!___RtlUserThreadStart@8()  + 0x27 bytes    
     ntdll.dll!__RtlUserThreadStart@8()  + 0x1b bytes    


Viewing all articles
Browse latest Browse all 18858

Trending Articles