[BUG] Claude Code crashes during file operations after upgrading to native version
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:
- Claude Code version: 2.1.19 (native install)
- OS: Linux 6.17.9-76061709-generic
- Platform: linux
Description:
Claude Code crashes during file read/edit operations. The application closes
unexpectedly without displaying any error message. This issue started after
upgrading from the npm-based version to the native Claude Code installation.
Steps to reproduce:
- Install native Claude Code (replacing npm version)
- Start Claude Code in a project directory
- Use file read/edit operations during a conversation
- Crash occurs unpredictably during these operations
Expected behavior:
Claude Code should remain stable during file operations, matching the
stability of the previous npm-based version.
Actual behavior:
The application silently crashes with no error output or warning. This has
occurred twice since installing the native version.
Frequency:
2 crashes since switching to native installation. Did NOT experience this
issue with the previous npm-based version.
Additional context:
- Regression from npm version behavior
- No specific file or operation triggers it consistently
- No error logs visible in terminal after crash
What Should Happen?
Continue and not hang
Error Messages/Logs
None
Steps to Reproduce
figma - get_figma_data (MCP)(fileKey:
Read(app/global.css)
⎿ Read 670 lines
● Bash(grep -i "toolbar\|button.68\|84.tall\
Let me search the Figma file for toolbar button specifications.
Bash(grep -E
"width.68|height.84|68.84|7C8A9C|F175AD|rounded.12|gap.5|padding.6|p
adding.10|inner.shadow|drop.shadow|toolbar.button|button.*toolbar"
⎿ Running…
✶ Waddling… (Esc to interrupt · 3m 1s · ↓ 1.9k tokens · thinking)
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Code version: 2.1.19 (native install)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗