HolyClaude icon indicating copy to clipboard operation
HolyClaude copied to clipboard

Distro `/usr/bin/chromium` crashes with SIGTRAP on arm64 (1.4.4 image) under any confinement, including unconfined + `--no-sandbox`

Open mcowan38 opened this issue 4 months ago • 1 comments

Image: coderluii/holyclaude:1.4.4 (arm64 variant), Docker Desktop on Apple Silicon (macOS host).

What happens

The Debian-packaged Chromium baked into the 1.4.4 image (/usr/bin/chromium) dies immediately with SIGTRAP on arm64. This is not a sandbox/seccomp interaction on our side — we reproduced the crash with:

  • the default Docker seccomp profile,
  • a userns-enabled custom profile,
  • --security-opt seccomp=unconfined, and
  • --no-sandbox on top of unconfined.

Same crash in all four configurations, so it's the binary/build in the image, not confinement.

Repro

docker run --rm --security-opt seccomp=unconfined coderluii/holyclaude:1.4.4 \
  chromium --headless=new --no-sandbox --disable-gpu --dump-dom 'data:text/html,x'
# => SIGTRAP, no DOM output

Expected

Headless Chromium renders the data URL and dumps x.

Notes

  • A Playwright-installed Chromium (playwright install chromium) in the same container works fine on arm64, sandboxed, under a hardened seccomp profile — that's our workaround, and it suggests the distro build (or its interaction with the image's arm64 userland) is the problem, not the kernel or the platform.
  • Anything in the image that shells out to /usr/bin/chromium on arm64 is silently broken; amd64 not tested by us.
  • Separate small note while we're here: Docker Hub has no full (non-slim) tag for 1.4.5 — only 1.4.5-slim, which drops the browser stack entirely. If that's unintentional, a full 1.4.5 tag would be welcome.

mcowan38 avatar Jul 11 '26 00:07 mcowan38

@mcowan38 thanks for reporting this and for testing it under several seccomp and sandbox configurations. This is fixed in v1.4.8.

Both full and slim now include the Playwright-matched Chromium build on amd64 and arm64, while keeping /usr/bin/chromium as the supported command. The published arm64 images passed direct Chromium, Playwright, and CloudCLI Browser Use checks before release.

Update with:

docker compose pull
docker compose up -d

If Chromium still exits with SIGTRAP after pulling v1.4.8, please reopen this issue with the image tag and the output of chromium --version.

CoderLuii avatar Jul 11 '26 06:07 CoderLuii