Package: qemu-user-static
Version: 1:8.0.3+dfsg-3
Severity: normal
Control: found -1 1:8.0.3+dfsg-2

Dear QEMU maintainers,

I've recently noticed my armhf development chroot fails to upgrade
python3-minimal. I've tracked it down to a segmentation fault when
running python3 (for py3compile) as part of the package postinst.

Should be possible to reproduce with something like:

  $ sudo sbuild-createchroot \
      --include=gnupg --arch=armhf --chroot-suffix="-test" \
        unstable /srv/chroot/unstable-armhf-test \
        http://deb.debian.org/debian

  $ sudo schroot -c unstable-armhf-test -u root -d /root -- \
        apt install -y python3-minimal
  [...]   Setting up python3.11-minimal (3.11.4-1) ...
  qemu: uncaught target signal 11 (Segmentation fault) - core dumped
  Segmentation fault
  dpkg: error processing package python3.11-minimal (--configure):
   installed python3.11-minimal package post-installation script
subprocess returned error exit status 139
  Errors were encountered while processing:
   python3.11-minimal
  E: Sub-process /usr/bin/dpkg returned an error code (1)

Downgrading qemu-user and qemu-user-static to 1:8.0.3+dfsg-1 makes
things work again. It also fails with 1:8.0.3+dfsg-2.

I see a bug #1040981 about segfaults in klibc-utils which might be
related, but I don't understand much of the discussion at first glance.
Apparently version 1:8.0.3+dfsg-2 fixes that but breaks this.

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

Kernel: Linux 6.4.0-1-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

qemu-user-static depends on no packages.

Versions of packages qemu-user-static recommends:
ii  systemd  254~rc2-3

qemu-user-static suggests no packages.

Versions of packages qemu-user depends on:
ii  libc6         2.37-6
ii  libcapstone4  4.0.2-5
ii  libgcc-s1     13.1.0-9
ii  libglib2.0-0  2.76.4-4
ii  libgnutls30   3.7.9-2
ii  libnuma1      2.0.16-1
ii  liburing2     2.4-1
ii  zlib1g        1:1.2.13.dfsg-1

Versions of packages qemu-user recommends:
ii  qemu-user-static [qemu-user-binfmt]  1:8.0.3+dfsg-3

qemu-user suggests no packages.


-- no debconf information

Reply via email to