-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: "morestack on gsignal" on linux-arm64-packet builder #35235
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
Well that is an unhelpful error message. One way to tackle this might be to add a |
The signal stack has large stack bounds, and it should be ok to call split-stack functions, as it will pass the stack bound check and not call morestack. My experience is that this is probably some kind of mismatch between the G and the SP. The stack bound check fails because we're actually not on that stack. |
I just tried reproducing by running
Unrelated, I assume? I also ran the same test on linux-amd64 60 times, no problems at all, as expected. |
Ah, right, thanks. |
@danscales That looks like #34391. Are you synced past https://golang.org/cl/202759 (758eb02)? |
Hmmm. The stack trace looks like that this is failing from code that added in CL 202759. It looks like |
Does this patch fix it? I need to leave for a while now. I'll send a CL when I come back, if this works. Thanks! |
@cherrymui Yes, that changed fixed the SEGV. Just ran 100 times on linux-arm64-packet with that change with no SEGV and no repro of the "morestack on signal" issue. |
Thanks, @danscales ! Sent CL http://golang.org/cl/204158 . |
Change https://golang.org/cl/204158 mentions this issue: |
A mysterious error on the
linux-arm64-packet
builder https://build.golang.org/log/7b87e729fd62b071ed8bd6b8c709bd41a7d13e23:I've only seen the one failure so far, so I'm not sure whether it's related to the various changes in 1.14.
CC @aclements @ianlancetaylor @danscales
The text was updated successfully, but these errors were encountered: