sobotka / olive

NLE video editor
GNU General Public License v3.0
2 stars 1 forks source link

[TODO] Implement Google Crashpad (or similar) #137

Closed itsmattkc closed 3 years ago

itsmattkc commented 3 years ago

General TODO Summary Implement a more reliable crash reporter than our current crude in-process one.

Additional Information / Notes While our current in-process backtrace generator is better than nothing, it's not perfect. It can't provide any more information than a backtrace and often it doesn't work at all since it's generated by the application itself and the application is often not in a stable state after a crash. A much more reliable solution is an external process that can pick up Olive crashing without being affected itself. Projects like Google Crashpad appear to implement something like this, which means we don't have to fabricate our own solution. There may also be other libs that would work as well.

Simran-B commented 3 years ago

Matt integrated Google Crashpad for catching segfaults and Breakpad to read the dump and display to the user what is about to be sent:

image

The automated builds bundle the necessary binaries crashpad_handler and minidump_stackwalk.