id = 1825 title = "pigz crashes when running in an aarch64 chroot (entered through qemu-binfmt) with qemu 8.1.0-rc*, qemu 8.0.3 is ok" state = "closed" created_at = "2023-08-11T11:51:42.963Z" closed_at = "2023-08-14T18:46:59.035Z" labels = ["Closed::Duplicate", "linux-user", "target: arm"] url = "https://gitlab.com/qemu-project/qemu/-/issues/1825" host-os = "OpenMandriva Cooker (Linux 6.4.9, glibc 2.38, clang 16.0.6)" host-arch = "x86" qemu-version = "8.0.93 (8.1.0-rc3)" guest-os = "OpenMandriva Cooker aarch64" guest-arch = "aarch64" description = """If qemu 8.1.0-rc1, -rc2 or -rc3 is used, pigz crashes. ``` # chroot /chroot/aarch64 pigz /tmp/test qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault ``` With qemu 8.0.3 on the same chroot enviroment, it works and produces the expected /chroot/aarch64/tmp/test.gz""" reproduce = """1. Install an aarch64 chroot environment on x86_64 2. Try using pigz to compress a file inside the chroot environment using qemu-binfmt""" additional = """Unfortunately `git bisect`-ing the issue isn't easy because many snapshots between 8.0.0 (good) and 8.1.0-rc1 (first known bad) don't compile."""