[Bug] Corrupted context during processing

Status Closed — duplicate
Reported on v2.1.42
Maintainer reply None cached
Activity 3 comments · opened Feb 16, 2026 · closed Feb 20, 2026

Bug Description
corrupted context

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.42
  • Feedback ID: 19dd12c3-bf2a-437b-8774-c731b8088a71

Errors

[{"error":"Error: Compaction interrupted · This may be due to network issues — please try again.\n    at PbB (/$bunfs/root/claude:3161:5282)\n    at async bET (/$bunfs/root/claude:3159:267)\n    at async QyB (/$bunfs/root/claude:3244:2545)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T12:36:31.699Z"},{"error":"Error: Request was aborted.\n    at g5R (/$bunfs/root/claude:869:100994)\n    at next (native:1:11)\n    at xeB (/$bunfs/root/claude:5571:3162)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T12:36:31.702Z"},{"error":"MaxFileReadTokenExceededError: File content (62116 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 Gz_ (/$bunfs/root/claude:1300:7592)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T12:44:20.605Z"},{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (36 -> 36 messages). Message structure: [0] user; [1] user; [2] assistant(id=msg_014GUiuRGjK5qdR3uCAzgcDD, tool_uses=[toolu_01Mmrp7oUdPRMzRrAPL5kQ6U,toolu_013hn8JmW6XCGdKs2VJnVUWc]); [3] user(tool_results=[toolu_01Mmrp7oUdPRMzRrAPL5kQ6U,toolu_013hn8JmW6XCGdKs2VJnVUWc]); [4] assistant(id=msg_011kt3cv2xavkdFVS5FwtMkD, tool_uses=[toolu_011Ep76mMCy2wRY3ecevGqZT,toolu_015rEDLuFwvkjVhueZvwGnA1]); [5] user(tool_results=[toolu_011Ep76mMCy2wRY3ecevGqZT,toolu_015rEDLuFwvkjVhueZvwGnA1]); [6] assistant(id=msg_01DoSSJYt8RGPS8S8etbE2NK, tool_uses=[toolu_01C15YshZqdMz8qv2MNWSXre,toolu_017hJ19bnARLJeZhgKuwEQsb]); [7] user(tool_results=[toolu_01C15YshZqdMz8qv2MNWSXre,toolu_017hJ19bnARLJeZhgKuwEQsb]); [8] assistant(id=msg_012YYBk3wAJUro7TtYFpT4Fa, tool_uses=[toolu_01N6fiQCfF9LZkSjNMaLCiHK,toolu_016jtdE1u61MQgSATXoty5RA]); [9] user(tool_results=[toolu_01N6fiQCfF9LZkSjNMaLCiHK,toolu_016jtdE1u61MQgSATXoty5RA]); [10] assistant(id=msg_01BGSFavUHB6SywxGrCT9Kjw, tool_uses=[toolu_01TeBNWfuFK5KQtDQx4LGzN6]); [11] user(tool_results=[toolu_01TeBNWfuFK5KQtDQx4LGzN6]); [12] assistant(id=msg_01XNihBuawGiU7Ea9Szo72Nd, tool_uses=[toolu_01G9z7Z6ThyS22x44RYBK3gY]); [13] user(tool_results=[toolu_01G9z7Z6ThyS22x44RYBK3gY]); [14] assistant(id=msg_01H33UetkoUng4ej8SrrEbL7, tool_uses=[toolu_01XJck771cPfG2QsnvewewJB]); [15] user(tool_results=[toolu_01XJck771cPfG2QsnvewewJB]); [16] assistant(id=msg_01VTg42LivFjCtEZUbTghJAc, tool_uses=[toolu_01AGcBjDEEGWVzzsm4DAWy1N]); [17] user(tool_results=[toolu_01AGcBjDEEGWVzzsm4DAWy1N]); [18] assistant(id=msg_01P6PiAYD73GcdLXEmVmxbEs, tool_uses=[toolu_01WHbhyokXHCES6Am7jLUxRa]); [19] user(tool_results=[toolu_01WHbhyokXHCES6Am7jLUxRa]); [20] assistant(id=msg_01QGNnVY7DkzDWdqBNodMkGo, tool_uses=[toolu_012CH9icBUTxMpShAJbub4tN]); [21] user(tool_results=[toolu_012CH9icBUTxMpShAJbub4tN]); [22] assistant(id=msg_01L1LMTApo5rua3hH6oAHUhY, tool_uses=[toolu_013Dfio6aZqZ9NMZGZyonxYV]); [23] user(tool_results=[toolu_013Dfio6aZqZ9NMZGZyonxYV]); [24] assistant(id=msg_01E4whQQ16frSTWUzzVYgKvc, tool_uses=[toolu_015jL7RxeHwV1Hf6MJ539DFA]); [25] user(tool_results=[toolu_015jL7RxeHwV1Hf6MJ539DFA]); [26] assistant(id=msg_01T91dr5yWoVaemUM5tiZypm, tool_uses=[toolu_01Y4qMHvf3F3NhCEvmf3Tr6Y]); [27] user(tool_results=[toolu_01Y4qMHvf3F3NhCEvmf3Tr6Y]); [28] assistant(id=msg_01GnNSfsCe6FZdXmF2fWXtkS, tool_uses=[toolu_016sxkjRxrHEWAodbr6cJBGh]); [29] user(tool_results=[toolu_016sxkjRxrHEWAodbr6cJBGh]); [30] assistant(id=msg_01Uv6Af5mgtrXKpJgmJFbUJA, tool_uses=[toolu_0155PY16RRkzLNQR5HoKtXZw]); [31] user(tool_results=[toolu_0155PY16RRkzLNQR5HoKtXZw]); [32] assistant(id=msg_01UiWrkgMQu9SXM6e53rjGm1, tool_uses=[toolu_01Du4d8MjbKGksouNsoWg8C4]); [33] user(tool_results=[toolu_01Du4d8MjbKGksouNsoWg8C4]); [34] assistant(id=msg_01JDKsneNYwq8CSK1SnjEpdP, tool_uses=[toolu_012UAtwzDGwy6mDExyvk45vo]); [35] user\n    at ueB (/$bunfs/root/claude:6140:8635)\n    at xeB (/$bunfs/root/claude:5566:6893)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T12:45:03.309Z"},{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (38 -> 38 messages). Message structure: [0] user; [1] user; [2] assistant(id=msg_014GUiuRGjK5qdR3uCAzgcDD, tool_uses=[toolu_01Mmrp7oUdPRMzRrAPL5kQ6U,toolu_013hn8JmW6XCGdKs2VJnVUWc]); [3] user(tool_results=[toolu_01Mmrp7oUdPRMzRrAPL5kQ6U,toolu_013hn8JmW6XCGdKs2VJnVUWc]); [4] assistant(id=msg_011kt3cv2xavkdFVS5FwtMkD, tool_uses=[toolu_011Ep76mMCy2wRY3ecevGqZT,toolu_015rEDLuFwvkjVhueZvwGnA1]); [5] user(tool_results=[toolu_011Ep76mMCy2wRY3ecevGqZT,toolu_015rEDLuFwvkjVhueZvwGnA1]); [6] assistant(id=msg_01DoSSJYt8RGPS8S8etbE2NK, tool_uses=[toolu_01C15YshZqdMz8qv2MNWSXre,toolu_017hJ19bnARLJeZhgKuwEQsb]); [7] user(tool_results=[toolu_01C15YshZqdMz8qv2MNWSXre,toolu_017hJ19bnARLJeZhgKuwEQsb]); [8] assistant(id=msg_012YYBk3wAJUro7TtYFpT4Fa, tool_uses=[toolu_01N6fiQCfF9LZkSjNMaLCiHK,toolu_016jtdE1u61MQgSATXoty5RA]); [9] user(tool_results=[toolu_01N6fiQCfF9LZkSjNMaLCiHK,toolu_016jtdE1u61MQgSATXoty5RA]); [10] assistant(id=msg_01BGSFavUHB6SywxGrCT9Kjw, tool_uses=[toolu_01TeBNWfuFK5KQtDQx4LGzN6]); [11] user(tool_results=[toolu_01TeBNWfuFK5KQtDQx4LGzN6]); [12] assistant(id=msg_01XNihBuawGiU7Ea9Szo72Nd,…

Note: Content was truncated.

View original on GitHub ↗

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