-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: linux/s390x
ThreadSanitizer failed to allocate 0x7e0000 (8257536) bytes at address 900000180000 (errno: 12)
in QEMU
#67881
Comments
This was observed in https://github.com/petermattis/goid/actions/runs/9417811829 in all Go versions between 1.19 (when race supported was added) and 1.22 (latest at the time of writing). |
linux/s390x
ThreadSanitizer failed to allocate 0x7e0000 (8257536) bytes at address 900000180000 (errno: 12) in QEMU
linux/s390x
ThreadSanitizer failed to allocate 0x7e0000 (8257536) bytes at address 900000180000 (errno: 12) in QEMUlinux/s390x
ThreadSanitizer failed to allocate 0x7e0000 (8257536) bytes at address 900000180000 (errno: 12)
in QEMU
|
Is this a qemu issue only or is that reproducible on a s390x machine? We don't have qemu as an official platform that Go supports, support for it has always being best-effort. I myself have experienced some failures in the past that were confirmed false positives when testing with one of our s390x builders. |
@randall77 I would expect this to use next to no memory at all. We're running the unit tests for https://github.com/petermattis/goid which is implemented with 2 assembly instructions to read the goroutine ID from the g. @mauri870 It may very well be a QEMU-only issue; I don't have a s390x machine myself. Support for s390x was contributed to https://github.com/petermattis/goid by @srinivas-pokala in petermattis/goid#44. @srinivas-pokala are you able to try it on a s390x machine? |
My suspicion is that the |
CC @golang/s390x |
Similar Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
|
Go version
go version go1.22.3 linux/amd64
Output of
go env
in your module/workspace:What did you do?
Cross-compiled a race build test binary from linux/amd64 to linux/s390x:
where
GOARCH=s390x
and${{ matrix.arch }} == s390x
, and then attempted to run that binary using docker-on-qemu:What did you see happen?
What did you expect to see?
I expected the test to pass.
The text was updated successfully, but these errors were encountered: