Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#77295 - [dkms] pahole -j causes a crash when building modules
Attached to Project:
Arch Linux
Opened by terusus (terusus) - Saturday, 28 January 2023, 09:36 GMT
Last edited by Toolybird (Toolybird) - Monday, 30 January 2023, 05:46 GMT
Opened by terusus (terusus) - Saturday, 28 January 2023, 09:36 GMT
Last edited by Toolybird (Toolybird) - Monday, 30 January 2023, 05:46 GMT
|
DetailsWhen using pahole (1:1.24+r29+g02d67c5-1) with the -j flag the dkms build process crashes with a mysterious "Error 139". No additional information.
Affected linux-headers: - 6.1.7-arch1-1 - 6.1.8-arch1-1 How to reproduce? Build and install openrazor-driver-dkms 3.5.1-1 Manual workaround: Patch /usr/lib/modules/6.1.8-arch1-1/build/scripts/Makefile.modfinal from LLVM_OBJCOPY="$(OBJCOPY)" $(PAHOLE) -J $(PAHOLE_FLAGS) --btf_base vmlinux $@; \ to LLVM_OBJCOPY="$(OBJCOPY)" $(PAHOLE) -J --btf_gen_floats --btf_base vmlinux $@; \ PS: This build is happening in a QEMU VM with hardened_malloc and security focused settings. |
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 30 January 2023, 05:46 GMT
Reason for closing: None
Additional comments about closing: See comments
Monday, 30 January 2023, 05:46 GMT
Reason for closing: None
Additional comments about closing: See comments
Stack trace of thread 84271:
#0 0x00007f62103c8b04 pthread_mutex_lock (libc.so.6 + 0x89b04)
#1 0x00007f62105ea73e n/a (libhardened_malloc.so + 0x373e)
#2 0x00007f62105ec0f0 realloc (libhardened_malloc.so + 0x50f0)
#3 0x00007f62102c996b n/a (libdw.so.1 + 0x4196b)
#4 0x00007f62102d0175 n/a (libdw.so.1 + 0x48175)
#5 0x00007f62102d0807 n/a (libdw.so.1 + 0x48807)
#6 0x00007f62102b5a87 dwarf_offdie (libdw.so.1 + 0x2da87)
#7 0x00007f6210585b00 n/a (libdwarves.so.1 + 0x5fb00)
#8 0x00007f62103c58fd n/a (libc.so.6 + 0x868fd)
#9 0x00007f6210447d20 n/a (libc.so.6 + 0x108d20)
Stack trace of thread 84270:
#0 0x00007f62105eacff n/a (libhardened_malloc.so + 0x3cff)
#1 0x00007f62102b6542 n/a (libdw.so.1 + 0x2e542)
#2 0x00007f62102b696c n/a (libdw.so.1 + 0x2e96c)
#3 0x00007f62102b8693 n/a (libdw.so.1 + 0x30693)
#4 0x00007f62102b5b4f dwarf_attr (libdw.so.1 + 0x2db4f)
#5 0x00007f6210579277 n/a (libdwarves.so.1 + 0x53277)
#6 0x00007f6210584b48 n/a (libdwarves.so.1 + 0x5eb48)
#7 0x00007f6210585b2e n/a (libdwarves.so.1 + 0x5fb2e)
#8 0x00007f62103c58fd n/a (libc.so.6 + 0x868fd)
#9 0x00007f6210447d20 n/a (libc.so.6 + 0x108d20)
Stack trace of thread 84273:
#0 0x00007f6210447d0d n/a (libc.so.6 + 0x108d0d)
#1 0x000073dc1d019990 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
kernel: pahole[84271]: segfault at 7f3c4dae7210 ip 00007f62103c8b04 sp 000072fb4a58bab8 error 4 likely on CPU 0 (core 0, socket 0)