[Bug] Panic: Invalid UTF-8 byte index in string slicing with emoji characters

Resolved 💬 3 comments Opened Dec 26, 2025 by WellFitCommunity Closed Dec 29, 2025

Bug Description
thread '<unnamed>' (11155) panicked at /rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/str/mod.rs:833:21:
byte index 3 is not a char boundary; it is inside '📋' (bytes 0..4) of 📋 | Haiku 4.5 | voiceCommandServ
note: run with
RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5, aborting
Aborted (core dumped)

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 2.0.76
  • Feedback ID: becaeaa2-d608-4a07-8842-929682b2bf83

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/codespace/.local/share/claude/versions/2.0.76 (expected in multi-process scenarios)\n    at W3$ (/$bunfs/root/claude:2427:2165)\n    at TTA (/$bunfs/root/claude:2427:1885)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-26T02:56:14.636Z"},{"error":"AbortError: The operation was aborted.\n    at unknown\n    at abortChildProcess (node:child_process:937:42)\n    at onAbortListener2 (node:child_process:35:24)\n    at abort (unknown)\n    at <anonymous> (/$bunfs/root/claude:4920:14420)","timestamp":"2025-12-26T02:56:16.573Z"}]

View original on GitHub ↗

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