意外的exe崩溃,异常代码:0xc0000005 [英] Unexpected exe crash,Exception code: 0xc0000005

查看:1535
本文介绍了意外的exe崩溃,异常代码:0xc0000005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我制作了一个用于系统任务栏的exe文件,该exe文件可以获取系统事件通知(注销和关闭)..它可以正常工作1-2个小时,但是在此exe文件崩溃后,我无法当我在应用程序日志中看到此错误时,就会从该问题所在的地方得到答案
错误的应用程序名称:Client.exe,版本:1.0.0.1,时间戳:0x4eabedf6
错误的模块名称:Client.exe,版本:1.0.0.1,时间戳:0x4eabedf6
异常代码:0xc0000005
故障偏移量:0x0001d5ce
进程ID错误:0x898
错误的应用程序开始时间:0x01cc99f249ae325d
错误的应用程序路径:C:\ Windows \ System32 \ Client.exe
错误的模块路径:C:\ Windows \ System32 \ Client.exe
报告ID:06896f3e-05ec-11e1-a23a-7071bca3c6d8
请告诉我....

感谢

Hi,

I made an exe which is for system tray, this exe to get system event notification as (log off & Shut down)..its working fine for 1-2 hours but after that this exe is going to crash I am unable to get from where that problem is coming when I am seeing in Application log this error showing
Faulting application name: Client.exe, version: 1.0.0.1, time stamp: 0x4eabedf6
Faulting module name: Client.exe, version: 1.0.0.1, time stamp: 0x4eabedf6
Exception code: 0xc0000005
Fault offset: 0x0001d5ce
Faulting process id: 0x898
Faulting application start time: 0x01cc99f249ae325d
Faulting application path: C:\Windows\System32\Client.exe
Faulting module path: C:\Windows\System32\Client.exe
Report Id: 06896f3e-05ec-11e1-a23a-7071bca3c6d8
please tell me....

Thanks

推荐答案

我们唯一可以告诉您的是,您的代码中某处有一个内存访问异常.四舍五入偏移量0x0001d5ce,尽管那可能不是错误所在.您需要做一些工作来分析代码,通过调试器运行它,并添加一些跟踪数据,以便找出发生的地方.
Well the only thing we can tell you is that you have a memory access exception somewhere in your code. Round about offset 0x0001d5ce, although that may not be where the bug is. You need to do some work analysing your code, running it through the debugger, and adding some trace data, in order to find out where it is happening.


如果可能,请在调试模式下运行附带调试器.
否则,行Fault offset: 0x0001d5ce为您提供原始装配体中的位置.除非您熟悉逆向工程,否则我想不出一种易于解释的方法.

另一种可能性是添加一个崩溃处理程序.请参见 MSDN [
If possible, run in debug mode with the debugger attached.
Otherwise, the line Fault offset: 0x0001d5ce gives you the location in the raw assembly. I cannot think of a way which is easy to explain, unless you are familiar with reverse engineering.

Another possibility is to add a crash handler. See MSDN[^].

If no one else can suggest a better solution let me know and I can give more help with finding the cause.


这篇关于意外的exe崩溃,异常代码:0xc0000005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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