-
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: MutexProfile missing root frames in go1.23 #69335
Comments
Change https://go.dev/cl/611615 mentions this issue: |
Ping @felixge @nsrip-dd re: @cagedmantis's question from #69243. Does this need a backport as well? Thanks. |
@mknyszek I'd say yes, since this bug causes mutex profiles obtained via |
@gopherbot Please backport to 1.23. This is a regression in mutex profiles with no workaround. (not sure if this works, i might not have permissions) |
Backport issue(s) opened: #69865 (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/621276 mentions this issue: |
Go version
go1.23.1
What did you do?
Print the stack traces of a
runtime.MutexProfile()
using the code below.What did you see happen?
go1.23.1 produces the following output:
What did you expect to see?
The same output as go1.22.7:
Additional Notes
This problem only happens when using the
runtime.MutexProfile
API.runtime/pprof
output is not impacted.I have submitted https://go-review.googlesource.com/c/go/+/611615 to fix this problem.
The text was updated successfully, but these errors were encountered: