Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I'm using 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.

How can I debug these crashes? What would cause Breakpad to not handle the crash? What methods can I use to debug the situation?

like image 898
Hybrid Avatar asked Jul 05 '12 18:07

Hybrid


1 Answers

The Visual C++ C/C++ runtime library will remove the hook set with SetUnhandledExceptionFilter in certain circumstances; 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.

like image 173
Baffe Boyois Avatar answered Sep 30 '22 13:09

Baffe Boyois