Segmentation fault (SIGSEGV / SIGABRT)
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 1–100
Ranked by community engagement (reactions weighted over comments).
- [iPadOS] App crashes when opening any session in Code tab (v1.260618.0) — main-thread stack overflow in SwiftUI
- [BUG] 2.1.243 Segmentation fault
- [BUG] npm install now ships Bun binary (v2.1.126) — npm workaround for non-AVX VPS is dead, no upgrade path
- Claude Code 2.1.243 segfaults on launch (CachyOS/glibc 2.44) — 2.1.241 unaffected
- [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
- 2.1.243 native build segfaults instantly on startup: interposed free() crashes on free(NULL) from glibc 2.44 newlocale
- [BUG] Claude Code 2.1.243 immediately segfaults on Arch Linux x86_64
- [Bug] Claude Code 2.1.243 crashes with SIGSEGV on startup (null pointer dereference)
- [BUG] Windows Update KB5074109 Breaks Claude Code
- [BUG] claude segfaults, so does install.sh
- Bundled ugrep OOMs the host: -E with two bounded {0,N} intervals explodes DFA construction to multiple GB
- Bun segfault crash after extended session
- [BUG] Error: Claude Code process exited with code 3
- [Bug] Native build 2.1.243 segfaults on glibc 2.44 due to malloc/free symbol interposition
- Segfault regression at 2.1.242 on glibc 2.44 (Arch) — distinct from closed #62747
- [BUG] SIGABRT crash on macOS 11.5.2 with Claude Code 2.0.21 (works on 2.0.9)
- [Desktop] iOS Simulator panel: claude-ios-sim crash-loops in Metal/CoreImage on macOS 27.0 beta — panel stuck on 'Attach a simulator'
- [BUG] Native installer (2.1.243) segfaults in newlocale/free during startup on glibc 2.44 (CachyOS)
- Memory leak causing V8 OOM crashes (SIGABRT) on extended sessions
- [BUG] Segmentation fault (SIGSEGV) on install and startup — CachyOS Linux
- [BUG] auto update broke claude code
- SIGSEGV on startup in v2.1.242+ on Linux (glibc 2.44, x86-64)
- [BUG] Bun binaries crash on ARM Neoverse-V2 (Python SDK + native installer)
- [Bug] Version 2.1.243 fails to launch on multiple machines, autoupdate causes regression
- [BUG] terminated by signal SIGSEGV (Address boundary error)
- Claude Code v2.1.112+ crashes with Segmentation Fault (0xc0000005) on Windows 11
- [BUG] claudeVSCodeSidebarSecondary fails to render in VS Code Remote SSH with ["ui"] extensionKind
- Deterministic SIGSEGV on claude CLI startup (free/__newlocale/pthread_once)
- Remote Control: mobile app crashes/closes immediately when tapping an online session (iOS 26.5 / iPhone 15 Pro, host CLI 2.1.186 Win11)
- [BUG] Bun 1.3.14 JSC GC segfault (SlotVisitor::drain) on AMD Ryzen 5 5500 / Linux x86_64_baseline — all platform binaries identical
- [BUG] RISC-V unsupported?
- [BUG] panic(main thread): Segmentation fault at address 0x4469BAB7D20
- Claude Code crashes with SIGABRT when session JSONL files exceed V8 heap limit
- [BUG] Segment Fault
- [BUG] iOS app 1.260618.0 hard-crashes opening a Remote Control session — main-thread - stack overflow in Swift KeyPath metadata
- V8 OOM: Claude Code CLI leaks memory until laptop crashes (113GB observed)
- [BUG] Bun startup segfault on Windows 11 26200 + Intel Meteor Lake (Core Ultra 5 135U) — reproduced on current 2.1.170; prior report #55219 auto-closed as stale
- [BUG] Segmentation fault(Bun Canary v1.3.9-canary.51)with Windows 11 Powershell
- [BUG] Claude Code crashes with SIGABRT during shutdown due to MCP server termination failure
- ScheduleWakeup non-persistent + no remote interrupt = unrecoverable silent stuck sessions
- [BUG] Frequent segfault crash in JSC GC (SlotVisitor::visitChildren) on v2.1.50
- [BUG] Claude Code for VS Code Extension SIGABRT on ARM64 with 64KB Page Size (Remote SSH)
- Segmentation fault crash on Windows 11 in VS Code extension v2.0.29+ (Bun v1.3.1 runtime crash)
- 2.1.242+ segfault is glibc-2.44-only: bisected 2.35→2.44, glibc 2.44's __newlocale refactor added an unconditional free(NULL); simulating a NULL guard boots 2.1.243 cleanly
- [Bug] iOS Simulator helper (claude-ios-sim) crash-loops on macOS 27 beta — uncaught NSException in Metal recordBinaryArchiveUsage via CoreImage
- [BUG] Windows 11 Pro 24H2: segmentation fault during PowerShell install, and also when launching `claude.exe` after WinGet install
- [BUG] Bun v1.3.14 (0a466a11) Windows x64 (baseline)
- [BUG] Native Windows executable crashes with segmentation fault (npm version works)
- [BUG] Claude Code JavaScript Heap Out of Memory Error
- [BUG] - CRITICAL
- Native Claude Code 2.1.143 crashes on startup with Bun segfault on macOS Silicon
- [BUG] Segmentation fault at address
- [BUG] Constant BUN crashes
- [BUG] Bun has crashed
- Claude Code 2.1.15 crashes on Windows 11 with Bun segmentation fault (address 0x113)
- [BUG] 2.1.243 segfaults on startup - glibc 2.44 / Bun runtime crash in newlocale()
- SIGSEGV crash on startup with kernel 7.1.x (CachyOS) — versions >= 2.1.140
- Native linux-x64 binary segfaults on Arch Linux (glibc 2.44) — free() called from libc newlocale() crashes with NULL table pointer
- [BUG] Deterministic Bun startup segfault at USER32.dll+0xbe584 / address 0x3C on Windows 11 build 26200 (claude.exe 2.1.114+) — distinct from 0xFFFFFFFFFFFFFFFF family
- [BUG] Bun Bun Segmentation Fault Crashes on Windows
- [BUG] Process explosion with sub-agents causes dotnet segfaults and session crashes
- 2.1.243 native build segfaults at startup on Arch Linux (glibc 2.44) — even `--version` and `claude update`
- [BUG] Deterministic Bun segfault at 0xCD on Windows 10 — Trend Micro Apex One DLLs (TmUmEvt64 / Wtmmon64) in crash stack; 2.1.112 (Node) works, 2.1.113+ (Bun) crash
- [BUG] Bun has crashed. Segmentation fault at address 0x35C23800000
- [BUG] npm install broken on non-AVX Linux x64 CPUs since v2.1.113 — Node.js (cli.js) fallback removed
- [BUG] Segmentation fault in Bun v1.3.10 (Windows) during long sessions — pipe write crash
- Segmentation fault immediately after trust prompt , i m on a paid Max subscription
- [BUG] 2.1.243 linux-x64 exports malloc/free and interposes glibc's allocator, segfaulting on startup in __newlocale; 2.1.205 does not export them and works
- Shimmed grep (embedded ugrep) allocates until host OOM on bounded-quantifier patterns
- [BUG] Immediate segmentation fault upon starting - claude (Bun runtime) segfaults at startup on Linux 6.17 / glibc 2.39 — all builds since Node→Bun switch
- [BUG] Bun Segfault when installing Claude Code CLI
- [BUG] Illegal instruction - CPU lacks AVX support (Linux)
- [BUG] Kernel OOM (not V8 heap) from parallel subagent + per-agent MCP fan-out exhausts host RAM
- [BUG] Claude Code v2.1.77 crashes with "Illegal instruction" on RHEL 8 (x86_64)
- Bun segfault crash (0xFFFFFFFFFFFFFFFF) on Windows during normal usage
- [BUG] Bun segfault crash after ~2h session on Windows x64 (Bun v1.3.10)
- [BUG] Claude Code 2.1.32 segfaults on RHEL 9.3 - crash in dynamic linker
- [Bug] Native macOS Installation Repeatedly Aborts During Setup
- Embedded ugrep in the Bash grep shim allocates ~29 GB compiling `.{0,N}(a|b|c).{0,M}`, OOM-kills the host
- [BUG] iOS Simulator panel helper (claude-ios-sim) crashes on launch on macOS 27 beta — seatbelt profile blocks Metal's new per-bundle shader-cache directory
- [BUG] Windows: incomplete Claude Code update leaves two versioned runtime folders under `%APPDATA%\Claude\claude-code\`, causing a deterministic Bun segfault at Code startup (every session)
- Segfault (panic at 0x0) after long session on macOS 26.5.1
- [Bug] Native installer on Surface Pro 13 (ARM64) defaults to win32-x64 and causes Segmentation Fault
- [BUG] v2.1.89 SIGABRT / stack overflow crash on Debian 12 (TrueNAS) via Remote-SSH — v2.1.88 works
- [BUG] Remote control lost and bun crash in claude code win desktop
- [BUG] Claude Code crashes with SIGABRT (signal 6) on WSL2 with Node.js 18 — "Interrupted · What should Claude do instead?"
- Bun segfault on Windows after long idle sessions with sleep/wake cycles
- Bun runtime segfaults (address 0x28) on macOS Silicon after ~3min when running claude CLI
- [BUG] claude code crashes with BUN error
- [BUG] CPU without AVX → Bun crashes → SIGILL
- [BUG] Segmentation fault (exit code 3) on Windows 11 - Bun v1.3.6 crash at 0xCC/0xD0 during startup
- [BUG] Claude Code crashes with OOM when manipulating terminal splits during active generation
- [BUG] `claude install` segfaults on AMD64 Debian Bookworm, installation fails silently
- Bun segfault on image attachment crashes session (Claude Code 2.1.142, Windows)
- MCP servers crash on macOS when accessing Bluetooth — missing NSBluetoothAlwaysUsageDescription in claude-code bundle
- [BUG] Claude Code segfaults on startup when Anthropic API is unreachable (should fail gracefully)
- [BUG] Claude Code v2.1.63 — frequent SIGABRT crash due to sudden memory exhaustion. Core files analyzed
- [FEATURE] Rotate session JSONL files at compaction boundaries
- [FEATURE] Support for ppc64le in the ssh connector
- [BUG] Native Windows binary (Bun Canary v1.3.9) segfaults on ~50% of launches