-
Notifications
You must be signed in to change notification settings - Fork 208
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
concurrency-related sporadic crashes on ARM architecture #2476
Comments
There are also some exceptions not handled correctly when building with XCode 15. |
Some test failures while running on Mac OS M3 machine: Sorry about the huge list here...
|
I have changed all I build on M1 with llvm17 openmp library. Then run
This assertion failure is known: llvm/llvm-project#54422 So maybe, after all, the crashes that I observe are not due to Souffle code but the llvm Note that the Souffle CI builds with |
I have observed sporadic crashes when multi-threading is enabled on Apple M processors.
The weaker memory model of ARM architecture compared to X86 reveals subtle concurrency bugs.
I am suspecting the ConcurrentFlyweight lock-free datastructre ConcurrentFlyweight.h.
One immediate way to mitigate this would be to use stronger
std::memory_order::seq_cst
here and there at least on ARM architectures.It would be nice to have an Apple ARM runner for the CI.
The text was updated successfully, but these errors were encountered: