[llvm-bugs] [Bug 51038] New: [tsan] false positive report for dup and mmap/sem_open

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 9 04:32:28 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51038

            Bug ID: 51038
           Summary: [tsan] false positive report for dup and mmap/sem_open
           Product: compiler-rt
           Version: 12.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: tsan
          Assignee: unassignedbugs at nondot.org
          Reporter: krizan at eset.sk
                CC: llvm-bugs at lists.llvm.org

Created attachment 25013
  --> https://bugs.llvm.org/attachment.cgi?id=25013&action=edit
sample test program

Thread sanitizer falsely reports a "data race on file descriptor X" between
parallel dup and mmap (called from sem_open), although those were separate
descriptors accessed properly.

See sample test program for details.

Note, that this report cannot be neither suppressed with a blacklist on dup,
mmap nor sem_open functions.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210709/5be312f9/attachment-0001.html>


More information about the llvm-bugs mailing list