-
Notifications
You must be signed in to change notification settings - Fork 199
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
[WIP] CI: debug clang thread sanitizer errors #5492
base: development
Are you sure you want to change the base?
Conversation
Just copying one piece of information from the Clang documentation:
|
This is the summary of the race condition raised by the sanitizer, seemingly referring to a race condition on the AMReX end (line 105 of Src/Base/AMReX_Random.cpp):
Full log preceeding that summary message:
|
c46c5fd
to
93c6d8e
Compare
I tried running with clang-18 and clang-19 (the one used since the latest commit a49c934, after installing directly from LLVM), but I keep seeing the data race condition in both cases. |
@EZoni this looks like a potential AMReX bug to me. Can you please compile with Debug symbols enabled and post the line number that is causing this inside Update: ah, I overlooked that you already had line numbers in your quoted parts - sorry for that. |
With debug symbols: job-logs.zip
which is this line: |
Proposed fix in AMReX-Codes/amrex#4281 |
This comment was marked as outdated.
This comment was marked as outdated.
e58d193
to
07c2c75
Compare
07c2c75
to
17ad556
Compare
I think this was a suggestion by @WeiqunZhang in the context of debugging the clang sanitizer issue currently addressed in #5492. I'm extracting all related changes from #5492 to implement and test the LLVM installation separately here. This effectively unifies the CI scripts to install clang dependencies into one single script that reads the clang version number from the command line. I think all CI checks should pass here as a prerequisite for debugging the clang sanitizer issue further in #5492.
Debug data race conditions raised by the Clang thread sanitizer CI job that was disabled in #5474.