Skip to content

Renderer unresponsive (freezes) with Solid.js findDOMIndex infinite loop - OpenCode 1.16.2 #31099

Closed as not planned

Description

@Timmycosmos

Bug Description

OpenCode desktop v1.16.2 renderer process becomes unresponsive after ~12 minutes of use. The window freezes and shows "renderer unresponsive" in the window log.

Environment

  • OpenCode version: 1.16.2 (packaged)
  • Platform: macOS (darwin, arm64)
  • Electron: 41.2.1 (Chrome 146)
  • Node: 24.14.1

Stack Trace

The hang occurs in the Solid.js reactivity system, specifically in findDOMIndex during registerItem → findDOMIndex → setValue → completeLoad:

at findDOMIndex (main-CMia5thD.js:85569:3)
at main-CMia5thD.js:85670:21
at accessWith (main-CMia5thD.js:8340:44)
at setValue (main-CMia5thD.js:9594:5)
at Object.registerItem (main-CMia5thD.js:85669:5)
at Object.fn (main-CMia5thD.js:85706:32)
at runComputation (main-CMia5thD.js:487:22)
at updateComputation (main-CMia5thD.js:470:3)
at runTop (main-CMia5thD.js:566:7)
at runUserEffects (main-CMia5thD.js:660:39)
at completeLoad (main-CMia5thD.js:167:5)

Full debug dump exported at the time of the freeze is available.

Steps to Reproduce

  1. Start OpenCode desktop v1.16.2
  2. Use normally (chat, code edits, etc.)
  3. After ~12 minutes the UI freezes
  4. Eventually the OS shows "renderer unresponsive" dialog

Additional Observations

  • This happened across multiple sessions (at least 2 consecutive sessions)
  • The ResizeObserver warning appears in renderer log before the freeze
  • There is a pending Crashpad minidump at ~/Library/Application Support/ai.opencode.desktop/Crashpad/pending/0d103bb8-9d9c-459a-9b6b-5c8fc368ea1f.dmp (900KB) if needed for debugging

Related Server Errors

The server also logs repeated ENOENT errors when a configured workspace path (/Users/timmy/writing-plotter-cad-test/plotter_console) does not exist on disk - but this may be unrelated to the renderer hang.

Activity

  1. github-actions commented on Jun 6, 2026

    @github-actions
    Contributor

    This issue might be related to an existing open issue. Please check:

    The root causes appear distinct, but they share the same renderer-freeze symptom on v1.16.x. Linking for cross-reference in case they share a common regression.

  2. Timmycosmos commented on Jun 6, 2026

    @Timmycosmos
    Author

    Attaching crashpad dump for debugging the renderer unresponsive issue.

  3. Timmycosmos commented on Jun 6, 2026

    @Timmycosmos
    Author

    Crashpad .dmp file (900KB) from the renderer unresponsive freeze.

  4. Timmycosmos commented on Jun 6, 2026

    @Timmycosmos
    Author

    Crashpad minidump attached:
    https://raw.githubusercontent.com/Timmycosmos/mere/main/opencode-crashpad-0d103bb8.dmp

    (This file will be cleaned up after the issue is resolved.)

  5. github-actions commented on Aug 6, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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