runtime: WinDbg fails to unwind the Go stack #57404
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
Debugging
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Windows
Milestone
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?
Debug a Go binary using WinDbg, break at the first instruction of
main()
and advance step by step.Synthetic sample:
What did you expect to see?
WinDbg is capable of unwind the stack at any PC.
What did you see instead?
The call stack contains is more or less in good shape at the first instruction of
main
prologue:Legend:
main()
runtime.main()
a()
The call stack contain garbage data after the first instruction that grows the stack pointer inside
main()
prologue.The call stack is lost after the first instruction that grows the stack pointer inside
a()
prologue:The text was updated successfully, but these errors were encountered: