故障模块是什么意思,为什么会发生? [英] Faulting module what does this mean and why does this happen?

查看:82
本文介绍了故障模块是什么意思,为什么会发生?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用.net C#编写的附件,它偶尔会崩溃(不响应)Windows事件日志以及以下消息. (它所指向的dll是非托管代码)

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?

故障处理应用程序名称:Application.exe,版本:4.2.11.0,时间戳:0x4e8d8e86 故障模块名称:myDll.DLL_unloaded, 异常代码:0xc0000005 故障偏移量:0x0000000180004d3c 错误的模块路径:myDll.DLL 报告ID:5608bfd7-f014-11e0-9df7-001cc05d00b7

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

谢谢!

推荐答案

这意味着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.

这篇关于故障模块是什么意思,为什么会发生?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆