I verified qemu-user-static 1:8.2.2+ds-0ubuntu1.7 from noble-proposed.
Looking good!

$ lxc launch --vm ubuntu-daily:noble lp2072564-nn
$ lxc shell lp2072564-nn

root@lp2072564-nn:~# sudo apt install qemu-user-static # the old, non-proposed 
version (1:8.2.2+ds-0ubuntu1.6) to confirm the issue
[...]
root@lp2072564-nn:~# sudo snap install docker
2025-04-16T09:00:47Z INFO Waiting for automatic snapd restart...
docker 27.5.1 from Canonical✓ installed
root@lp2072564-nn:~# docker run -ti --platform linux/arm64/v8 ubuntu:22.04
Unable to find image 'ubuntu:22.04' locally
22.04: Pulling from library/ubuntu
7b76bc00f23a: Pull complete 
Digest: sha256:d80997daaa3811b175119350d84305e1ec9129e1799bba0bd1e3120da3ff52c3
Status: Downloaded newer image for ubuntu:22.04
root@5de9734cef3a:/# sbin/ldconfig.real
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)

=> I can reproduce the issue on the old version.

root@lp2072564-nn:~# vim /etc/apt/sources.list.d/ubuntu.sources # enable 
-proposed
root@lp2072564-nn:~# apt update
[...]
root@lp2072564-nn:~# apt install -t noble-proposed qemu-user-static
[...]
Get:1 http://archive.ubuntu.com/ubuntu noble-proposed/universe amd64 
qemu-user-static amd64 1:8.2.2+ds-0ubuntu1.7 [14.7 MB]
[...]
root@lp2072564-nn:~# docker run -ti --platform linux/arm64/v8 ubuntu:22.04
root@77be7c8cfd66:/# /sbin/ldconfig.real
root@77be7c8cfd66:/# echo $?
0

=> Issue is fixed! \o/

** Tags removed: verification-needed verification-needed-noble
** Tags added: verification-done verification-done-noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2072564

Title:
  qemu-aarch64-static segfaults running ldconfig.real (amd64 host)

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/2072564/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to