You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A thread sanitizer hit is usually an indication that there is a serious problem. I've compiled LucenePlusPlus and the tests in debug mode. In addition, I've added the option "-fsanitize=thread" to enable the thread sanitizer.
(Adding custom flags when using cmake is usually a never ending nightmare, so this is my way of adding custom flags to a cmake project:
cd /usr/bin
mv c++ c++_org
ln -s c++tsan c++
and c++tsan looks like this:
#!/bin/sh
g++ -fsanitize=thread $@
)
Anyway, here is the output of running "./src/test/lucene++-tester 2>w.txt": w.txt
The text was updated successfully, but these errors were encountered:
A thread sanitizer hit is usually an indication that there is a serious problem. I've compiled LucenePlusPlus and the tests in debug mode. In addition, I've added the option "-fsanitize=thread" to enable the thread sanitizer.
(Adding custom flags when using cmake is usually a never ending nightmare, so this is my way of adding custom flags to a cmake project:
and c++tsan looks like this:
)
Anyway, here is the output of running "./src/test/lucene++-tester 2>w.txt":
w.txt
The text was updated successfully, but these errors were encountered: