gcc march setting is skylake valid make PERF passed 2025-11-13 09:11:20 mkdir -p /pkg 2025-11-13 09:11:21 mkdir -p /kbuild/obj/consumer/x86_64-rhel-9.4-bpf last_num=144 2025-11-13 09:11:33 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 61 -v 61: Event expansion for cgroups : Running (1 active) 61: Event expansion for cgroups : Ok 2025-11-13 09:11:33 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 62 -v 62: Convert perf time to TSC : 62.1: TSC support : Running (2 active) 62.1: TSC support : Ok 62.2: Perf time to TSC : Ok 2025-11-13 09:11:34 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 63 -v 63: dlfilter C API : Running (1 active) --- start --- test child forked, pid 11083 -- Testing version 0 API -- Checking for gcc Command: gcc --version gcc (Debian 14.2.0-19) 14.2.0 Copyright (C) 2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. dlfilters path: /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/dlfilters Command: gcc -g -o /tmp/dlfilter-test-11083-prog /tmp/dlfilter-test-11083-prog.c Creating new host machine structure Command: /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf script -i /tmp/dlfilter-test-11083-perf-data --dlfilter /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/dlfilters/dlfilter-test-api-v0.so --dlarg first --dlarg 1 --dlarg 4198704 --dlarg 4198697 --dlarg 0 --dlarg last start API filter_event_early API filter_event API stop API ================================================================= ==11096==ERROR: LeakSanitizer: detected memory leaks Direct leak of 7752 byte(s) in 1 object(s) allocated from: #0 0x7f0358c38610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7f0358a19808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 2304 byte(s) in 1 object(s) allocated from: #0 0x7f0358c38c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f0358a21550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 352 byte(s) in 1 object(s) allocated from: #0 0x7f0358c38c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f0358a223fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) SUMMARY: AddressSanitizer: 10408 byte(s) leaked in 3 allocation(s). Failed with return value 256 ---- end(-1) ---- ================================================================= ==11083==ERROR: LeakSanitizer: detected memory leaks Direct leak of 7752 byte(s) in 1 object(s) allocated from: #0 0x7ff436364610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7ff436145808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 2304 byte(s) in 1 object(s) allocated from: #0 0x7ff436364c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7ff43614d550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 352 byte(s) in 1 object(s) allocated from: #0 0x7ff436364c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7ff43614e3fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) SUMMARY: AddressSanitizer: 10408 byte(s) leaked in 3 allocation(s). 63: dlfilter C API : FAILED! 2025-11-13 09:11:36 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 64 -v 64: Sigtrap : Running (1 active) 64: Sigtrap : Ok 2025-11-13 09:11:36 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 65 -v 65: Event groups : Running (1 active) 65: Event groups : Skip 2025-11-13 09:11:36 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 66 -v 66: Symbols : Running (1 active) --- start --- test child forked, pid 11129 Testing /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf ---- end(0) ---- ================================================================= ==11129==ERROR: LeakSanitizer: detected memory leaks Direct leak of 9624 byte(s) in 1 object(s) allocated from: #0 0x7ff9afad7610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7ff9af8b8808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 2880 byte(s) in 1 object(s) allocated from: #0 0x7ff9afad7c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7ff9af8c0550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 461 byte(s) in 1 object(s) allocated from: #0 0x7ff9afad7c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7ff9af8c13fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) SUMMARY: AddressSanitizer: 12965 byte(s) leaked in 3 allocation(s). 66: Symbols : FAILED! 2025-11-13 09:11:38 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 67 -v 67: util : Running (1 active) 67: util : Ok 2025-11-13 09:11:38 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 68 -v 68: libsubcmd help tests : 68.1: Load subcmd names : Running (3 active) 68.1: Load subcmd names : Ok 68.2: Uniquify subcmd names : Ok 68.3: Exclude duplicate subcmd names : Ok 2025-11-13 09:11:39 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 69 -v 69: Test dwarf unwind : Running (1 active) --- start --- test child forked, pid 11163 unwind: test__arch_unwind_sample:ip = 0x56454744251f (0x147d51f) unwind: access_mem addr 0x7ffd427d8a20, val 7ffd427d8c60, offset 48 unwind: access_mem addr 0x7ffd427d8a28, val 56454743fbeb, offset 56 unwind: access_mem addr 0x7ffd427d8c38, val 2, offset 584 unwind: access_mem addr 0x7ffd427d8c60, val 7ffd427d8c90, offset 624 unwind: access_mem addr 0x7ffd427d8c40, val 8, offset 592 unwind: access_mem addr 0x7ffd427d8c48, val 7f038863e040, offset 600 unwind: access_mem addr 0x7ffd427d8c50, val 7f0397bb1d80, offset 608 unwind: access_mem addr 0x7ffd427d8c58, val 1, offset 616 unwind: access_mem addr 0x7ffd427d8c68, val 56454743ffe4, offset 632 unwind: test_dwarf_unwind__thread:ip = 0x56454743fbea (0x147abea) unwind: access_mem addr 0x7ffd427d8c90, val 7f038863e048, offset 672 unwind: access_mem addr 0x7ffd427d8c98, val 7f038d9951ac, offset 680 unwind: test_dwarf_unwind__compare:ip = 0x56454743ffe3 (0x147afe3) unwind: access_mem addr 0x7ffd427d8cb8, val 7f038863e040, offset 712 unwind: access_mem addr 0x7ffd427d8cc0, val 2, offset 720 unwind: access_mem addr 0x7ffd427d8cc8, val 8, offset 728 unwind: access_mem addr 0x7ffd427d8cd0, val 7f038863e060, offset 736 unwind: access_mem addr 0x7ffd427d8cd8, val 56454743fee0, offset 744 unwind: access_mem addr 0x7ffd427d8ce0, val 7ffd427d9280, offset 752 unwind: access_mem addr 0x7ffd427d8ce8, val 7f0397c3c834, offset 760 unwind: bsearch:ip = 0x7f038d9951ab (0x411ab) unwind: access_mem addr 0x7ffd427d8d00, val 7f038863e000, offset 784 unwind: access_mem addr 0x7ffd427d8d08, val 7ffd427d8e10, offset 792 unwind: access_mem addr 0x7ffd427d8d10, val fe0710c7c00, offset 800 unwind: access_mem addr 0x7ffd427d8d18, val 7ffd427d8d50, offset 808 unwind: access_mem addr 0x7ffd427d8d20, val 7ffd427d8eb0, offset 816 unwind: access_mem addr 0x7ffd427d8d28, val 5645474401e7, offset 824 unwind: ___interceptor_bsearch:ip = 0x7f0397c3c833 (0xdb833) unwind: access_mem addr 0x7ffd427d8df8, val fe071122100, offset 1032 unwind: access_mem addr 0x7ffd427d8e10, val 7ffd427d8e40, offset 1056 unwind: access_mem addr 0x7ffd427d8e00, val 7f0388910800, offset 1040 unwind: access_mem addr 0x7ffd427d8e08, val 7f0388910a60, offset 1048 unwind: access_mem addr 0x7ffd427d8e18, val 564547440273, offset 1064 unwind: test_dwarf_unwind__krava_3:ip = 0x5645474401e6 (0x147b1e6) unwind: access_mem addr 0x7ffd427d8e40, val 7ffd427d8e70, offset 1104 unwind: access_mem addr 0x7ffd427d8e48, val 5645474402b6, offset 1112 unwind: test_dwarf_unwind__krava_2:ip = 0x564547440272 (0x147b272) unwind: access_mem addr 0x7ffd427d8e70, val 7ffd427d9130, offset 1152 unwind: access_mem addr 0x7ffd427d8e78, val 564547440683, offset 1160 unwind: test_dwarf_unwind__krava_1:ip = 0x5645474402b5 (0x147b2b5) got: test_dwarf_unwind__krava_1 0x5645474402b5, expecting test__dwarf_unwind unwind: failed with 'no error' got wrong number of stack entries 1 != 8 ---- end(-1) ---- ================================================================= ==11163==ERROR: LeakSanitizer: detected memory leaks Direct leak of 30952 byte(s) in 3 object(s) allocated from: #0 0x7f0397c55610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7f0397a36808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 9280 byte(s) in 3 object(s) allocated from: #0 0x7f0397c55c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f0397a3e550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 1873 byte(s) in 3 object(s) allocated from: #0 0x7f0397c55c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f0397a3f3fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) SUMMARY: AddressSanitizer: 42105 byte(s) leaked in 9 allocation(s). 69: Test dwarf unwind : FAILED! 2025-11-13 09:11:41 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 70 -v 70: Intel PT : 70.1: Intel PT packet decoder : Running (2 active) 70.1: Intel PT packet decoder : Ok 70.2: Intel PT hybrid CPU compatibility : Skip 2025-11-13 09:11:41 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 71 -v 71: x86 bp modify : Running (1 active) 71: x86 bp modify : Ok 2025-11-13 09:11:42 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 72 -v 72: AMD IBS via core pmu : Running (1 active) 72: AMD IBS via core pmu : Skip 2025-11-13 09:11:42 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 73 -v 73: x86 hybrid event parsing : Running (1 active) 73: x86 hybrid event parsing : Skip (not hybrid) 2025-11-13 09:11:42 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 74 -v 74: x86 topdown : Running (1 active) 74: x86 topdown : Ok 2025-11-13 09:11:43 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 75 -v 75: AMD IBS software filtering : Running (1 active) 75: AMD IBS software filtering : Skip 2025-11-13 09:11:43 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 76 -v 76: perf annotate basic tests : Running (1 active) --- start --- test child forked, pid 11233 147b816-147b929 l noploop perf does have symbol 'noploop' Basic perf annotate test Unexpected signal in test_basic ---- end(-1) ---- 76: perf annotate basic tests : FAILED! 2025-11-13 09:11:48 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 77 -v 77: Perf attribute expectations test : Running (1 active) 77: Perf attribute expectations test : Ok 2025-11-13 09:11:48 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 78 -v 78: build id cache operations : Running (1 active) --- start --- test child forked, pid 11284 WARNING: perf not built with libbfd. PE binaries will not be tested. WARNING: wine not found. PE binaries will not be run. test binaries: /tmp/perf.ex.SHA1.H5S /tmp/perf.ex.MD5.H7i /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/tests/shell/../pe-file.exe DEBUGINFOD_URLS= Downloading debug info with build id 916d0ebaf0e95fd65f7a56c358fd8127a599f412 Adding 916d0ebaf0e95fd65f7a56c358fd8127a599f412 /tmp/perf.ex.SHA1.H5S: Ok build id: 916d0ebaf0e95fd65f7a56c358fd8127a599f412 link: /tmp/perf.debug.bcV/.build-id/91/6d0ebaf0e95fd65f7a56c358fd8127a599f412 file: /tmp/perf.debug.bcV/.build-id/91/../../tmp/perf.ex.SHA1.H5S/916d0ebaf0e95fd65f7a56c358fd8127a599f412/elf 916d0ebaf0e95fd65f7a56c358fd8127a599f412 /tmp/perf.ex.SHA1.H5S OK for /tmp/perf.ex.SHA1.H5S DEBUGINFOD_URLS= Downloading debug info with build id 82116c4fd43ec51d956099717eef476c Adding 82116c4fd43ec51d956099717eef476c /tmp/perf.ex.MD5.H7i: Ok build id: 82116c4fd43ec51d956099717eef476c link: /tmp/perf.debug.J6U/.build-id/82/116c4fd43ec51d956099717eef476c file: /tmp/perf.debug.J6U/.build-id/82/../../tmp/perf.ex.MD5.H7i/82116c4fd43ec51d956099717eef476c/elf 82116c4fd43ec51d956099717eef476c /tmp/perf.ex.MD5.H7i OK for /tmp/perf.ex.MD5.H7i running: perf record /tmp/perf.ex.SHA1.H5S failed: record /tmp/perf.ex.SHA1.H5S see log: /tmp/perf.log.err.AyY ---- end(-1) ---- 78: build id cache operations : FAILED! 2025-11-13 09:11:51 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 79 -v 79: daemon operations : Running (1 active) 79: daemon operations : Ok 2025-11-13 09:12:19 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 80 -v 80: perf diff tests : Running (1 active) --- start --- test child forked, pid 11851 147b9f0-147ba29 g test_loop perf does have symbol 'test_loop' Basic two file diff test Workload record [Failed record] Basic three file diff test Workload record [Failed record] ---- end(-1) ---- 80: perf diff tests : FAILED! 2025-11-13 09:12:26 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 81 -v 81: DRM PMU : Running (1 active) 81: DRM PMU : Ok 2025-11-13 09:12:27 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 82 -v 82: perf ftrace tests : Running (1 active) 82: perf ftrace tests : Ok 2025-11-13 09:12:34 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 83 -v 83: perf header tests : Running (1 active) --- start --- test child forked, pid 11983 Test perf header file [ perf record: Woken up 1 times to write data ] ================================================================= ==11988==ERROR: AddressSanitizer: heap-use-after-free on address 0x50200003ddf0 at pc 0x55f07841e895 bp 0x7ffe95382230 sp 0x7ffe95382228 READ of size 8 at 0x50200003ddf0 thread T0 #0 0x55f07841e894 in maps__by_name_index util/maps.c:423 #1 0x55f07841f476 in __maps__remove util/maps.c:535 #2 0x55f07842307c in __maps__fixup_overlap_and_insert util/maps.c:956 #3 0x55f0784231a8 in maps__fixup_overlap_and_insert util/maps.c:975 #4 0x55f0783f88a7 in machine__process_ksymbol_register util/machine.c:756 #5 0x55f0783f906f in machine__process_ksymbol util/machine.c:824 #6 0x55f078294ceb in perf_event__process_ksymbol util/event.c:301 #7 0x55f07843a6f4 in machines__deliver_event util/session.c:1349 #8 0x55f07843ad60 in perf_session__deliver_event util/session.c:1386 #9 0x55f07843e7a4 in perf_session__process_event util/session.c:1682 #10 0x55f078445e5f in process_simple util/session.c:2259 #11 0x55f078444e1f in reader__read_event util/session.c:2188 #12 0x55f0784457c5 in reader__process_events util/session.c:2237 #13 0x55f07844664e in __perf_session__process_events util/session.c:2282 #14 0x55f07844970a in perf_session__process_events util/session.c:2446 #15 0x55f077d598e5 in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1570 #16 0x55f077d5e3ad in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1894 #17 0x55f077d6c47c in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:2966 #18 0x55f077d7a04c in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:4453 #19 0x55f077f8ba83 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:349 #20 0x55f077f8c374 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:401 #21 0x55f077f8c8ca in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:445 #22 0x55f077f8d071 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:553 #23 0x7ff13fe08ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #24 0x7ff13fe08d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #25 0x55f077cf7250 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf+0x1010250) (BuildId: dcac6dff4df47b4588a4b1759f9412523bee60ca) 0x50200003ddf0 is located 0 bytes inside of 8-byte region [0x50200003ddf0,0x50200003ddf8) freed by thread T0 here: #0 0x7ff14a0df8f8 in free ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:52 #1 0x55f07841745f in map__put util/map.c:312 #2 0x55f07841f37b in __maps__remove util/maps.c:529 #3 0x55f07842307c in __maps__fixup_overlap_and_insert util/maps.c:956 #4 0x55f0784231a8 in maps__fixup_overlap_and_insert util/maps.c:975 #5 0x55f0783f88a7 in machine__process_ksymbol_register util/machine.c:756 #6 0x55f0783f906f in machine__process_ksymbol util/machine.c:824 #7 0x55f078294ceb in perf_event__process_ksymbol util/event.c:301 #8 0x55f07843a6f4 in machines__deliver_event util/session.c:1349 #9 0x55f07843ad60 in perf_session__deliver_event util/session.c:1386 #10 0x55f07843e7a4 in perf_session__process_event util/session.c:1682 #11 0x55f078445e5f in process_simple util/session.c:2259 #12 0x55f078444e1f in reader__read_event util/session.c:2188 #13 0x55f0784457c5 in reader__process_events util/session.c:2237 #14 0x55f07844664e in __perf_session__process_events util/session.c:2282 #15 0x55f07844970a in perf_session__process_events util/session.c:2446 #16 0x55f077d598e5 in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1570 #17 0x55f077d5e3ad in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1894 #18 0x55f077d6c47c in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:2966 #19 0x55f077d7a04c in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:4453 #20 0x55f077f8ba83 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:349 #21 0x55f077f8c374 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:401 #22 0x55f077f8c8ca in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:445 #23 0x55f077f8d071 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:553 #24 0x7ff13fe08ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) previously allocated by thread T0 here: #0 0x7ff14a0e0c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55f07841a94e in map__get util/map.h:188 #2 0x55f078421aaf in __maps__insert_sorted util/maps.c:790 #3 0x55f0784230f3 in __maps__fixup_overlap_and_insert util/maps.c:965 #4 0x55f0784231a8 in maps__fixup_overlap_and_insert util/maps.c:975 #5 0x55f0783f88a7 in machine__process_ksymbol_register util/machine.c:756 #6 0x55f0783f906f in machine__process_ksymbol util/machine.c:824 #7 0x55f078294ceb in perf_event__process_ksymbol util/event.c:301 #8 0x55f07843a6f4 in machines__deliver_event util/session.c:1349 #9 0x55f07843ad60 in perf_session__deliver_event util/session.c:1386 #10 0x55f07843e7a4 in perf_session__process_event util/session.c:1682 #11 0x55f078445e5f in process_simple util/session.c:2259 #12 0x55f078444e1f in reader__read_event util/session.c:2188 #13 0x55f0784457c5 in reader__process_events util/session.c:2237 #14 0x55f07844664e in __perf_session__process_events util/session.c:2282 #15 0x55f07844970a in perf_session__process_events util/session.c:2446 #16 0x55f077d598e5 in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1570 #17 0x55f077d5e3ad in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1894 #18 0x55f077d6c47c in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:2966 #19 0x55f077d7a04c in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:4453 #20 0x55f077f8ba83 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:349 #21 0x55f077f8c374 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:401 #22 0x55f077f8c8ca in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:445 #23 0x55f077f8d071 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:553 #24 0x7ff13fe08ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) SUMMARY: AddressSanitizer: heap-use-after-free util/maps.c:423 in maps__by_name_index Shadow bytes around the buggy address: 0x50200003db00: fa fa 00 fa fa fa fd fa fa fa 00 07 fa fa 00 fa 0x50200003db80: fa fa fd fa fa fa 00 fa fa fa fd fa fa fa 00 01 0x50200003dc00: fa fa 00 fa fa fa fd fd fa fa 00 fa fa fa fd fa 0x50200003dc80: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 fa 0x50200003dd00: fa fa 00 fa fa fa 00 04 fa fa 00 fa fa fa 00 fa =>0x50200003dd80: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa[fd]fa 0x50200003de00: fa fa 00 fa fa fa 00 06 fa fa 00 01 fa fa 00 01 0x50200003de80: fa fa 00 03 fa fa 00 00 fa fa 00 05 fa fa 00 03 0x50200003df00: fa fa 00 02 fa fa 00 03 fa fa 00 02 fa fa 00 01 0x50200003df80: fa fa 00 06 fa fa fd fa fa fa fd fa fa fa 00 fa 0x50200003e000: fa fa 00 fa fa fa 00 fa fa fa fd fa fa fa fd fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==11988==ABORTING Unexpected signal in test_file ---- end(-1) ---- 83: perf header tests : FAILED! 2025-11-13 09:12:37 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 84 -v 84: perf list tests : Running (1 active) 84: perf list tests : Ok 2025-11-13 09:12:39 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 85 -v 85: kernel lock contention analysis test : Running (1 active) 85: kernel lock contention analysis test : Ok 2025-11-13 09:12:53 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 86 -v 86: perf report --hierarchy : Running (1 active) --- start --- test child forked, pid 12897 perf report --hierarchy Linux [ perf record: Woken up 1 times to write data ] ================================================================= ==12901==ERROR: AddressSanitizer: heap-use-after-free on address 0x50200003ddf0 at pc 0x563cfcf47895 bp 0x7ffeb43331e0 sp 0x7ffeb43331d8 READ of size 8 at 0x50200003ddf0 thread T0 #0 0x563cfcf47894 in maps__by_name_index util/maps.c:423 #1 0x563cfcf48476 in __maps__remove util/maps.c:535 #2 0x563cfcf4c07c in __maps__fixup_overlap_and_insert util/maps.c:956 #3 0x563cfcf4c1a8 in maps__fixup_overlap_and_insert util/maps.c:975 #4 0x563cfcf218a7 in machine__process_ksymbol_register util/machine.c:756 #5 0x563cfcf2206f in machine__process_ksymbol util/machine.c:824 #6 0x563cfcdbdceb in perf_event__process_ksymbol util/event.c:301 #7 0x563cfcf636f4 in machines__deliver_event util/session.c:1349 #8 0x563cfcf63d60 in perf_session__deliver_event util/session.c:1386 #9 0x563cfcf677a4 in perf_session__process_event util/session.c:1682 #10 0x563cfcf6ee5f in process_simple util/session.c:2259 #11 0x563cfcf6de1f in reader__read_event util/session.c:2188 #12 0x563cfcf6e7c5 in reader__process_events util/session.c:2237 #13 0x563cfcf6f64e in __perf_session__process_events util/session.c:2282 #14 0x563cfcf7270a in perf_session__process_events util/session.c:2446 #15 0x563cfc8828e5 in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1570 #16 0x563cfc8873ad in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1894 #17 0x563cfc89547c in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:2966 #18 0x563cfc8a304c in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:4453 #19 0x563cfcab4a83 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:349 #20 0x563cfcab5374 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:401 #21 0x563cfcab58ca in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:445 #22 0x563cfcab6071 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:553 #23 0x7f459707fca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #24 0x7f459707fd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #25 0x563cfc820250 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf+0x1010250) (BuildId: dcac6dff4df47b4588a4b1759f9412523bee60ca) 0x50200003ddf0 is located 0 bytes inside of 8-byte region [0x50200003ddf0,0x50200003ddf8) freed by thread T0 here: #0 0x7f45a13568f8 in free ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:52 #1 0x563cfcf4045f in map__put util/map.c:312 #2 0x563cfcf4837b in __maps__remove util/maps.c:529 #3 0x563cfcf4c07c in __maps__fixup_overlap_and_insert util/maps.c:956 #4 0x563cfcf4c1a8 in maps__fixup_overlap_and_insert util/maps.c:975 #5 0x563cfcf218a7 in machine__process_ksymbol_register util/machine.c:756 #6 0x563cfcf2206f in machine__process_ksymbol util/machine.c:824 #7 0x563cfcdbdceb in perf_event__process_ksymbol util/event.c:301 #8 0x563cfcf636f4 in machines__deliver_event util/session.c:1349 #9 0x563cfcf63d60 in perf_session__deliver_event util/session.c:1386 #10 0x563cfcf677a4 in perf_session__process_event util/session.c:1682 #11 0x563cfcf6ee5f in process_simple util/session.c:2259 #12 0x563cfcf6de1f in reader__read_event util/session.c:2188 #13 0x563cfcf6e7c5 in reader__process_events util/session.c:2237 #14 0x563cfcf6f64e in __perf_session__process_events util/session.c:2282 #15 0x563cfcf7270a in perf_session__process_events util/session.c:2446 #16 0x563cfc8828e5 in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1570 #17 0x563cfc8873ad in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1894 #18 0x563cfc89547c in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:2966 #19 0x563cfc8a304c in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:4453 #20 0x563cfcab4a83 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:349 #21 0x563cfcab5374 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:401 #22 0x563cfcab58ca in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:445 #23 0x563cfcab6071 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:553 #24 0x7f459707fca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) previously allocated by thread T0 here: #0 0x7f45a1357c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x563cfcf4394e in map__get util/map.h:188 #2 0x563cfcf4aaaf in __maps__insert_sorted util/maps.c:790 #3 0x563cfcf4c0f3 in __maps__fixup_overlap_and_insert util/maps.c:965 #4 0x563cfcf4c1a8 in maps__fixup_overlap_and_insert util/maps.c:975 #5 0x563cfcf218a7 in machine__process_ksymbol_register util/machine.c:756 #6 0x563cfcf2206f in machine__process_ksymbol util/machine.c:824 #7 0x563cfcdbdceb in perf_event__process_ksymbol util/event.c:301 #8 0x563cfcf636f4 in machines__deliver_event util/session.c:1349 #9 0x563cfcf63d60 in perf_session__deliver_event util/session.c:1386 #10 0x563cfcf677a4 in perf_session__process_event util/session.c:1682 #11 0x563cfcf6ee5f in process_simple util/session.c:2259 #12 0x563cfcf6de1f in reader__read_event util/session.c:2188 #13 0x563cfcf6e7c5 in reader__process_events util/session.c:2237 #14 0x563cfcf6f64e in __perf_session__process_events util/session.c:2282 #15 0x563cfcf7270a in perf_session__process_events util/session.c:2446 #16 0x563cfc8828e5 in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1570 #17 0x563cfc8873ad in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1894 #18 0x563cfc89547c in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:2966 #19 0x563cfc8a304c in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:4453 #20 0x563cfcab4a83 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:349 #21 0x563cfcab5374 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:401 #22 0x563cfcab58ca in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:445 #23 0x563cfcab6071 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:553 #24 0x7f459707fca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) SUMMARY: AddressSanitizer: heap-use-after-free util/maps.c:423 in maps__by_name_index Shadow bytes around the buggy address: 0x50200003db00: fa fa 00 fa fa fa fd fa fa fa 00 07 fa fa 00 fa 0x50200003db80: fa fa fd fa fa fa 00 fa fa fa fd fa fa fa 00 01 0x50200003dc00: fa fa 00 fa fa fa fd fd fa fa 00 fa fa fa fd fa 0x50200003dc80: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 fa 0x50200003dd00: fa fa 00 fa fa fa 00 04 fa fa 00 fa fa fa 00 fa =>0x50200003dd80: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa[fd]fa 0x50200003de00: fa fa 00 fa fa fa 00 06 fa fa 00 01 fa fa 00 01 0x50200003de80: fa fa 00 03 fa fa 00 00 fa fa 00 05 fa fa 00 03 0x50200003df00: fa fa 00 02 fa fa 00 03 fa fa 00 02 fa fa 00 01 0x50200003df80: fa fa 00 06 fa fa fd fa fa fa fd fa fa fa 00 fa 0x50200003e000: fa fa 00 fa fa fa 00 fa fa fa fd fa fa fa fd fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==12901==ABORTING --- Cleaning up --- ---- end(-1) ---- 86: perf report --hierarchy : FAILED! 2025-11-13 09:12:55 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 87 -v 87: perf pipe recording and injection test : Running (1 active) 87: perf pipe recording and injection test : Ok 2025-11-13 09:14:19 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 88 -v 88: 'import perf' in python : Running (1 active) --- start --- test child forked, pid 13453 Testing 'import perf' with: import sys sys.path.insert(0, '/usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/python') import perf print('success!') ==13463==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD. ---- end(-1) ---- 88: 'import perf' in python : FAILED! 2025-11-13 09:14:20 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 89 -v 89: Zstd perf.data compression/decompression : Running (1 active) --- start --- test child forked, pid 13474 Collecting compressed record file: 500+0 records in 500+0 records out 256000 bytes (256 kB, 250 KiB) copied, 0.0023166 s, 111 MB/s [ perf record: Woken up 1 times to write data ] ================================================================= ==13482==ERROR: AddressSanitizer: heap-use-after-free on address 0x50200003ddf0 at pc 0x557d1757c895 bp 0x7ffd3008e670 sp 0x7ffd3008e668 READ of size 8 at 0x50200003ddf0 thread T0 #0 0x557d1757c894 in maps__by_name_index util/maps.c:423 #1 0x557d1757d476 in __maps__remove util/maps.c:535 #2 0x557d1758107c in __maps__fixup_overlap_and_insert util/maps.c:956 #3 0x557d175811a8 in maps__fixup_overlap_and_insert util/maps.c:975 #4 0x557d175568a7 in machine__process_ksymbol_register util/machine.c:756 #5 0x557d1755706f in machine__process_ksymbol util/machine.c:824 #6 0x557d173f2ceb in perf_event__process_ksymbol util/event.c:301 #7 0x557d175986f4 in machines__deliver_event util/session.c:1349 #8 0x557d17598d60 in perf_session__deliver_event util/session.c:1386 #9 0x557d1759c7a4 in perf_session__process_event util/session.c:1682 #10 0x557d175a3e5f in process_simple util/session.c:2259 #11 0x557d175a2e1f in reader__read_event util/session.c:2188 #12 0x557d175a37c5 in reader__process_events util/session.c:2237 #13 0x557d175a464e in __perf_session__process_events util/session.c:2282 #14 0x557d175a770a in perf_session__process_events util/session.c:2446 #15 0x557d16eb78e5 in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1570 #16 0x557d16ebc3ad in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1894 #17 0x557d16eca47c in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:2966 #18 0x557d16ed804c in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:4453 #19 0x557d170e9a83 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:349 #20 0x557d170ea374 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:401 #21 0x557d170ea8ca in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:445 #22 0x557d170eb071 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:553 #23 0x7f986fa0cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #24 0x7f986fa0cd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #25 0x557d16e55250 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf+0x1010250) (BuildId: dcac6dff4df47b4588a4b1759f9412523bee60ca) 0x50200003ddf0 is located 0 bytes inside of 8-byte region [0x50200003ddf0,0x50200003ddf8) freed by thread T0 here: #0 0x7f9879ce38f8 in free ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:52 #1 0x557d1757545f in map__put util/map.c:312 #2 0x557d1757d37b in __maps__remove util/maps.c:529 #3 0x557d1758107c in __maps__fixup_overlap_and_insert util/maps.c:956 #4 0x557d175811a8 in maps__fixup_overlap_and_insert util/maps.c:975 #5 0x557d175568a7 in machine__process_ksymbol_register util/machine.c:756 #6 0x557d1755706f in machine__process_ksymbol util/machine.c:824 #7 0x557d173f2ceb in perf_event__process_ksymbol util/event.c:301 #8 0x557d175986f4 in machines__deliver_event util/session.c:1349 #9 0x557d17598d60 in perf_session__deliver_event util/session.c:1386 #10 0x557d1759c7a4 in perf_session__process_event util/session.c:1682 #11 0x557d175a3e5f in process_simple util/session.c:2259 #12 0x557d175a2e1f in reader__read_event util/session.c:2188 #13 0x557d175a37c5 in reader__process_events util/session.c:2237 #14 0x557d175a464e in __perf_session__process_events util/session.c:2282 #15 0x557d175a770a in perf_session__process_events util/session.c:2446 #16 0x557d16eb78e5 in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1570 #17 0x557d16ebc3ad in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1894 #18 0x557d16eca47c in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:2966 #19 0x557d16ed804c in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:4453 #20 0x557d170e9a83 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:349 #21 0x557d170ea374 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:401 #22 0x557d170ea8ca in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:445 #23 0x557d170eb071 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:553 #24 0x7f986fa0cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) previously allocated by thread T0 here: #0 0x7f9879ce4c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x557d1757894e in map__get util/map.h:188 #2 0x557d1757faaf in __maps__insert_sorted util/maps.c:790 #3 0x557d175810f3 in __maps__fixup_overlap_and_insert util/maps.c:965 #4 0x557d175811a8 in maps__fixup_overlap_and_insert util/maps.c:975 #5 0x557d175568a7 in machine__process_ksymbol_register util/machine.c:756 #6 0x557d1755706f in machine__process_ksymbol util/machine.c:824 #7 0x557d173f2ceb in perf_event__process_ksymbol util/event.c:301 #8 0x557d175986f4 in machines__deliver_event util/session.c:1349 #9 0x557d17598d60 in perf_session__deliver_event util/session.c:1386 #10 0x557d1759c7a4 in perf_session__process_event util/session.c:1682 #11 0x557d175a3e5f in process_simple util/session.c:2259 #12 0x557d175a2e1f in reader__read_event util/session.c:2188 #13 0x557d175a37c5 in reader__process_events util/session.c:2237 #14 0x557d175a464e in __perf_session__process_events util/session.c:2282 #15 0x557d175a770a in perf_session__process_events util/session.c:2446 #16 0x557d16eb78e5 in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1570 #17 0x557d16ebc3ad in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:1894 #18 0x557d16eca47c in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:2966 #19 0x557d16ed804c in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/builtin-record.c:4453 #20 0x557d170e9a83 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:349 #21 0x557d170ea374 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:401 #22 0x557d170ea8ca in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:445 #23 0x557d170eb071 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf.c:553 #24 0x7f986fa0cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) SUMMARY: AddressSanitizer: heap-use-after-free util/maps.c:423 in maps__by_name_index Shadow bytes around the buggy address: 0x50200003db00: fa fa 00 fa fa fa fd fa fa fa 00 07 fa fa 00 fa 0x50200003db80: fa fa fd fa fa fa 00 fa fa fa fd fa fa fa 00 01 0x50200003dc00: fa fa 00 fa fa fa fd fd fa fa 00 fa fa fa fd fa 0x50200003dc80: fa fa fd fa fa fa fd fa fa fa fd fa fa fa 00 fa 0x50200003dd00: fa fa 00 fa fa fa 00 04 fa fa 00 fa fa fa 00 fa =>0x50200003dd80: fa fa fd fa fa fa fd fa fa fa 00 fa fa fa[fd]fa 0x50200003de00: fa fa 00 fa fa fa 00 06 fa fa 00 01 fa fa 00 01 0x50200003de80: fa fa 00 03 fa fa 00 00 fa fa 00 05 fa fa 00 03 0x50200003df00: fa fa 00 02 fa fa 00 03 fa fa 00 02 fa fa 00 01 0x50200003df80: fa fa 00 06 fa fa fd fa fa fa fd fa fa fa 00 fa 0x50200003e000: fa fa 00 fa fa fa 00 fa fa fa fd fa fa fa fd fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==13482==ABORTING ---- end(-1) ---- 89: Zstd perf.data compression/decompression : FAILED! 2025-11-13 09:14:22 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6bd89ae7d14788ba15e25289479addcb98e7dc26/tools/perf/perf test 90 -v 90: perf record sample filtering (by BPF) tests : Running (1 active) 90: perf record sample filtering (by BPF) tests : Skip