-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/link: signal SIGBUS: bus error during linking with sufficient disk space #41473
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
I am not encountering this issue with go 1.15 or go 1.15.1 |
Are you able to provide the source of the program you were compiling. |
Hi.. I wont be able to provide the source of the program. |
I don't think the linker is changed between Go 1.15.1 and 1.15.2. Weird... |
Especially surprising given the failure mode. Looking at
that implies that Relocs.At2() returned a Reloc2 value with '*goobj2.Reloc' field set to a garbage value, which looking at the code seems impossible. Very strange. |
@cherrymui suggested in chat that it might be corrupted object files. With full credit to her idea, if you do a clean build, does the problem persist? |
@jeremyfaller As suggested, I did a build of my application after doing a clean up with |
between 1.15.1, and 1.15.2, the object files shouldn't have changed, but I'd imagine the tooling would have triggered the rebuilds that were required. That it didn't might mean you got a lucky hash collision (unlikely), there's a bug (possible) or there's something weird about your setup. Without serious investigation (likely requiring the code), I doubt we'll ever know. I'm glad it's working now. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes. I am observing this issue on latest go release in Ubuntu 20.04.1 LTS (Linux, amd64)
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
$ go run main.go
What did you expect to see?
my application to be successfully built and executed.
What did you see instead?
Additional observations
The text was updated successfully, but these errors were encountered: