-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: "attempt to execute system stack code on user stack" during heap scavenging #34773
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
Comments
Looking into it. |
OK so ready() needs to be called on the system stack. Either @aclements, @randall77, WDYT? |
I'd rather just put things on the system stack that need it. It serves as useful documentation, if nothing else. If that means we have to switch stacks twice for non-performance-sensitive code, so be it. |
Change https://golang.org/cl/200999 mentions this issue: |
@gopherbot, please open a backport to 1.13. |
Backport issue(s) opened: #36127 (for 1.13). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://golang.org/wiki/MinorReleases. |
From the
linux-amd64-nocgo
builder (https://build.golang.org/log/abbb70348ec45659c8032defde341c61e90ec995):The failure message is the same as in #30591, but the entry here seems to be through
runtime.wakeScavenger
rather thanruntime.LockOSThread
so the root cause may differ.CC @mknyszek @aclements
The text was updated successfully, but these errors were encountered: