-
Notifications
You must be signed in to change notification settings - Fork 18k
archive/zip: sporadic checksum errors on s390x target #53797
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
CC @dsnet |
This error makes no sense. It fails when asyncPreemptStack > _StackLimit. But _StackLimit is
Also, this runs at runtime startup so if it fails it should fail 100%.
It looks like you're using QEMU user-mode emulation, which is not a supported target. User-mode emulation has been known to be buggy. This looks like a bug in the emulator. If you can reproduce the failure in real hardware, feel free to reopen. Thanks. |
Given that The only thing I can imagine is that |
I can now fully confirm this was indeed a Sorry for false report. |
Thanks for following up. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes (1.18.3 linux/amd64)
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Created a simple quine in go using statik to embed the source code. Statik uses internally zip compression.
Cross-compiled the binary for linux/s390x OS/ARCH and executed the binary on a linux/amd64 os using qemu-s390x.
What did you expect to see?
Binary running without errors printing its source code.
What did you see instead?
Once in a while the binary fails with the following error message:
I've also caught different error (captured when using go 1.18) which may indicate that this is not strictly related to the archive/zip package:
The frequency of the bug seems to be very random and vary between different environments (like ~10% chance on my laptop, 2% on Github actions runners).
A project that shows the issue: https://github.com/byo/go-s390x-test
Example GitHub actions run showing the failure: https://github.com/byo/go-s390x-test/runs/7290506324?check_suite_focus=true
The text was updated successfully, but these errors were encountered: