[Bug] Rust panic: Invalid UTF-8 byte boundary in string processing
Resolved 💬 3 comments Opened Dec 16, 2025 by connect0459 Closed Dec 16, 2025
Bug Description
On v2.0.70, I encountered the following bug:
⏺ 既存のIssueコメントを確認しました。文章スタイルを合わせて調整します。
Write(.connect0459/issues/22388/impl-nextjs-form/issuecomment.md)
· Discombobulating… (esc to interrupt · 1m 29s · ↓ 1.0k tokens ·
thought for 9s)
⎿ Tip: Open the Command Palette (Cmd+Shift+P) and run "Shell
Command: Install 'code' command in PATH" to enable IDE
integration
────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────
⏵⏵ accept edits on (shift+tab to Context left until
cycle) auto-compact: 2%
thread '<unnamed>' (633517) panicked at /rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/str/mod.rs:833:21:
byte index 17 is not a char boundary; it is inside 'る' (bytes 15..18) of `習熟している** | 技術的リスクが低い |`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5, aborting
Abort trap: 6
macbook-akira:my-repo akira$
I'm getting an error stating that rust has panicked. Is this due to my environment, or has the behavior changed somehow after the version upgrade? My macOS is v15.7.2, and I installed Claude Code using the following command:
curl -fsSL https://claude.ai/install.sh | bash
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.0.70
- Feedback ID: 7d57c866-2ddb-4401-a95f-9a4c248eada6
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/akira/.local/share/claude/versions/2.0.70 (expected in multi-process scenarios)\n at K$R (/$bunfs/root/claude:2346:2155)\n at qDA (/$bunfs/root/claude:2346:1875)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-16T04:59:32.788Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗