应用错误:故障地址0x00012afb(专家) [英] Application error: fault address 0x00012afb (Expert)

查看:116
本文介绍了应用错误:故障地址0x00012afb(专家)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一些解决方案".可能有很多东西导致了这个问题,但是也许有人可以帮助我.

I need some "light" to get a solution. Probably there are tons of things that cause this problem, but maybe somebody could help me.

场景:一台运行24/7的PostgreSQL数据库和其他服务器应用程序的Windows服务器(用于处理数据库等任务).服务器场景不同(约30种),具有不同的硬件和Windows版本(XP SP3/WinServer等...全部基于NT).所有的应用程序都是用Delphi7编写的,并链接到DLL(也在D7中).

Scenario: a Windows server running 24/7 a PostgreSQL database and others server applications (for processing tasks on database, etc...). There are differents servers scenarios (~30), with different hardware and windows versions (XP SP3/ WinServer, etc... all NT based). All aplications were written in Delphi7, and link to DLLs (in D7 also).

几天后(有时是一周,有时是几个月),Windows开始表现奇怪,就像不打开开始菜单一样,对话框中缺少一些按钮.不久,某些应用程序将无法打开,从而在eventviewer上引发一个事件:

After some days (sometimes a week, sometimes a couple of months), Windows begins to act strange, like not opening start menu, some buttons are missing in dialogs. And soon some applications do not open, raising a event on eventviewer:

Faulting application x, version y, faulting module kernel32.dll, version 5.1.2600.5781, fault address 0x00012afb

同时,其他应用程序可以正常打开,例如记事本,iexplore等...,但是我的某些应用程序却不能打开,上面仅描述了事件日志.但是,如果我们不重新启动系统,几天后,即使cmd.exe也停止打开,(以及所有其他应用程序)在事件日志上出现相同的错误.

In mean while, others applications open fine, like notepad, iexplore, etc... but SOME of my applications don't, with only event log described above. But if we do not restart system, in a few days even cmd.exe stops open, (and all other applications) with same error on eventlog.

我试图找到可以导致此问题的原因",但没有成功.因此,任何建议都将受到欢迎.

I've tried to find 'what' can cause this, but with no sucess. So, and any advice will be welcome.

谢谢.

推荐答案

我认为您用完了资源句柄(窗口句柄).您可以通过查看 Sysinternals Process Explorer 中的系统属性来验证这一点. a>(更好的任务管理器).我认为即使是默认的任务管理器也可以帮助显示句柄数.然后,您可以确定引起问题的应用程序.

I think you are running out of resource handles (Window handles). You can verify this by having a look at the system properties in Sysinternals Process Explorer (a better task manager). I think even the default task manager can help out to display a handle count. Then you can identify which application is causing the trouble.

一旦您知道应用程序正在泄漏,并且如果它是您的泄漏,则可以使用Rational purify或Boundschecker来深入研究问题.如果您没有钱使用这些工具,则必须通过停用一些功能来手动减少问题,例如,查看句柄数是否仍在增加...

Once you know the application leaking and if it is yours, you can use Rational purify or Boundschecker to drill down to the problem. If you do not have money for these tools you will have to reduce the problem manually a bit by deactivating some features for example and see if the handle count still increases...

不确定是不是您遇到的问题,也许是完全不相关的.但是很容易检查.跟踪是,当您遇到其他应用程序的问题时,某些应用程序正在窃取某些全球资源.记事本之类的应用程序不会占用太多资源,因此看起来运行良好,繁重的应用程序更容易出现问题.

Not sure if it is the problem you are experiencing maybe it is completely unrelated. But easy to check. The track is that some app is stealing some global resources as you experience trouble with other applications. Applications like notepad do not use much resources so appear to work fine, heavy apps are more likely to show up the trouble.

希望有帮助.

这篇关于应用错误:故障地址0x00012afb(专家)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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