[BUG] Claude Code CLI chokes on long base64 lines and crashes.
Resolved 💬 3 comments Opened Jan 12, 2026 by philkunz Closed Jan 15, 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?
Have a file with a very long line and some MB in size.
Claude Code will choke on it.
What Should Happen?
Claude Code should not choke on it.
Error Messages/Logs
Steps to Reproduce
Just create a file with a very long oneliner.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.5
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗