Breakpad

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
User avatar
saso
Posts: 606
Joined: Fri May 16, 2014 1:14 pm
Contact:

Breakpad

Postby saso » Sun Mar 19, 2017 2:56 pm

How does everyone feel about setting up https://chromium.googlesource.com/breakpad/breakpad/ or something similar?

Here is a bit of info how LibreOffice is using it https://people.gnome.org/~michael/blog/ ... d-5-3.html

Would it work for us (can we do it)? Would it be useful (will it catch our crashes)? Maybe after 0.17 release... ?
User avatar
yorik
Site Admin
Posts: 8556
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: Breakpad

Postby yorik » Sun Mar 19, 2017 4:53 pm

Wouldn't we just receive hundreds of unsolvable crash reports? I always wonder, these apps that offer to send a crash report, what do they do with that? Without a bit of "personal" info from the user (what he was doing, etc), and SPECIALLY a bit of follow-up AFTER the bug has been reported, there is usually only a very small percentage of bugs that can be solved that way.

In any case, that would probably means a good work increase on our side only to triage and analyze the reports...

But well, if it works for libreoffice people, maybe I'm wrong...
lambda
Posts: 4
Joined: Sat Feb 25, 2017 3:10 pm

Re: Breakpad

Postby lambda » Sun Mar 19, 2017 5:11 pm

I don't know how the libreoffice people are using it, but I guess if the crash reports include the exact git commit and you get enough reports, you could actually point to bad commits by mere statistics without any human attention at all. Of course FreeCAD has much less users then libreoffice and probably would receive much less crash reports.

Actually a lot of hints could be found by statistical analysis of stack traces, but I guess this is not an easy project. However if somebody knows a CS student looking for a thesis topic, this might be a nice one.