[BUG] Session terminates automatically when using multiple subagents.

Resolved 💬 3 comments Opened May 21, 2026 by ShivamBwaj Closed Jul 12, 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 telling claude code to fan out subagents for multiple tasks , the session abruptly crashes mid-way .
crashes without any dump logs or evidence what caused it.
what it looks like after the crash happens.

Resume this session with:
claude --resume 25154cf5-6ea9-4592-8fa2-c84803bf1c1a
Terminate batch job (Y/N)?

more info : i never touched CTRL C or any sort of other commands , i was away from claude code when this happened , happened 3+ times today.
also claude version : 2.1.147 (Claude Code)

What Should Happen?

it should not crash abruptly in mid conversation.

Error Messages/Logs

Steps to Reproduce

1.telling claude code to fan out subagents for multiple tasks

  1. after sometime , crash happens automatically

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.147 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

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