[Bug] Panic on UTF-8 char boundary with Arabic text in string slicing
Resolved 💬 3 comments Opened Dec 31, 2025 by yazeedr6 Closed Jan 3, 2026
Bug Description
thread '<unnamed>' (9733185) panicked at /rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/str/mod.rs:833:21:
byte index 20 is not a char boundary; it is inside 'ء' (bytes 19..21) of ادة الإنشاء
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
yazeedalabdulsalam@Mac sectoral-projects-monitoring %
(bug)
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.0.76
- Feedback ID: acbdb35b-32b4-4121-9a5b-3071cc5a7583
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/yazeedalabdulsalam/.local/share/claude/versions/2.0.76 (expected in multi-process scenarios)\n at XZR (/$bunfs/root/claude:2430:2165)\n at fUA (/$bunfs/root/claude:2430:1885)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-31T07:29:09.102Z"},{"error":"Error: Request was aborted.\n at _createMessage (/$bunfs/root/claude:458:3157)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-31T07:29:55.520Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗