[BUG]

Resolved 💬 2 comments Opened Jun 15, 2026 by pingl3551-cpu Closed Jun 18, 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?

cluade code 运行到中途报错了 thread '<unnamed>' (53220580) panicked at
/rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/str/mod.rs:833:21:
byte index 8 is not a char boundary; it is inside '盖' (bytes 6..9) of 全覆盖+多冗余+VMP"}
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5, aborting

What Should Happen?

cluade code 运行到中途报错了

Error Messages/Logs

thread '<unnamed>' (53220580) panicked at
/rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/str/mod.rs:833:21:
byte index 8 is not a char boundary; it is inside '盖' (bytes 6..9) of `全覆盖+多冗余+VMP"}`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5, aborting

Steps to Reproduce

Claude Code 内部某个地方在截断或分片字符串时,用了固定字节偏移而非字符边界,遇到中文等多字节字符就会崩溃。

Claude Model

Other

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.76

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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