未知的软件异常(0xc0000008) [英] Unknown software exception (0xc0000008)

查看:1551
本文介绍了未知的软件异常(0xc0000008)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




关闭Windows服务应用程序时,出现以下错误消息

Hi

While closing the Windows Service Application I get following error message

"Application popup: OPTSFTPService.exe - Application Error : The exception unknown software exception (0xc0000008) occurred in the application at location 0x7c8285f3."

.该消息框带有"确定"和"取消"

此外,在事件日志(应用程序)"

. The message box is with "OK" and "Cancel"

Also the following Event log meesage is observed in the Event log(Application) "

Faulting application _______, version 1.0.0.1, faulting module ntdll.dll, version 5.2.3790.4455, fault address 0x000285f3.

"

但是,此应用程序在调试"模式下可以正常工作.使用的操作系统是Win 2003 Server SP2.

我在12月18日至21日左右开始收到此错误.在该日期之后,我已经检查了Windows Update,但文档没有任何提示.

需要帮助

在此先感谢您.

"

However this application works fine in the Debug mode. The OS used is Win 2003 Server SP2.

I started getting this error after about 18-21 Dec. I have checked the Windows Updates after that date but the documentation doesn''t give any clue.

Need help

Thanks in advance.

推荐答案

我经常看到应用程序在Debug模式下工作,而不在Release模式下工作.很多时候,问题出在某处的缓冲区溢出.调试通常允许一些内存溢出(通过分配额外的内存)而不会崩溃,从而使开发人员能够在不立即崩溃的情况下对应用程序进行故障排除.
I''ve commonly seen applications work in Debug mode and not work as Release. A lot of times the problem is a buffer overflow somewhere. Debug usually allows some memory overflow (by allocating extra memory) without crashing to allow the developer to be able to troubleshoot the application without crashing immediately.


[rant]我讨厌 [ http://en.wikipedia.org/wiki/Stack_overflow [ ^ ])
[rant]I hate answers like that[^]. If you don''t know. Don''t answer[/rant]

There are several possibilities for culprits for this one, Varsha.
It''s not specific to a Service Application. It normally happens on Exit of the application. So, therefore, it''s most likely something to do with memory allocation and object disposing.

If you know exactly where this is occurring, you can try disposing the object yourself before exiting. If you don''t know what object or where this is happening, you can handle the error in general and try get some more info about its location.

Also, this could be due to an array that is bigger than its original size that has overwritten something else in memory (If you know of any dodgey arrays in your code, check those).

Another idea could be a Stack Overflow (http://en.wikipedia.org/wiki/Stack_overflow[^])


为什么不能你看微软吗?
Why can''t you look at Microsoft? Click here.


这篇关于未知的软件异常(0xc0000008)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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