解析qt崩溃转储

时间:2014-04-03 06:33:22

标签: qt crash crash-dumps

我是编程的新手,我需要帮助。我的程序是用Qt 5.2.0 for Windows 7编写的,有时候(每天一次)它会崩溃,然后留下一条崩溃信息,就像这样?

**Problem signature:**   
  Problem Event Name: APPCRASH   
  Application Name: myApp.exe     
Application Version: 0.0.0.0     
Application Timestamp: 532aec55     
Name of the module with the error: Qt5Gui.dll     
Version of the module with the error: 5.2.0.0     
The time stamp module with the error: 52a4b48b    
Exception Code: c0000005     
Exception Offset: 0019d47f     
OS Version: 6.1.7601.2.1.0.256.1     
Language Code: 1049     
Additional Information 1: 37db     
Additional Information 2: 37db878952683e42830e4c35b7460d37     
Additional Information 3: 7f99     
Additional Information 4: 7f99b3fed068dc22f1d51f3279b2cd49

如何从中解析一些人类可读的信息?或者有人知道从qt app的发布版本中发现崩溃的其他方法吗?

1 个答案:

答案 0 :(得分:0)

Exception Code: c0000005表示您有内存管理问题(可能是一些悬空指针或引用空指针)。

此崩溃报告应包含更多信息,例如调用堆栈,这将有助于查找代码中的问题。

如果在Linux中运行它,则在调试模式下构建代码并使用valgrind运行它以进行内存检查。我很确定它会发现问题的来源。