Chrome native messaging host crashes with Bun panic on Windows (AtlasOS/QEMU VM)
Bug Description
The Chrome native messaging host (claude --chrome-native-host) crashes immediately with a Bun internal assertion failure on Windows 11 (AtlasOS) running in a QEMU/KVM virtual machine on Proxmox.
The Claude in Chrome extension (v1.0.47) is installed and correctly configured, but cannot connect to Claude Code because the native host process crashes on startup.
Steps to Reproduce
- Install Claude Code v2.1.34 on Windows 11 (VM on Proxmox with QEMU/KVM)
- Install Claude in Chrome extension v1.0.47
- Run
claude --chrome-native-host - Observe crash
Crash Output
[Claude Chrome Native Host] Initializing...
[Claude Chrome Native Host] Creating socket listener: \.\pipe\claude-mcp-browser-bridge-Juri
============================================================
Bun v1.3.5 (1e86cebd) Windows x64 (baseline)
Windows v.win11_ge
CPU: sse42 avx avx2
Args: "C:\Users\Juri\.local\bin\claude.exe" "--chrome-native-host"
Features: Bun.stdin(2) jsc standalone_executable
Builtins: "bun:main" "node:buffer" "node:child_process" "node:crypto" "node:fs" "node:fs/promises" "node:net" "node:os" "node:path" "node:process" "node:stream" "node:timers/promises" "node:url" "node:util"
Elapsed: 277ms | User: 250ms | Sys: 78ms
RSS: 0.30GB | Peak: 0.30GB | Commit: 0.27GB | Faults: 75809 | Machine: 17.14GB
panic(main thread): Internal assertion failure
oh no: Bun has crashed. This indicates a bug in Bun, not your code.
https://bun.report/1.3.5/e_11e86cebEkgggC++08F+mvBoxhkf0389e__0shkwCA0eNrzzCtJLcpLzFFILC5OLSrJzM9TSEvMzCktSgUAiSkKPg
Crash Analysis
The Bun crash report points to:
MiniEventLoop.zigline 320:platformEventLoopassertion failureListener.zigline 115: failure during socketlistenoperation- The crash occurs when initializing the named pipe
\.\pipe\claude-mcp-browser-bridge-<username>
Environment
| Component | Version |
|-----------|---------|
| Claude Code | 2.1.34 |
| Chrome | 144.0.7559.133 |
| Extension | 1.0.47 (ID: fcoeoabgfenejglbffodgkkbkcdhcgfn) |
| Bun (embedded) | 1.3.5 |
| OS | Windows 11 23H2 (Build 22631) - AtlasOS |
| Virtualization | QEMU/KVM on Proxmox VE |
| CPU (guest) | QEMU Virtual CPU (x86-64-v3 type), sse42+avx+avx2 |
| RAM | 16 GB |
Additional Context
- AtlasOS is a debloated Windows 11 variant that removes telemetry and non-essential services. Some disabled services may affect Bun's event loop initialization.
- The native messaging host registry keys and manifest JSON are correctly configured.
- All critical system DLLs and services (RPC, DCOM, CryptSvc, etc.) are present and running.
- The crash is 100% reproducible on every invocation.
- Bun v1.3.8 is available upstream but Claude Code embeds v1.3.5.
Expected Behavior
The native messaging host should start successfully and create the named pipe for Chrome extension communication.
Actual Behavior
The process crashes with panic(main thread): Internal assertion failure before the pipe listener is established.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗