<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - 13.0.0-rc3 regression: GWP-ASan-i386 :: backtrace.c failure (segv?)"
   href="https://bugs.llvm.org/show_bug.cgi?id=51847">51847</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>13.0.0-rc3 regression: GWP-ASan-i386 :: backtrace.c failure (segv?)
          </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>mgorny@gentoo.org
          </td>
        </tr>

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

        <tr>
          <th>Blocks</th>
          <td>51236
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm getting the following test failure with 13.0.0-rc3.  I've just tested and
the same test is passing with rc2.


FAIL: GWP-ASan-i386 :: backtrace.c (2850 of 8284)
******************** TEST 'GWP-ASan-i386 :: backtrace.c' FAILED
********************
Script:
--
: 'RUN: at line 2';     
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/lib/llvm/13/bin/clang
  -m32  -rdynamic -pthread -Wl,--whole-archive
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/lib/clang/13.0.0/lib/linux/libclang_rt.scudo_standalone-i386.a
-Wl,--no-whole-archive -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt/test/gwp_asan/backtrace.c
-g -o
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp
: 'RUN: at line 3';   not --crash
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp
2>&1 | FileCheck
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt/test/gwp_asan/backtrace.c
: 'RUN: at line 7';     
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/lib/llvm/13/bin/clang
  -m32  -rdynamic -pthread -Wl,--whole-archive
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/lib/clang/13.0.0/lib/linux/libclang_rt.scudo_standalone-i386.a
-Wl,--no-whole-archive -fomit-frame-pointer -momit-leaf-frame-pointer
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt/test/gwp_asan/backtrace.c
-g -o
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp
: 'RUN: at line 8';   not --crash
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp
--
Exit Code: 1

Command Output (stderr):
--
+ : 'RUN: at line 2'
+
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/lib/llvm/13/bin/clang
-m32 -rdynamic -pthread -Wl,--whole-archive
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/lib/clang/13.0.0/lib/linux/libclang_rt.scudo_standalone-i386.a
-Wl,--no-whole-archive -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt/test/gwp_asan/backtrace.c
-g -o
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp
+ : 'RUN: at line 3'
+ not --crash
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp
+ FileCheck
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt/test/gwp_asan/backtrace.c
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt/test/gwp_asan/backtrace.c:26:11:
error: CHECK: expected string not found in input
// CHECK: free_mem
          ^
<stdin>:10:27: note: scanning from here
0xf7f52000 was deallocated by thread 345976 here:
                          ^
<stdin>:25:6: note: possible intended match here
error: Segmentation fault (core dumped)
     ^

Input file: <stdin>
Check file:
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt/test/gwp_asan/backtrace.c

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            .
            .
            .
            5:  #2 linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf7f78570] 
            6:  #3
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp(touch_mem+0xa)
[0x805379a] 
            7:  #4
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp(main+0x3f)
[0x80537ef] 
            8:  #5 /lib/libc.so.6(__libc_start_main+0xe5) [0xf7d31925] 
            9:  
           10: 0xf7f52000 was deallocated by thread 345976 here: 
check:26'0                               X~~~~~~~~~~~~~~~~~~~~~~~ error: no
match found
           11:  #0
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp()
[0x804ae4f] 
check:26'0    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           12:  #1
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp()
[0x80494dd] 
check:26'0    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           13:  #2
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp()
[0x804aa18] 
check:26'0    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           14:  #3
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp()
[0x804eb0a] 
check:26'0    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           15:  #4
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp(main+0x34)
[0x80537e4] 
check:26'0    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            .
            .
            .
           20:  #1
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp()
[0x80494dd] 
check:26'0    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           21:  #2
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp()
[0x804a7a4] 
check:26'0    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           22:  #3
/var/tmp/portage/sys-libs/compiler-rt-sanitizers-13.0.0_rc3/work/compiler-rt_build/test/gwp_asan/I386LinuxConfig/Output/backtrace.c.tmp()
[0x804e8d9] 
check:26'0    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           23:  
check:26'0     ~
           24: *** End GWP-ASan report *** 
check:26'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           25: error: Segmentation fault (core dumped) 
check:26'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:26'1          ?                                   possible intended match
<span class="quote">>>>>>></span >

--

********************</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 13.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=51236">Bug 51236</a>] [meta] 13.0.0 Release Blockers
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>