[llvm-bugs] [Bug 25643] New: Random failure of projects/compiler-rt/test/tsan/memcmp_race.cc

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 25 13:53:27 PST 2015


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: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151125/b086e7d6/attachment-0001.html>


More information about the llvm-bugs mailing list