Skip to content

Crash and Error reporting, minidumps #1172

Open
@simonsan

Description

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)

Metadata

Assignees

No one assigned

    Labels

    area: networkHas interaction with the network (Internet)reportingRelated to error reporting or other systems to gather feedback from other sources than Githubto-discussIdea or suggestion that needs some discussion before implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions