Reset the QEMU emulators before the image build

The amd64 build of 2.4.3 crashed in install-php-extensions with
"QEMU internal SIGSEGV". The emulators are registered on the runner
host for all jobs, and binfmt skips one that is already registered,
so the pinned QEMU 9.2.2 did not take effect. reset: true uninstalls
the registered emulators first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 07:17:51 +01:00
co-authored by Claude Opus 5.5
parent 088c2b9d3f
commit 54f8b9c779
+3
View File
@@ -69,10 +69,13 @@ jobs:
# crashes running x86_64 programs on an arm64 host (QEMU issue 2168, "QEMU internal # crashes running x86_64 programs on an arm64 host (QEMU issue 2168, "QEMU internal
# SIGSEGV {code=MAPERR, addr=0x20}") and 10.2 segfaults on this runner too; 9.2.2 was # SIGSEGV {code=MAPERR, addr=0x20}") and 10.2 segfaults on this runner too; 9.2.2 was
# checked on the runner's host: node, composer and install-php-extensions all run. # checked on the runner's host: node, composer and install-php-extensions all run.
# reset: the emulators are registered on the host for all jobs, and binfmt skips one that
# is already registered, so without it an older QEMU from another job stays in use.
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v4 uses: docker/setup-qemu-action@v4
with: with:
image: tonistiigi/binfmt:qemu-v9.2.2 image: tonistiigi/binfmt:qemu-v9.2.2
reset: true
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4 uses: docker/setup-buildx-action@v4