Google Breakpad Integration
Overview
After crash occurs and intercepted by breakpad it creates minidump
file (*.dmp
) with useful crash related information. Extracting human readable information from minidump
file format requires running of minidump_stackwalk
tool with specially pre-generated symbol files on application binaries.
Getting Readable Stack Trace from User Submitted Files
Original breakpad repository should be checked out on dev machine and built locally;
Use
dump_syms
tool to generate symbols file from application binary file:
Above command output may look something like this:
To structure symbols file correctly you can do following next:
Generate readable stack trace pointing to the place with crash by running
minidump_stackwalk
tool on minidump file with passing the path to previously generated symbol files:
NOTES:
symbols can be generated only for application binaries with debug info (
Debug
orRelWithDebInfo
);warn users that dumps may contain sensitive infomatiom;
(for wallet binaries) ask users to generate dumps locally instead of sharing raw
minidump
file publicly.
Last updated