神秘的应用程序崩溃 [英] Mysterious application crash

查看:71
本文介绍了神秘的应用程序崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,非常重要的问题!

首先,我提前为长期问题道歉。

我在一家开展业务的公司工作管理软件给成千上万的人。

我故意说成千上万的人,因为错误只发生在我们的客户之一,就是这样。

软件是在vb6(所有这些)中开发的,并且在其中一个frm中发生错误(导致软件崩溃),客户端尝试对其中一个项目发出搜索请求使用MsDataGrid。



首先,这是Err详细信息:

 问题 事件 名称:  APPCRASH  
应用程序 名称: Bina exe
Application 版本: 1 0 0 0
应用程序 时间戳: 53be972f
错误 模块 名称: Msdatgrd ocx
Fault Module 版本: 6 0 89 88
Fault 模块 时间戳: 39c11a4a
异常 代码: c0000005
异常 偏移量: 0001665c
OS 版本: 6 1 7601 2 1 0 256 48
区域设置 ID : 1037
其他 信息 1: eb98
附加 信息 2: eb9805181ba13e7fd2338dc7f1390238
其他 信息 3: 024a
其他 信息 4: 024a72766fd3fbd1bc3a673912a4d696



客户pc在32位的Windows 7专业版上运行。

非常重要:该软件是以色列软件,因此菜单中有一个选项可以支持表中的希伯来语。当支持关闭,而不是dataGrid表,代码加载DBgrid然后致命的Err没有发生。当支持打开时,代码加载一个DataGrid,它就是它发生的地方。

非常重要2:错误不会定期发生,也没有特定的模式。有时客户可以使用该软件几个小时,没有任何反应。

我们还不知道这是源代码或客户本地电脑的问题。

谢谢,

oron。

解决方案

这是错误代码的含义。

  #define STATUS_ACCESS_VIOLATION((NTSTATUS)0xC0000005 L) 



不确定它会让你更聪明但是。



[更新]

工作系统和失败的系统之间存在差异。

诀窍是找到这种差异。



  • 可能值得研究他们在客户端计算机上设置了哪种访问权限。

    如果可以的话,设置本地管理员权限尝试运行一段时间,看看问题是否消失。
  • 如果有可能,你可以安装自己的计算机部署解决方案,而不是开发和测试无论是在家里还是在客户端。如果您的客户端站点仍有问题,但在您的家庭环境中没有问题,则问题应该在数据库中。

    如果没有问题,那么您需要查看特定的计算机设置,特别是如果不是所有的客户端计算机都有问题。
  • 检查客户端使用的是哪种病毒防护软件。

    这与其他任何客户端不同吗?




[更新]

以下步骤可以用来获得蓝屏死机,但它没有注册任何东西如果你得到一个带有错误信息的常规对话框。



您可以尝试启用故障转储以获取更多错误信息。



  • 转到开始,在搜索框中键入:sysdm.cpl,按Enter键。
  • 在高级选项卡下,单击启动,然后单击启动。恢复设置...按钮。
  • 确保未选中自动重启。
  • 在Write Debugging Information标题下选择Small memory dump(256 kB)在下拉框中(256kb变化)。
  • 确保小转储目录列为%systemroot%\Minidump
  • 确定您的出路。
  • 如果已经进行了更改,请重新启动。




[已更新]

一个更加图形化的指令:如何配置Windows以创建MiniDump文件 [ ^ ]



以下是一些如何分析的信息VS2010中的崩溃转储。

应用程序崩溃转储分析(Windows 7) [ ^ ]


hey guys, very important question!
First of all, I apologize in advance for the long question.
i'm working in a company which develop a Business management software to Thousands of people.
I deliberately say "thousands of people" because the error only occurs with one of our client and that's it.
the software is developed in vb6 (all of it) and the error (which make the software crash) occur when in one of the frm, the client tries to make a search request for one of the items using the MsDataGrid.

first of all, here is the Err Details:

Problem Event Name: APPCRASH
Application Name:   Bina.exe
Application Version:    1.0.0.0
Application Timestamp:  53be972f
Fault Module Name:  Msdatgrd.ocx
Fault Module Version:   6.0.89.88
Fault Module Timestamp: 39c11a4a
Exception Code: c0000005
Exception Offset:   0001665c
OS Version: 6.1.7601.2.1.0.256.48
Locale ID:  1037
Additional Information 1:   eb98
Additional Information 2:   eb9805181ba13e7fd2338dc7f1390238
Additional Information 3:   024a
Additional Information 4:   024a72766fd3fbd1bc3a673912a4d696


The Client pc runs on windows 7 pro with 32 bit.
very important: the software is an Israeli one so there is an option in the menu to support Hebrew in tables or not. when the support turn off, instead of dataGrid table, the code load a DBgrid and then the fatal Err don't happened. when the support turn on, the code load a DataGrid and that's where it happened.
very important 2: The error does not occur on a regular basis and it has no specific pattern. Sometimes the client can use the software for hours and nothing happens.
We are yet to know if this is a problem in our source code or the customer's local pc.
thanks,
oron.

解决方案

This is the meaning of the error code.

#define STATUS_ACCESS_VIOLATION           ((NTSTATUS)0xC0000005 L)


Not sure it will make you any wiser, though.

[Update]
There is a difference between a working system and one that fails.
The trick is to find this difference.


  • It might be worth looking into what kind of access rights they have set on the client computer.
    If you can, set local admin rights an try to run for a while and see if the problem goes away.
  • If it is possible you can install your own computer with the deployed solution, not development, and test it both at home and at the client. If you still have have problem at your clients site, but not in your home environment, the problem should be in the database.
    If no problem occur, then you need to look into the specific computer setup, especially if not all client computers have a problem.
  • Check which virus protection software the client is using.
    Is this different from any other client?


[Update]
The steps below can be used of you get a blue screen of death, but it doesn't register anything if you get a regular dialog box with an error message.

You can try to enable the crash dump in order to get more error information.

  • Go to Start, in the Search Box type: sysdm.cpl, press Enter.
  • Under the Advanced tab, click on the Startup and Recovery Settings... button.
  • Ensure that Automatically restart is unchecked.
  • Under the Write Debugging Information header select Small memory dump (256 kB) in the dropdown box (the 256kb varies).
  • Ensure that the Small Dump Directory is listed as %systemroot%\Minidump.
  • OK your way out.
  • Reboot if changes have been made.


[Updated]
A more graphical instruction: How to configure Windows to create MiniDump files[^]

Here is some information how to analyze the crash dump in VS2010.
Application Crash Dump Analysis (Windows 7)[^]


这篇关于神秘的应用程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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