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
$ make -j4 ASAN=1 unittest
...
=================================================================
==141840==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 5664 byte(s) in 12 object(s) allocated from:
#0 0x7ff809ce1359 in __interceptor_malloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x561af1894a21 in sort_dynsymtab /home/vagrant/project/uftrace/utils/symbol.c:489
#2 0x561af18ebf1a in arch_load_dynsymtab_noplt /home/vagrant/project/uftrace/arch/x86_64/symbol.c:95
#3 0x561af18965af in load_elf_dynsymtab /home/vagrant/project/uftrace/utils/symbol.c:583
#4 0x561af1899355 in load_dynsymtab /home/vagrant/project/uftrace/utils/symbol.c:718
#5 0x561af189fed8 in load_module_symbol /home/vagrant/project/uftrace/utils/symbol.c:1104
#6 0x561af18a0569 in load_module_symtab /home/vagrant/project/uftrace/utils/symbol.c:1137
#7 0x561af18a0be0 in load_module_symtabs /home/vagrant/project/uftrace/utils/symbol.c:1213
#8 0x561af1901bcf in mcount_filter_init /home/vagrant/project/uftrace/libmcount/mcount.c:373
#9 0x561af19127ec in mcount_startup /home/vagrant/project/uftrace/libmcount/mcount.c:1932
#10 0x561af1915d4c in func_mcount_setup /home/vagrant/project/uftrace/libmcount/mcount.c:2231
#11 0x561af168f032 in run_unit_test /home/vagrant/project/uftrace/tests/unittest.c:107
#12 0x561af16923da in main /home/vagrant/project/uftrace/tests/unittest.c:399
#13 0x7ff808e45ccf (/usr/lib/libc.so.6+0x27ccf) (BuildId: 8bfe03f6bf9b6a6e2591babd0bbc266837d8f658)
Direct leak of 672 byte(s) in 1 object(s) allocated from:
#0 0x7ff809ce1359 in __interceptor_malloc /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x561af1896b05 in load_elf_dynsymtab /home/vagrant/project/uftrace/utils/symbol.c:612
#2 0x561af1899355 in load_dynsymtab /home/vagrant/project/uftrace/utils/symbol.c:718
#3 0x561af189fed8 in load_module_symbol /home/vagrant/project/uftrace/utils/symbol.c:1104
#4 0x561af18a0569 in load_module_symtab /home/vagrant/project/uftrace/utils/symbol.c:1137
#5 0x561af18a0be0 in load_module_symtabs /home/vagrant/project/uftrace/utils/symbol.c:1213
#6 0x561af1901bcf in mcount_filter_init /home/vagrant/project/uftrace/libmcount/mcount.c:373
#7 0x561af19127ec in mcount_startup /home/vagrant/project/uftrace/libmcount/mcount.c:1932
#8 0x561af1915d4c in func_mcount_setup /home/vagrant/project/uftrace/libmcount/mcount.c:2231
#9 0x561af168f032 in run_unit_test /home/vagrant/project/uftrace/tests/unittest.c:107
#10 0x561af16923da in main /home/vagrant/project/uftrace/tests/unittest.c:399
#11 0x7ff808e45ccf (/usr/lib/libc.so.6+0x27ccf) (BuildId: 8bfe03f6bf9b6a6e2591babd0bbc266837d8f658)
SUMMARY: AddressSanitizer: 6336 byte(s) leaked in 13 allocation(s).
[069] mcount_setup : FAIL
GCC 13.2 was installed
$ gcc --version
gcc (GCC) 13.2.1 20230801
Copyright (C) 2023 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.
The text was updated successfully, but these errors were encountered:
I've noticed this on my archlinux machine.
GCC 13.2 was installed
The text was updated successfully, but these errors were encountered: