Faulting module what does this mean and why does this happen?

丶灬走出姿态 提交于 2019-12-23 22:18:57

问题


I have an apllication written in .net C# and it sporafdically crashes (not responding) the windows event log ahd the following message. (teh dll it refers to is unmanaged code)

does anyone know what does this exception mean? what might cause this? and what are the ways to solve this?

Faulting application name: Application.exe, version: 4.2.11.0, time stamp: 0x4e8d8e86 Faulting module name:myDll.DLL_unloaded, Exception code: 0xc0000005 Fault offset: 0x0000000180004d3c Faulting module path: myDll.DLL Report Id: 5608bfd7-f014-11e0-9df7-001cc05d00b7

thanks!


回答1:


It means that MyDll.DLL was unloaded while it still had active code (either running at the time, or waiting to run because it is on the stack or is registered as a callback), so when the program went to execute the code, there was no code there any more. You need to investigate why your DLL is being unloaded and prevent it from being unloaded while it is still has active code.



来源:https://stackoverflow.com/questions/7674484/faulting-module-what-does-this-mean-and-why-does-this-happen

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!