Desktop v1.1.65: RangeError: Maximum call stack size exceeded in tooltip (regression) #9289

Open
opened 2026-02-16 18:12:06 -05:00 by yindo · 2 comments
Owner

Originally created by @neocody on GitHub (Feb 13, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

Desktop app crashes immediately on launch with infinite recursion in the tooltip function. This persists across v1.1.64 and v1.1.65 on macOS (Apple Silicon).

This appears to be a regression of the issue fixed in v1.1.59 (Fix/reverception), but with a different call site.

Environment

  • OpenCode Desktop Version: 1.1.65 (also reproduces on 1.1.64)
  • OS: macOS 15.x (Apple Silicon)
  • CLI Version: 1.1.60

Steps to Reproduce

  1. Open OpenCode Desktop app
  2. App immediately shows RangeError modal

Troubleshooting Attempted (none resolved the issue)

  • Wiped ~/Library/Application Support/ai.opencode.desktop/ entirely
  • Cleared ~/Library/WebKit/ai.opencode.desktop/ and ~/Library/Caches/ai.opencode.desktop/
  • Disabled all plugins (empty plugin array in opencode.json)
  • Downgraded from v1.1.65 to v1.1.64
  • Killed Logi AI Prompt Builder and other accessibility-related processes
  • Fresh app data (deleted all .dat files, global.dat, default.dat, workspace files)

Stack Trace (Primary — tooltip recursion)

RangeError: Maximum call stack size exceeded.
tooltip@tauri://localhost/assets/session-CfjEucFw.js:42:25412
tooltip@tauri://localhost/assets/session-CfjEucFw.js:42:25412
tooltip@tauri://localhost/assets/session-CfjEucFw.js:42:25412
... (repeats hundreds of times)

Stack Trace (Secondary — bindings/aria-describedby)

RangeError: Maximum call stack size exceeded.
te@tauri://localhost/assets/bindings-efv5m1oc.js:1:6468
S@tauri://localhost/assets/bindings-efv5m1oc.js:1:1628
aria-describedby@tauri://localhost/assets/index-DuTmLSUP.js:2054:34973
get@tauri://localhost/assets/bindings-efv5m1oc.js:1:12890
get@tauri://localhost/assets/bindings-efv5m1oc.js:1:14015
get@tauri://localhost/assets/bindings-efv5m1oc.js:1:12890
get@tauri://localhost/assets/bindings-efv5m1oc.js:1:14015
Vn@tauri://localhost/assets/bindings-efv5m1oc.js:1:24377
...
children@tauri://localhost/assets/session-CfjEucFw.js:42:24323
pn@tauri://localhost/assets/bindings-efv5m1oc.js:1:12633

Notes

  • The CLI (opencode in terminal) works perfectly — issue is Desktop-only.
  • Possibly related to prior issues: #10185, #10193, #10194, #10202, [PR #2191] Make shimmer animations optional (#10225)
  • The v1.1.59 fix (Fix/reverception) does not appear to cover this code path. The recursion originates in session-CfjEucFw.js tooltip function and aria-describedby accessor in index-DuTmLSUP.js, suggesting a SolidJS reactive cycle in the tooltip component.

Plugins (disabled during testing, same result)

[
  "oh-my-opencode",
  "opencode-anthropic-auth",
  "opencode-antigravity-auth",
  "opencode-antigravity-quota",
  "opencode-openai-codex-auth",
  "opencode-command-hooks",
  "@slkiser/opencode-quota"
]
Originally created by @neocody on GitHub (Feb 13, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description Desktop app crashes immediately on launch with infinite recursion in the `tooltip` function. This persists across v1.1.64 and v1.1.65 on macOS (Apple Silicon). This appears to be a regression of the issue fixed in v1.1.59 (`Fix/reverception`), but with a different call site. ### Environment - **OpenCode Desktop Version:** 1.1.65 (also reproduces on 1.1.64) - **OS:** macOS 15.x (Apple Silicon) - **CLI Version:** 1.1.60 ### Steps to Reproduce 1. Open OpenCode Desktop app 2. App immediately shows RangeError modal ### Troubleshooting Attempted (none resolved the issue) - Wiped `~/Library/Application Support/ai.opencode.desktop/` entirely - Cleared `~/Library/WebKit/ai.opencode.desktop/` and `~/Library/Caches/ai.opencode.desktop/` - Disabled all plugins (empty plugin array in `opencode.json`) - Downgraded from v1.1.65 to v1.1.64 - Killed Logi AI Prompt Builder and other accessibility-related processes - Fresh app data (deleted all `.dat` files, `global.dat`, `default.dat`, workspace files) ### Stack Trace (Primary — tooltip recursion) ``` RangeError: Maximum call stack size exceeded. tooltip@tauri://localhost/assets/session-CfjEucFw.js:42:25412 tooltip@tauri://localhost/assets/session-CfjEucFw.js:42:25412 tooltip@tauri://localhost/assets/session-CfjEucFw.js:42:25412 ... (repeats hundreds of times) ``` ### Stack Trace (Secondary — bindings/aria-describedby) ``` RangeError: Maximum call stack size exceeded. te@tauri://localhost/assets/bindings-efv5m1oc.js:1:6468 S@tauri://localhost/assets/bindings-efv5m1oc.js:1:1628 aria-describedby@tauri://localhost/assets/index-DuTmLSUP.js:2054:34973 get@tauri://localhost/assets/bindings-efv5m1oc.js:1:12890 get@tauri://localhost/assets/bindings-efv5m1oc.js:1:14015 get@tauri://localhost/assets/bindings-efv5m1oc.js:1:12890 get@tauri://localhost/assets/bindings-efv5m1oc.js:1:14015 Vn@tauri://localhost/assets/bindings-efv5m1oc.js:1:24377 ... children@tauri://localhost/assets/session-CfjEucFw.js:42:24323 pn@tauri://localhost/assets/bindings-efv5m1oc.js:1:12633 ``` ### Notes - The CLI (`opencode` in terminal) works perfectly — issue is Desktop-only. - Possibly related to prior issues: #10185, #10193, #10194, #10202, #10225 - The v1.1.59 fix (`Fix/reverception`) does not appear to cover this code path. The recursion originates in `session-CfjEucFw.js` tooltip function and `aria-describedby` accessor in `index-DuTmLSUP.js`, suggesting a SolidJS reactive cycle in the tooltip component. ### Plugins (disabled during testing, same result) ```json [ "oh-my-opencode", "opencode-anthropic-auth", "opencode-antigravity-auth", "opencode-antigravity-quota", "opencode-openai-codex-auth", "opencode-command-hooks", "@slkiser/opencode-quota" ] ```
yindo added the web label 2026-02-16 18:12:06 -05:00
Author
Owner

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

This issue might be a duplicate of or related to existing RangeError issues. Please check if your specific tooltip-related regression is covered by:

  • #10225: RangeError: Maximum call stack size exceeded
  • #10202: RangeError: Maximum call stack size exceeded (web UI)
  • #10193: opencode web cant open RangeError: Maximum call stack size exceeded
  • #10194: RangeError: Maximum call stack size exceeded in Web UI during initialization

However, your detailed stack traces pinpointing the tooltip function and aria-describedby accessor suggest this may be a distinct regression path worth investigating separately. The specific mention of the v1.1.59 fix and SolidJS reactive cycle context is helpful for diagnosis.

@github-actions[bot] commented on GitHub (Feb 13, 2026): This issue might be a duplicate of or related to existing RangeError issues. Please check if your specific tooltip-related regression is covered by: - #10225: RangeError: Maximum call stack size exceeded - #10202: RangeError: Maximum call stack size exceeded (web UI) - #10193: opencode web cant open RangeError: Maximum call stack size exceeded - #10194: RangeError: Maximum call stack size exceeded in Web UI during initialization However, your detailed stack traces pinpointing the `tooltip` function and `aria-describedby` accessor suggest this may be a distinct regression path worth investigating separately. The specific mention of the v1.1.59 fix and SolidJS reactive cycle context is helpful for diagnosis.
Author
Owner

@neocody commented on GitHub (Feb 13, 2026):

Reviewed all four referenced issues:

  • #10225, #10202, #10193, #10194 — These were all reported against v1.1.33 and involved the web UI (index-Bj9zfj-u.js). The fix landed in v1.1.59 via the Fix/reverception PR (#13166).

This issue is distinct:

  1. Version: Reproduces on v1.1.64 and v1.1.65 — well after the v1.1.59 fix
  2. Call site: Recursion originates in session-CfjEucFw.js:42:25412 (tooltip function) and bindings-efv5m1oc.js (aria-describedby / SolidJS reactivity), not index-Bj9zfj-u.js
  3. Platform: Desktop app (Tauri), not opencode web
  4. Persistence: Survives full data wipe (~/Library/Application Support/ai.opencode.desktop, WebKit cache, all .dat files), all plugins disabled, and version downgrade — ruling out corrupted state

This appears to be a separate reactive cycle in the Desktop tooltip component that the v1.1.59 fix did not address.

@neocody commented on GitHub (Feb 13, 2026): Reviewed all four referenced issues: - **#10225, #10202, #10193, #10194** — These were all reported against **v1.1.33** and involved the web UI (`index-Bj9zfj-u.js`). The fix landed in **v1.1.59** via the `Fix/reverception` PR (#13166). This issue is distinct: 1. **Version**: Reproduces on v1.1.64 and v1.1.65 — well after the v1.1.59 fix 2. **Call site**: Recursion originates in `session-CfjEucFw.js:42:25412` (tooltip function) and `bindings-efv5m1oc.js` (aria-describedby / SolidJS reactivity), not `index-Bj9zfj-u.js` 3. **Platform**: Desktop app (Tauri), not `opencode web` 4. **Persistence**: Survives full data wipe (`~/Library/Application Support/ai.opencode.desktop`, WebKit cache, all `.dat` files), all plugins disabled, and version downgrade — ruling out corrupted state This appears to be a separate reactive cycle in the Desktop tooltip component that the v1.1.59 fix did not address.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9289