Claude Code Rust panic: byte index not char boundary with Japanese text

Resolved 💬 3 comments Opened Jan 6, 2026 by kaitas Closed Jan 9, 2026

概要

Claude CodeがFTUEチュートリアルの日本語テキストを処理中にRust panicでクラッシュする。

エラーメッセージ

thread '<unnamed>' (26275062) panicked at /rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/str/mod.rs:833:21:
byte index 35 is not a char boundary; it is inside '、' (bytes 33..36) of `動で曲リストを解析して、Sakiがあなた専用のラジオ番組を作成し`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5, aborting
zsh: abort      claude

再現手順

  1. 日本語のマルチバイト文字を含むファイルを編集中
  2. Edit/Updateツールを使用
  3. 句読点「、」などの3バイト文字の境界でパニック発生

環境

  • macOS Darwin 24.6.0
  • Claude Code CLI (claude-opus-4-5-20251101)

優先度

🔥 High - 日本語テキストの編集が頻繁にクラッシュする

View original on GitHub ↗

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