[BUG] Claude Code crashing when it tries to update a file

Resolved 💬 5 comments Opened Sep 10, 2025 by tvvignesh Closed Jan 8, 2026

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?

log.txt

Error log attached

What Should Happen?

Even when errors happen, claude code must not get killed

Error Messages/Logs

Steps to Reproduce

<img width="730" height="1046" alt="Image" src="https://github.com/user-attachments/assets/f5c28539-a7b0-4005-bdb9-2de72307ae0d" />

This is what worked finally - but it didnt work when it was using the cat tool on this

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

1.0.110

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗