runtime: corrupted GoroutineProfile stack traces #69243
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FixPending
Issues that have a fix which has not yet been reviewed or submitted.
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
A test case + fix for this issue is already submitted here: https://go-review.googlesource.com/c/go/+/609815
I'm opening this issue b/c it's a requirement for getting the fix back ported. cc @prattmic
Go version
go1.23.0
What did you do?
Received a bug report that my fgprof library broke in go1.23: felixge/fgprof#33
What did you see happen?
Calling
runtime.GoroutineProfile()
repeatedly with the same input slice produced corrupted stack traces showing multipleruntime.goexit
frames in the same stack trace.What did you expect to see?
runtime.goexit
should only show up in the root frame of the stack trace.The text was updated successfully, but these errors were encountered: