Skip to content

NatronGitHub/stackwalker

Repository files navigation

Stackwalker Build Status

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)

About

Applications used to process crash reports from Breakpad

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 93.9%
  • CMake 3.3%
  • PHP 2.1%
  • Other 0.7%