[LLVMbugs] [Bug 22760] New: TestCases/stale_stack_leak.cc fails on Fedora 21

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 2 12:51:45 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22760

            Bug ID: 22760
           Summary: TestCases/stale_stack_leak.cc fails on Fedora 21
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

TestCases/stale_stack_leak.cc fails on Fedora 21:

[100%] Running all regression tests
lit.py: lit.cfg:195: note: using clang:
'/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang'
lit.py: lit.cfg:272: note: Did not find llvm-go in
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin
-- Testing: 23499 tests, 8 threads --
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.
FAIL: LeakSanitizer-AddressSanitizer :: TestCases/stale_stack_leak.cc (22568 of
23499)
******************** TEST 'LeakSanitizer-AddressSanitizer ::
TestCases/stale_stack_leak.cc' FAILED ********************
Script:
--
LSAN_BASE="report_objects=1:use_registers=0:use_stacks=1"
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang --driver-mode=g++
-O0 -m64 -gline-tables-only -fsanitize=address
/export/ssd/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
-o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/lsan/AsanConfig/TestCases/Output/stale_stack_leak.cc.tmp
LSAN_OPTIONS=$LSAN_BASE not 
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/lsan/AsanConfig/TestCases/Output/stale_stack_leak.cc.tmp
2>&1 | FileCheck
/export/ssd/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
LSAN_OPTIONS=$LSAN_BASE":exitcode=0" 
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/lsan/AsanConfig/TestCases/Output/stale_stack_leak.cc.tmp
2>&1 | FileCheck --check-prefix=CHECK-sanity
/export/ssd/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
--
Exit Code: 1

Command Output (stderr):
--
/export/ssd/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc:40:11:
error: expected string not found in input
// CHECK: LeakSanitizer: detected memory leaks
          ^
<stdin>:2:1: note: scanning from here
Value after LSan: 0x61a00001f280.
^
<stdin>:2:4: note: possible intended match here
Value after LSan: 0x61a00001f280.
   ^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.
FAIL: LeakSanitizer-Standalone :: TestCases/stale_stack_leak.cc (22603 of
23499)
******************** TEST 'LeakSanitizer-Standalone ::
TestCases/stale_stack_leak.cc' FAILED ********************
Script:
--
LSAN_BASE="report_objects=1:use_registers=0:use_stacks=1"
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang --driver-mode=g++
-O0 -m64 -gline-tables-only -fsanitize=leak
/export/ssd/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
-o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/lsan/LsanConfig/TestCases/Output/stale_stack_leak.cc.tmp
LSAN_OPTIONS=$LSAN_BASE not 
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/lsan/LsanConfig/TestCases/Output/stale_stack_leak.cc.tmp
2>&1 | FileCheck
/export/ssd/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
LSAN_OPTIONS=$LSAN_BASE":exitcode=0" 
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/lsan/LsanConfig/TestCases/Output/stale_stack_leak.cc.tmp
2>&1 | FileCheck --check-prefix=CHECK-sanity
/export/ssd/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
--
Exit Code: 1

Command Output (stderr):
--
/export/ssd/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc:40:11:
error: expected string not found in input
// CHECK: LeakSanitizer: detected memory leaks
          ^
<stdin>:2:1: note: scanning from here
Value after LSan: 0x61a00001f200.
^
<stdin>:2:4: note: possible intended match here
Value after LSan: 0x61a00001f200.
   ^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Testing Time: 486.18s
********************
Failing Tests (2):
    LeakSanitizer-AddressSanitizer :: TestCases/stale_stack_leak.cc
    LeakSanitizer-Standalone :: TestCases/stale_stack_leak.cc

  Expected Passes    : 22909
  Expected Failures  : 144
  Unsupported Tests  : 444
  Unexpected Failures: 2
[hjl at gnu-6 llvm-clang]$

-- 
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/20150302/97e43006/attachment.html>


More information about the llvm-bugs mailing list