-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime: corrupted GoroutineProfile stack traces #69243
Comments
Related Issues and Documentation
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
@gopherbot Please backport to 1.23. This is a regression in goroutine profiles with no workaround. |
Backport issue(s) opened: #69258 (for 1.23). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases. |
Change https://go.dev/cl/609815 mentions this issue: |
Does the fix for #69335 need to be back-ported as well? It's part of the CL stack. Edit: There's an answer to this question in #69335 (comment). |
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: