theRockLiu / thread-sanitizer

Automatically exported from code.google.com/p/thread-sanitizer
0 stars 0 forks source link

failing to intercept __xstat with libopen-pal.so #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile a program ("int main() {return 0;}" will do) with "-fsanitize=thread 
-lopen-pal" (on x86_64).
2. Execute the compiled application.

What is the expected output? What do you see instead?
Executing the application will result in "FATAL: ThreadSanitizer: failed to 
intercept __xstat".

What version of the product are you using? On what operating system?
I use libopen-pal provided by the libopenmpi1.3 package (= openmpi 1.4.3) from 
the official repository of ubuntu 12.04.
(llvm/clang/compiler-rt: svn r212097)

Please provide any additional information below.
The problem was first discussed here: 
https://groups.google.com/d/topic/thread-sanitizer/OQgSMgR7Yj8/discussion

Original issue reported on code.google.com by h...@phys.ethz.ch on 1 Jul 2014 at 1:51

GoogleCodeExporter commented 9 years ago
I just compiled Open MPI from the svn trunk and tried to reproduce the problem 
with that version. It did not occur anymore. So the problem seems obsolete.

Original comment by h...@phys.ethz.ch on 1 Jul 2014 at 3:12

GoogleCodeExporter commented 9 years ago

Original comment by konstant...@gmail.com on 3 Jul 2014 at 9:08

GoogleCodeExporter commented 9 years ago

Original comment by dvyu...@google.com on 8 Jul 2014 at 5:23