The minidump format is the standard crash format for Windows. With the help of open source libraries such as Breakpad or Crashpad, it is possible to generate crash reports in the minidump format for Mac OS, Android, and iOS.
This article indexes the mechanisms to integrate minidump submission into your Backtrace instance.
What You'll Need
- A Backtrace account (log in or sign up for a free trial license).
- Your subdomain name (used to connect to your Backtrace instance). For example,
- A Backtrace project and a submission token.
Some applications implement a watchdog thread whose job is to perform internal application liveness checking. When these checks fail, the thread triggers a crash report. This has implications for the report's content that may require accounting for.
Crash reports normally include an indicator of the culpable thread that triggered the report, usually because they faulted or raised an unhandled exception. Watchdog threads often generate reports when they detect that some part of the application has stopped making forward progress. In such cases, the report needs to explicitly call out the triggering thread.
For reports made using the JSON format, you can adjust the
mainThread parameter to specify the triggering thread. Refer to the API documentation for more information on this. In the case of other report types, such as minidumps, the watchdog can send a signal (for example., SIGABRT) to the affected thread to set the context appropriately.
Crash Dump Context
When a crash report is generated, it is crucial to ensure that the crash context accurately reflects the context of the guilty thread, rather than the reporting thread or any other context.
Firefox and a wide variety of desktop applications use the popular open source crash reporting framework. See the Integration Guide for more information.
The popular open source crash reporting framework used by Chrome, Slack, and more. It is the successor to Breakpad. See the Integration Guide for more information.
Submit crash dumps directly over HTTP and HTTPS. For more information see the HTTP Submission.