<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - FAIL: LeakSanitizer-AddressSanitizer :: TestCases/stale_stack_leak.cc"
   href="https://llvm.org/bugs/show_bug.cgi?id=24503">24503</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FAIL: LeakSanitizer-AddressSanitizer :: TestCases/stale_stack_leak.cc
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hjl.tools@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>eugeni.stepanov@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>On Fedora 22/x86-64, commit:

254fc49ce2a8fe1e9345db901dbebf9d30150e2 is the first bad commit
commit f254fc49ce2a8fe1e9345db901dbebf9d30150e2
Author: Evgeniy Stepanov <<a href="mailto:eugeni.stepanov@gmail.com">eugeni.stepanov@gmail.com</a>>
Date:   Tue Aug 18 20:36:11 2015 +0000

    [sanitizer] Add -lutil to static runtime link flags.

    This is needed to prevent breakage of -Wl,-as-needed link when
    interceptors for functions in libutil are added. See PR15823.


    git-svn-id: <a href="https://llvm.org/svn/llvm-project/cfe/trunk@245344">https://llvm.org/svn/llvm-project/cfe/trunk@245344</a>
91177308-0d34-0410-b5e6-96231b3b80d8

caused:

FAIL: LeakSanitizer-AddressSanitizer :: TestCases/stale_stack_leak.cc (24667 of
25822)
******************** 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-bootstrap-cmake/stage1/build-x86_64-linux/./bin/clang
--driver-mode=g++ -O0 -m64 -gline-tables-only -fsanitize=address
/export/gnu/import/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
-o
/export/build/gnu/llvm-clang-bootstrap-cmake/stage1/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-bootstrap-cmake/stage1/build-x86_64-linux/projects/compiler-rt/test/lsan/AsanConfig/TestCases/Output/stale_stack_leak.cc.tmp
2>&1 | FileCheck
/export/gnu/import/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
LSAN_OPTIONS=$LSAN_BASE":exitcode=0" 
/export/build/gnu/llvm-clang-bootstrap-cmake/stage1/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/gnu/import/git/llvm/projects/compiler-rt/test/lsan/TestCases/stale_stack_leak.cc
--
Exit Code: 1

Command Output (stderr):
--
/export/gnu/import/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.
   ^</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>