GSOC 2017 - Crash Reporting - Report 8

Posted 7 years ago

What I did this week

We fixed the path issue of breakpad

Then I studied the code of how chromium and libreoffice implements breakpad. After a thorough review I concluded that when a crash occurs we have to open a new process by opening a fork and create a child process, which then it will open the dialog window for asking the user if he/she wants to send the debug information. This dialog window will be different executable.

One implementation of a dialog, suggested by my mentor is by using:
https://github.com/qtproject/qt-creator/tree/3158981e9d8773d88eeab2f5c9…

though I tried to compiled it with mingw and it did not compile because mingw does not support the function: getppid (which stands for get the parent id process in our case is musescore.exe)

second option is a dialog window similar to this:
https://gitlab.com/speedovation/CrashReporter-Qt-Breakpad/tree/master/C…

Upcoming week

try to implement the dialog window and make it work properly