Segmentation fault on Windows ARM64 #7387

Open
opened 2026-02-16 18:07:01 -05:00 by yindo · 1 comment
Owner

Originally created by @TianjinAI on GitHub (Jan 23, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

OpenCode crashes with "Segmentation fault" when running on Windows ARM64 (under x64 emulation).

Environment:

OS: Windows 11 ARM64
OpenCode version: 1.1.32
Installation method: npm (npm install -g opencode-ai)
Architecture: ARM64 running x64 binary via emulation
Steps to reproduce:

Install OpenCode: npm install -g opencode-ai
Run: opencode or opencode --port 34802
Observe: Segmentation fault
Expected: OpenCode TUI or server starts
Actual: Segmentation fault

Additional context:

The binary launches and loads config (visible in logs at ~/.local/share/opencode/log/)
Crash occurs after initial setup, before UI renders
Likely related to Bun runtime x64 emulation on ARM64
Request: Native ARM64 Windows build, or investigation into emulation compatibility.

Plugins

Oh-my-opencode

OpenCode version

OpenCode 1.1.32 (via npm)

Steps to reproduce

  1. Install opencode via npm
  2. Run: opencode --port 34802
  3. Result: Segmentation fault

Screenshot and/or share link

No response

Operating System

Windows 11 ARM64

Terminal

Windows PowerShell, VS Code

Originally created by @TianjinAI on GitHub (Jan 23, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description OpenCode crashes with "Segmentation fault" when running on Windows ARM64 (under x64 emulation). Environment: OS: Windows 11 ARM64 OpenCode version: 1.1.32 Installation method: npm (npm install -g opencode-ai) Architecture: ARM64 running x64 binary via emulation Steps to reproduce: Install OpenCode: npm install -g opencode-ai Run: opencode or opencode --port 34802 Observe: Segmentation fault Expected: OpenCode TUI or server starts Actual: Segmentation fault Additional context: The binary launches and loads config (visible in logs at ~/.local/share/opencode/log/) Crash occurs after initial setup, before UI renders Likely related to Bun runtime x64 emulation on ARM64 Request: Native ARM64 Windows build, or investigation into emulation compatibility. ### Plugins Oh-my-opencode ### OpenCode version OpenCode 1.1.32 (via npm) ### Steps to reproduce 1. Install opencode via npm 2. Run: opencode --port 34802 3. Result: Segmentation fault ### Screenshot and/or share link _No response_ ### Operating System Windows 11 ARM64 ### Terminal Windows PowerShell, VS Code
yindo added the windowsbugperf labels 2026-02-16 18:07:01 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 23, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #4340: [FEATURE]: Add Windows arm64 support - Requests native ARM64 Windows support instead of x64 emulation

Feel free to ignore if this doesn't address your specific case.

@github-actions[bot] commented on GitHub (Jan 23, 2026): This issue might be a duplicate of existing issues. Please check: - #4340: [FEATURE]: Add Windows arm64 support - Requests native ARM64 Windows support instead of x64 emulation Feel free to ignore if this doesn't address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7387