openage icon indicating copy to clipboard operation
openage copied to clipboard

Crash and Error reporting, minidumps

Open simonsan opened this issue 6 years ago • 0 comments

one common issue for us is people often report bugs that cause their game to crash
but it's hard to extort dumps from users, especially those on inferior platforms
**maybe use breakpad**
breakpad is also superseded by crashpad
on top of that you may want to give socorro a try
to automatically collect and aggregate those crashes
https://github.com/mozilla-services/socorro

I strongly suggest you look into integrating that if you ever start shipping binaries

_Originally posted by @TheJJ in https://github.com/SFTtech/openage/issues/920#issuecomment-336109243_

Probably we want to integrate crashpad and use socorro the server-side, then?

crashpad repository

Starter guide to breakpad

Minidump-upload in c++(breakpad example)

Socorro is a server to accept and process Breakpad crash reports.

Sigaction can get the signal in runtime.

sigaction(SIGSEGV, &handler, NULL)

simonsan avatar Oct 15 '19 07:10 simonsan