[llvm-dev] FATAL: ThreadSanitizer: failed to intercept __xstat

Riyaz Puthiyapurayil via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 24 13:56:38 PST 2021


Didn't see a response. Any pointers on possible causes?

From: Riyaz Puthiyapurayil
Sent: Monday, February 22, 2021 11:16 PM
To: llvm-dev at lists.llvm.org
Subject: FATAL: ThreadSanitizer: failed to intercept __xstat

We are getting the following failure from a TSAN instrumented binary:


FATAL: ThreadSanitizer: failed to intercept __xstat


This is using a 3 year old version of clang (5.0.2) on SLES (Suse Linux Enterprise Server) 11.4.

Under what circumstances would TSAN fail to intercept __xstat?

The only known issue I could find that had a similar message is this:

https://reviews.llvm.org/D5858

The above pre-dates 5.0.2 and AFAICT is not applicable to SuSe Linux.

/Riyaz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210224/21e26d8d/attachment-0001.html>


More information about the llvm-dev mailing list