Critical regression: OpenCode 1.0.201 causes random full OS restarts on Pop!_OS (Wayland, AMD APU) #3865

Closed
opened 2026-02-16 17:41:44 -05:00 by yindo · 5 comments
Owner

Originally created by @jablain on GitHub (Dec 25, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

Summary

After upgrading to OpenCode 1.0.201, my system running Pop!_OS experiences random, ungraceful full OS restarts while OpenCode is running. This does not occur with earlier OpenCode versions and appears to be a regression introduced in 1.0.201.

The restarts are hard system resets (no logout, no shutdown sequence).


Environment

  • OS: Pop!_OS (Wayland session)
  • Kernel: 6.17.4-76061704-generic
  • CPU: AMD Ryzen 7 7735HS
  • GPU: AMD Radeon 680M (Rembrandt, integrated)
  • OpenGL renderer: AMD Radeon 680M (radeonsi, Mesa / LLVM 15.0.7)
  • Display server: Wayland
  • Node.js: v24.11.0 (via nvm)

OpenCode installation

  • OpenCode version: 1.0.201
  • Install method: npm install (opencode-ai) inside nvm
  • Executed binary:
    ~/.config/nvm/versions/node/v24.11.0/bin/opencode
  • OpenCode maintains a self-updating runtime under:
    ~/.opencode

Expected behavior

OpenCode should run without causing system instability or OS restarts.


Actual behavior

While OpenCode is running, the system randomly reboots without warning.
There is no graceful shutdown and no user interaction triggering the reboot.


Reproducibility

  • Reproduces consistently with OpenCode 1.0.201
  • Does not occur with earlier OpenCode versions (confirmed by downgrading)
  • Restart occurs after variable runtime (from minutes to tens of minutes)
  • Issue does not occur when OpenCode is not running

Additional notes

  • Auto-update has been disabled to prevent further upgrades.
  • System is using AMD APU + Wayland + Mesa (no NVIDIA drivers installed).
  • I can provide logs (journalctl, dmesg) or test pre-release builds if helpful.

Severity

This issue causes full, ungraceful OS restarts and makes OpenCode unusable on this system.

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @jablain on GitHub (Dec 25, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description ### Summary After upgrading to **OpenCode 1.0.201**, my system running **Pop!_OS** experiences **random, ungraceful full OS restarts** while OpenCode is running. This does **not** occur with earlier OpenCode versions and appears to be a regression introduced in 1.0.201. The restarts are hard system resets (no logout, no shutdown sequence). --- ### Environment - OS: Pop!_OS (Wayland session) - Kernel: 6.17.4-76061704-generic - CPU: AMD Ryzen 7 7735HS - GPU: AMD Radeon 680M (Rembrandt, integrated) - OpenGL renderer: AMD Radeon 680M (radeonsi, Mesa / LLVM 15.0.7) - Display server: Wayland - Node.js: v24.11.0 (via nvm) --- ### OpenCode installation - OpenCode version: **1.0.201** - Install method: **npm install (opencode-ai) inside nvm** - Executed binary: `~/.config/nvm/versions/node/v24.11.0/bin/opencode` - OpenCode maintains a self-updating runtime under: `~/.opencode` --- ### Expected behavior OpenCode should run without causing system instability or OS restarts. --- ### Actual behavior While OpenCode is running, the system **randomly reboots without warning**. There is no graceful shutdown and no user interaction triggering the reboot. --- ### Reproducibility - Reproduces consistently with OpenCode **1.0.201** - Does **not** occur with earlier OpenCode versions (confirmed by downgrading) - Restart occurs after variable runtime (from minutes to tens of minutes) - Issue does not occur when OpenCode is not running --- ### Additional notes - Auto-update has been disabled to prevent further upgrades. - System is using AMD APU + Wayland + Mesa (no NVIDIA drivers installed). - I can provide logs (`journalctl`, `dmesg`) or test pre-release builds if helpful. --- ### Severity This issue causes **full, ungraceful OS restarts** and makes OpenCode unusable on this system. ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bugperf labels 2026-02-16 17:41:44 -05:00
yindo closed this issue 2026-02-16 17:41:44 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 25, 2025):

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

  • #5361: TUI freezes for ~10 seconds periodically on WSL2 (regression in v1.0.129) - Similar regression pattern in a recent version
  • #6080: OpenCode TUI Hangs on Fedora Linux (npm & bun & standalone) - Similar system hang issue on Linux distro
  • #5461: [Desktop/experimental] Fedora 42 crash to desktop - System-level crash on Linux

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Dec 25, 2025): This issue might be a duplicate of existing issues. Please check: - #5361: TUI freezes for ~10 seconds periodically on WSL2 (regression in v1.0.129) - Similar regression pattern in a recent version - #6080: OpenCode TUI Hangs on Fedora Linux (npm & bun & standalone) - Similar system hang issue on Linux distro - #5461: [Desktop/experimental] Fedora 42 crash to desktop - System-level crash on Linux Feel free to ignore if none of these address your specific case.
Author
Owner

@jablain commented on GitHub (Dec 25, 2025):

On Linux, OpenCode appears to ignore autoupdate:false unless set in ~/.config/opencode/opencode.json, and/or it still attempts updates unless OPENCODE_DISABLE_AUTOUPDATE=true is set. It also appears to stage updates under ~/.local/share/opencode.

@jablain commented on GitHub (Dec 25, 2025): On Linux, OpenCode appears to ignore autoupdate:false unless set in ~/.config/opencode/opencode.json, and/or it still attempts updates unless OPENCODE_DISABLE_AUTOUPDATE=true is set. It also appears to stage updates under ~/.local/share/opencode.
Author
Owner

@jablain commented on GitHub (Dec 25, 2025):

Please hold on this bug report. I think I am closing in on the cause on my side. I will report on findings once I am done

@jablain commented on GitHub (Dec 25, 2025): Please hold on this bug report. I think I am closing in on the cause on my side. I will report on findings once I am done
Author
Owner

@jablain commented on GitHub (Dec 25, 2025):

While I do not have an exact explanation, I was able to get this OS crash and reset issue completely fixed by removing my Zen account from the auth list. Once this was rtemoved the problem went away. I know this is not very helpfull to squash this bug but it definately was related to my Zen account and not to a specific version of Opencode or the OS as far as I can tell

@jablain commented on GitHub (Dec 25, 2025): While I do not have an exact explanation, I was able to get this OS crash and reset issue completely fixed by removing my Zen account from the auth list. Once this was rtemoved the problem went away. I know this is not very helpfull to squash this bug but it definately was related to my Zen account and not to a specific version of Opencode or the OS as far as I can tell
Author
Owner

@jablain commented on GitHub (Dec 25, 2025):

Should this issue be closed ? I am not sure how you proceed with these types of events. So I will let you decide. On my side the problem is resolved.

@jablain commented on GitHub (Dec 25, 2025): Should this issue be closed ? I am not sure how you proceed with these types of events. So I will let you decide. On my side the problem is resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3865