1.1.57.0 OpenCode Desktop bug after update: Freezes, terminal loop - No longer usable #9082

Closed
opened 2026-02-16 18:11:35 -05:00 by yindo · 5 comments
Owner

Originally created by @wbdb on GitHub (Feb 11, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

I just installed the suggested update 1.1.57.0. When OpenCode opens/also after closing and reopening, a Windows terminal starts up in sequence and closes again immediately.

The entire application becomes unusable and the system freezes. I had to force quit the application to regain access to the system.

Logfiles: C:\Users\<user>\.local\share\opencode\log -> Nothing that indicates an error.

$paths = @(
  Join-Path $env:USERPROFILE '.local\share\opencode\log'
  Join-Path $env:APPDATA     'opencode\log'
)

$paths | Where-Object { Test-Path $_ } | ForEach-Object {
  "`n=== $_ ==="
  Get-ChildItem $_ -Filter *.log | Sort-Object LastWriteTime -Descending | Select-Object -First 3 | ForEach-Object {
    "`n--- $($_.Name) ---"
    Select-String -Path $_.FullName -Pattern 'error|exception|fatal|panic|traceback' -CaseSensitive:$false | Select-Object -First 50
  }
}

No results:

--- 2026-02-11T135335.log ---

--- 2026-02-11T135155.log ---

--- 2026-02-11T135118.log ---

...

Plugins

None manual installed

OpenCode version

1.1.57.0

Steps to reproduce

  1. Install update
  2. Start OpenCode

Screenshot and/or share link

Unfortunately, it is not possible to take a screenshot because it would cause the entire system to freeze.

Operating System

Windows 11 Pro

Terminal

Windows Terminal

Originally created by @wbdb on GitHub (Feb 11, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description I just installed the suggested update 1.1.57.0. When OpenCode opens/also after closing and reopening, a Windows terminal starts up in sequence and closes again immediately. The entire application becomes unusable and the system freezes. I had to force quit the application to regain access to the system. Logfiles: `C:\Users\<user>\.local\share\opencode\log` -> Nothing that indicates an error. ``` $paths = @( Join-Path $env:USERPROFILE '.local\share\opencode\log' Join-Path $env:APPDATA 'opencode\log' ) $paths | Where-Object { Test-Path $_ } | ForEach-Object { "`n=== $_ ===" Get-ChildItem $_ -Filter *.log | Sort-Object LastWriteTime -Descending | Select-Object -First 3 | ForEach-Object { "`n--- $($_.Name) ---" Select-String -Path $_.FullName -Pattern 'error|exception|fatal|panic|traceback' -CaseSensitive:$false | Select-Object -First 50 } } ``` No results: > --- 2026-02-11T135335.log --- > > --- 2026-02-11T135155.log --- > > --- 2026-02-11T135118.log --- > > ... ### Plugins None manual installed ### OpenCode version 1.1.57.0 ### Steps to reproduce 1. Install update 2. Start OpenCode ### Screenshot and/or share link Unfortunately, it is not possible to take a screenshot because it would cause the entire system to freeze. ### Operating System Windows 11 Pro ### Terminal Windows Terminal
yindo added the windowsbugweb labels 2026-02-16 18:11:35 -05:00
yindo closed this issue 2026-02-16 18:11:35 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 11, 2026):

This issue appears to be a duplicate of #13153 - "Tons of shell Windows", which describes the exact same problem occurring after the v1.1.57 update on Windows 11.

Please check that issue to see if there's already a discussion or fix in progress.

@github-actions[bot] commented on GitHub (Feb 11, 2026): This issue appears to be a duplicate of #13153 - "Tons of shell Windows", which describes the exact same problem occurring after the v1.1.57 update on Windows 11. Please check that issue to see if there's already a discussion or fix in progress.
Author
Owner

@taroj1205 commented on GitHub (Feb 11, 2026):

I think this is related to the WSL support that was added in the latest update.

@taroj1205 commented on GitHub (Feb 11, 2026): I think this is related to the WSL support that was added in the latest update.
Author
Owner

@wbdb commented on GitHub (Feb 11, 2026):

@taroj1205 I use OpenCode on Windows, but I also have WSL2 installed for Codex, etc. with Ubuntu.

@wbdb commented on GitHub (Feb 11, 2026): @taroj1205 I use OpenCode on Windows, but I also have WSL2 installed for Codex, etc. with Ubuntu.
Author
Owner

@canforgive commented on GitHub (Feb 11, 2026):

I meet that bug too after i update from 1.1.56.0. Now the program is dead to use.
The problem is i want to return to 1.1.56.0, but the installer told me i need to uninstall then install the old version, i dont know if it will delete my chat history or not.
Just wait for the fix. It's now midnight for me,go to sleep :(

@canforgive commented on GitHub (Feb 11, 2026): I meet that bug too after i update from 1.1.56.0. Now the program is dead to use. The problem is i want to return to 1.1.56.0, but the installer told me i need to uninstall then install the old version, i dont know if it will delete my chat history or not. Just wait for the fix. It's now midnight for me,go to sleep :(
Author
Owner

@R44VC0RP commented on GitHub (Feb 11, 2026):

Duplicate of #13153.

This is a regression from v1.1.57. PR #13084 added Windows app detection that runs where and reg commands on startup to check which editors are installed. The code uses std::process::Command without the CREATE_NO_WINDOW flag, so each command spawns a visible terminal window.

The app checks 5 different editors (VS Code, Cursor, Zed, PowerShell, Sublime Text) and runs multiple where commands for each one with name variations. That's why you're seeing dozens of terminal windows spawning.

The fix is to add .creation_flags(0x08000000) (CREATE_NO_WINDOW) to the Command builders in packages/desktop/src-tauri/src/lib.rs at lines 320 and 421.

Closing as duplicate - we'll track the fix in #13153.

@R44VC0RP commented on GitHub (Feb 11, 2026): Duplicate of #13153. This is a regression from v1.1.57. PR #13084 added Windows app detection that runs `where` and `reg` commands on startup to check which editors are installed. The code uses `std::process::Command` without the `CREATE_NO_WINDOW` flag, so each command spawns a visible terminal window. The app checks 5 different editors (VS Code, Cursor, Zed, PowerShell, Sublime Text) and runs multiple `where` commands for each one with name variations. That's why you're seeing dozens of terminal windows spawning. The fix is to add `.creation_flags(0x08000000)` (CREATE_NO_WINDOW) to the Command builders in `packages/desktop/src-tauri/src/lib.rs` at lines 320 and 421. Closing as duplicate - we'll track the fix in #13153.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9082