Skip to content
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: "traceback: unexpected SPWRITE function runtime.systemstack" #64934

Closed
prattmic opened this issue Jan 2, 2024 · 2 comments
Closed
Assignees
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@prattmic
Copy link
Member

prattmic commented Jan 2, 2024

https://go.dev/cl/525835 (backported to 1.21.2) introduced a regression causing a throw when panicking on the system stack:

traceback: unexpected SPWRITE function runtime.systemstack
runtime.systemstack(0x501fcc0)
    /Users/cherryyz/src/go/src/runtime/asm_amd64.s:509 +0x4a fp=0x7ff7bbfac760 sp=0x7ff7bbfac750 pc=0x4fa738a

This was fixed in https://go.dev/cl/531815 at tip, but needs a backport to 1.21.

@prattmic prattmic added the NeedsFix The path to resolution is known, but the work has not been done. label Jan 2, 2024
@prattmic prattmic added this to the Go1.22 milestone Jan 2, 2024
@prattmic prattmic self-assigned this Jan 2, 2024
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Jan 2, 2024
@prattmic
Copy link
Member Author

prattmic commented Jan 2, 2024

@gopherbot please backport to 1.21. This fixes a regression in a previous backport (#62464).

@gopherbot
Copy link
Contributor

Backport issue(s) opened: #64935 (for 1.21).

Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.

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. NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

2 participants