Raven-coredump for C/C++ and other native code


#1

I’ve started working on a sentry agent for collecting crashes from C/C++ and other native programs on Linux. The github repo is here:

I have only tested it on CentOS 6, CentOS 7 and Fedora 26. In essence you install raven-coredump as the system coredump handler and then it will process the core locally and generate and send a sentry event.

Since it doesn’t run in the same process as the crashing program it does not follow the guidelines for how a client should typically look and behave (https://docs.sentry.io/clientdev/)

I hope someone else finds this useful. Contributions are welcome.

Thomas


#2

We’re currently playing around with adding proper minidump support. Work for this has started on the main sentry repository. Just wanted to give a heads up in case that is of interest for you.


#3

Thanks for the heads up, that is of great interest to me! Saves me from doing work! :slight_smile:


#4

@mitsuhiko This is awesome!

Is there a rough timescale for when those 2 PR’s might make into hosted sentry.io?


#5

We’re aiming for having a barebones version up for early adopters in about two weeks.


#6

Great! We’ve got an Electron app making calls into a dozen native binaries and this is exactly what we need.


#7

Just a quick update, we have started putting more focus on getting minidump support into Sentry a couple of weeks ago. We are currently finishing up support for Linux and macOS by fixing outstanding issues and making the integration process as smooth as possible. Limited support for Windows will follow soon after.

I am hoping to officially release this soon, but if you would like to try out now just send me a quick heads-up at jan.auer@sentry.io


#8

Any updates on this?