x/telemetry/crashmonitor: fixup inaccurate locations in sigpanic stacks #70885
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
telemetry
x/telemetry issues
Milestone
As described in #70637 (comment), the current behavior of crash output isn't quite correct for usage with runtime.CallersFrames: for
runtime.sigpanic
frames, we need to increment the PC of the next frame to get the correct location.This issue tracks implementing this workaround in x/telemetry/crashmonitor.
In the future, we hope that
debug.SetCrashOutput
will support structured output, so that we can remove this fix.The text was updated successfully, but these errors were encountered: