[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#981068: [arm64] ldconfig segfaults inside a qemu-aarch64-static chroot



Package: libc-bin
Version: 2.31-7

The issue is reproducible inside a arm64 chroot, on a amd64 host,
via qemu-aarch64-static. No problems on a native arm64.

Package upgrade fails with segmentation fault on post-installation,
it's ldconfig:

# dpkg -i libc-bin_2.31-7_arm64.deb
Unknown host QEMU_IFLA type: 50
Unknown host QEMU_IFLA type: 51
Unknown host QEMU_IFLA type: 50
Unknown host QEMU_IFLA type: 51
Unknown host QEMU_IFLA type: 50
Unknown host QEMU_IFLA type: 51
Unknown host QEMU_IFLA type: 50
Unknown host QEMU_IFLA type: 51
(Reading database ... 50524 files and directories currently installed.)
Preparing to unpack libc-bin_2.31-7_arm64.deb ...
Unpacking libc-bin (2.31-7) over (2.31-6) ...
Setting up libc-bin (2.31-7) ...
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
dpkg: error processing package libc-bin (--install):
 installed libc-bin package post-installation script subprocess returned error exit status 139
Processing triggers for man-db (2.9.3-2) ...
Errors were encountered while processing:
 libc-bin
#

# ldconfig -v
Unknown host QEMU_IFLA type: 50
Unknown host QEMU_IFLA type: 51
Unknown host QEMU_IFLA type: 50
Unknown host QEMU_IFLA type: 51
Unknown host QEMU_IFLA type: 50
Unknown host QEMU_IFLA type: 51
Unknown host QEMU_IFLA type: 50
Unknown host QEMU_IFLA type: 51
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
zsh: segmentation fault  ldconfig -v
#

The issue is introduced with --enable-static-pie on -7, downgrading to
-6 or rebuilding -9 without --enable-static-pie makes the problem go away.

qemu writes a coredump but I'm not yet able to make gdb digest it.

Thanks,
Domenico

-- 
rsa4096: 3B10 0CA1 8674 ACBA B4FE  FCD2 CE5B CF17 9960 DE13
ed25519: FFB4 0CC3 7F2E 091D F7DA  356E CC79 2832 ED38 CB05


Reply to: