Skip to content

[Bug]: Desktop IPC handler failed — Server process exited with code 3221225785 (0xC0000005) on Windows 10 #51280

Closed as not planned

Description

@DevBadshah

Description

Upon launching the OpenCode Desktop app, a "Something went wrong" error screen immediately appears stating that an error occurred while starting the local server. The underlying server process exits with code 3221225785 (0xC0000005 Access Violation), preventing the app from starting.

To Reproduce

Launch OpenCode Desktop on Windows 10.

The splash/loading screen fails to connect to the backend sidecar.

The error screen appears with Desktop IPC handler failed.

Error Logs

Plaintext
Error: Desktop IPC handler failed
at Kt (oc://renderer/assets/main-CPcOeTnu.js:2:30447)
at Gt (oc://renderer/assets/main-CPcOeTnu.js:2:30115)
at MessagePort. (oc://renderer/assets/main-CPcOeTnu.js:2:29120)

────────────────────────────────────────
Caused by:
{
"name": "UnknownError",
"message": "An error occurred in Effect.tryPromise",
"cause": {
"name": "Error",
"message": "Server process exited with code 3221225785"
}
}
Troubleshooting Steps Tried (None Resolved the Issue)

Full System Reset: Completely reset the PC and performed a fresh install of OpenCode Desktop.

Visual C++ Redistributable: Installed/repaired the latest Microsoft Visual C++ Redistributable (x64 v14.51.36247).

Directory Recreation: Manually created the missing %USERPROFILE%.local\share and cleared app data (%APPDATA%\OpenCode, %LOCALAPPDATA%\opencode-desktop, .cache, .config).

Permissions & Antivirus: Executed the setup installer (opencode-desktop-win-x64) as Administrator and temporarily disabled Windows Defender Real-time Protection.

GPU Hardware Acceleration: Added the --disable-gpu flag to the desktop shortcut executable target.

Desktop Environment:

OS: Windows 10 Home/Pro (Version 1709 / Build 16299.1127)

Architecture: x64

Installer Version: opencode-desktop-win-x64.exe

Additional Context
The crash code 3221225785 corresponds to 0xC0000005 (Access Violation), indicating that the bundled local server sidecar binary fails to execute on this specific Windows release build or CPU instruction set during initialization.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Sep 25, 2026

    @github-actions
    Contributor

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

  2. alexschultze commented on Oct 16, 2026

    @alexschultze

    I have similar issue, but only on a constrained PC on OpenCode 2. Which version are you on?

  3. marked 启动报错 #51284 as a duplicate of this issue on Oct 20, 2026
  4. opencodejr commented on Oct 28, 2026

    @opencodejr
    Contributor

    Thanks for the detailed report and for listing everything you've already tried.

    One correction that may help: exit code 3221225785 is 0xC0000139 (STATUS_ENTRYPOINT_NOT_FOUND), not 0xC0000005. It usually means a program needs a function in a Windows system DLL that this Windows version doesn't have. Your build (Windows 10 1709 / 16299) is from 2017, so the OS version may well be the cause.

    To narrow it down, could you share:

    1. The OpenCode Desktop version (from the installer's file name, the About screen, or Apps & features).
    2. The server's own error output. If the error screen or the app's log folder shows any stderr or log text from the server process, please paste it.
    3. Whether the CLI fails the same way. If you can, install the CLI (npm i -g @opencode/cli) and run opencode --version and opencode serve from a terminal. Tell us whether it starts, or paste the error or any Windows pop-up about a missing entry point or DLL.
    4. Whether it works on a newer Windows 10 build (e.g. 22H2), if you're able to update or try another machine.

    You can reply here with the details or edit the issue. If you edit it, please also leave a comment saying you've updated it so we know when you're done.

    Related issue (not the same exit code):

  5. opencodejr commented on Oct 31, 2026

    @opencodejr
    Contributor

    We're closing this for now because we haven't heard back. We still need the OpenCode Desktop version, the server's error output, and whether opencode serve from the CLI fails the same way.

    The exit code 3221225785 (0xC0000139, entry point not found) suggests the server may need a Windows feature that Windows 10 1709 doesn't have, but we can't confirm that without those details. If you can share them, or try a newer Windows 10 build, please comment here or open a new issue and link #51280. Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions