Segmentation fault (SIGSEGV / SIGABRT) — page 3
The process died at the native layer rather than throwing a JS error.
320 issues · 58 open · 262 resolved (82%) · 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. 112 new reports in the last 90 days vs 88 in the 90 before — +27%. The open backlog peaked at 79 in 2026-08 and sits at 58 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
227 of these reports name the Claude Code build they were running, spanning 121 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 30 days across 262 closures. Of the 262 closures with a recorded reason, 12% were closed as completed and 230 as not-planned or duplicate. The most recent completed fix landed in 2026-10.
Workarounds reported by the community
113 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 - [Desktop] iOS Simulator panel: claude-ios-sim crash-loops in Metal/CoreImage on macOS 27.0 beta — panel stuck on 'Attach a simulator'
- …ing. Control plane vs capture plane: with the 80288 symlink workaround applied, succeeds and is delivered correctly to a booted iPhone 17 Pro. Only frame capture crashes.
Found in the thread of #80177 · resolved - [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 - [Bug] Claude Code 2.1.243 crashes with SIGSEGV on startup (null pointer dereference)
- …ns directory, symlinked onto PATH) Terminal: xterm-256color WORKAROUND Repoint the launcher symlink at the last known-good version: ln -sfn <versions-dir /2.1.241 <bin-dir /claude Confirmed working. Note that an already-…
Found in the description of #89390 · 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–300
Ranked by community engagement (reactions weighted over comments). Listing the top 300 of 320 matches; the statistics above cover all 320.
- [BUG] crash
- Error: Claude Code process terminated by signal SIGABRT
- [Bug] Claude Code makes VSC crashing
- [BUG]
- [BUG] claude crashes when using @syntax pointing at an image file in CLAUDE.md
- [Bug] Claude Session Not Initializing Automatically in Extension
- [Bug] Persistent Memory and Model Configuration Hallucination Issues
- Segmentation Fault in Main Thread During Runtime
- JSON Parsing Error: Invalid Low Surrogate in Request Body
- iOS Simulator panel crashes on launch under macOS 27.0 (claude-ios-sim helper, SIGABRT in CoreImage/Metal)
- iOS Simulator panel: stream dies and never recovers on stable macOS 26.6 — detach() reports success but attach() still says "already attached"
- 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 sidecar aborts on every frame render (SIGABRT in -[_MTLDevice recordBinaryArchiveUsage:])
- v2.1.243 segfaults before main() — bundled allocator interposes glibc free(), crashes in __newlocale (native install, Linux x86-64)
- iOS Simulator panel crash-loops on attach: SIGABRT in CoreImage/Metal on the FBSimulatorControl BitmapStream thread
- [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] Bun-level crash during foreground subagent (Agent tool) dispatch — v2.1.224, Windows
- [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]
- 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] All running sessions segfault simultaneously on macOS wake from deep sleep (Bun 1.4.0 GC socket finalizer, SIGSEGV at 0x4)
- Injected grep wrapper (bundled ugrep) consumes 20+ GB RAM on bounded-repeat regex, hard-freezes machine
- SIGABRT crash on VPN connect/disconnect (network route change) — regression in 2.1.177, still present in 2.1.202
- [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)
- Bun segfaulting in claude-code, thought you should know
- [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] Claude Code aborts (SIGABRT, no message) when thread/process creation fails with EAGAIN; Desktop loses live background tasks (Linux)
- VS Code extension native binary crashes (SIGSEGV) on CPU with AVX but no AVX2
- [BUG] Claude Desktop 2.16120.0 hangs inside Electron/IOKit on macOS 26.6.2 (also under Rosetta)
- iOS Simulator panel: claude-ios-sim crashes (SIGABRT) on attach via CoreImage Metal binary archive
- Desktop app iOS Simulator helper (claude-ios-sim) crash-loops on macOS 27.0: NSInvalidArgumentException in Metal binary archive during CIContext creation
- iOS Simulator helper crashes in CoreImage/Metal on macOS 27, making tap/swipe unavailable
- [BUG] Bun segfault/SIGABRT on startup — Ubuntu 26.04.1 LTS (glibc 2.43)
- `claude-ios-sim` crashes in a loop on macOS 27: uncaught ObjC exception from `-[_MTLDevice recordBinaryArchiveUsage:]`
- [BUG] Recurring idle SIGSEGV/SIGABRT in JSC (GC marking, microtask queue, JIT) on Linux x64 — Bun v1.4.1; fixed-looking bug in Bun 1.4.2
- Claude Desktop segfaults on launch on Ubuntu 26.04.1 (glib 2.88 / GDBus regression, introduced between 1.34493.1 and 1.37937.0)
- iOS Simulator tool: claude-ios-sim crashes 100% of the time on first Metal/Core Image init (macOS 27 beta)
- [BUG] Native Linux build crashes (SIGILL/SIGSEGV) in JSC GC HeapHelper thread, 8x/day on 2.1.258, same Bun 1.4.1 in 2.1.259
- [BUG] dyld Symbol not found (_DNSServiceGetAddrInfoEx) crash on macOS 12.7.6 — claude-code 2.1.255
- Bun v1.4.1 (392624bed) still segfaults intermittently on Linux x64
- iOS Simulator live panel helper (claude-ios-sim) crash-loops in Metal/CoreImage on macOS 27.0 beta
- [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)
- [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] v2.1.233 hangs indefinitely on startup (even --version) — pre-main futex deadlock; v2.1.226 works
- [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
- Title: Background task reported exit 0 on OOM failure, Claude proceeded to push stale image to production ECR causing $250 of additional credit cost
- 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