claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Research mode hangs indefinitely on simple queries

Open alexhopes opened this issue 11 months ago • 1 comments

Bug Description research got hung and continued >25min without doing anything on simple question

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.0.60
  • Feedback ID: 5cc201e1-1ca6-4113-aee1-bc73f42a46ff

Errors

[{"error":"Error\n    at qf (/$bunfs/root/claude:174:1143)\n    at <anonymous> (/$bunfs/root/claude:175:10080)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:177:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-07T09:54:34.752Z"},{"error":"Error\n    at qf (/$bunfs/root/claude:174:1143)\n    at <anonymous> (/$bunfs/root/claude:175:10080)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:177:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-07T09:54:34.756Z"},{"error":"Error\n    at qf (/$bunfs/root/claude:174:1143)\n    at <anonymous> (/$bunfs/root/claude:175:10080)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:177:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-07T09:54:34.858Z"},{"error":"Error\n    at qf (/$bunfs/root/claude:174:1143)\n    at <anonymous> (/$bunfs/root/claude:175:10080)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:177:2147)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-07T09:54:35.315Z"},{"error":"MaxFileReadTokenExceededError: File content (27367 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at liB (/$bunfs/root/claude:1395:10588)\n    at async call (/$bunfs/root/claude:1404:972)\n    at async <anonymous> (/$bunfs/root/claude:1616:1513)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-07T09:55:43.458Z"},{"error":"MaxFileReadTokenExceededError: File content (27367 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at liB (/$bunfs/root/claude:1395:10588)\n    at async call (/$bunfs/root/claude:1404:972)\n    at async <anonymous> (/$bunfs/root/claude:1616:1513)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-07T09:56:00.147Z"},{"error":"MaxFileReadTokenExceededError: File content (27367 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at liB (/$bunfs/root/claude:1395:10588)\n    at async call (/$bunfs/root/claude:1404:972)\n    at async <anonymous> (/$bunfs/root/claude:1616:1513)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-07T09:56:04.852Z"},{"error":"MaxFileReadTokenExceededError: File content (27367 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at liB (/$bunfs/root/claude:1395:10588)\n    at async call (/$bunfs/root/claude:1404:972)\n    at async <anonymous> (/$bunfs/root/claude:1616:1513)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-07T09:56:36.831Z"},{"error":"MaxFileReadTokenExceededError: File content (39187 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at liB (/$bunfs/root/claude:1395:10588)\n    at async call (/$bunfs/root/claude:1404:972)\n    at async <anonymous> (/$bunfs/root/claude:1616:1513)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-07T10:10:06.393Z"}]

alexhopes avatar Dec 07 '25 10:12 alexhopes

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/13256
  2. https://github.com/anthropics/claude-code/issues/13240
  3. https://github.com/anthropics/claude-code/issues/13270

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Dec 07 '25 10:12 github-actions[bot]

This issue has been automatically closed as a duplicate of #13256.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Dec 11 '25 09:12 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Dec 18 '25 14:12 github-actions[bot]