Closed SteffenSeckler closed 5 years ago
Please try: export TSAN_OPTIONS="ignore_noninstrumented_modules=1"
This should remove these reports.
Thanks for the quick reply! This did indeed help. If this is a known issue, could you document this somewhere?
Thanks!
Context
we are currently using Archer to develop a library for particle simulations: https://github.com/AutoPas/AutoPas
With archer v1.0.0 no warnings were printed and tests showed that archer worked as it should (it only reported real errors)
We recently tried upgrading from archer v1.0.0 and clang v4.0 to archer v2.0.0 and clang v6.0 and were confronted with a lot of warnings:
Bug
With archer v2.0.0 we get a lot of warnings, mostly in pthread's mutex locking/unlocking see archerlog.txt
They have the forms: a) (clearly from the mutexes)
or b)
Steps to reproduce:
Further information
I have tested it with the clang/llvm 6.0 version in ubuntu 16.04 (clang 6.0.0), as well as the latest official release from http://apt.llvm.org/ (also ubuntu 16.04, xenial).
The openmp reposity versions I tested are:
ompt_frame_t
toomp_frame_t
I only tested the archer master, as the v2.0.0 tag is actually identical to it.
All configurations I tested produced the same warnings.
The dockerfile can be found here: for v2.0.0: https://github.com/AutoPas/AutoPas-Dockerfiles/blob/master/buildenv/archer/Dockerfile
for v1.0.0: https://github.com/AutoPas/AutoPas-Dockerfiles/tree/master/buildenv/archer-v1.0.0
Closing words
I did not yet find the time to just test archer 2.0.0 on an example, so sorry for that. Help would be appreciated :)