Below the backtrace from the crash file:

$ gdb /home/alex/work/pahole/build/pahole core.pahole.1357462 
GNU gdb (Ubuntu 11.1-0ubuntu2) 11.1
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
/home/alex/.gdbinit:5: Error in sourced command file:
Undefined item: "riscv:rv64".
Reading symbols from /home/alex/work/pahole/build/pahole...
(No debugging symbols found in /home/alex/work/pahole/build/pahole)
[New LWP 1357462]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `pahole -J --btf_gen_floats .tmp_vmlinux.btf'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:105
105     ../sysdeps/x86_64/multiarch/strcmp-avx2.S: No such file or directory.
(gdb) bt
#0  __strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:105
#1  0x000055f3ba5401c0 in __structures__add ()
#2  0x000055f3ba542601 in pahole_stealer ()
#3  0x00007ff72faf0883 in cus.finalize () from 
/home/alex/work/pahole/build/libdwarves.so.1
#4  0x00007ff72faf3a17 in dwarf_cus.create_and_process_cu () from 
/home/alex/work/pahole/build/libdwarves.so.1
#5  0x00007ff72faf445c in cus.load_module () from 
/home/alex/work/pahole/build/libdwarves.so.1
#6  0x00007ff72faf4725 in cus.process_dwflmod () from 
/home/alex/work/pahole/build/libdwarves.so.1
#7  0x00007ff72f852b51 in dwfl_getmodules () from 
/lib/x86_64-linux-gnu/libdw.so.1
#8  0x00007ff72faefab4 in dwarf.load_file () from 
/home/alex/work/pahole/build/libdwarves.so.1
#9  0x00007ff72fae7f2f in cus.load_file () from 
/home/alex/work/pahole/build/libdwarves.so.1
#10 0x00007ff72fae81b8 in cus.load_files () from 
/home/alex/work/pahole/build/libdwarves.so.1
#11 0x000055f3ba53ed09 in main ()

** Bug watch added: Debian Bug tracker #1004311
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004311

** Also affects: dwarves (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004311
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958959

Title:
  pahole v1.22-2 segfaults when building a Linux kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dwarves/+bug/1958959/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to