-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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
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
Comments
gopherbot
added
the
compiler/runtime
Issues related to the Go compiler and/or runtime.
label
Sep 7, 2024
felixge
changed the title
runtime: MutexProfile misses _LostContendedRuntimeLock in go1.23
runtime: MutexProfile missing root frames in go1.23
Sep 7, 2024
Change https://go.dev/cl/611615 mentions this issue: |
timothy-king
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Sep 9, 2024
dmitshur
added
NeedsFix
The path to resolution is known, but the work has not been done.
FixPending
Issues that have a fix which has not yet been reviewed or submitted.
and removed
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
labels
Sep 13, 2024
19 tasks
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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: