Skip to content

DOC-419/DOC-420: Document SIGILL crash on Apple Silicon and the supervisor's new fatal-signal diagnostics - #930

Open
quetzalliwrites wants to merge 2 commits into
mainfrom
doc-419-localstack-pro-container-exits-with-sigill-4-on-apple-m4
Open

DOC-419/DOC-420: Document SIGILL crash on Apple Silicon and the supervisor's new fatal-signal diagnostics#930
quetzalliwrites wants to merge 2 commits into
mainfrom
doc-419-localstack-pro-container-exits-with-sigill-4-on-apple-m4

Conversation

@quetzalliwrites

@quetzalliwrites quetzalliwrites commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Documents a user-reported issue and its follow-up fix:

  • DOC-419: on newer Apple Silicon hardware (e.g. Apple M4), the LocalStack Pro container can exit immediately after license activation with exit code 252 (SIGILL / -4 in some supervisors). This is a known incompatibility between the cryptography library (47.0.0+) and older Linux guest kernels running under Apple's Virtualization Framework — it mainly affects Colima or Podman with an older guest kernel; a fully updated Docker Desktop is generally not affected.
  • DOC-420: a follow-up code change (localstack-pro#8564) means this crash (and any fatal-signal crash) is no longer silent. The supervisor now unconditionally logs the decoded signal name and exit code (previously only visible with DEBUG=1), and enables Python's faulthandler by default so native crashes print a stack trace pointing at the offending code — for this scenario, directly at the cryptography import. Opt out with PYTHONFAULTHANDLER=0.

Changes:

  • Added a new entry to the Startup Troubleshooting FAQs (getting-started/faq.mdx) covering both: the decoded-signal message and faulthandler traceback users will now see, plus the workaround (OPENSSL_armcap=0, shown for both Docker Compose and lstk) and the permanent fix (updating the VM provider/guest kernel).
  • Cross-linked it from the ARM64 support page's Troubleshooting section, since that's the other place a user hitting this on Apple Silicon is likely to look.

Linear tickets

Test plan

  • npx astro build completes successfully (417 pages built)
  • Link validator confirms all internal links are valid
  • Verified the FAQ heading's generated anchor ID still matches the cross-reference from the ARM64 support page, by grepping the built HTML output

…ernels

LocalStack Pro can exit immediately with exit code 252 (SIGILL) on
newer Apple Silicon (e.g. M4) when running under Colima or Podman with
an older Linux guest kernel, since the cryptography library (47.0.0+)
uses ARM instructions those kernels don't fully support.

Add the workaround (OPENSSL_armcap=0) and permanent fix (updating the
guest kernel) to the startup troubleshooting FAQ, and cross-link it
from the ARM64 support page's troubleshooting section.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 9, 2026

Copy link
Copy Markdown

Deploying localstack-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 60da04b
Status: ✅  Deploy successful!
Preview URL: https://37e6d5e4.localstack-docs.pages.dev
Branch Preview URL: https://doc-419-localstack-pro-conta.localstack-docs.pages.dev

View logs

The supervisor no longer crashes silently on a fatal signal (previously
only visible with DEBUG=1): it now unconditionally logs the decoded
signal name and exit code, and enables Python's faulthandler by default
so native crashes print a stack trace pointing at the offending import.
Update the Apple Silicon SIGILL FAQ entry (DOC-419) with the message
users will now actually see, and the faulthandler opt-out via
PYTHONFAULTHANDLER.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@quetzalliwrites quetzalliwrites changed the title DOC-419: Document SIGILL crash on Apple Silicon with older VM guest kernels DOC-419/DOC-420: Document SIGILL crash on Apple Silicon and the supervisor's new fatal-signal diagnostics Sep 9, 2026
@AntonLage

Copy link
Copy Markdown

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants