简体   繁体   English

为什么google breakpad无法处理所有崩溃? 我该如何调试这些案例?

[英]Why does google breakpad not handle all crashes? How can I debug these cases?

I'm using google-breakpad . 我正在使用google-breakpad This is a bug reporting program that runs in the background to report another process's crashs. 这是一个错误报告程序,它在后台运行以报告另一个进程的崩溃。

It works in almost every situation. 它适用于几乎所有情况。

However it occasionally fails to catch a crash. 然而它偶尔也不会发生崩溃。 There's no report and no dump file. 没有报告也没有转储文件。 It just crashes. 它只是崩溃了。 The last clue for the crash is a windows event message. 崩溃的最后一条线索是一个Windows事件消息。

How can I debug these crashes? 我该如何调试这些崩溃? What would cause Breakpad to not handle the crash? 什么会导致Breakpad无法处理崩溃? What methods can I use to debug the situation? 我可以使用哪些方法来调试情况?

The Visual C++ C/C++ runtime library will remove the hook set with SetUnhandledExceptionFilter in certain circumstances; 在某些情况下,Visual C ++ C / C ++运行时库将使用SetUnhandledExceptionFilter删除钩子集; for example, when it detects a buffer overflow or other security problem. 例如,当它检测到缓冲区溢出或其他安全问题时。

This Microsoft feedback page lists how to stop this behavior for most of the cases, but states that it's not possible for the buffer overflow case without introducing security problems. 此Microsoft反馈页面列出了大多数情况下如何停止此行为,但声明在不引入安全问题的情况下缓冲区溢出情况不可能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM