-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: TestSegv/SegvInCgo failure with unexpected return pc for runtime.casgstatus
on linux/arm
#51353
Comments
Marking as release-blocker for Go 1.19 because |
It looks like (one of) the PCs in this trace is https://cs.opensource.google/go/go/+/master:src/runtime/internal/atomic/atomic_arm.s;l=262;drc=af1789a61c02fa769fcd4ab8addcbb9a160b987b. I suspect that our traceback doesn't like that this is a direct jump rather than a branch-with-link. cc @cherrymui fyi |
I think the traceback code should be able to handle direct jump (i.e. tail call). The compiler generates tail calls in some wrappers as well. However, that function has wrong SP delta. Will send a CL. |
Change https://go.dev/cl/388014 mentions this issue: |
The CL fixing this was submitted while the tree was frozen for 1.18, before "internal/goversion: update Version to 1.19", so I'm going to remilestone this for Go1.18. If it shouldn't be included in Go 1.18, please comment. |
Compare #50979, #39457. (CC @golang/runtime)
The text was updated successfully, but these errors were encountered: