* [linux-next:master] [perf test subcmd help] ef92c4351e: kmsg.sanitizer.indirect_leak/malloc/___interceptor_backtrace/child_test_sig_handler/raise/abort
@ 2026-01-20 7:57 kernel test robot
2026-01-21 15:52 ` Ian Rogers
0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2026-01-20 7:57 UTC (permalink / raw)
To: Ian Rogers
Cc: oe-lkp, lkp, Arnaldo Carvalho de Melo, Sri Jayaramappa,
Adrian Hunter, Alexander Shishkin, Guilherme Amadio, Ingo Molnar,
Jiri Olsa, Namhyung Kim, Peter Zijlstra, linux-perf-users,
linux-kernel, oliver.sang
Hello,
kernel test robot noticed "kmsg.sanitizer.indirect_leak/malloc/___interceptor_backtrace/child_test_sig_handler/raise/abort" on:
commit: ef92c4351ec75bcfb8a1cc3a88109b5339f296ef ("perf test subcmd help: Add exclude disjoint subcmd names")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
[test failed on linux-next/master d08c85ac8894995d4b0d8fb48d2f6a3e53cd79ab]
in testcase: perf-sanity-tests
version:
with following parameters:
perf_compiler: clang
group: group-02
config: x86_64-rhel-9.4-bpf
compiler: gcc-14
test machine: 64 threads 2 sockets Intel(R) Xeon(R) Gold 6346 CPU @ 3.10GHz (Ice Lake) with 256G memory
(please refer to attached dmesg/kmsg for entire log/backtrace)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202601201519.ce4c3ab3-lkp@intel.com
--- start ---
test child forked, pid 11710
perf: help.c:107: exclude_cmds: Assertion `cmds->names[ci] == NULL' failed.
---- unexpected signal (6) ----
#0 0x7f7688c77403 in ___interceptor_backtrace.part.0 sanitizer_common_interceptors.inc:4358
#1 0x55f34adb6c34 in child_test_sig_handler builtin-test.c:312
#2 0x7f767ea2bdf0 libc.so.6[3fdf0]
#3 0x7f767ea8095c libc.so.6[9495c]
#4 0x7f767ea2bcc2 in raise libc.so.6[3fcc2]
#5 0x7f767ea144ac in abort libc.so.6[284ac]
#6 0x7f767ea14420 in __assert_perror_fail libc.so.6[28420]
#7 0x55f34acf4e70 in exclude_cmds help.c:106
#8 0x55f34ae9a646 in test__exclude_cmdnames_no_overlap subcmd-help.c:112
#9 0x55f34adb74c5 in run_test_child builtin-test.c:340
#10 0x55f34ad08db3 in start_command run-command.c:128
#11 0x55f34adb99a1 in start_test builtin-test.c:546
#12 0x55f34adba90d in __cmd_test builtin-test.c:648
#13 0x55f34adbd2c0 in cmd_test builtin-test.c:850
#14 0x55f34acc2a45 in run_builtin perf.c:349
#15 0x55f34acc3336 in handle_internal_command perf.c:401
#16 0x55f34acc388c in run_argv perf.c:448
#17 0x55f34acc4033 in main perf.c:555
#18 0x7f767ea15ca8 libc.so.6[29ca8]
#19 0x7f767ea15d65 in __libc_start_main libc.so.6[29d65]
#20 0x55f34aa28241 in _start perf[102f241]
=================================================================
==11710==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 30952 byte(s) in 3 object(s) allocated from:
#0 0x7f7688ced610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7f7688ace808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
Indirect leak of 9280 byte(s) in 3 object(s) allocated from:
#0 0x7f7688cedc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x7f7688ad6550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
Indirect leak of 1873 byte(s) in 3 object(s) allocated from:
#0 0x7f7688cedc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x7f7688ad73fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
SUMMARY: AddressSanitizer: 42105 byte(s) leaked in 9 allocation(s).
68.4: Exclude disjoint subcmd names : FAILED!
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260120/202601201519.ce4c3ab3-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [linux-next:master] [perf test subcmd help] ef92c4351e: kmsg.sanitizer.indirect_leak/malloc/___interceptor_backtrace/child_test_sig_handler/raise/abort
2026-01-20 7:57 [linux-next:master] [perf test subcmd help] ef92c4351e: kmsg.sanitizer.indirect_leak/malloc/___interceptor_backtrace/child_test_sig_handler/raise/abort kernel test robot
@ 2026-01-21 15:52 ` Ian Rogers
2026-01-23 6:17 ` Oliver Sang
0 siblings, 1 reply; 4+ messages in thread
From: Ian Rogers @ 2026-01-21 15:52 UTC (permalink / raw)
To: kernel test robot, Thomas Richter
Cc: oe-lkp, lkp, Arnaldo Carvalho de Melo, Sri Jayaramappa,
Adrian Hunter, Alexander Shishkin, Guilherme Amadio, Ingo Molnar,
Jiri Olsa, Namhyung Kim, Peter Zijlstra, linux-perf-users,
linux-kernel
On Mon, Jan 19, 2026 at 11:58 PM kernel test robot
<oliver.sang@intel.com> wrote:
>
>
>
> Hello,
>
> kernel test robot noticed "kmsg.sanitizer.indirect_leak/malloc/___interceptor_backtrace/child_test_sig_handler/raise/abort" on:
>
> commit: ef92c4351ec75bcfb8a1cc3a88109b5339f296ef ("perf test subcmd help: Add exclude disjoint subcmd names")
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
>
> [test failed on linux-next/master d08c85ac8894995d4b0d8fb48d2f6a3e53cd79ab]
>
> in testcase: perf-sanity-tests
> version:
> with following parameters:
>
> perf_compiler: clang
> group: group-02
>
>
>
> config: x86_64-rhel-9.4-bpf
> compiler: gcc-14
> test machine: 64 threads 2 sockets Intel(R) Xeon(R) Gold 6346 CPU @ 3.10GHz (Ice Lake) with 256G memory
>
> (please refer to attached dmesg/kmsg for entire log/backtrace)
>
>
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <oliver.sang@intel.com>
> | Closes: https://lore.kernel.org/oe-lkp/202601201519.ce4c3ab3-lkp@intel.com
>
>
> --- start ---
> test child forked, pid 11710
> perf: help.c:107: exclude_cmds: Assertion `cmds->names[ci] == NULL' failed.
>
> ---- unexpected signal (6) ----
> #0 0x7f7688c77403 in ___interceptor_backtrace.part.0 sanitizer_common_interceptors.inc:4358
> #1 0x55f34adb6c34 in child_test_sig_handler builtin-test.c:312
> #2 0x7f767ea2bdf0 libc.so.6[3fdf0]
> #3 0x7f767ea8095c libc.so.6[9495c]
> #4 0x7f767ea2bcc2 in raise libc.so.6[3fcc2]
> #5 0x7f767ea144ac in abort libc.so.6[284ac]
> #6 0x7f767ea14420 in __assert_perror_fail libc.so.6[28420]
> #7 0x55f34acf4e70 in exclude_cmds help.c:106
> #8 0x55f34ae9a646 in test__exclude_cmdnames_no_overlap subcmd-help.c:112
> #9 0x55f34adb74c5 in run_test_child builtin-test.c:340
> #10 0x55f34ad08db3 in start_command run-command.c:128
> #11 0x55f34adb99a1 in start_test builtin-test.c:546
> #12 0x55f34adba90d in __cmd_test builtin-test.c:648
> #13 0x55f34adbd2c0 in cmd_test builtin-test.c:850
> #14 0x55f34acc2a45 in run_builtin perf.c:349
> #15 0x55f34acc3336 in handle_internal_command perf.c:401
> #16 0x55f34acc388c in run_argv perf.c:448
> #17 0x55f34acc4033 in main perf.c:555
> #18 0x7f767ea15ca8 libc.so.6[29ca8]
> #19 0x7f767ea15d65 in __libc_start_main libc.so.6[29d65]
> #20 0x55f34aa28241 in _start perf[102f241]
I believe this is resolved by:
https://lore.kernel.org/lkml/20260121082402.2311962-1-tmricht@linux.ibm.com/
> =================================================================
> ==11710==ERROR: LeakSanitizer: detected memory leaks
>
> Direct leak of 30952 byte(s) in 3 object(s) allocated from:
> #0 0x7f7688ced610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
> #1 0x7f7688ace808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
>
> Indirect leak of 9280 byte(s) in 3 object(s) allocated from:
> #0 0x7f7688cedc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
> #1 0x7f7688ad6550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
>
> Indirect leak of 1873 byte(s) in 3 object(s) allocated from:
> #0 0x7f7688cedc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
> #1 0x7f7688ad73fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
>
> SUMMARY: AddressSanitizer: 42105 byte(s) leaked in 9 allocation(s).
> 68.4: Exclude disjoint subcmd names : FAILED!
To better diagnose these leaks could you disable the fast asan stack unwinder:
ASAN_OPTIONS=fast_unwind_on_malloc=0
Thanks,
Ian
> The kernel config and materials to reproduce are available at:
> https://download.01.org/0day-ci/archive/20260120/202601201519.ce4c3ab3-lkp@intel.com
>
>
>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [linux-next:master] [perf test subcmd help] ef92c4351e: kmsg.sanitizer.indirect_leak/malloc/___interceptor_backtrace/child_test_sig_handler/raise/abort
2026-01-21 15:52 ` Ian Rogers
@ 2026-01-23 6:17 ` Oliver Sang
2026-01-23 16:05 ` Ian Rogers
0 siblings, 1 reply; 4+ messages in thread
From: Oliver Sang @ 2026-01-23 6:17 UTC (permalink / raw)
To: Ian Rogers
Cc: Thomas Richter, oe-lkp, lkp, Arnaldo Carvalho de Melo,
Sri Jayaramappa, Adrian Hunter, Alexander Shishkin,
Guilherme Amadio, Ingo Molnar, Jiri Olsa, Namhyung Kim,
Peter Zijlstra, linux-perf-users, linux-kernel, oliver.sang
hi, Ian Rogers,
On Wed, Jan 21, 2026 at 07:52:15AM -0800, Ian Rogers wrote:
[...]
> > #20 0x55f34aa28241 in _start perf[102f241]
>
> I believe this is resolved by:
> https://lore.kernel.org/lkml/20260121082402.2311962-1-tmricht@linux.ibm.com/
>
> > =================================================================
> > ==11710==ERROR: LeakSanitizer: detected memory leaks
> >
> > Direct leak of 30952 byte(s) in 3 object(s) allocated from:
> > #0 0x7f7688ced610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
> > #1 0x7f7688ace808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
> >
> > Indirect leak of 9280 byte(s) in 3 object(s) allocated from:
> > #0 0x7f7688cedc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
> > #1 0x7f7688ad6550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
> >
> > Indirect leak of 1873 byte(s) in 3 object(s) allocated from:
> > #0 0x7f7688cedc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
> > #1 0x7f7688ad73fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
> >
> > SUMMARY: AddressSanitizer: 42105 byte(s) leaked in 9 allocation(s).
> > 68.4: Exclude disjoint subcmd names : FAILED!
>
> To better diagnose these leaks could you disable the fast asan stack unwinder:
> ASAN_OPTIONS=fast_unwind_on_malloc=0
thanks a lot for guidance!
we've made the change according, now see results like below [1]
we will supply these information in future reports. thanks again!
[1]
=================================================================
==11725==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 30952 byte(s) in 3 object(s) allocated from:
#0 0x7fed49fb4610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x7fed49d95808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
#2 0x7fed49d965f9 (/lib/x86_64-linux-gnu/libelf.so.1+0x45f9) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
#3 0x55dc6825e4f7 in symsrc__init util/symbol-elf.c:1164
#4 0x55dc67ddba50 in dso__load util/symbol.c:1795
#5 0x55dc67e6fa86 in map__load util/map.c:351
#6 0x55dc67e6fe6d in map__find_symbol util/map.c:385
#7 0x55dc67e4480a in __dump_stack util/debug.c:343
#8 0x55dc67ad0c84 in child_test_sig_handler tests/builtin-test.c:313
#9 0x7fed3fcf2def (/lib/x86_64-linux-gnu/libc.so.6+0x3fdef) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#10 0x7fed3fd4795b (/lib/x86_64-linux-gnu/libc.so.6+0x9495b) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#11 0x7fed3fcf2cc1 in gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x3fcc1) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#12 0x7fed3fcdb4ab in abort (/lib/x86_64-linux-gnu/libc.so.6+0x284ab) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#13 0x7fed3fcdb41f (/lib/x86_64-linux-gnu/libc.so.6+0x2841f) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#14 0x55dc67a0ee6f in exclude_cmds /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/lib/subcmd/help.c:107
#15 0x55dc67bb4645 in test__exclude_cmdnames_no_overlap tests/subcmd-help.c:110
#16 0x55dc67ad14c4 in run_test_child tests/builtin-test.c:340
#17 0x55dc67a22db2 in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/lib/subcmd/run-command.c:128
#18 0x55dc67ad39a0 in start_test tests/builtin-test.c:545
#19 0x55dc67ad490c in __cmd_test tests/builtin-test.c:648
#20 0x55dc67ad72bf in cmd_test tests/builtin-test.c:850
#21 0x55dc679dca44 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:349
#22 0x55dc679dd335 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:401
#23 0x55dc679dd88b in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:445
#24 0x55dc679de032 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:553
#25 0x7fed3fcdcca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#26 0x7fed3fcdcd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#27 0x55dc67742240 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf+0x102f240) (BuildId: b8c98ab0747f9f1fe41a64089a7488f7aedbc9d8)
Indirect leak of 9280 byte(s) in 3 object(s) allocated from:
#0 0x7fed49fb4c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x7fed49d9d550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
#2 0x7fed49d9e517 (/lib/x86_64-linux-gnu/libelf.so.1+0xc517) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
#3 0x7fed49d9e0b1 in elf_rawdata (/lib/x86_64-linux-gnu/libelf.so.1+0xc0b1) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
#4 0x55dc68254770 in elf_section_by_name util/symbol-elf.c:193
#5 0x55dc6825d641 in read_gnu_debugdata util/symbol-elf.c:1086
#6 0x55dc6825e625 in symsrc__init util/symbol-elf.c:1173
#7 0x55dc67ddba50 in dso__load util/symbol.c:1795
#8 0x55dc67e6fa86 in map__load util/map.c:351
#9 0x55dc67e6fe6d in map__find_symbol util/map.c:385
#10 0x55dc67e4480a in __dump_stack util/debug.c:343
#11 0x55dc67ad0c84 in child_test_sig_handler tests/builtin-test.c:313
#12 0x7fed3fcf2def (/lib/x86_64-linux-gnu/libc.so.6+0x3fdef) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#13 0x7fed3fd4795b (/lib/x86_64-linux-gnu/libc.so.6+0x9495b) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#14 0x7fed3fcf2cc1 in gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x3fcc1) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#15 0x7fed3fcdb4ab in abort (/lib/x86_64-linux-gnu/libc.so.6+0x284ab) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7fed3fcdb41f (/lib/x86_64-linux-gnu/libc.so.6+0x2841f) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x55dc67a0ee6f in exclude_cmds /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/lib/subcmd/help.c:107
#18 0x55dc67bb4645 in test__exclude_cmdnames_no_overlap tests/subcmd-help.c:110
#19 0x55dc67ad14c4 in run_test_child tests/builtin-test.c:340
#20 0x55dc67a22db2 in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/lib/subcmd/run-command.c:128
#21 0x55dc67ad39a0 in start_test tests/builtin-test.c:545
#22 0x55dc67ad490c in __cmd_test tests/builtin-test.c:648
#23 0x55dc67ad72bf in cmd_test tests/builtin-test.c:850
#24 0x55dc679dca44 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:349
#25 0x55dc679dd335 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:401
#26 0x55dc679dd88b in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:445
#27 0x55dc679de032 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:553
Indirect leak of 1873 byte(s) in 3 object(s) allocated from:
#0 0x7fed49fb4c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x7fed49d9e3fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
#2 0x7fed49d9e0b1 in elf_rawdata (/lib/x86_64-linux-gnu/libelf.so.1+0xc0b1) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
#3 0x55dc68254770 in elf_section_by_name util/symbol-elf.c:193
#4 0x55dc6825d641 in read_gnu_debugdata util/symbol-elf.c:1086
#5 0x55dc6825e625 in symsrc__init util/symbol-elf.c:1173
#6 0x55dc67ddba50 in dso__load util/symbol.c:1795
#7 0x55dc67e6fa86 in map__load util/map.c:351
#8 0x55dc67e6fe6d in map__find_symbol util/map.c:385
#9 0x55dc67e4480a in __dump_stack util/debug.c:343
#10 0x55dc67ad0c84 in child_test_sig_handler tests/builtin-test.c:313
#11 0x7fed3fcf2def (/lib/x86_64-linux-gnu/libc.so.6+0x3fdef) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#12 0x7fed3fd4795b (/lib/x86_64-linux-gnu/libc.so.6+0x9495b) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#13 0x7fed3fcf2cc1 in gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x3fcc1) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#14 0x7fed3fcdb4ab in abort (/lib/x86_64-linux-gnu/libc.so.6+0x284ab) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#15 0x7fed3fcdb41f (/lib/x86_64-linux-gnu/libc.so.6+0x2841f) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x55dc67a0ee6f in exclude_cmds /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/lib/subcmd/help.c:107
#17 0x55dc67bb4645 in test__exclude_cmdnames_no_overlap tests/subcmd-help.c:110
#18 0x55dc67ad14c4 in run_test_child tests/builtin-test.c:340
#19 0x55dc67a22db2 in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/lib/subcmd/run-command.c:128
#20 0x55dc67ad39a0 in start_test tests/builtin-test.c:545
#21 0x55dc67ad490c in __cmd_test tests/builtin-test.c:648
#22 0x55dc67ad72bf in cmd_test tests/builtin-test.c:850
#23 0x55dc679dca44 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:349
#24 0x55dc679dd335 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:401
#25 0x55dc679dd88b in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:445
#26 0x55dc679de032 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:553
#27 0x7fed3fcdcca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
SUMMARY: AddressSanitizer: 42105 byte(s) leaked in 9 allocation(s).
68.4: Exclude disjoint subcmd names : FAILED!
>
> Thanks,
> Ian
>
> > The kernel config and materials to reproduce are available at:
> > https://download.01.org/0day-ci/archive/20260120/202601201519.ce4c3ab3-lkp@intel.com
> >
> >
> >
> > --
> > 0-DAY CI Kernel Test Service
> > https://github.com/intel/lkp-tests/wiki
> >
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [linux-next:master] [perf test subcmd help] ef92c4351e: kmsg.sanitizer.indirect_leak/malloc/___interceptor_backtrace/child_test_sig_handler/raise/abort
2026-01-23 6:17 ` Oliver Sang
@ 2026-01-23 16:05 ` Ian Rogers
0 siblings, 0 replies; 4+ messages in thread
From: Ian Rogers @ 2026-01-23 16:05 UTC (permalink / raw)
To: Oliver Sang
Cc: Thomas Richter, oe-lkp, lkp, Arnaldo Carvalho de Melo,
Sri Jayaramappa, Adrian Hunter, Alexander Shishkin,
Guilherme Amadio, Ingo Molnar, Jiri Olsa, Namhyung Kim,
Peter Zijlstra, linux-perf-users, linux-kernel
On Thu, Jan 22, 2026 at 10:18 PM Oliver Sang <oliver.sang@intel.com> wrote:
>
>
> hi, Ian Rogers,
>
>
> On Wed, Jan 21, 2026 at 07:52:15AM -0800, Ian Rogers wrote:
>
> [...]
>
> > > #20 0x55f34aa28241 in _start perf[102f241]
> >
> > I believe this is resolved by:
> > https://lore.kernel.org/lkml/20260121082402.2311962-1-tmricht@linux.ibm.com/
> >
> > > =================================================================
> > > ==11710==ERROR: LeakSanitizer: detected memory leaks
> > >
> > > Direct leak of 30952 byte(s) in 3 object(s) allocated from:
> > > #0 0x7f7688ced610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
> > > #1 0x7f7688ace808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
> > >
> > > Indirect leak of 9280 byte(s) in 3 object(s) allocated from:
> > > #0 0x7f7688cedc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
> > > #1 0x7f7688ad6550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
> > >
> > > Indirect leak of 1873 byte(s) in 3 object(s) allocated from:
> > > #0 0x7f7688cedc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
> > > #1 0x7f7688ad73fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
> > >
> > > SUMMARY: AddressSanitizer: 42105 byte(s) leaked in 9 allocation(s).
> > > 68.4: Exclude disjoint subcmd names : FAILED!
> >
> > To better diagnose these leaks could you disable the fast asan stack unwinder:
> > ASAN_OPTIONS=fast_unwind_on_malloc=0
>
> thanks a lot for guidance!
>
> we've made the change according, now see results like below [1]
>
> we will supply these information in future reports. thanks again!
That's for the update, and that's great news! The reports are really
useful so a great win-win.
>
> [1]
>
> =================================================================
> ==11725==ERROR: LeakSanitizer: detected memory leaks
>
> Direct leak of 30952 byte(s) in 3 object(s) allocated from:
> #0 0x7fed49fb4610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
> #1 0x7fed49d95808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
> #2 0x7fed49d965f9 (/lib/x86_64-linux-gnu/libelf.so.1+0x45f9) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
> #3 0x55dc6825e4f7 in symsrc__init util/symbol-elf.c:1164
As the only direct leak this is key here. There's limited detail due
to the inlining but I believe this is the leak fixed here:
https://lore.kernel.org/lkml/20260117052849.2205545-2-irogers@google.com/
and is being carried in the perf-tools-next tree:
https://web.git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git/commit/?h=perf-tools-next&id=92d65d9c31621befe0a5f7c0bd43bd217613c6b6
It has a fixes tag and so hopefully this means it will flow out nicely
but perhaps it is a candidate for v6.19 rc fixes PR.
Thanks,
Ian
> #4 0x55dc67ddba50 in dso__load util/symbol.c:1795
> #5 0x55dc67e6fa86 in map__load util/map.c:351
> #6 0x55dc67e6fe6d in map__find_symbol util/map.c:385
> #7 0x55dc67e4480a in __dump_stack util/debug.c:343
> #8 0x55dc67ad0c84 in child_test_sig_handler tests/builtin-test.c:313
> #9 0x7fed3fcf2def (/lib/x86_64-linux-gnu/libc.so.6+0x3fdef) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #10 0x7fed3fd4795b (/lib/x86_64-linux-gnu/libc.so.6+0x9495b) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #11 0x7fed3fcf2cc1 in gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x3fcc1) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #12 0x7fed3fcdb4ab in abort (/lib/x86_64-linux-gnu/libc.so.6+0x284ab) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #13 0x7fed3fcdb41f (/lib/x86_64-linux-gnu/libc.so.6+0x2841f) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #14 0x55dc67a0ee6f in exclude_cmds /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/lib/subcmd/help.c:107
> #15 0x55dc67bb4645 in test__exclude_cmdnames_no_overlap tests/subcmd-help.c:110
> #16 0x55dc67ad14c4 in run_test_child tests/builtin-test.c:340
> #17 0x55dc67a22db2 in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/lib/subcmd/run-command.c:128
> #18 0x55dc67ad39a0 in start_test tests/builtin-test.c:545
> #19 0x55dc67ad490c in __cmd_test tests/builtin-test.c:648
> #20 0x55dc67ad72bf in cmd_test tests/builtin-test.c:850
> #21 0x55dc679dca44 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:349
> #22 0x55dc679dd335 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:401
> #23 0x55dc679dd88b in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:445
> #24 0x55dc679de032 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:553
> #25 0x7fed3fcdcca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #26 0x7fed3fcdcd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #27 0x55dc67742240 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf+0x102f240) (BuildId: b8c98ab0747f9f1fe41a64089a7488f7aedbc9d8)
>
> Indirect leak of 9280 byte(s) in 3 object(s) allocated from:
> #0 0x7fed49fb4c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
> #1 0x7fed49d9d550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
> #2 0x7fed49d9e517 (/lib/x86_64-linux-gnu/libelf.so.1+0xc517) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
> #3 0x7fed49d9e0b1 in elf_rawdata (/lib/x86_64-linux-gnu/libelf.so.1+0xc0b1) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
> #4 0x55dc68254770 in elf_section_by_name util/symbol-elf.c:193
> #5 0x55dc6825d641 in read_gnu_debugdata util/symbol-elf.c:1086
> #6 0x55dc6825e625 in symsrc__init util/symbol-elf.c:1173
> #7 0x55dc67ddba50 in dso__load util/symbol.c:1795
> #8 0x55dc67e6fa86 in map__load util/map.c:351
> #9 0x55dc67e6fe6d in map__find_symbol util/map.c:385
> #10 0x55dc67e4480a in __dump_stack util/debug.c:343
> #11 0x55dc67ad0c84 in child_test_sig_handler tests/builtin-test.c:313
> #12 0x7fed3fcf2def (/lib/x86_64-linux-gnu/libc.so.6+0x3fdef) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #13 0x7fed3fd4795b (/lib/x86_64-linux-gnu/libc.so.6+0x9495b) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #14 0x7fed3fcf2cc1 in gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x3fcc1) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #15 0x7fed3fcdb4ab in abort (/lib/x86_64-linux-gnu/libc.so.6+0x284ab) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #16 0x7fed3fcdb41f (/lib/x86_64-linux-gnu/libc.so.6+0x2841f) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #17 0x55dc67a0ee6f in exclude_cmds /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/lib/subcmd/help.c:107
> #18 0x55dc67bb4645 in test__exclude_cmdnames_no_overlap tests/subcmd-help.c:110
> #19 0x55dc67ad14c4 in run_test_child tests/builtin-test.c:340
> #20 0x55dc67a22db2 in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/lib/subcmd/run-command.c:128
> #21 0x55dc67ad39a0 in start_test tests/builtin-test.c:545
> #22 0x55dc67ad490c in __cmd_test tests/builtin-test.c:648
> #23 0x55dc67ad72bf in cmd_test tests/builtin-test.c:850
> #24 0x55dc679dca44 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:349
> #25 0x55dc679dd335 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:401
> #26 0x55dc679dd88b in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:445
> #27 0x55dc679de032 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:553
>
> Indirect leak of 1873 byte(s) in 3 object(s) allocated from:
> #0 0x7fed49fb4c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
> #1 0x7fed49d9e3fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
> #2 0x7fed49d9e0b1 in elf_rawdata (/lib/x86_64-linux-gnu/libelf.so.1+0xc0b1) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40)
> #3 0x55dc68254770 in elf_section_by_name util/symbol-elf.c:193
> #4 0x55dc6825d641 in read_gnu_debugdata util/symbol-elf.c:1086
> #5 0x55dc6825e625 in symsrc__init util/symbol-elf.c:1173
> #6 0x55dc67ddba50 in dso__load util/symbol.c:1795
> #7 0x55dc67e6fa86 in map__load util/map.c:351
> #8 0x55dc67e6fe6d in map__find_symbol util/map.c:385
> #9 0x55dc67e4480a in __dump_stack util/debug.c:343
> #10 0x55dc67ad0c84 in child_test_sig_handler tests/builtin-test.c:313
> #11 0x7fed3fcf2def (/lib/x86_64-linux-gnu/libc.so.6+0x3fdef) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #12 0x7fed3fd4795b (/lib/x86_64-linux-gnu/libc.so.6+0x9495b) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #13 0x7fed3fcf2cc1 in gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x3fcc1) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #14 0x7fed3fcdb4ab in abort (/lib/x86_64-linux-gnu/libc.so.6+0x284ab) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #15 0x7fed3fcdb41f (/lib/x86_64-linux-gnu/libc.so.6+0x2841f) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
> #16 0x55dc67a0ee6f in exclude_cmds /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/lib/subcmd/help.c:107
> #17 0x55dc67bb4645 in test__exclude_cmdnames_no_overlap tests/subcmd-help.c:110
> #18 0x55dc67ad14c4 in run_test_child tests/builtin-test.c:340
> #19 0x55dc67a22db2 in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/lib/subcmd/run-command.c:128
> #20 0x55dc67ad39a0 in start_test tests/builtin-test.c:545
> #21 0x55dc67ad490c in __cmd_test tests/builtin-test.c:648
> #22 0x55dc67ad72bf in cmd_test tests/builtin-test.c:850
> #23 0x55dc679dca44 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:349
> #24 0x55dc679dd335 in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:401
> #25 0x55dc679dd88b in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:445
> #26 0x55dc679de032 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-ef92c4351ec75bcfb8a1cc3a88109b5339f296ef/tools/perf/perf.c:553
> #27 0x7fed3fcdcca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
>
> SUMMARY: AddressSanitizer: 42105 byte(s) leaked in 9 allocation(s).
> 68.4: Exclude disjoint subcmd names : FAILED!
>
> >
> > Thanks,
> > Ian
> >
> > > The kernel config and materials to reproduce are available at:
> > > https://download.01.org/0day-ci/archive/20260120/202601201519.ce4c3ab3-lkp@intel.com
> > >
> > >
> > >
> > > --
> > > 0-DAY CI Kernel Test Service
> > > https://github.com/intel/lkp-tests/wiki
> > >
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-01-23 16:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-20 7:57 [linux-next:master] [perf test subcmd help] ef92c4351e: kmsg.sanitizer.indirect_leak/malloc/___interceptor_backtrace/child_test_sig_handler/raise/abort kernel test robot
2026-01-21 15:52 ` Ian Rogers
2026-01-23 6:17 ` Oliver Sang
2026-01-23 16:05 ` Ian Rogers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox