Replies: 2 comments 4 replies
-
|
You probably need to compile and run with the docker containers. IRC it was necessary to build some system libraries from scratch with the right options to avoid false positives from tsan. |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Regarding the error with unexpected memory mapping, we also had to work around ASLR stuff in the CI pipeline in the same fashion #2242 #2341. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, what is the proper way of using the thread sanitizer? @jblueh
I just do:
./meson.py setup build -Db_sanitize=thread --optimization=0 -Ddebug=true -Denable-pywrapper=false -Denable-autodiff=false -Denable-directdiff=false -Dwith-mpi=disabled -Dwith-omp=true -Denable-cgns=false --prefix=/home/user/Codes/su2_github/su2/But every su2 case I run gets sanitizer warnings. Or is this normal? I also first had to do some funky thing to get it to run in the first place, because else I get this:
FATAL: ThreadSanitizer: unexpected memory mappingso I found that I had to do this to get rid of the fatal error:
sudo sysctl vm.mmap_rnd_bits=30But then I still get a whole bunch of these warnings below for I think every testcase
Beta Was this translation helpful? Give feedback.
All reactions