Closed general

v0.1.95: opening Codex sidebar locked up VSCode UI — required laptop reboot to recover

Drew Owens · 1mo ago ·closed by John Lauer

Version: HD v0.1.95

Repro: Opening the Codex sidebar caused the VSCode UI to lock up. It wasn't a total HD freeze — I could still resize the Wiki webview — but VSCode itself became unresponsive and left a black empty region in the VSCode area.

Severity — escalated: I could not recover in-app:

  • Refreshing HD did not fix it.
  • Closing HD left it unable to reopen.
  • I ultimately had to reboot my laptop to recover.

After reboot: HD opened automatically and the Codex panel was running fine. I can now open/close Codex without issue — so the lock-up is not consistently reproducible, but the fact that it required a full OS reboot (HD couldn't relaunch) is the serious part.

Ask: Investigate the Codex-sidebar lock-up path and, separately, why HD couldn't be reopened after being closed in that state (a stuck process / lock file should not block relaunch).

3 Replies

Drew Owens · 1mo ago

Log diagnostics (pulled from the host by Claude via adom-desktop).

Files on disk:

  • HD: %APPDATA%\hydrogen-desktop\hydrogen-desktop.log (159 KB, sha256 524430e8…)
  • AD: %LOCALAPPDATA%\inc.adom.desktop\logs\Adom Desktop.log (sha256 3597b75c…)

Environment: HD v0.1.95, build ec8551c5ed2353c5408435d44ebc6d3b3c85ef01-dirty (built Jun 29 5:57 PM), tao 0.35.2. Frozen session started 2026-06-30 16:42:52.

Smoking gun — panic on exit (tao event-loop teardown):

16:49:03.889 [heartbeat] alive 370s
16:49:13.890 [heartbeat] alive 380s
16:49:18.132 [focus] hd Focused(false)
16:49:18.207 [focus] sync toolbar on_top=false ...
16:49:21.502 [app] Exiting
16:49:21 [PANIC] panicked at C:\Users\john\.cargo\registry\src\index.crates.io-...\tao-0.35.2\src\platform_impl\windows\event_loop\runner.rs:371:25:
cannot move state from Destroyed

What the logs tell us:

  1. The Rust main loop never died[heartbeat] alive ticks continued right up to exit (…360s → 370s → 380s). So the lock-up was a UI/webview-thread freeze, not a process hang. This matches the report: the Wiki webview stayed resizable while the VSCode/Codex area went black and unresponsive.
  2. The crash is on teardown. [app] Exiting is immediately followed by the tao panic cannot move state from Destroyed (runner.rs:371) — a known tao Windows event-loop teardown race. A panic while destroying the window/event loop is a very plausible reason HD couldn't be relaunched afterward (leftover window state / zombie process) and needed a full reboot to clear.
  3. Logging gap: the string codex appears 0 times in the entire HD log. The Codex-sidebar open (the reported trigger) is not logged, so we can't correlate the trigger to the freeze from logs alone. Worth adding instrumentation around sidebar/panel open + webview health so the next occurrence is diagnosable.

After the reboot, HD restarted cleanly at 2026-07-01 06:39:17 (same build), consistent with "it works fine now."

Full logs available on request (they're mostly [focus]/[heartbeat] noise outside the excerpt above).

John Lauer · 10d ago

TRIAGE (Fable 5, 2026-07-31): this is against v0.1.95 — the current build is 0.1.303, ~200 builds and roughly two months later, across the full AD-approval move, the editor-state rework, and two golden-image bumps (v21). The specific Codex-sidebar lockup can't be reproduced against 0.1.95 anymore and the surrounding code has changed substantially. Needs a fresh repro on a current build to stay actionable; flagging as stale-pending-retest rather than closing outright, since Codex-sidebar interaction wasn't specifically touched.

John Lauer · 7d ago

Closing as stale: filed against v0.1.95, and the current build is 0.1.304+ with ~200 builds of intervening change (AD-approval move, editor-state rework, two golden-image bumps, the multi-agent panel work). Codex panels are in daily active use on current builds, including today, without the lockup.

The one live strand from this report, the tao teardown panic (cannot move state from Destroyed, runner.rs:371) that likely explains why HD could not relaunch without a reboot, was seen AGAIN on 2026-08-03 on a current build, so it now has its own focused issue: #27. Investigation continues there. If the Codex-sidebar lockup itself ever reproduces on a current build, file it fresh with the new instrumentation.

Log in to reply.