You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
^
:10:27: note: scanning from here
0xf7f52000 was deallocated by thread 345976 here:
^
:25:6: note: possible intended match here
error: Segmentation fault (core dumped)
^
scudo: Only add no-omit-frame-pointer flags when the compiler supports them
Reviewed By: cryptoad
Differential Revision: https://reviews.llvm.org/D109196
It's a tad late but my first guess would be that COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG is only defined when building buildins, and since we're doing split packages this one has -DCOMPILER_RT_BUILD_BUILTINS=OFF.
Extended Description
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):
/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
^
:10:27: note: scanning from here
0xf7f52000 was deallocated by thread 345976 here:
^
:25:6: note: possible intended match here
error: Segmentation fault (core dumped)
^
Input file:
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
--
The text was updated successfully, but these errors were encountered: