[Bug] UTF-8 String Indexing Panic with Multi-byte Characters

Resolved 💬 2 comments Opened Dec 19, 2025 by lyjun Closed Dec 20, 2025

Bug Description
thread '<unnamed>' (679203) 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 接執行

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5, aborting
[1] 79497 abort claude -c

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.73
  • Feedback ID: 3ae28e29-f94c-47b8-b5ff-86dea83bdf80

Errors

[{"error":"AbortError: The operation was aborted.\n    at unknown\n    at abortChildProcess (node:child_process:935:42)\n    at onAbortListener2 (node:child_process:35:24)\n    at abort (unknown)\n    at <anonymous> (/$bunfs/root/claude:4787:2171)","timestamp":"2025-12-19T14:34:39.538Z"},{"error":"Error: Request was aborted.\n    at _createMessage (/$bunfs/root/claude:447:3157)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-19T14:34:46.004Z"}]

View original on GitHub ↗

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