Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 812464 - sys-libs/compiler-rt-sanitizers-12.0.1 - fails SanitizerCommon-lsan-powerpc64-Linux :: Linux/getpwnam_r_invalid_user.cpp
Summary: sys-libs/compiler-rt-sanitizers-12.0.1 - fails SanitizerCommon-lsan-powerpc64...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2021-09-10 14:49 UTC by ernsteiswuerfel
Modified: 2021-09-10 15:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (compiler-rt-sanitizers-12.0.1:20210910-133351.log,841.07 KB, text/plain)
2021-09-10 14:49 UTC, ernsteiswuerfel
Details
emerge --info (file_812464.txt,5.82 KB, text/plain)
2021-09-10 14:50 UTC, ernsteiswuerfel
Details
build.log (11.1.0-r1) (file_812464.txt,1.81 KB, text/plain)
2021-09-10 15:25 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2021-09-10 14:49:46 UTC
Created attachment 738808 [details]
build.log

[...]
FAIL: SanitizerCommon-lsan-powerpc64-Linux :: Linux/getpwnam_r_invalid_user.cpp (1920 of 3348)
******************** TEST 'SanitizerCommon-lsan-powerpc64-Linux :: Linux/getpwnam_r_invalid_user.cpp' FAILED ********************
Script:
--
: 'RUN: at line 2';      /var/tmp/portage/sys-libs/compiler-rt-sanitizers-12.0.1/work/compiler-rt_build/lib/llvm/12/bin/clang  --driver-mode=g++ -gline-tables-only -fsanitize=leak  -m64  -ldl -O0 -g /var/tmp/portage/sys-libs/compiler-rt-sanitizers-12.0.1/work/compiler-rt/test/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cpp -o /var/tmp/portage/sys-libs/compiler-rt-sanitizers-12.0.1/work/compiler-rt_build/test/sanitizer_common/lsan-powerpc64-Linux/Linux/Output/getpwnam_r_invalid_user.cpp.tmp &&  /var/tmp/portage/sys-libs/compiler-rt-sanitizers-12.0.1/work/compiler-rt_build/test/sanitizer_common/lsan-powerpc64-Linux/Linux/Output/getpwnam_r_invalid_user.cpp.tmp
--
Exit Code: 23

Command Output (stderr):
--
+ : 'RUN: at line 2'
+ /var/tmp/portage/sys-libs/compiler-rt-sanitizers-12.0.1/work/compiler-rt_build/lib/llvm/12/bin/clang --driver-mode=g++ -gline-tables-only -fsanitize=leak -m64 -ldl -O0 -g /var/tmp/portage/sys-libs/compiler-rt-sanitizers-12.0.1/work/compiler-rt/test/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cpp -o /var/tmp/portage/sys-libs/compiler-rt-sanitizers-12.0.1/work/compiler-rt_build/test/sanitizer_common/lsan-powerpc64-Linux/Linux/Output/getpwnam_r_invalid_user.cpp.tmp
+ /var/tmp/portage/sys-libs/compiler-rt-sanitizers-12.0.1/work/compiler-rt_build/test/sanitizer_common/lsan-powerpc64-Linux/Linux/Output/getpwnam_r_invalid_user.cpp.tmp
LeakSanitizer:DEADLYSIGNAL
==787225==ERROR: LeakSanitizer: SEGV on unknown address 0xfffffffffffff020 (pc 0x00001002f468 bp 0x0a6800000000 sp 0x3fffcd104e80 T0)
==787225==The signal is caused by a UNKNOWN memory access.
    #0 0x1002f468 in __lsan::GetMallocUsableSize(void const*) /var/tmp/portage/sys-libs/compiler-rt-sanitizers-12.0.1/work/compiler-rt/lib/lsan/lsan_allocator.cpp:144:13
    #1 0x10034498 in malloc_usable_size /var/tmp/portage/sys-libs/compiler-rt-sanitizers-12.0.1/work/compiler-rt/lib/lsan/lsan_interceptors.cpp:149:10
    #2 0x3fff959935e4  (/usr/lib64/libnss_systemd.so.2+0x555e4)
    #3 0x3fff95993eb0  (/usr/lib64/libnss_systemd.so.2+0x55eb0)
    #4 0x3fff9599f8ac  (/usr/lib64/libnss_systemd.so.2+0x618ac)
    #5 0x3fff9599ff80  (/usr/lib64/libnss_systemd.so.2+0x61f80)
    #6 0x3fff959a08c4  (/usr/lib64/libnss_systemd.so.2+0x628c4)
    #7 0x3fff9598abf0  (/usr/lib64/libnss_systemd.so.2+0x4cbf0)
    #8 0x3fff9598d5a4  (/usr/lib64/libnss_systemd.so.2+0x4f5a4)
    #9 0x3fff95953398  (/usr/lib64/libnss_systemd.so.2+0x15398)
    #10 0x3fff9594ed70 in _nss_systemd_getpwnam_r (/usr/lib64/libnss_systemd.so.2+0x10d70)
    #11 0x3fff95d7e424 in getpwnam_r /usr/src/debug/sys-libs/glibc-2.33-r1/glibc-2.33/pwd/../nss/getXXbyYY_r.c:274:16
    #12 0x10036f9c in main /var/tmp/portage/sys-libs/compiler-rt-sanitizers-12.0.1/work/compiler-rt/test/sanitizer_common/TestCases/Linux/getpwnam_r_invalid_user.cpp:16:13
    #13 0x3fff95cc0438 in generic_start_main /usr/src/debug/sys-libs/glibc-2.33-r1/glibc-2.33/csu/../csu/libc-start.c:332:16
    #14 0x3fff95cc0660 in __libc_start_main /usr/src/debug/sys-libs/glibc-2.33-r1/glibc-2.33/csu/../sysdeps/unix/sysv/linux/powerpc/libc-start.c:98:10

LeakSanitizer can not provide additional info.
SUMMARY: LeakSanitizer: SEGV /var/tmp/portage/sys-libs/compiler-rt-sanitizers-12.0.1/work/compiler-rt/lib/lsan/lsan_allocator.cpp:144:13 in __lsan::GetMallocUsableSize(void const*)
==787225==ABORTING
[...]
********************
Failed Tests (1):
  SanitizerCommon-lsan-powerpc64-Linux :: Linux/getpwnam_r_invalid_user.cpp


Testing Time: 220.12s
  Unsupported      :  902
  Passed           : 2399
  Expectedly Failed:   46
  Failed           :    1

2 warning(s) in tests
FAILED: test/CMakeFiles/check-compiler-rt
Comment 1 ernsteiswuerfel archtester 2021-09-10 14:50:16 UTC
Created attachment 738811 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2021-09-10 15:25:56 UTC
Created attachment 738814 [details]
build.log (11.1.0-r1)

No regression over current stable 11.1.0-r1. This one fails 28 tests.

[...]
Failed Tests (28):
  MemorySanitizer-POWERPC64 :: fstat.cpp
  Profile-powerpc64 :: Linux/comdat_rename.test
  Profile-powerpc64 :: Linux/instrprof-basic.c
  Profile-powerpc64 :: Linux/instrprof-cs.c
  Profile-powerpc64 :: Linux/instrprof-dlopen.test
  Profile-powerpc64 :: Linux/instrprof-dynamic-one-shared.test
  Profile-powerpc64 :: Linux/instrprof-dynamic-two-shared.test
  Profile-powerpc64 :: Posix/instrprof-dlopen.test
  Profile-powerpc64 :: Posix/instrprof-dynamic-one-shared.test
  Profile-powerpc64 :: Posix/instrprof-dynamic-two-shared.test
  Profile-powerpc64 :: Posix/instrprof-shared.test
  Profile-powerpc64 :: gcc-flag-compatibility.test
  Profile-powerpc64 :: instrprof-basic.c
  Profile-powerpc64 :: instrprof-dump.c
  Profile-powerpc64 :: instrprof-gcov-multiple-bbs-single-line.test
  Profile-powerpc64 :: instrprof-hostname.c
  Profile-powerpc64 :: instrprof-icall-promo.test
  Profile-powerpc64 :: instrprof-override-filename-then-reset-default.c
  Profile-powerpc64 :: instrprof-override-filename-with-env.c
  Profile-powerpc64 :: instrprof-override-filename.c
  Profile-powerpc64 :: instrprof-reset-counters.c
  Profile-powerpc64 :: instrprof-set-filename-then-reset-default.c
  Profile-powerpc64 :: instrprof-set-filename.c
  Profile-powerpc64 :: instrprof-without-libc.c
  Profile-powerpc64 :: instrprof-write-file-atexit-explicitly.c
  Profile-powerpc64 :: instrprof-write-file-only.c
  Profile-powerpc64 :: instrprof-write-file.c
  SanitizerCommon-msan-powerpc64-Linux :: Posix/lstat.cpp


Testing Time: 205.45s
  Unsupported      :  793
  Passed           : 2172
  Expectedly Failed:   38
  Failed           :   28

2 warning(s) in tests
FAILED: test/CMakeFiles/check-compiler-rt