Your message dated Wed, 26 Jan 2022 11:49:04 +0000
with message-id <[email protected]>
and subject line Bug#1004311: fixed in dwarves 1.22-4
has caused the Debian Bug report #1004311,
regarding pahole segfaults during kernel build
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1004311: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004311
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pahole
Version: 1.22-2
Severity: normal

Dear Maintainer,

Building an upstream kernel reliably segfaults in pahole, starting with
1.22-2. I just downgraded to 1.22-1 (from snapshot.do) and that does *not*
have this problem. I don't immediately see a changelog entry that could
explain this problem.

Greetings,

Andres

Backtrace from core file:

#0  type__compare_members (b=0x55a9260432b0, a=0x55a925f8ce70) at ./pahole.c:216
216     ./pahole.c: No such file or directory.
(gdb) bt
#0  type__compare_members (b=0x55a9260432b0, a=0x55a925f8ce70) at ./pahole.c:216
#1  type__compare (cu_a=<optimized out>, cu_b=0x55a925f4b880, b=0x55a9260432b0, 
a=0x55a925f8ce70) at ./pahole.c:310
#2  __structures__add (class=class@entry=0x55a9260432b0, 
cu=cu@entry=0x55a925f4b880, id=id@entry=26, 
existing_entry=existing_entry@entry=0x7ffce1053090)
    at ./pahole.c:326
#3  0x000055a9258f4491 in structures__add (existing_entry=0x7ffce1053090, 
id=26, cu=0x55a925f4b880, class=0x55a9260432b0) at ./pahole.c:357
#4  print_classes (cu=<optimized out>) at ./pahole.c:524
#5  pahole_stealer (cu=0x55a925f4b880, conf_load=<optimized out>) at 
./pahole.c:2859
#6  0x000055a925901613 in cu__finalize (conf=0x55a925914100 <conf_load>, 
cu=0x55a925f4b880) at ./dwarf_loader.c:2477
#7  cus__finalize (cus=0x55a925f47610, cu=cu@entry=0x55a925f4b880, 
conf=0x55a925914100 <conf_load>) at ./dwarf_loader.c:2484
#8  0x000055a925903ba7 in dwarf_cus__create_and_process_cu 
(dcus=dcus@entry=0x7ffce10532a0, cu_die=0x7ffce1053250, pointer_size=<optimized 
out>)
    at ./dwarf_loader.c:2675
#9  0x000055a92590462c in __dwarf_cus__process_cus (dcus=<optimized out>) at 
./dwarf_loader.c:2764
#10 dwarf_cus__process_cus (dcus=0x7ffce10532a0) at ./dwarf_loader.c:2778
#11 cus__load_module (cus=cus@entry=0x55a925f47610, conf=<optimized out>, 
mod=mod@entry=0x55a925f49f00, dw=<optimized out>, elf=elf@entry=0x55a925f476f0,
    filename=0x7ffce1054a6e ".tmp_vmlinux.btf") at ./dwarf_loader.c:2913
#12 0x000055a9259048b1 in cus__process_dwflmod (dwflmod=0x55a925f49f00, 
userdata=<optimized out>, name=<optimized out>, base=<optimized out>,
    arg=0x7ffce1053400) at ./dwarf_loader.c:2957
#13 0x00007fdc64fe3471 in dwfl_getmodules () from 
/lib/x86_64-linux-gnu/libdw.so.1
#14 0x000055a925900880 in cus__process_file (filename=0x7ffce1054a6e 
".tmp_vmlinux.btf", fd=5, conf=0x55a925914100 <conf_load>, cus=0x55a925f47610)
    at ./dwarf_loader.c:3023
#15 dwarf__load_file (cus=0x55a925f47610, conf=0x55a925914100 <conf_load>, 
filename=0x7ffce1054a6e ".tmp_vmlinux.btf") at ./dwarf_loader.c:3058
#16 0x000055a9258f905f in cus__load_file (cus=cus@entry=0x55a925f47610, 
conf=conf@entry=0x55a925914100 <conf_load>,
    filename=0x7ffce1054a6e ".tmp_vmlinux.btf") at ./dwarves.c:2043
#17 0x000055a9258f92d8 in cus__load_files (cus=cus@entry=0x55a925f47610, 
conf=conf@entry=0x55a925914100 <conf_load>, 
filenames=filenames@entry=0x7ffce10537c0)
    at ./dwarves.c:2396
#18 0x000055a9258f0ba9 in main (argc=4, argv=0x7ffce10537a8) at ./pahole.c:3224
(gdb)

Using a pahole built from source I do not see this.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.16.0-rc5-andres-00225-g5e9874628080 (SMP w/40 CPU threads; 
PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pahole depends on:
ii  libbpf0  1:0.5.0-1
ii  libc6    2.33-3
ii  libdw1   0.186-1
ii  libelf1  0.186-1
ii  zlib1g   1:1.2.11.dfsg-2

pahole recommends no packages.

pahole suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: dwarves
Source-Version: 1.22-4
Done: Domenico Andreoli <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dwarves, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Domenico Andreoli <[email protected]> (supplier of updated dwarves package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 26 Jan 2022 12:24:40 +0100
Source: dwarves
Architecture: source
Version: 1.22-4
Distribution: unstable
Urgency: high
Maintainer: Thomas Girard <[email protected]>
Changed-By: Domenico Andreoli <[email protected]>
Closes: 1004311
Changes:
 dwarves (1.22-4) unstable; urgency=high
 .
   [Ben Hutchings]
   * Fix inconsistent usage of HAVE_BTF and HAVE_BPF in
     add_cmake_libbpf_enabled_option.patch. Closes: #1004311.
Checksums-Sha1:
 aa0b0efb8d5bc0d3a92fb066f5211489a161df00 2161 dwarves_1.22-4.dsc
 91d85dd158b3e5f0e4e0923012940618bd25355a 18192 dwarves_1.22-4.debian.tar.xz
 368c1e4237ad2d888d3df84111466d30a8f0ee73 7578 dwarves_1.22-4_amd64.buildinfo
Checksums-Sha256:
 93862b0f729f08f4afb9d9f60262e4f7e880eb3e745d972702ea8f003efa8b0e 2161 
dwarves_1.22-4.dsc
 18fc0330939c3c83e631a46619a9c85e76782b5a380de739f85831d189f0a025 18192 
dwarves_1.22-4.debian.tar.xz
 0aeb2945b3491bec3ddbac971f31d684f89a258793d2ec70b50e0beb0db73497 7578 
dwarves_1.22-4_amd64.buildinfo
Files:
 e35968f5d35308037dc433ed0d6a374e 2161 utils optional dwarves_1.22-4.dsc
 d5d5f6df13c8b3bb4b009616f1844fcf 18192 utils optional 
dwarves_1.22-4.debian.tar.xz
 491e070fbaad5f89a9465737f06c8d80 7578 utils optional 
dwarves_1.22-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE3nQdMjP43a68372B4cmZEuiMSOEFAmHxMeIRHGNhdm9rQGRl
Ymlhbi5vcmcACgkQ4cmZEuiMSOEncQ//QJHJA5M1gkEg+tirVvJLb2NU1/Dlj4P4
8RV2E1Y3YnWWDCzS98qnpV7LDeHmj3CQIhsKai4syjWpEfj3BD/VsG/17qer/XGH
OuI6XsEAxSWnE4f/ZXteNOhCQCfKrRE9IDXCqdDu6qWjXuDuXgJ2DWSDUmO01Pxw
AgvYERBjBOJ61oissh4AnRk48rx9cyAObJn5Q/DhEWe9kjUraMg8mVXzfQe620j3
OVcm9svioBnyuY3IGjjHTdzwJQ6U9aM3NvHQeJfuTNIn2uKL5gukVgk5ooJzTgXp
FRf1EwBr0S7P8O3jDovKS8TtG83WpNsPGgUdCc99FB0H/3EV4iXjpGCDvxgkN6KI
YUmn0lOwwRNtVFEYPBqcT88m/SNkL1Wk32D5ddMfTZxCwKrakHArb2LLBpis6XaV
qj9RSlu2ymzGlxIOmhN8Mz7Rvx1eBBUHridQ4MctLG6YikdjIkanULfuU7CiHnSx
tFeDaatjQuYjVeLGPUwvNO1drff5c5EhdUvpRj9h7eCcDDBObQclO8qmMVx0DiSp
93ReuEZyri5Tl/NlQRb/FEtEJecGpS0/OzC5K/q/owpdqxYReghyaEq/wd9mt5ir
AOvxG1CrFBt3IejizQLf4AfMQEMC0ZXOdzcEtyWcQBb425b0kKhVsDKC3TCcwb/R
Fj7QLK897fw=
=x4n7
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to