redpanda icon indicating copy to clipboard operation
redpanda copied to clipboard

automatic stack trace decoding

Open dotnwat opened this issue 4 years ago • 1 comments

We need to be able to have meaningful stack traces on crash without copying and pasting raw traces into a decoding utility.

dotnwat avatar Jan 25 '21 15:01 dotnwat

should be under rpk debug stracktrace

emaxerrno avatar Jan 25 '21 21:01 emaxerrno

Perhaps ideally we can just send a debug bundle with a nicely formatted trace when this happens (including an abort, e.g. OOM)

cc @rkruze

mattschumpert avatar Mar 27 '23 16:03 mattschumpert

In order to get nice traces remotely we'd need to ship all the debug symbols which is probably a non-starter. Once devprod starts hosting the decoding webapp the overhead of copy/paste is tiny. It even has an API so that could be integrated into rpk some how.

We could probably close this ticket.

dotnwat avatar Mar 28 '23 01:03 dotnwat

Since we now abort on bad allocs, could we on the abort send a message back saying where this happened? It might give us some insights into the scenarios in which we run into bad allocs.

rkruze avatar Mar 28 '23 02:03 rkruze