-
Notifications
You must be signed in to change notification settings - Fork 18k
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/link: occasional failures with "unreachable sym in relocation" since 2021-09-12 #49752
Comments
These failures started within the 1.18 cycle, so marking as release-blocker to determine whether this is a regression (and whether it may affect other platforms too). |
These failures look weird, especially being nondeterministic. Maybe it is due to memory corruption somewhere? |
Not really sure what to do with this bug, given the failure mode. Normally I would lease a builder and run some test or set of tests in a loop to try to reproduce -- in this case, even if I were able to reproduce it a few times, what then? I don't see any commonality in terms of the symbols that are suddenly being switched from reachable to unreachable. |
“possible memory corruption on FreeBSD” is #46272, open since May. 😩 Still, it seems odd to me that this particular failure mode doesn't show up in the logs until recently. Maybe the memory corruption has a non-trivial interaction with the 1.18 GC changes? (Perhaps the corruption is triggered by having the GC active during some step of the linking process?) |
Just out of curiosity, how far back does "greplogs" go? What's the oldest log that it will fetch? |
Depends on what you've downloaded with |
Checking on this as a release blocker. Are there any updates? @thanm |
Still look like memory corruption. Seems no new failure occurred since 11-22. Haven't tried to reproduce. |
I kicked off a goswarm on freebsd-amd64-12_2 this morning trying to reproduce the issue. I'll leave it running for a day or two and see if that catches any new instances of the bug. I tried to do something similar for an AMD-specific VM (e.g. netbsd-amd64-9_0-n2d) but all.bash crashes almost immediately there (most of the time doesn't make it past the bootstrap). |
OK, it took a while, but the swarm I started this morning did find a new instance of this problem on tip with freebsd-amd64-12_2 just now, so it definitely looks like this bug is alive and kicking. |
Related: #46272 (comment). I will retest this bug once we have an updated version of FreeBsd on our builders with the fix. |
greplogs --dashboard -md -l -e ': unreachable sym in relocation: '
2021-11-22T23:00:32-0244343/freebsd-amd64-13_0
2021-11-19T21:57:03-6027b21/freebsd-amd64-13_0
2021-11-16T19:18:26-8122e49-6c36c33/freebsd-amd64-12_2
2021-09-12T01:06:53-0d8a4bf/linux-riscv64-unmatched
CC @cherrymui @thanm
The text was updated successfully, but these errors were encountered: