On 27.05.2026 18:22, Noah Meyerhans wrote:
Package: qemu-user
Version: 1:10.0.8+ds-0+deb13u1
Severity: important
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: arm64
The cloud team user qemu-user to emulate various non-amd64 architectures to
build images for those architectures on amd64 hosts. We generate images for
all stable Debian releases including LTS, as well as sid and testing. We
build for all supported releases for all architectures and supported cloud
environments each day. Builds are performed in trixie VMs.
We have observed a scenario in which qemu segfaults when running ldconfig in
an arm64 chroot during the debootstrap process of the image build.
We have a bit more context in a gitlab issue at
https://salsa.debian.org/cloud-team/debian-cloud-images/-/work_items/97
The problem can be reproduced on a trixie amd64 system with:
$ sudo debootstrap --verbose --variant minbase --arch arm64 bullseye
bullseye-rootfs https://deb.debian.org/debian
$ sudo chroot bullseye-rootfs /usr/bin/bash -c 'declare -i count=0; while ldconfig && [
$count -lt 1000 ]; do count+=1; done ; echo "Done after $count iterations"'
We've this in upstream qemu:
https://gitlab.com/qemu-project/qemu/-/work_items/1913
I wonder if it's the same.
At the time, I weren't able to reproduce that segfault anymore, but
maybe I wasn't persistent enough.
/mjt