You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see all the function parameters come up as 0x0 (or {0x0...} depending on type).
This happens when the run happens in a goroutine. If I run this without the goroutine it gives the expected(-ish) values:
Outside of the fact that this just seems wrong, what worries me is I've often used these stack traces to track down dead locks in my code where, as an example, I can trace an argument being passed down the stack to find "Request A is blocked on a mutex, and request B is blocked on "system doing things" (maybe blocked in a syscall, an RPC request, etc...) because the argument value is consistent.
What did you expect to see?
Not 0x0 for argument values in the trace
What did you see instead?
0x0 for argument values in the trace
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Trying out the new stack traces in go1.17rc1.
I ran this program:
I get this stack trace:
As you can see all the function parameters come up as
0x0
(or{0x0...}
depending on type).This happens when the run happens in a goroutine. If I run this without the goroutine it gives the expected(-ish) values:
Outside of the fact that this just seems wrong, what worries me is I've often used these stack traces to track down dead locks in my code where, as an example, I can trace an argument being passed down the stack to find "Request A is blocked on a mutex, and request B is blocked on "system doing things" (maybe blocked in a syscall, an RPC request, etc...) because the argument value is consistent.
What did you expect to see?
Not 0x0 for argument values in the trace
What did you see instead?
0x0 for argument values in the trace
The text was updated successfully, but these errors were encountered: