claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Cursor/VSCode Frequent Crashes When Using Claude Code Extension

Open Autopsias opened this issue 1 year ago • 6 comments

Bug Description My VSCode and Cursor crash at least 4/5 times a day with Claude Code...

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.35
  • Feedback ID: 6450dad0-4e2d-4e6a-9c4c-16a1e5a3ab16

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at TZ (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:700:3921)\n    at file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:9014\n    at Q (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n    at VX (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:8160)\n    at nS (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:7241)\n    at f9 (file:///Users/ricardocarvalho/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:11408)","timestamp":"2025-06-28T12:51:55.483Z"}]

Autopsias avatar Jun 28 '25 12:06 Autopsias

Same problem. Can call claude --resume to restore the conversation.

andreibeliaev avatar Jul 03 '25 21:07 andreibeliaev

Same problem. I have this problem to in Xubuntu. If use VSCode without open Claude Code VSCode will fine. But when claude code with VSCode VSCode will creash and restart around every 15-40 mins.

I don't know why.

DarKWinGTM avatar Aug 03 '25 06:08 DarKWinGTM

Can confirm on latest macOS, latest everything.

cesarvarela avatar Aug 03 '25 19:08 cesarvarela

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/2426
  2. https://github.com/anthropics/claude-code/issues/3025
  3. https://github.com/anthropics/claude-code/issues/1470

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Aug 16 '25 04:08 github-actions[bot]

This issue has been automatically closed as a duplicate of #2426.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Aug 20 '25 09:08 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Aug 27 '25 14:08 github-actions[bot]