Claude Code v2.1.112+ crashes with Segmentation Fault (0xc0000005) on Windows 11
Status Closed — not planned
Reported on v2.1.112
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 8 comments · opened Apr 19, 2026 · closed Jul 1, 2026
Description
Claude Code v2.1.112 and v2.1.114 crash immediately on startup with a Segmentation Fault on Windows 11. v2.1.111 works fine.
Environment
- OS: Windows 11 Pro (Build 22631, 23H2)
- Node.js: v24.15.0
- npm: 11.12.1
- VC++ Runtime: v14.36.32532
- Architecture: x86-64
- ntdll.dll version: 10.0.22621.4111
Steps to Reproduce
npm install -g @anthropic-ai/claude-code@2.1.112(or 2.1.114)- Run
claudeorclaude --version - Segmentation fault occurs immediately
Crash Details (Windows Event Log)
- Faulting application: claude.exe (version 2.1.114.0)
- Faulting module: ntdll.dll (10.0.22621.4111)
- Exception code: 0xc0000005 (ACCESS_VIOLATION)
- Faulting offsets: 0x0000000000033faa, 0x0000000000054c2e, 0x00000000000218b8
Workaround
Downgrade to v2.1.111:
npm install -g @anthropic-ai/claude-code@2.1.111
Notes
The issue appears to be related to the native binary (claude.exe) introduced in v2.1.112. The Node.js-based versions (v2.1.111 and earlier) work without issues.
8 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Confirming this issue on a different Windows setup — affects more than just Windows 11.
My setup (different from OP):
Version testing results:
My break point is slightly different from OP (v2.1.112 works for me but crashes for OP), suggesting the native binary has different crash triggers across systems.
Crash details from Event Viewer (same exception code as OP):
Faulting application name: claude.exe, version: 2.1.116.0
Faulting module name: ntdll.dll, version: 10.0.19041.1806
Exception code: 0xc0000005 (ACCESS_VIOLATION)
Fault offset: 0x0000000000063416
Troubleshooting that did NOT fix it:
Only working solution: Downgrade to v2.1.112 and set
DISABLE_AUTOUPDATER=1.This confirms the bug is in the native Windows binary, affects diverse Windows systems (both Win10 and Win11, both old and new hardware), and urgently needs attention as auto-update silently breaks working installations.
Thank you so much for your response. After manually installing v2.1.112, Claude Code works perfectly.
I also manually adjusted the Claude Code link in Claude Code Desktop, and Claude Code Desktop can now use cowork and code.
However, Claude should resolve this issue as soon as possible. The new version cannot be installed, and even if the installation fails, it will show as successful, there are no log records.
Same here - v2.1.112 — works using mingw shell
"C:\git-sdk-64\msys2_shell.cmd" -defterm -no-start -mingw64"Same here, downgrade to v2.1.112
I tried updating to the latest today and still, it's segment faulting.
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
Confirming this is still happening on much newer versions, and it's specifically the Claude Desktop app's "Code" / cowork feature — not the standalone CLI installer discussed above.
Setup:
systeminfo→ "System Type: ARM64-based PC", not an x64 machine under emulation)claude.exeto%APPDATA%\Claude\claude-code\<version>\claude.exe2.1.202, still crashes with exit code3221225477(0xC0000005/STATUS_ACCESS_VIOLATION)Root cause (confirmed via PE header inspection): the binary the Desktop app downloads to that path is x64 (PE machine type
0x8664), even though it's running on ARM64 hardware. Meanwhile, the Claude Code VS Code extension, installed side-by-side on the same machine, correctly ships a native ARM64claude.exe(PE machine type0xAA64) inside its own package at<extension-dir>\resources\native-binary\claude.exe. So a correct ARM64 build does exist and is being distributed through the VS Code extension channel — it's just not what the Desktop app fetches for its Code feature.Workaround (not durable): manually copy the VS Code extension's ARM64
claude.exeover the Desktop app'sclaude-code\<version>\claude.exe, and update the sibling.verifiedfile with the new binary's SHA256 so the app doesn't flag it as tampered. This resolves the crash immediately, but reverts every time either the Desktop app or the VS Code extension auto-updates (observed recurring roughly weekly, both via in-place "self-heal" re-downloads of the same version and via version bumps to a newclaude-code\<version>\folder).Suggestion: since Anthropic is already building and distributing a correct ARM64 binary for the VS Code extension, it seems like the Desktop app's Code/cowork feature could use that same ARM64 build (or the same build pipeline/detection logic) on ARM64 Windows instead of always fetching x64.
Happy to provide more diagnostic details if useful.