Cursor/VSCode Frequent Crashes When Using Claude Code Extension
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"}]
Same problem. Can call claude --resume to restore the conversation.
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.
Can confirm on latest macOS, latest everything.
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/2426
- https://github.com/anthropics/claude-code/issues/3025
- 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
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
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.