Commit Graph

2 Commits

Author SHA1 Message Date
Daniel Markus
ba72b88a41 socorro-syms: Add directory arrangement needed by minidump_stackwalk
http://code.google.com/p/google-breakpad/wiki/LinuxStarterGuide

When extracting a stack trace out of a Breakpad minidump, the application
minidump_stackwalk is used. This application needs all symbol files to be
arranged in a particular directory structure in order to match the correct
symbol file with the version of the crashed program in question.

A directory structure is created in accordance with minidump_stackwalk. The
structure contains the name of the application binary and a hash value where the
hash corresponds to the binary the symbol file was produced from. The symbol
file is moved to the hash directory allowing multiple versions of the same
symbol file.

Signed-off-by: Daniel Markus <daniel.markus@leica-geosystems.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-21 16:42:23 +01:00
Daniel Markus
7fe80db1df socorro-syms: Add Breakpad symbol generation adapted for Socorro
https://github.com/mozilla/socorro

Mozilla Socorro is a downloadable crash dump server that handles
Breakpad crash dumps coming from own applications. In order for
Socorro to create clickable links into your source code repository,
Breakpad's symbol files must be copied and modified to contain VCS
information for each file reference.

This class reads the symbol file generated by Breakpad and creates
a new symbol file with that VCS information contained.

Signed-off-by: Daniel Markus <daniel.markus@leica-geosystems.com>
2015-03-03 08:36:00 +01:00