-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
cmd/cgo/internal/test: consistently failing with segmentation fault
on linux-arm-aws
since CL 545277
#64447
Comments
CC @mknyszek, @golang/compiler. |
This doesn't make any sense to me... That CL should be totally unrelated to this test. I'll investigate. |
I can't reproduce by running the tests |
Yep, I can't reproduce at all on a |
This reminds me #61514, which I also don't understand and it magically stopped... |
Yeah, that seems like exactly the same issue to me. |
Possibly something relating to code or data alignment changing in the compiled binary? |
It is possible that this triggers some bug that is very sensitive to how the binary is laid out. For #61514, I couldn't reproduce on gomote or anything other than pre-/post-submit builds, and the test doesn't print anything besides |
@mknyszek, looking back at successful runs (https://build.golang.org/log/4cad61d2d6f9b3b16aa53609780318e36b984a8c) to work around #51050, I see some environment variables that might be relevant: Maybe the difficultly reproducing the problem with |
Explicitly setting the environment variables didn't help. IIRC, the buildlet does set them correctly for the gomote anyway. Here was what I ran:
I also tried the other |
Aaaaaand it magically stopped happening again... |
Ah! The failing invocation was the third invocation of That would be |
Or |
Ah, which I see is what you already tried. 😞 |
As it magically passes now, we still want to investigate it but it is not currently a release blocker. |
Go version
b2efd1d
What operating system and processor architecture are you using (
go env
)?What did you do?
https://build.golang.org/log/4023a6ee5a18667fe161b4b917a1a0c4579527d8
What did you expect to see?
Passing tests.
What did you see instead?
The text was updated successfully, but these errors were encountered: