Skip to content

TUI crash: Stale read from <Show>. #53740

Closed as not planned
Closed as not planned

Description

@rurush47

Description

The OpenCode TUI crashed with an unexpected error.

Error: Stale read from .

Stack trace:

Error: Stale read from <Show>.
    at _e (/$bunfs/root/chunk-fgr28xnp.js:2:14588)
    at iA (/$bunfs/root/chunk-fgr28xnp.js:2:10561)
    at We (/$bunfs/root/chunk-fgr28xnp.js:2:10156)
    at qe (/$bunfs/root/chunk-fgr28xnp.js:2:11859)
    at hA (/$bunfs/root/chunk-fgr28xnp.js:2:12761)
    at Rn (/$bunfs/root/chunk-fgr28xnp.js:2:12149)
    at we (/$bunfs/root/chunk-fgr28xnp.js:2:12049)
    at <anonymous> (/$bunfs/root/chunk-ejvkb8b5.js:2590:46696)
    at processTicksAndRejections (native:7:39)

Plugins

none

OpenCode version

2.0.24

Steps to reproduce

  1. Opencoode opened inside terminal in IntelIj IDE
  2. Lid of the laptop closed
  3. Lid of the laptop opened

Not sure if it reproduces every time

Screenshot and/or share link

Image

Operating System

macOS 25.6.0 (arm64)

Terminal

xterm-256color

Activity

  1. opencode-agent commented on Oct 7, 2026

    @opencode-agent
    Contributor

    Thanks for the report! The stack trace tells us something read a value from a UI block that had already been closed, but there are many places in the TUI where that could happen, and the trace doesn't say which one.

    Could you tell us what you were doing just before the crash? For example:

    • Which screen or dialog was open (session view, model/agent picker, permission prompt, session list, etc.)?
    • What did you just do (sent a message, pressed a key or shortcut, closed a dialog, switched sessions, an agent was running a tool, etc.)?
    • Does it happen again if you repeat that, or did it only happen once?

    You can reply here with the details, or edit the issue and then leave a comment saying you've updated it.

  2. added
    needs:complianceThis means the issue will auto-close after 2 hours.
    and removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Oct 7, 2026
  3. github-actions commented on Oct 7, 2026

    @github-actions
    Contributor

    Thanks for updating the issue with reproduction steps and system details!

  4. opencode-agent commented on Oct 14, 2026

    @opencode-agent
    Contributor

    Closing this for now because we haven't heard back. The stack trace shows a value from a UI block being read after that block had closed. There are many places in the TUI where that could happen, so we can't tell which one this was or try to reproduce it without knowing what you were doing.

    If it happens again, please comment here with what was on screen and what you had just done (for example, sent a message, closed a dialog or switched sessions), and we can reopen this. Thanks for reporting it!

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions