-
Notifications
You must be signed in to change notification settings - Fork 10
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
SEGV in std::simd
tests
#777
Comments
I used the Debugging with tmate GH action to ssh to a runner and debug the situation. The failure occurs in The crash only happens when ASAN is turned on. If turned off on the same machine, the tests pass. Also the address on which placement new is called inside Upon further inspection: it looks like ASAN generates additional code around placement new, including the misaligned store. |
This is a workaround for GCC > 11 generating an aligned store to an unaligned address when calling placement new on std::simd, when ASAN is enabled. Fixes: alpaka-group#777
This is a workaround for GCC > 11 generating an aligned store to an unaligned address when calling placement new on std::simd, when ASAN is enabled. Fixes: alpaka-group#777
PR #783 tried to fix this issue, but now more cases appeared where g++ generates wrong code when ASan is enabled and SIMD is involved. |
The CI often, but not deterministically, crashes inside a test using
std::simd
, with the following errors:This only happens on g++-12 and g++-13. I cannot reproduce it locally, though.
The text was updated successfully, but these errors were encountered: