[BUG]

Resolved 💬 3 comments Opened Jan 30, 2026 by karanmehta-dg Closed Feb 28, 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?

When I use claude and it invokes the docker logs command and uses grep, it periodically hits 100% CPU usage and crashes. These are not heavy queries (tail -20 to 30)

What Should Happen?

The query should succeed.

Error Messages/Logs

Steps to Reproduce

run a command that invokes claude to run the docker logs command. This reproduces around 50% of the time.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.25

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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