runtime: callbackUpdateSystemStack throw with Windows callback after CL 584597 #69926
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go version go1.23.2 linux/amd64
Output of
go env
in your module/workspace:What did you do?
When running my program built with Go version 1.23.2 it crashes with
fatal error: runtime: stack split at bad time
. This doesn't happen when the program is built with Go 1.22.4. I'm cross compiling for Windows from Linux. I've gone back through the releases and found that Go 1.22.5 is the version it starts crashing with.I've looked through the diff between 1.22.4 and 1.22.5 and suspect this is the commit that introduced it 3560cf0 but I'm not familiar enough with Go internals to make any suggestions.
I've also noticed that
x_cgo_getstackbound
is a noop on Windows, not sure if that has anything to do with it.Stacktrace
What did you see happen?
Program crashes with
fatal error: runtime: stack split at bad time
when built with Go 1.23.2 but not when built with 1.22.4What did you expect to see?
Program does not crash when built with Go 1.23.2
The text was updated successfully, but these errors were encountered: