[llvm-bugs] [Bug 51847] New: 13.0.0-rc3 regression: GWP-ASan-i386 :: backtrace.c failure (segv?)

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 14 07:00:12 PDT 2021


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

            Bug ID: 51847
           Summary: 13.0.0-rc3 regression: GWP-ASan-i386 :: backtrace.c
                    failure (segv?)
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mgorny at gentoo.org
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
            Blocks: 51236

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
>>>>>>

--

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


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=51236
[Bug 51236] [meta] 13.0.0 Release Blockers
-- 
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/20210914/7568ba04/attachment.html>


More information about the llvm-bugs mailing list