Skip to content

Windows startup hangs every restart with Remote enabled on two machines; renderer-only reset restores UI (build 12553) #49932

Open

Description

@xennon101

Windows desktop startup remains on loading animation; Mobile Remote renderer reset restores UI

Version and platform

Collected 2026-10-01. Windows 11 Pro 25H2 x64, 10.0.26200.9457. Microsoft Store/MSIX package OpenAI.Codex 26.928.3736.0. Installed desktop app.asar package.json release 26.928.31416 (read-only inspection). Bundled/running CLI 0.159.2. Latest desktop performance logs: build 12553, commit 69c39c76da78edf143e380efffe94e49f10da8e0. Prior affected package 26.924.2738.0, desktop release 26.924.22138/build 11645. Package, desktop release and internal build are separate version fields. Subscription: ChatGPT Pro.

Impact and reproduction

The user reports that every app restart now remains on the startup loading animation on two Windows machines, both with Remote enabled. The desktop cannot be used until renderer processes are reset from a task accessed through Mobile Remote. Only one machine's logs and environment were collected for this package; the second machine is user-reported and its precise environment is unavailable.

  1. Enable Remote on the Windows desktop app and use it normally.
  2. Exit and relaunch the desktop app.
  3. Observe persistent startup loading animation instead of the usable shell/sidebar.
  4. Access the desktop task through Mobile Remote; the backend remains accessible.
  5. Terminate the verified ChatGPT.exe renderer child processes only, preserving the main ChatGPT.exe and codex.exe app-server.
  6. The app automatically creates replacement renderers and finishes loading.

Expected: normal startup without manual process intervention. If initialization cannot complete, show an actionable error and recover.

The frequency of every restart is the user's current report. Historical logs also contain successful starts; this is not a claim that every retained startup span failed. Remote being enabled on both machines is a common factor, not a proven cause. No Remote-disabled A/B test has been performed.

Diagnostic evidence (UTC)

Main process/session Startup timeout Successful startup after reset Duration after reset
PID 16544, Sep 27 2026-09-27 20:05:26.882 2026-09-27 20:40:22.159 5131.2 ms
PID 11440, Sep 29 2026-09-29 03:03:27.762 2026-09-29 08:32:56.960 5658.1 ms
PID 14276, Sep 30 2026-09-30 12:57:49.357 2026-09-30 13:53:17.431 6465.1 ms
PID 13188, Oct 1 2026-10-01 03:03:30.489 2026-10-01 08:05:37.583 6022.3 ms
PID 416, Oct 1 2026-10-01 08:08:11.756 2026-10-01 08:09:01.108 6331.0 ms

Latest failure, build 12553: name=app_start outcome=failure reason=timeout durationMs=122867.1. Marks: renderer_entry_evaluated 2847.7, host_services_ready 2897, renderer_ready 3172.7, host_startup_ready 3176.7, settings_ready 3577.7 ms. shell_visible, home_visible and sidebar_ready are absent. Primary window visible; webContentsId=1/windowId=1.

Same session after renderer reset: name=app_start outcome=success durationMs=6331, shell_visible 5914.2, home_visible 5914.3, sidebar_ready 6331 ms. Verified recovery reset at 08:08:53.828Z: renderers 17156/6260/13708 replaced by 17348/17340; original main PID 416 and app-server PID 6200 remained running with unchanged creation identities. A secondary non-app-server codex process exited automatically during recovery; preservation is claimed for the original app-server, not every transient process.

Earlier Sep 29 failure: timeout 123328.8 ms despite renderer_ready 3631.7, host_startup_ready 3635.9 and settings_ready 4034.9 ms. After resetting the main renderer only, shell/home became visible at about 5180 ms and sidebar at 5658 ms in the same main process session.

The retained desktop logs contain 29 app_start spans, including nine failures. Full per-span timeline and source file/line numbers are included. The log's timeout is a telemetry deadline; the UI remains stuck beyond that deadline until intervention.

Recovery mechanism and previous interventions

Main process: installed Store ChatGPT.exe without a --type argument. UI children: same executable with --type=renderer. Recovery uses a fixed, revalidated process snapshot, stopping renderer PIDs only; no process tree termination. Renderer-client-id must be inspected each time, not hardcoded. Later recovery resets all current app renderers, which can also refresh browser/detached views.

On package 26.924.2738.0, read-only inspection of installed app.asar found maybeRecoverFromRendererCrash in .vite/build/main-DAwJoFgo.js: for non-clean renderer loss, while the app is not quitting and the window is alive, schedule webContents.reload after 500 ms; did-finish-load clears the recovery-attempt guard. Observed replacement and successful startup corroborate recovery. No installed app code was modified.

Ctrl+R did not recover the issue on the other machine (user report). Whole-app restart does not provide lasting recovery. No cache/settings deletion, conversation deletion, reinstall, or new renderer reset was performed during this collection.

A prior community workaround, GoMaaars/codex-desktop-send-button-fix, was used for a related local-config/send-button blockage on Sep 24. It reissued pending startup requests and recovered workspace availability without a renderer reload. Its log showed pending locale-info, get-global-state, inbox-items, list-automations, codex-command-keymap-state, codex-home, paths-exist, and global-dictation-hotkey-state requests. This is earlier diagnostic context, not proof the current startup hang has the same initiating cause. Existing watcher logs from Sep 23 were also found and preserved; no workaround was installed or activated for this collection. A later inspector-based attempt failed. No binary patch was applied.

Requested investigation

Please investigate primary renderer startup initialization/state delivery, including startup with Remote enabled, slow backend initialization, and first launch after updates. The backend remains accessible while the visible UI loading gate does not finish. Renderer recreation resolves it in the same main/backend process session. Ensure initialization eventually reaches the renderer or is retried safely rather than leaving the UI on an indefinite animation. These observations localize the symptom but do not prove a root cause.

Related reports: #48484, #49557, #48558, #48216. This report adds repeated recovery pairs on build 12553 and two-machine recurrence with Remote enabled. No initialization-handshake replay was performed on this machine during this collection; #49557's replay evidence belongs to that reporter.

Package scope and privacy

All discovered retained desktop logs (Sep 17–Oct 1) and existing workaround logs were copied into a separate PRIVATE-local-only directory with file sizes and SHA-256 hashes. Raw process command lines and codex doctor JSON are private. No CLI log directory was present at the checked ~/.codex/log path; no runtime logs were found under the checked Local OpenAI/Codex runtime tree. No second-machine logs are available. Live log copies are a point-in-time snapshot and may grow afterward.

The shareable ZIP contains this report, environment metadata, startup timeline, selected startup/handshake/renderer lifecycle excerpts with source line numbers, and a reduced doctor summary. It excludes auth files, cookies, settings databases, conversation transcripts, crash dumps, raw process command lines and raw logs. Private identifiers/paths/URLs are omitted from excerpts. Full originals remain local for further targeted review if Support requests additional evidence.

CLI doctor was run after recovery, so its results cannot establish health during the hang. It reports configured auth and a successful desktop app-server handshake. Its separate daemon-not-running check refers to the standalone background daemon, not the live desktop stdio app-server. Optional configuration warnings should not be assumed to explain the renderer hang.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugremotewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions