claude-code
claude-code copied to clipboard
Terminal Scrolling Memory Leak Causing Cursor Crash During Claude Code Interaction
Bug Description Another case where claude code crashes cursor and this time on --resume it can't recover. I don't know how to repeat this other than i'm sure you are familier with the case where claude code repetatedly scrolls through the entire terminal history until eventually crashing cursor (memory leak maybe? )
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 1.0.35
- Feedback ID: cc9dcece-1460-4e57-810c-c772e1b1fe4c
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/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:700:3921)\n at file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:9014\n at Q (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n at VX (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:8160)\n at nS (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:7241)\n at f9 (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:11408)","timestamp":"2025-06-30T10:43:07.097Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at eD (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1469:1184)\n at file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1469:912\n at Array.map (<anonymous>)\n at mK (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1469:903)\n at vR2 (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1923:9268)\n at uE (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:80:19803)\n at tT (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:42555)\n at rT (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:38104)\n at _$ (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:38032)\n at YU (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:37886)","timestamp":"2025-06-30T10:43:09.213Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at eD (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1469:1184)\n at file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1469:912\n at Array.map (<anonymous>)\n at mK (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1469:903)\n at vR2 (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1923:9268)\n at uE (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:80:19803)\n at tT (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:42555)\n at rT (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:38104)\n at _$ (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:38032)\n at YU (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:82:37886)","timestamp":"2025-06-30T10:43:09.217Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at eD (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1469:1184)\n at file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1469:912\n at Array.map (<anonymous>)\n at mK (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1469:903)\n at vR2 (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1923:9268)\n at uE (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:80:19803)\n at tT (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib
Note: Error logs were truncated.