I was able to reproduce the failure here. It is in fact easy to reproduce:
$ lxc launch ubuntu-daily:mantic qemu-bug --vm $ lxc shell qemu-bug # apt update && apt install -y qemu-user qemu-user-static # qemu-x86_64 /usr/bin/qemu-x86_64 --version qemu-x86_64: util/cacheflush.c:212: init_cache_info: Assertion `(isize & (isize - 1)) == 0' failed. qemu: uncaught target signal 6 (Aborted) - core dumped Aborted (core dumped)
This looks like it's actually a glibc issue which, unfortunately, hasn't been fixed in the latest release (2.38). I linked the upstream bug and I'm following the discussions in the mailing list.
I was able to reproduce the failure here. It is in fact easy to reproduce:
$ lxc launch ubuntu-daily:mantic qemu-bug --vm qemu-x86_ 64 --version .c:212: init_cache_info: Assertion `(isize & (isize - 1)) == 0' failed.
$ lxc shell qemu-bug
# apt update && apt install -y qemu-user qemu-user-static
# qemu-x86_64 /usr/bin/
qemu-x86_64: util/cacheflush
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted (core dumped)
This looks like it's actually a glibc issue which, unfortunately, hasn't been fixed in the latest release (2.38). I linked the upstream bug and I'm following the discussions in the mailing list.