Segmentation fault (SIGSEGV / SIGABRT) — page 3
The process died at the native layer rather than throwing a JS error.
289 issues · 79 open · 210 resolved (73%) · first seen Apr 14, 2025
First response · local
What to do now
Most likely: The local Claude Code process crashed while parsing or executing.
- Record the Claude Code version and the first stack frame before restarting.
- Try a fresh session with the same minimal input to distinguish corrupted state from a repeatable crash.
- Preserve logs and compare reports from the same version before downgrading.
These are conservative triage steps, not an official Anthropic fix. Use the issue and workaround evidence below before making a destructive configuration change.
Is this getting better or worse?
This class of problem is still growing. 125 new reports in the last 90 days vs 68 in the 90 before — +84%. The open backlog peaked at 79 in 2026-08 and sits at 79 today.
Derived by counting each matching issue from its creation date until it closed. First-party
computation over the anthropics/claude-code tracker — the trend is not published
anywhere upstream.
Which builds report this
205 of these reports name the Claude Code build they were running, spanning 106 releases. Heaviest reporters:
- Claude Code v2.1.241
- Claude Code v2.1.139
- Claude Code v2.1.220
- Claude Code v2.1.112
- Claude Code v2.1.150
- Claude Code v2.1.50
- Claude Code v2.1.205
- Claude Code v2.1.170
Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.
Do these get fixed?
Median time to close is 29 days across 210 closures. Of the 210 closures with a recorded reason, 12% were closed as completed and 185 as not-planned or duplicate. The most recent completed fix landed in 2026-08.
Workarounds reported by the community
97 of these issues post a workaround someone says worked. The highest-engagement ones:
- [BUG] 2.1.243 Segmentation fault
- …or export introduced in 2.1.242 is also present in 2.1.243. Workaround Running 2.1.241 directly works. Repointing the launcher to 2.1.241 and temporarily disabling auto-update also restores operation: This report intenti…
Found in the thread of #89360 · resolved - [BUG] npm install now ships Bun binary (v2.1.126) — npm workaround for non-AVX VPS is dead, no upgrade path
- …oint. This means the npm installation path — the documented workaround for non-AVX environments — no longer works. I am a paying subscriber using Claude Code professionally for server administration and development acros…
Found in the description of #55520 · still open - [BUG] v2.1.242 segfaults on every launch (even `--version`) — interposed mimalloc `free` has no NULL check, glibc `newlocale` calls `free(NULL)` pre-main; v2.1.241 unaffected
- …ator symbols exported by each build Recovery Confirming the workaround in the report: repointing to 2.1.241 and setting in restores a working CLI.
Found in the thread of #89334 · still open - 2.1.243 native build segfaults instantly on startup: interposed free() crashes on free(NULL) from glibc 2.44 newlocale
- …duce On a glibc 2.44 system (e.g. up-to-date Arch/CachyOS): Workaround plus pinning in : (Note: repoints the symlink back at the broken build, so the auto-updater re-breaks the install until pinned.) Possibly related 842…
Found in the description of #89369 · still open - [BUG] Claude Code 2.1.243 immediately segfaults on Arch Linux x86_64
- Same crash here, adding details + a workaround since the original report has none. Environment - Claude Code 2.1.243 , native install ( , sha256 , 377,568,472 bytes) - Arch Linux, kernel 7.1.8-arch1-3, x86 64, glibc 2.44…
Found in the thread of #89393 · still open
Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.
Matching issues 201–289
Ranked by community engagement (reactions weighted over comments).
- Claude Code goes silent when using VS Code Remote SSH Extension and Claude Code on Digital Ocean droplet
- [BUG] Silent Architectural Decision-Making in Claude Code
- [BUG] CLI self-aborts (SIGABRT) at ~6 GB RSS during long background Workflow runs — reproduced on 2.1.160 and 2.1.161 (WSL2)
- [BUG] iPad: app crashes (SIGABRT) when tapping "Default" environment picker — UICollectionView invalid scroll index path
- Bun segfaulting in claude-code, thought you should know
- [BUG] Segmentation fault at address 0x8 on startup - Windows 11 (Bun baseline build)
- [BUG] bundled avx is not running and installing avx2 on newer CPU's
- [BUG] Linux: Bun runtime segfault on Linux (claude-code 2.1.143, Bun 1.3.14, Ubuntu 24.04 / kernel 6.18.x)
- [Security Research] CLI v2.1.142 segfault on ARM64 - PoC for HackerOne report
- Bun 1.3.13 SIGSEGV at 0x8 in WebKit GC (PolymorphicAccessJITStubRoutine) during long session
- Native binary crashes with Illegal instruction / Out of memory after Bun memory leak
- [BUG] issue in claude code in vscode extension
- Bun segfault (SIGSEGV at 0x0) on exit - macOS Apple Silicon
- [Bug] Segmentation fault in seccomp binary on Windows WSL2 after update
- SIGABRT crash when transitioning to extra usage (v2.1.68)
- Bun segfault after long session (~14h) on macOS Silicon
- Bun segfault after ~21h session (v2.1.49, Bun 1.3.10, Linux x64)
- [Bug] Segmentation fault in Bun runtime during parallel execution
- Bun 1.3.10 segfault on Windows x64 — JSC GC use-after-free persists from #21875
- WebSearch crashes with SIGABRT in v2.1.11 (regression from v2.1.10)
- Crash: Segmentation fault in Bun WASM trampolining (Bun 1.3.5)
- Crash when using Japanese text in TodoWrite - Bun Unicode boundary error
- [BUG] occasional segfault, Claude Code Bash -> bash script -> aws s3 cp ...
- [BUG] SIGSEGV on launch (glibc build) on CachyOS — glibc 2.44 / kernel 7.2 / Bun incompatibility; musl build works
- [BUG] Segfault on startup persists in 2.1.246 (Bun runtime, SIGSEGV at si_addr=NULL) — regression of #62747
- Segfault at startup on Linux since 2.1.242 — bundled allocator's free null-derefs when called from glibc __newlocale
- [BUG] Recurring Bun-runtime SIGABRT/SIGSEGV crashes across Claude Code 2.1.231-2.1.243 on Linux ARM64 (glibc 2.34) — clustered multi-process crashes, corrupted stack frame evidence
- Claude Code 2.1.243 segfaults on startup in __newlocale on glibc 2.44 (Bun/mimalloc build)
- iOS Simulator panel crash-loops on attach: SIGABRT in CoreImage/Metal on the FBSimulatorControl BitmapStream thread
- [BUG] v2.1.233 hangs indefinitely on startup (even --version) — pre-main futex deadlock; v2.1.226 works
- [BUG] macOS: iOS Simulator sidecar aborts on every call — sandbox blocks its per-bundle-id Metal shader cache dir
- [BUG] Segmentation fault at address 0x10
- [BUG] iOS Simulator panel helper (claude-ios-sim) crash-loops in Metal binary-archive loading on macOS 27 beta / M4; panel never attaches
- [BUG] Bun v1.4.0 segfault (SIGSEGV at 0x0) when Claude Code's working directory is deleted mid-session (WSL2)
- [BUG]
- Title: Background task reported exit 0 on OOM failure, Claude proceeded to push stale image to production ECR causing $250 of additional credit cost
- macOS sandbox: hw.optional.neon missing from sysctl allowlist — all Qt 6 apps abort at startup on Apple Silicon
- [BUG] Claude Code within Visual Studio
- Desktop iOS Simulator panel crash-loops on macOS 27 beta (BitmapStream Metal/CoreImage abort); SimulatorKit relocated in Xcode 27 beta 4
- iOS Simulator live panel crashloops on Intel Macs — claude-ios-sim segfaults in AppleIntelICLGraphicsVADriver (hardware video encoder)
- Bundled ugrep exhausts all RAM+swap on a two-sided bounded-quantifier regex; injected `grep` shell function routes every grep into it
- [BUG] Silent SIGSEGV (SI_KERNEL, addr=NULL) — CPU reports AVX2 but osxsave absent — regression 2.1.205→2.1.215
- [BUG] All running sessions segfault simultaneously on macOS wake from deep sleep (Bun 1.4.0 GC socket finalizer, SIGSEGV at 0x4)
- SIGABRT crash on VPN connect/disconnect (network route change) — regression in 2.1.177, still present in 2.1.202
- [BUG] Intermittent Bun segfault at address 0x3C on session start — "Claude Code process exited with code 3" (Windows 11, Desktop app)
- [BUG] Bun 1.4.0 segfault under ~25 concurrent background subagents (fetch/spawn churn, not OOM) — CLI 2.1.202, Windows 11
- [BUG] Bug type: Segmentation fault (native crash, not a JS exception)
- [BUG] Claude Desktop Linux (1.17377.2) segfaults on every launch
- [BUG] Segmentation fault at address 0x113 on Windows - Bun v1.4.0 crashes on every command
- [BB-POC] Bug: claude CLI segfaults on startup (triage 20260701_140650)
- Segfault in claude.exe (Bun 1.4.0) when fetching large URLs - Claude Code 2.1.185 / Windows 11
- [BUG] Agent ran an unsafe large recursive write to an ntfs3-mounted volume, triggering NTFS corruption and leaving the disk unmountable
- [BUG] Bun segfault (address 0x0) when attaching PNG image on Windows 11
- [BUG] Report: Claude Code VS Code Extension crashes with exit code 3221225477 on Windows 11 x64
- [BUG] Bun bus error (0xBAD4007) on clipboard image paste — macOS arm64, Claude Code 2.1.168
- Claude Code 2.1.159 crashes with General Protection Fault on VirtualBox (Xubuntu 24.04)
- V8 out-of-memory crashes (SIGABRT) freeze/kill the TUI during long sessions on macOS
- Bug: Segmentation Fault in native binary on Ubuntu 26.04 (exit code 139)
- [Security Research] CLI v2.1.142 segfault on ARM64 - PoC for HackerOne report
- [Security Research] CLI v2.1.142 segfault on ARM64 - PoC for HackerOne report
- iOS Simulator live panel crash-loops on macOS 27.0 beta: Metal recordBinaryArchiveUsage nil-array during CoreImage init in claude-ios-sim helper
- iOS Simulator live panel helper (claude-ios-sim) crash-loops in Metal/CoreImage on macOS 27.0 beta
- Native binary 2.1.242 segfaults deterministically on startup (linux-surface kernel, x86_64) — 2.1.239-2.1.241 work fine
- [BUG]
- claude install <version> reports success and a false Location when the launcher is not the installer's symlink
- [BUG] claude segfaults on startup (glibc 2.44, EndeavourOS/Arch) — Bun runtime crash in newlocale/free during pthread_once init
- [BUG] install.sh ignores the version argument for the binary it downloads, making rollback impossible when the latest build crashes
- [BUG] runtime segfault at non-canonical address 0xFFFFFFFFFFFFFFFF kills the CLI mid-session (Windows, v2.1.239)
- [BUG]
- [Bug] Bun runtime segmentation fault during long-running interactive session with multiple subagents
- [BUG] Bun 1.4.0 segfault at address 0x10 on main thread (JSC JSStringJoiner/JSArray::fastToString frames) after 21.8 h session with 8 live subagents — CLI 2.1.235, Windows 11 26200
- [BUG] Bun 1.4.0 segfault at address 0x54 on background thread (KERNEL32/ntdll frames) ~6 min into session — CLI 2.1.234 native, Windows 10 x64, two consecutive sessions
- [BUG] Claude Code Chat isn't working
- CLI crashes with SIGABRT on `HTTP Client` thread (4x in 32h, v2.1.232 & v2.1.233)
- [BUG] Recurring SIGSEGV on `HTTP Client` thread during SSE streaming — tagged JSValue dereferenced as pointer (Bun 1.4.0, macOS arm64, 2.1.220)
- Bun crashes with segfault on Claude Code launch/resume (v2.1.229, Windows)
- [BUG] Claude Unlaunchable- BUN 1.4.0 Segmentation Fault
- [BUG] Native CLI segfaults (Bun 1.4.0) right after claude-in-chrome tabs_context_mcp reports "Browser extension is not connected"
- [BUG] issues #57053
- [BUG] Frequent SIGABRT (Aborted, core dumped) at approval prompts on WSL2 — VM-wide memory exhaustion, v2.1.220
- Segfault crash during MCP reconnect via /mcp dialog (Bun 1.3.11)
- [BUG] Desktop app bundled claude-code 2.1.219 (Bun 1.4.0) deterministic startup segfault 0xFFFFFFFFFFFFFFFF on Windows 10 — Cowork "On your computer" unusable, no downgrade path
- [BUG] Native binary segfaults within ~2 seconds while nProtect GameGuard (Helldivers 2) is running — GameGuard module confirmed in crash stack
- [BUG] Claude Code 2.1.210 crashes with segmentation fault on Linux ARM64
- SIGABRT on "HTTP Client" thread — abort() from BoringSSL crypto/bio/bio.cc (faultingThread=7)
- [BUG] Bun 1.4.0 JSC GC use-after-free segfault (SlotVisitor::drain -> MethodTable::visitChildren) at 0x...00000050 on Windows x64 baseline - symbolized trace, reproduces at idle load - CLI 2.1.209
- [BUG] Lead session exits when a teammate emits an unsolicited shutdown_approved frame (requestId "unspecified")
- Claude Code CLI randomly aborts with SIGABRT on "HTTP Client" thread — reproduced across v2.1.199–2.1.205 (macOS)
- CLI segfault on startup with --model flag (v0.2.9)