forked from mozilla-services/socorro
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from NatronGitHub/wip
sync with upstream
- Loading branch information
Showing
20 changed files
with
2,295 additions
and
11,007 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[submodule "breakpad"] | ||
path = breakpad | ||
url = https://github.com/NatronGitHub/breakpad | ||
[submodule "jsoncpp"] | ||
path = jsoncpp | ||
url = https://github.com/open-source-parsers/jsoncpp.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,51 @@ | ||
Stackwalker [![Build Status](https://travis-ci.org/NatronGitHub/stackwalker.svg)](https://travis-ci.org/NatronGitHub/stackwalker) | ||
----------- | ||
# Stackwalker [![Build Status](https://travis-ci.org/NatronGitHub/stackwalker.svg)](https://travis-ci.org/NatronGitHub/stackwalker) | ||
|
||
Parse crash reports from Natron. | ||
|
||
Stackwalker is used to process crash reports from MINGW, Linux and macOS. | ||
|
||
*This is a fork of Google Breakpad and Mozilla Socorro with additional features/changes maintained for Natron.* | ||
|
||
## Requirements | ||
|
||
* pkg-config | ||
* libcurl | ||
* libzip | ||
* jsoncpp | ||
|
||
## Build (on Linux) | ||
|
||
``` | ||
git submodule update -i --recursive | ||
cd breakpad | ||
./configure && make | ||
cd .. | ||
make -C minidump-stackwalk | ||
``` | ||
|
||
The binary is located in the ``minidump-stackwalk`` folder. | ||
|
||
## Usage | ||
|
||
``dump_syms`` is used to create a symbol file for a given (not stripped) binary. Example: | ||
|
||
``` | ||
dump_syms Natron-bin > Natron-bin.sym | ||
``` | ||
|
||
``stackwalker`` is used to parse crash report dumps against symbols generated from ``dump_syms``. Example: | ||
|
||
``` | ||
stackwalker CRASH.dmp <LOCAL_OR_REMOTE_SYMBOLS_DIR> > CRASH.json | ||
``` | ||
|
||
## Symbols Storage | ||
|
||
Symbols are stored using the following directory structure: | ||
|
||
* Filename *(example: Natron-bin)* | ||
* ID *(example: 69CDA01A0F236F7C71CD19E5A20A21AC0)* | ||
* Filename.sym.zip *(example: Natron-bin.sym.zip)* | ||
|
||
Filename and ID must match line 1 in the symbol file. | ||
|
||
**Note that Stackwalker only supports zipped symbols (filename.sym.zip)** |
Submodule jsoncpp
deleted from
3eda8a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.