Skip to content

runtime: "traceback: unexpected SPWRITE function runtime.systemstack" #64934

Closed
@prattmic

Description

@prattmic

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.

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.compiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions