Floris Bruynooghe d8a7fd2ef4 fix: Run "kill" from shell, handle failure to execute.
Some systems/containers have kill as a shell built-in.
2021-04-22 13:59:16 +02:00
2019-12-19 09:36:24 +01:00
2020-02-28 12:34:01 +01:00
2020-01-22 10:20:28 +01:00
2019-12-06 15:31:45 +01:00
2019-12-06 15:31:45 +01:00
2021-04-19 16:34:08 +00:00
2021-04-19 16:34:08 +00:00
2020-02-28 12:34:55 +01:00

Coredump Uploader

This utility can upload core dumps to Sentry. It can either upload a single core dump or watch a folder for incoming core dumps to automatically upload them as they happen.

Requirements

  • python
  • poetry
  • gdb
  • elfutils

Usage

Upload coredump

$ export SENTRY_DSN=https://something@your-sentry-dsn/42
$ upload_coredump /path/to/core upload /path/to/executable

OR

$ upload_coredump --sentry-dsn https://something@your-sentry-dsn/42 /path/to/executable upload /path/to/core 

Watch for coredumps

$ upload_coredump --sentry-dsn https://something@your-sentry-dsn/42 /path/to/executable watch /path/to/dir 

Development

We use Poetry for development. To get started, first install dependencies:

poetry install

To run tests, use:

poetry run pytest tests/

To run the application:

poetry run upload_coredump ...
Description
Languages
Python 99%
Dockerfile 0.6%
Makefile 0.4%