[BUG] crash

Resolved 💬 3 comments Opened Dec 25, 2025 by reo119 Closed Feb 14, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

· Considering… (esc to interrupt · 1m 4s · ↓ 14 tokens)

───────────────────────────────────────────────────────────────────────────────────────────────────────────
────

───────────────────────────────────────────────────────────────────────────────────────────────────────────
────
⏵⏵ accept edits on (shift+tab to cycle) Checking for
updates

thread '<unnamed>' (115249851) panicked at
/rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/str/mod.rs:833:21:
byte index 5 is not a char boundary; it is inside '를' (bytes 3..6) of 터를 로컬 데이터베이스에
저장합니다. 영상 데이터는 24시간 동안 캐싱되어 API 호출 횟수를 최소화

note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
============================================================
Bun v1.3.5 (1e86cebd) macOS x64
macOS v13.7.8
CPU: sse42 popcnt avx avx2
Args: "claude"
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) fetch(145) jsc spawn(42) standalone_executable
process_dlopen
Builtins: "bun:main" "node:assert" "node:async_hooks" "node:buffer" "node:child_process" "node:constants"
"node:crypto" "node:dns" "node:domain" "node:events" "node:fs" "node:fs/promises" "node:http" "node:https"
"node:module" "node:net" "node:os" "node:path" "node:path/win32" "node:perf_hooks" "node:process"
"node:querystring" "node:stream" "node:timers/promises" "node:tls" "node:tty" "node:url" "node:util"
"node:zlib" "node:worker_threads" "undici" "ws" "node-fetch" "node:inspector" "node:http2"
"node:diagnostics_channel"
Elapsed: 267255ms | User: 28930ms | Sys: 2175ms
RSS: 0.56GB | Peak: 0.63GB | Commit: 0.76GB | Faults: 406 | Machine: 8.59GB

panic(main thread): Segmentation fault at address 0x0
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

To send a redacted crash report to Bun's team,
please file a GitHub issue using the link below:

https://bun.report/1.3.5/m_11e86cebmgEugogC____________+y68qB_______A2AA

zsh: illegal hardware instruction claude

What Should Happen?

⏺ This is a crash in Claude Code itself, not your application. The error shows:

Root cause: Claude Code is crashing when processing Korean text (specifically the character '를' in "터를"). The panic message indicates a byte boundary issue with multi-byte UTF-8 characters:

byte index 5 is not a char boundary; it is inside '를' (bytes 3..6)

This is a bug in Claude Code's text processing, leading to a segmentation fault.

Please report this:

File a bug report at: https://github.com/anthropics/claude-code/issues

Include:

  • Your Claude Code version (appears to be using Bun v1.3.5)
  • Platform: macOS v13.7.8
  • The error output you shared
  • Context: What were you doing when this crashed? (e.g., reading a file with Korean text, searching Korean content, etc.)

Temporary workarounds:

  1. Restart Claude Code - try claude again
  2. Avoid Korean characters temporarily - if specific files with Korean content trigger this, try working with other files first
  3. Update Claude Code - check if there's a newer version: npm update -g claude-code

What were you trying to do when this crash occurred? This will help the team debug and also help me suggest specific workarounds.

Error Messages/Logs

Steps to Reproduce

작업 보고 문서 작성에 발생.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Claude Code v2.0.76

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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