Skip to content
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

runtime: corruption in tests on freebsd-arm #60670

Open
mknyszek opened this issue Jun 7, 2023 · 4 comments
Open

runtime: corruption in tests on freebsd-arm #60670

mknyszek opened this issue Jun 7, 2023 · 4 comments
Labels
arch-arm Issues solely affecting the 32-bit arm architecture. compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-FreeBSD
Milestone

Comments

@mknyszek
Copy link
Contributor

mknyszek commented Jun 7, 2023

#!watchflakes
default <- (`runtime.throw\(` || `^\s*fatal error:`) && builder == "freebsd-arm-paulzhol"

Broken out from #55167.

2023-06-07 02:51 freebsd-arm-paulzhol go@ea51e92c (log)
unexpected fault address 0x4d6149
fatal error: fault
[signal SIGBUS: bus error code=0x3 addr=0x4d6149 pc=0x1609c0]

goroutine 4945 [running]:
panic during panic
SIGBUS: bus error
PC=0x7cbd8 m=9 sigcode=3

/tmp/workdir-host-freebsd-arm-paulzhol/go/src/make.bash: line 226:  1079 Bus error               ./cmd/dist/dist bootstrap -a $vflag $GO_DISTFLAGS "$@"
@mknyszek mknyszek added OS-FreeBSD NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. arch-arm Issues solely affecting the 32-bit arm architecture. labels Jun 7, 2023
@mknyszek mknyszek added this to the Backlog milestone Jun 7, 2023
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Jun 7, 2023
@mknyszek mknyszek added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Jun 7, 2023
@mknyszek
Copy link
Contributor Author

mknyszek commented Jun 7, 2023

CC @paulzhol

@paulzhol
Copy link
Member

There was another one just now: https://build.golang.org/log/e2875c5b5673190c815f5401e660ca58ad44552c

Building packages and commands for freebsd/arm.
unexpected fault address 0x4d616f
fatal error: fault
[signal SIGBUS: bus error code=0x3 addr=0x4d616f pc=0x1613bc]

goroutine 4912 [running]:
panic during panic
SIGBUS: bus error
PC=0x7cffc m=8 sigcode=3

/tmp/workdir-host-freebsd-arm-paulzhol/go/src/make.bash: line 226:  1071 Bus error               ./cmd/dist/dist bootstrap -a $vflag $GO_DISTFLAGS "$@"

@paulzhol
Copy link
Member

both addr=0x4d6149 and addr=0x4d616f are not aligned on a 4-byte boundary like one would expect on armv7.

@seankhliao seankhliao removed the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Sep 18, 2023
@mknyszek
Copy link
Contributor Author

Is it possible the compiler is emitting an unaligned load and other OSes for the architecture are masking it? Seems like we might need to reproduce this in gdb to get anything useful out of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-arm Issues solely affecting the 32-bit arm architecture. compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-FreeBSD
Projects
Development

No branches or pull requests

4 participants