Hacker News new | ask | show | jobs
by kjksf 2347 days ago
Advice from a fellow dev: add a crash handler and set it up for an automatic submission of crash reports (symbolicated callstacks of all threads) via HTTP POST to a server.

Better yet, turn it into something that others can use easily by configuring things like the server to which send the reports.

I did this for SumatraPDF (https://github.com/sumatrapdfreader/sumatrapdf/blob/master/s...) and now I think it's a must for writing desktop software that runs on other people's machines.

A shockingly low number of people report crash reports.

I know because I show a message box telling them to submit a bug report for a crash. I get plenty of crashes but no bug reports.

4 comments

From a privacy perspective this is a problematic stance, though it is appreciated that you outline that it does this here.
My custom crash dumps just go direct to email via gmail smtp. No need to build a server API :)
Crash dumps are a GDPR nightmare though, be careful.
I can't thank you enough for making SumatraPDF. Great job.