模块故障这意味着什么以及为什么会发生这种情况?
我有一个用 .net C# 编写的应用程序,它偶尔会崩溃(没有响应)Windows 事件日志并显示以下消息。 (它引用的 dll 是非托管代码)
有谁知道这个异常是什么意思?什么可能导致这种情况?解决这个问题的方法是什么?
错误应用程序名称:Application.exe,版本:4.2.11.0,时间戳:0x4e8d8e86 错误模块名称:myDll.DLL_unloaded, 异常代码:0xc0000005 故障偏移:0x0000000180004d3c 错误模块路径:myDll.DLL 报告 ID:5608bfd7-f014-11e0-9df7-001cc05d00b7
谢谢!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这意味着
MyDll.DLL
在它仍然有活动代码时被卸载(要么当时正在运行,要么因为它在堆栈上或被注册为回调而等待运行),所以当程序去执行代码,那里已经没有代码了。您需要调查 DLL 被卸载的原因,并防止在它仍然具有活动代码时被卸载。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.