View Full Version : Breakpad does not produce dump files with 'release' build
phenoboy
5th February 2015, 07:24
I've integrated breakpad into my program using instructions from here:
https://github.com/JPNaude/dev_notes/wiki/Using-Google-Breakpad-with-Qt
It works but only for debug build. For release builds no dump file is written. Any idea why this is happening ?
When crash occurs I can see line: 'BreakpadQt crash' printed on debug builds.
wysota
5th February 2015, 07:30
As written even on the page you linked to breakpad needs debug symbols to work.
phenoboy
5th February 2015, 07:38
As written even on the page you linked to breakpad needs debug symbols to work.
Thanks for quick answer!
Actually it seems that if I have code like:
int *d;
*d=5;
delete d;
delete d;
no .dmp file is generated with release builds, breakpads' exception handler does not get caught I guess.
But this kind of exception will get caught by breakpad and .dmp file is written even with release builds.
model is of class: QStandardItemModel
model->setItem(99999999, 0, 0);
This is what gets printed with release build on output:
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
BreakpadQt crash
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.