anomalyco / anomalyco/opencode
windows app crashed
@Hona is already working on this.
Since Jul 26, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
using opencode cli and windows app long ago more than one windows 11 system and after sometime uses the desktop app get crashed and on uninstall and install again even not open
is there any this kind of bug anybody experience?
Bug Description
The OpenCode CLI works perfectly, but the OpenCode Desktop application fails to launch on Windows. Clicking the shortcut or
launching OpenCode.exe creates a brief background process that exits silently within milliseconds without displaying any GUI
window.
This issue persists across multiple Windows machines and clean reinstalls (even after clearing `%USERPROFILE%\.
local\share\opencodeand%APPDATA%\ai.opencode.desktop`).
---
### System & Environment Information
- **OS:** Windows 10/11 (x64)
- **OpenCode Version:** `1.18.5` (packaged: true)
- **App Type:** OpenCode Desktop (`@opencode-aidesktop`)
- **CLI Status:** Working normally (`opencode` CLI operates without issues)
---
### Steps to Reproduce
1. Install OpenCode Desktop v1.18.5 on a Windows machine.
2. Double-click the OpenCode Desktop shortcut or run `OpenCode.exe`.
3. Observe that no GUI window opens, and the process terminates silently within 1-2 seconds.
---
### Expected Behavior
The OpenCode Desktop window should launch and render the application UI.
---
### Actual Behavior
The main process spawns the sidecar server (`http://127.0.0.1:64411`), but immediately crashes when initializing the Electron
GPU utility process (exitCode: -2147483645), causing the entire desktop app to abort.
---
### Log Extracts
#### 1. `utility.log` (`%APPDATA%\ai.opencode.desktop\logs\<timestamp>\utility.log`)
```text
[2026-07-26 07:49:37.070] [error] (utility) child process gone {
details: {
type: 'GPU',
reason: 'crashed',
exitCode: -2147483645,
serviceName: 'GPU'
}
}
[2026-07-26 07:49:37.926] [error] (utility) child process gone {
details: {
type: 'GPU',
reason: 'crashed',
exitCode: -2147483645,
serviceName: 'GPU'
}
}
2. main.log ( %APPDATA%\ai.opencode.desktop\logs<timestamp>\main.log )
[2026-07-26 07:49:36.253] [info] app starting { version: '1.18.5', packaged: true, onboardingTest: false }
[2026-07-26 07:49:36.338] [info] tauri migration: already done, skipping
[2026-07-26 07:49:36.387] [info] auto updater configured {
channel: 'latest',
allowPrerelease: false,
allowDowngrade: true,
currentVersion: '1.18.5'
}
[2026-07-26 07:49:36.392] [info] updater state changed { from: 'idle', to: 'checking' }
[2026-07-26 07:49:36.396] [info] Checking for update
[2026-07-26 07:49:37.172] [info] sidecar connection started { url: 'http://127.0.0.1:64411' }
[2026-07-26 07:49:37.173] [info] spawning sidecar { url: 'http://127.0.0.1:64411' }
[2026-07-26 07:49:38.264] [info] Update for version 1.18.5 is not available (latest version: 1.18.5, downgrade is
allowed).
[2026-07-26 07:49:38.276] [info] updater state changed { from: 'checking', to: 'up-to-date' }
──────
Additional Context / Root Cause Analysis
The logs indicate that while the backend sidecar server successfully initializes on http://127.0.0.1:64411 , the Electron GPU
compositing process throws an unhandled breakpoint exception ( exitCode: -2147483645 / 0x80000003 ). Because the GPU child
process fails twice during startup, Electron terminates the main application.
Adding fallback error handling for GPU process crashes or configuring --in-process-gpu / fallback rendering flags on Windows
startup would prevent the application from exiting silently.
Plugins
No response
OpenCode version
v1.18.5
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
powershell
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.