Your message dated Thu, 20 Jul 2023 08:57:24 +0000 with message-id <[email protected]> and subject line Bug#1040981: fixed in qemu 1:8.0.3+dfsg-2 has caused the Debian Bug report #1040981, regarding klibc-utils: segfault executing armhf binaries under qemu-user 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.) -- 1040981: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040981 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: klibc-utils Version: 2.0.12-1 Severity: normal Hi, I observed segfaults in armhf architecture when executing any of the binaries /usr/lib/klibc/bin/{fstype, ls, cat, ...}, same is not seen in amd64 and arm64 architectures. This issue originally occurred when I am updating initramfs using command `update-initramfs -u` which internally [1] uses klibc binary `/usr/lib/klibc/bin/fstype` to check the fstype, it doesn't stop creating initramfs but it creates core dumps in the rootfs and that makes our images non-reproducible. Follow below steps to reproduce this issue ``` $ sudo debootstrap --arch=arm bookworm arm-bookworm-rootfs/ http://deb.debian.org/debian/ $ sudo chroot arm-bookworm/ apt-update && apt install -y klibc-utils $ sudo chroot arm-bookworm/ /usr/lib/klibc/bin/fstype --help qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault ``` Expectation: It should not generate core dumps Kindly suggest us what is going wrong where all the binaries are generating core dumps in armhf architecture? [1] https://salsa.debian.org/kernel-team/initramfs-tools/-/blob/v0.142/hooks/fsck?ref_type=tags#L55 -- System Information: Debian Release: 12.0 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: armhf (armv7l) Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads) Locale: LANG=en_IN, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory UTF-8), LANGUAGE=en_IN:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages klibc-utils depends on: ii libklibc 2.0.12-1 klibc-utils recommends no packages. klibc-utils suggests no packages. -- debconf information: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_IN:en", LC_ALL = (unset), LC_CTYPE = "C.UTF-8", LANG = "en_IN" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").
--- End Message ---
--- Begin Message ---Source: qemu Source-Version: 1:8.0.3+dfsg-2 Done: Michael Tokarev <[email protected]> We believe that the bug you reported is fixed in the latest version of qemu, 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. Michael Tokarev <[email protected]> (supplier of updated qemu 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: Thu, 20 Jul 2023 09:59:49 +0300 Source: qemu Architecture: source Version: 1:8.0.3+dfsg-2 Distribution: unstable Urgency: medium Maintainer: Debian QEMU Team <[email protected]> Changed-By: Michael Tokarev <[email protected]> Closes: 1040981 Changes: qemu (1:8.0.3+dfsg-2) unstable; urgency=medium . * d/patches: set Forwarded: URLs for some patches * add 5 qemu-user fixes staging for the next stable: linux-user-make-sure-initial-brk-0-is-page-aligned.patch linux-user-fix-qemu-brk-to-not-zero-bytes-on-current-page.patch linux-user-prohibit-brk-to-to-shrink-below-initial-address.patch linux-user-fix-signed-math-overflow-in-brk-syscall.patch linux-user-fix-qemu-arm-to-run-static-armhf-binaries.patch (Closes: #1040981) Checksums-Sha1: dcc3201eef5262a83fb9fe7259349fee46a11e26 7595 qemu_8.0.3+dfsg-2.dsc 39519c1be64a907b011e2e63e425a69e24cafb14 107860 qemu_8.0.3+dfsg-2.debian.tar.xz 23ccef230ace983f57d4babbbf324f5e6831689b 13908 qemu_8.0.3+dfsg-2_source.buildinfo Checksums-Sha256: 3d569de2f219b35edb0c02728e1d7c07bacd26b1b4c4211fbd775a99aaf4d164 7595 qemu_8.0.3+dfsg-2.dsc 88d02431ebc8b1cbcc8f7d77ccfe761a5a42fd6eda1507cb57e9b1c9d8c287fa 107860 qemu_8.0.3+dfsg-2.debian.tar.xz 6d1a73b02d94ae8482dffbed11349af246b6ca97e21037903aed29bc43a868d9 13908 qemu_8.0.3+dfsg-2_source.buildinfo Files: 233dcd8049f5778a7b9ce75d43e9b0f4 7595 otherosfs optional qemu_8.0.3+dfsg-2.dsc e77ba14bb79f04a7fdb59b0518ce2b27 107860 otherosfs optional qemu_8.0.3+dfsg-2.debian.tar.xz b41ce735bf4d41c73421207a7d80fb5c 13908 otherosfs optional qemu_8.0.3+dfsg-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQFDBAEBCgAtFiEEe3O61ovnosKJMUsicBtPaxppPlkFAmS43qQPHG1qdEB0bHMu bXNrLnJ1AAoJEHAbT2saaT5Z/GQH/3VnvILeFZQ0y/vjEXWbaOHUDEgyxsiM884u gRRPlTB/vu2B/3i8lCTMcvU/2+7Pxdf+gVTsvzeXYJ1dbQuE4QMiTQQzkjfcXBZo DWn8ofdZD9O3r6ldeDnKCBZKPYHa2QrstYoqpKbrRZc0+pXuLS+YzIAk06j2EeSq IGCOoGOTZvu+VWR9q9cNldWC3BWJw/nUNX+AU5nvN2b+Tqqp0zGdwp+zNKuGcQzt pRFS09aNJrNXaILAV62iv+0r/z/B7OVBh8VeigbM92N9pAIPhK933PSYyeOFbMtL KTwzs+P4cTTPneKGU7caieU+/I3VXqMMpN+zIvgtdQe3dCXd8oY= =UNaU -----END PGP SIGNATURE-----
--- End Message ---

