[BUG] Code Tab Crashing (~ 1 Month)
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Environment Details:
- Claude Desktop version: 1.2773.0 (884b37)
- macOS: 26.3.1 (25D2128)
- Hardware: Apple Silicon (ARM-64)
- Plan: Max
- Bundled Claude Code version: 2.1.92
The Code tab in the Claude Desktop app crashes immediately on every attempt to start a session. The error displayed in the UI is:
"Claude Code process exited with code 1"
This happens on every attempt: new sessions, different project folders, fresh installs. The regular chat tab works fine; only the Code tab is affected.
What was tried:
- Full uninstall and reinstall of Claude Desktop
- Node.js reinstalled
- Claude Code CLI reinstalled
- Bundled Claude Code tested directly (runs fine standalone from terminal)
- Multiple sessions tested over 1 month
Crash Analysis:
Crash report (~/Library/Logs/DiagnosticReports/Claude-*.ips) shows:
- Exception type: EXC_BREAKPOINT (SIGTRAP)
- Faulting thread: 0 (CrBrowserMain — the main Electron thread)
- Crash location: Deep inside the Electron/V8 runtime layer, not in Claude Code itself
- Signal: SIGTRAP — Trace/BPT trap: 5
- Termination: The app's own exception handler killed the process
The crash occurs in the Electron rendering engine before the Claude Code process gets a chance to fully initialise. The stack trace shows V8 internal compiler functions and Electron's main event loop, indicating this is an app-level bug, not a user configuration issue.
Full .ips crash report available on request.
Steps to Reproduce:
- Open Claude Desktop app
- Click the Code tab
- Click "+ New session"
- Select any project folder (or create a new empty one)
- Type any message and send
- Error appears: "Claude Code process exited with code 1"
What Should Happen?
Clicking "+ New session" in the Code tab should successfully launch a Claude Code session in the selected project folder, allowing the user to send messages and receive responses as documented. The Code tab should function identically to running claude in the terminal, just with the visual pane interface (chat, diff, preview, file editor) layered on top.
Error Messages/Logs
"Claude Code process exited with code 1"
Steps to Reproduce
- Open Claude Desktop app
- Click the Code tab
- Click "+ New session"
- Select any project folder (or create a new empty one)
- Type any message and send
- Error appears: "Claude Code process exited with code 1"
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
1.2773.0 (884b37)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Note: The crash occurs inside the Claude Desktop app's Code tab, not in a terminal environment. The Terminal.app selection above is only because the form requires a choice — this bug is not terminal-specific.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗