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

            Bug ID: 25643
           Summary: Random failure of
                    projects/compiler-rt/test/tsan/memcmp_race.cc
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: hjl.to...@gmail.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

On Fedora 22 and Fedora 23 x86-64, I got

FAIL: ThreadSanitizer :: memcmp_race.cc (26625 of 27077)
******************** TEST 'ThreadSanitizer :: memcmp_race.cc' FAILED
********************
Script:
--
/export/build/gnu/llvm-clang-x32-bootstrap-cmake/stage2/build-x86_64-linux-gnux32/./bin/clang
--driver-mode=g++ -fsanitize=thread -Wall -m64 -gline-tables-only -O1
/export/gnu/import/git/llvm-x32/projects/compiler-rt/test/tsan/memcmp_race.cc
-o
/export/build/gnu/llvm-clang-x32-bootstrap-cmake/stage2/build-x86_64-linux-gnux32/projects/compiler-rt/test/tsan/Output/memcmp_race.cc.tmp
&& /export/gnu/import/git/llvm-x32/projects/compiler-rt/test/tsan/deflake.bash
/export/build/gnu/llvm-clang-x32-bootstrap-cmake/stage2/build-x86_64-linux-gnux32/projects/compiler-rt/test/tsan/Output/memcmp_race.cc.tmp
| FileCheck
/export/gnu/import/git/llvm-x32/projects/compiler-rt/test/tsan/memcmp_race.cc
--
Exit Code: 1

Command Output (stderr):
--
/export/gnu/import/git/llvm-x32/projects/compiler-rt/test/tsan/memcmp_race.cc:41:11:
error: expected string not found in input
// CHECK: #0 memcmp
          ^
<stdin>:9:2: note: scanning from here
 [failed to restore the stack]
 ^
<stdin>:12:123: note: possible intended match here
 #0 operator new[](unsigned long)
/export/gnu/import/git/llvm-x32/projects/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:51:3
(memcmp_race.cc.tmp+0x0000004a530e)
                                                                               
                                          ^

--

********************

It fails about 1 of 10 runs.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to