qemu uncaught target signal 11 segmentation fault -- only on arm64 build qemu uncaught target signal 11 segmentation fault -- only on arm64 build docker docker

qemu uncaught target signal 11 segmentation fault -- only on arm64 build


It seems that it's related to a bug in the kernel. The best explanation I could find was at https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1928075. Quoting Christian Ehrhardt in this discussion:

I've seen similar issues due to e.g. a newer glibc (could be any other program or even guest kernel) to use newer instructions and thereby trigger an issue that exists in the emulation.

I'm not sure, but this makes me think of the kernel maybe being related.Well this isn't system-virtualization, it is an emulation so thechances are much lower than usual, but might be worth a try.

I faced the same issue and tried a lot of different userland combinations (ie. different versions of Qemu, different Debian containers), to no avail. The only way to fix that was indeed to run a kernel recent enough. I'm with a Debian kernel 5.10.0-8-amd64 right now and it works.

What kernels did you try?