-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
1.15.1 armhf signal 7 in run-pass/packed-struct-vec.rs #40444
Comments
I'm not sure what exactly causes a |
Signal 7 is SIGBUS, which can be caused by precisely these kinds of unaligned memory operations |
This is fixed in rustc 1.17. |
Although the unaligned accesses here were a bug in rust, we still allow LLVM to generate unaligned accesses for this target so this fault could still occur. Maybe the kernel is configured to trap unaligned accesses when it shouldn't be? |
Not sure how to check that myself, but the failure I reported in the original post, was from the same machine as the success that I just had with 1.17. (Though it's possible that the admins reconfigured the kernel in between these two runs.) Are you suggesting that this bug should be re-opened? |
I don't think the kernel has changed and the bug fixed in 1.17 stopped the issue from being triggered. Just that, in theory, the issue could still happen if LLVM generated some unaligned accesses. We could ensure LLVM didn't to that by adding |
This happened on a Launchpad autobuilder but I also managed to reproduce it manually on Debian's asachi.debian.org.
Both systems are running armv7 (armhf) 32-bit userland with a arm64 64-bit kernel.
The text was updated successfully, but these errors were encountered: