x86: 0.992 permissions: 0.963 arm: 0.937 device: 0.921 graphic: 0.919 debug: 0.895 PID: 0.798 semantic: 0.781 boot: 0.755 architecture: 0.731 register: 0.604 user-level: 0.600 files: 0.599 TCG: 0.565 virtual: 0.564 ppc: 0.564 performance: 0.525 vnc: 0.518 network: 0.497 VMM: 0.494 risc-v: 0.446 peripherals: 0.391 socket: 0.385 mistranslation: 0.368 hypervisor: 0.318 assembly: 0.245 kernel: 0.161 KVM: 0.111 i386: 0.048 qemu: uncaught target signal 11 (Segmentation fault) - core dumped Description of problem: I am trying to build `arm64` image on my `x86_64` machine using `buildx` and I have encountered `qemu: uncaught target signal 11 (Segmentation fault) - core dumped` Error.
# Steps to reproduce: 1. Create a Dockerfile ``` FROM python:3.8-slim ENV PYTHONDONTWRITEBYTECODE=1 # Install packages RUN apt update RUN apt-get install -y python3-pip ``` 2. Run binfmt container ``` docker run --privileged --rm tonistiigi/binfmt --install all ``` 3. Setup new builder ``` $ docker buildx create --name mybuilder $ docker buildx use mybuilder $ docker buildx inspect --bootstrap ``` 4. Build Image ``` $ docker buildx build --platform linux/amd64,linux/arm64 --push -t user/failure-case . ``` # Additional information: