claude-code - 💡(How to fix) Fix [BUG] Claude Desktop App crashing each time I select 'Code'.

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Summary: Code tab crashes instantly, vm_bundle rebuilds to 12GB on every launch Steps to reproduce: Launch app → Chat works → Click Code tab → app crashes What I've tried: Deleted vm_bundles, deleted claude-code-vm, full cache clear — bundle snaps back to 12GB instantly every relaunch Log ends at: [CCD] LocalAgentModeSessions.getSupportedCommands: sessionId=undefined-

What Should Happen?

Code should work as expected and continue to run without crashing when working from the desktop app.

Error Messages/Logs

Steps to Reproduce

Launch app → Chat works → Click Code tab → app crashes

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.114 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue may be related to a corrupted or incompatible vm_bundle that rebuilds to 12GB on every launch, causing the Code tab to crash instantly.

Guidance

  • Try deleting the vm_bundle and claude-code-vm directories again, and then restart the app to see if the issue persists.
  • Check if there are any issues with the Anthropic API or the Claude Model configuration that could be causing the vm_bundle to rebuild incorrectly.
  • Since this is a regression, try to identify the last working version of Claude Code and compare its configuration or dependencies with the current version to find any potential differences.
  • Verify that the sessionId is being set correctly, as the log ends with sessionId=undefined, which could indicate an issue with the authentication or session management.

Example

No code snippet is provided as the issue does not contain enough information to create a specific example.

Notes

The issue lacks information about the last working version of Claude Code, which could be crucial in identifying the root cause of the problem. Additionally, the error logs are empty, which makes it harder to diagnose the issue.

Recommendation

Apply workaround: Try deleting the vm_bundle and claude-code-vm directories and restart the app to see if the issue persists, as this has been reported to temporarily resolve the issue in the past.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Claude Desktop App crashing each time I select 'Code'.