Skip to content

[Windows 26.1111] Concurrent chat completion resets main window to stuck logo; MessagePort connection closes #62323

Open

Description

@raydoli75-lgtm

Summary

On Windows, using multiple local chats can leave the main Codex desktop window permanently blank except for the OpenAI logo shortly after another chat completes. The main application and local execution backend continue running. The user reports repeated failures and sometimes needing two relaunch attempts to regain the UI.

Environment

  • MSIX package: OpenAI.Codex 26.1111.2228.0, x64.
  • Desktop log version: 26.1111.21308, build 27194, production channel.
  • Bundled CLI: 0.169.0-alpha.11.1.

Observations from local diagnostics

Four inspected sequences occurred around 20:37 on November 18 and 00:39, 00:50, and 01:22 on November 19, 2026 (Asia/Seoul).

Within approximately 1–2 seconds of another local chat completing or its browser-use session activity ending:

  1. All observed chat view activities became inactive.
  2. The main window's conversation subscription unmounted and mounted.
  3. Its identity state became authLoading=true with no account/user populated, and the visible window remained on the logo.

That identity state is not proof of an authentication failure. A task using web search without browser UI interaction also preceded this pattern; no app-termination command was found in that task's inspected tool calls.

During the 01:22 recurrence, Chromium error logging captured repeated "Peer closed MessagePort connection." failures from subsequent app-screen network requests. It is not established whether the port closure is the original fault or a consequence of the UI reset.

The local execution backend continued working after the UI failed. No matching Windows Application Error/Hang event, retained minidump, or explicit unexpected app-server exit was found in the inspected interval. This does not rule out a UI failure.

One earlier 20-second sample recorded total app private memory briefly rising from approximately 2.1 GiB to 4.5 GiB, then decreasing. However, the later 01:22 recurrence was recorded at approximately 2.55 GiB total, with the largest child around 1.27 GiB. An earlier nearby system check had approximately 44 GiB physical memory available. These observations do not establish an out-of-memory cause.

Attempts and controls

  • Rebuilt approximately 57 MiB of regenerable browser/code/shader caches; recurrence persisted.
  • Turned only completion notifications off; the 01:22 recurrence still occurred. Restored the original notification setting afterward.
  • Current HTTP reachability and Responses WebSocket handshake checks succeeded.
  • The inspected chats already use paginated history.
  • Existing conversations and work files were not deleted or reset during these attempts.

Requested help

Please investigate shared main-window RPC/MessagePort lifetime and UI recovery when concurrent local chats complete. Please provide a supported mitigation or targeted diagnostic procedure that preserves conversations, work files, and unrelated running tasks.

Related symptom reports: #51343 and #50291. A shared root cause is unconfirmed.

This is a user-authorized diagnostic summary only. No conversation text, business/customer material, account identifiers, thread IDs, local file paths, raw logs, screenshots, credentials, or memory dumps are attached.

Activity

  1. added
    bug
    app
    windows-os
    app-server
    on Nov 18, 2026
  2. raydoli75-lgtm commented on Nov 18, 2026

    @raydoli75-lgtm
    Author

    Follow-up: a non-destructive Windows control verified that File > New Window can open an existing local chat on this same build without terminating or restarting the main application process. The new window recorded a successful bootstrap in approximately 4.9 seconds and successful existing-chat navigation in approximately 1.16 seconds; the user confirmed the existing chat became usable after a short delay.

    This was not performed during a captured stuck-logo episode, so it does not establish recovery from the failure, prevention of recurrence, or a root cause. No new conversation was created for this check and existing conversations/work files were not reset.

    The bot-suggested #62170 has a 512 MiB serialization-budget warning before MessagePort closure. A targeted search of the relevant recent local desktop logs found no corresponding serialization-budget/RangeError warning here; that specific mechanism is therefore unconfirmed in this case. The identical build reports #62042 and #61637 are useful symptom comparisons, not confirmed duplicates.

  3. raydoli75-lgtm commented on Nov 18, 2026

    @raydoli75-lgtm
    Author

    Completed the bounded observation ending at 06:54 on November 19, 2026 (Asia/Seoul).

    A useful comparison was observed from 03:23–06:54 with the same main application process, which had been running since 02:04:

    • There were 19 "ended browser use session activity" events with disposeAfterSessionActivity=false: 18 attributed to the original primary window and 1 to the newly opened primary window. No previously observed identity-reinitialization, subscription-unmount, or MessagePort-closure markers were found in this comparison interval.
    • All four previously inspected failure sequences also had disposeAfterSessionActivity=false and involved an original primary window in earlier app runs. Thus, an activity-ending event, that disposal flag, or simply being the original window is not by itself a sufficient explanation. The first cause of the bridge failure remains unknown.
    • This comparison included background activity while the app was left open; it was not a reproduction under two simultaneously interactive chats and does not establish that New Window permanently fixes the issue.
    • The current process's sampled total private memory peaked at approximately 4,383 MiB and later fell to approximately 3,311 MiB. Targeted Windows event checks around the prior captured failures found no matching resource-exhaustion, display-driver recovery, or disk/hardware error events. These checks do not rule out a renderer-specific fault.
    • The official Windows x64 download's package manifest still identifies version 26.1111.2228.0, matching the installed package. No replacement build was installed.

    The recorder stopped normally at its deadline. No app termination/relaunch, conversation reset, or work-file deletion was performed during this additional comparison. The initiating cause of the stuck-logo episodes remains unconfirmed. A fixed desktop build or supported diagnostic for the first bridge/MessagePort abort would be helpful.

    Diagnostic summary only; no conversation/business content, identifiers, local paths, raw logs, or screenshots are attached.

  4. raydoli75-lgtm commented on Nov 19, 2026

    @raydoli75-lgtm
    Author

    Update-channel clarification from November 19:

    • Installed Windows package remains 26.1111.2228.0 (desktop version 26.1111.21308, build 27194, production channel).
    • The official production Store update manifest now advertises 26.1111.9664.0, release version 26.1111.71704.
    • The official direct Windows release feed still advertises 26.1111.2228.0.
    • The running desktop app's supported, non-installing update check returned up_to_date for this installation. This is the configured updater's eligibility result, not a claim that no higher build exists globally. No update was downloaded or installed, and the app was not restarted.
    • A targeted inspection of subsequent desktop logs from 06:54 to approximately 15:00 (Asia/Seoul) found no new matching identity-reset/subscription-unmount/closed-MessagePort markers. The same main process remains running. This does not establish that the intermittent issue is fixed.

    Related Windows report #62349 describes recurrence on package 26.1111.9265.0; a shared root cause is unconfirmed, and neither that report nor the Store manifest establishes a fix in 9664.

    Could maintainers clarify availability of the newer production build and whether it contains a targeted fix for this bridge/reset failure? Existing conversations and work files have been preserved. This comment contains diagnostic metadata only, without private conversation/business contents or raw logs.

  5. raydoli75-lgtm commented on Nov 19, 2026

    @raydoli75-lgtm
    Author

    The update has now been applied through the desktop app's built-in Store-backed update button.

    Verified after restart on November 19:

    • Windows package: 26.1111.9664.0.
    • Desktop version shown by About: 26.1111.71704; startup log build 29030.
    • The running executable belongs to the new package.
    • Initial primary-window startup completed successfully in approximately 8.3 seconds, with zero logged background time.
    • The pre/post-update local record-ID and rollout-path sets match, and all 139 referenced conversation files are present. No profile reset or conversation/work-file deletion was performed.
    • No matching closed-MessagePort, subscription-unmount, or renderer-exit markers were found in the short initial post-update interval examined.

    This confirms successful update and initial startup only. It does not yet establish that long-running/concurrent-chat freezes are fixed. Keeping this issue open pending recurrence testing or maintainer confirmation. No private conversation/business contents, identifiers, local paths, raw logs, or screenshots are attached.

  6. raydoli75-lgtm commented on Nov 19, 2026

    @raydoli75-lgtm
    Author

    Recurrence confirmed after updating to Windows package 26.1111.9664.0, desktop 26.1111.71704 / build 29030. The update did not prevent this user's reported stuck-logo failure.

    A read-only post-update observation began at 18:30 on November 19, 2026 (Asia/Seoul). At 18:35, the supported local task-status query showed two active chats. The recorder did not capture screens, drive the UI, terminate the app, or relaunch it.

    Captured sequence (UTC):

    • 09:38:19.076 — browser-use session activity ended, disposal flag false.
    • 09:38:19.924–19.926 — five observed stream-view activities became inactive.
    • 09:38:21.271 — primary conversation-updates subscription unmounted.
    • 09:38:21.329 — subscription mounted again.
    • 09:38:21.332 — primary identity reset to authLoading=true, hasAccount=false, hasUser=false, bridgeEnabled=false.
    • A subsequent supported local-host status lookup failed with "No connected Codex thread host found for hostId: local", while the application process remained alive and background reasoning events continued.
    • No identity recovery was logged in the following inspected minutes. The user subsequently confirmed the same visible failure had occurred.

    During the sampled comparison, main-process private memory peaked at approximately 1,371 MiB and total app private memory at 3,960 MiB. Shortly after the failure, approximately 38.9 GiB physical memory remained available. These values do not establish an OOM cause. No literal closed-MessagePort or renderer-exit marker was found in the inspected new desktop-log interval; unlike the earlier run, a separate Chromium error-log sink was not enabled.

    A new app instance was subsequently observed starting at 18:42:53 local time, with successful identity lookup. The observing agent did not initiate that termination/relaunch.

    This reproduces the earlier shared UI/account/local-host reset pattern on build 29030. The initial cause remains unknown; the identity reset is not proof of logout, and the preceding activity-ended event is timing context rather than a proven cause.

    Existing conversations/work files remain preserved. Diagnostic summary only: no private conversation/business text, account/thread identifiers, local paths, raw logs, or screenshots attached. Please investigate the initiating shared-bridge lifecycle reset and provide a supported non-destructive mitigation.

  7. raydoli75-lgtm commented on Nov 19, 2026

    @raydoli75-lgtm
    Author

    Additional read-only findings on Windows package 26.1111.9664.0 / desktop 26.1111.71704 (build 29030). These observations distinguish the long-running UI reset from a reported launch-twice symptom; neither has a confirmed common root cause.

    Backend comparison around the captured 18:38 KST UI reset

    • Examined the existing app-server log database for 09:37:30–09:39:30 UTC on November 19. It contains 848 outgoing-message TRACE entries and continuing task activity, but no ERROR/FATAL entries in that window. This establishes backend activity, not delivery to the renderer.
    • The two WARN entries are from hooks/list plugin-interface loading and say invalid relative icon paths are ignored. Their causal relevance is unproven.
    • No matching database-lock/corruption, backend panic, or explicit serialization-budget failure was identified in that window. The earlier Chromium log's literal closed-MessagePort errors are repeated fetch/Statsig failures after the connection was lost, rather than a stack identifying the first close. Please investigate the initiating shared renderer/host bridge teardown.

    Launch-twice symptom: bounded process metadata observation

    • Windows activation records confirm two launches at 12:30:26 and 12:30:34 UTC. The first has no desktop log; its exit code was not captured.
    • In a later controlled delayed manual restart, app-server transport shutdown was logged at 12:51:16.166 UTC; the prior main process was observed exiting normally (code 0) at approximately 12:51:21.334 UTC. The next main process started at 12:52:06.989 UTC and logged successful startup. Thus teardown can continue for about five seconds after transport shutdown. Quit/relaunch overlap is a candidate explanation, not a confirmed diagnosis of the earlier failed launch.
    • A process-only observer ran 12:41–13:41 UTC. All 26 observed exit records, including child-process exits during normal shutdown/startup, had code 0; these are not 26 application crashes.
    • The current main process has remained running since 12:52 UTC. Its inspected desktop logs through 14:46 UTC contain no repeat of the prior post-startup identity-reset/closed-MessagePort/renderer-exit markers. This is not an interactive concurrent-chat reproduction and does not establish a lasting fix.

    Separately, a drive-root default-workspace mkdir error was corrected to an existing subfolder and supported new-task creation completed successfully. This fixes that path operation only; there is no evidence that it caused the earlier UI reset.

    No conversations/work files were reset, moved, or deleted. No security feature was disabled, no application binaries were patched, and the agent did not control screens or initiate application termination/relaunch during these checks. Diagnostic metadata only; no private conversation/business content, account/thread identifiers, local paths, raw logs, or screenshots attached.

    A supported non-destructive mitigation or targeted desktop fix is still needed.

  8. raydoli75-lgtm commented on Nov 19, 2026

    @raydoli75-lgtm
    Author

    New recurrence after the workspace-path correction and a successful delayed restart. Windows package remains 26.1111.9664.0, desktop 26.1111.71704 / build 29030. The user reports the same stuck-logo state, followed by a first relaunch that exits and a second relaunch that works.

    New captured sequence on November 19 UTC (November 20 in Asia/Seoul):

    • 15:24:03 and 15:24:12 — app-server WARN: after_agent hook failed; continuing, hook_name=legacy_notify, Windows os error 206.
    • 15:24:29.591 — a resumed owner stream-view becomes inactive.
    • 15:24:29.760 — hooks/list completes successfully.
    • 15:24:30.911 — primary conversation-updates subscription unmounts.
    • 15:24:30.967 — subscription mounts again.
    • 15:24:30.970 — primary identity reinitializes with authLoading=true, hasAccount=false, hasUser=false, bridgeEnabled=false.
    • 15:25:16.314 — the old app-server transport is stopped during the user's manual quit.
    • Windows activation records show the first reported unsuccessful launch at 15:25:19.341 and the successful launch at 15:25:24.544. The first has no desktop log; its exit code is not available. Quit/relaunch overlap remains a candidate, not a proven cause.

    The failing main app had been running since 12:52:06.989 UTC, about 2 h 32 min before the reset. Earlier successful startup and a quiet observation period therefore did not establish a lasting fix. The corrected default workspace was already verified through actual supported new-task creation, so that separate path-operation repair did not prevent this UI recurrence.

    New concrete adjacent defect: retained backend logs contain 12 legacy_notify/os-error-206 failures across four chats. The configured native turn-ended helper exists and its executable path is only 159 characters. This resembles #18309's app-managed argv transport failure. However, the previously captured 09:38 UI-reset window did not contain a matching 206 warning, so this is not being claimed as the sole or necessary cause of all UI resets. Please assess whether failed turn-end signaling contributes to shared-bridge lifecycle failures on this build.

    No notifier was removed, no unofficial Stop/SubagentStop adapter was installed, and no safety/cleanup feature was disabled. A supported migration must preserve correct turn completion, session/turn identity, receiver acknowledgement and desktop startup/update management.

    Existing conversations and work files remain preserved. No application restart was initiated by the agent. This is sanitized diagnostic metadata only: no private chat/business content, account/thread identifiers, local paths, raw logs, or screenshots. A targeted desktop fix or supported non-destructive mitigation is still requested.

  9. raydoli75-lgtm commented on Nov 19, 2026

    @raydoli75-lgtm
    Author

    Another recurrence, with background-window state and an actually overlapping relaunch captured. Same Windows package 26.1111.9664.0 / desktop 26.1111.71704, build 29030.

    November 19 UTC (November 20 Asia/Seoul):

    • 15:33:41.733 — primary conversation-updates subscription unmounts while rendererWindowFocused=false and rendererWindowVisible=true.
    • 15:33:41.782 — subscription mounts again.
    • 15:33:41.785 — identity resets to authLoading=true, hasAccount=false, hasUser=false, bridgeEnabled=false, still with rendererWindowFocused=false.
    • The user reports leaving the app to work in another window, then returning to the stuck centered logo. This capture shows the reset already happened while it was in the background.
    • 15:36:48.975 — old app-server transport is stopped during the user's manual quit.
    • 15:36:52.180 — Windows records the first reported unsuccessful app activation.
    • 15:36:54.065 — retained process handle gives the prior main process's actual ExitTime and normal exit code 0.
    • 15:36:59.918 — Windows records the successful second activation.

    Thus the first relaunch really began about 1.9 seconds BEFORE the prior main process exited. Its own exit code was not captured, but overlap is now directly evidenced, rather than inferred from a quiet interval. Please assess activation/single-instance handoff during pending quit; this may be distinct from the shared UI reset.

    After recovery, a read-only GetProcessInformation check found execution-speed throttling OFF for the main process and the large foreground renderer, both at Normal priority. Some other renderers were Idle/EcoQoS. A grouped Task Manager leaf icon alone therefore does not establish that the active UI was throttled. Power/background state at the instant of failure was not captured, so background lifecycle/throttling remains a hypothesis, not a diagnosis.

    No screen control, agent-initiated app restart, security changes, notifier suppression, or conversation/work-file resets were performed. Metadata only, with private content, local paths, account/thread identifiers, screenshots and raw logs omitted. The recurring stuck-logo bug remains unresolved.

  10. raydoli75-lgtm commented on Nov 19, 2026

    @raydoli75-lgtm
    Author

    Additional evidence: primary-view bridge reconnection fails while another view recovers. Same Windows package 26.1111.9664.0, desktop 26.1111.71704 / build 29030. User again reports the blank stuck-logo screen after returning from another application.

    November 19 UTC (November 20 Asia/Seoul), same app instance:

    • 15:55:56.664 — primary identity reset to authLoading=true, hasAccount=false, hasUser=false, bridgeEnabled=false while unfocused (previously reported pattern).
    • 16:23:31.157 — primary chatgpt_pubsub_transport_closed while unfocused.
    • 16:23:35.770 onward — primary chatgpt_pubsub_connection_failed with the literal error Peer closed MessagePort connection. Stack points to MessagePort. in packaged assets/async/648541.32f5c72f21.js:1:44890.
    • 16:25:53.921 — primary chatgpt_pubsub_reconnect_exhausted after five retries.
    • In contrast, avatarOverlay transport closes at 16:25:46.164, opens at 16:25:52.177, then subscribes successfully. This does not support treating the incident simply as a machine-wide loss of connectivity.
    • 16:28:55.423 and 16:28:57.732 — primary is focused again, but requests still fail with the same closed-MessagePort error. Foregrounding did not recreate a usable bridge.

    A bounded, current-process-only trial kept hidden renderer OS execution-speed throttling disabled and priority at Normal from 15:57:23 until that instance exited. It did not restore this already-disconnected primary bridge; since the initial identity reset preceded the trial, this is not a clean prevention test. The trial has ended and will not be repeated. No app binaries, chat data, security settings, or global power policy were changed. No agent-initiated app quit/relaunch or screen control was performed.

    Could maintainers investigate why the primary host MessagePort becomes closed and why primary-view reconnect reuses a dead channel instead of re-establishing the bridge? A supported data-preserving recovery or fixed build is still needed. Workspace-path correction and update to this build have not resolved the user's repeated incidents. This comment contains diagnostic metadata only.

  11. raydoli75-lgtm commented on Nov 19, 2026

    @raydoli75-lgtm
    Author

    Cross-chat completion correlation; historical plugin-path conflict does not explain the continuing resets. Diagnostic metadata only; no conversation contents, business names, local paths, account/task identifiers, or raw logs are included.

    Comparison of retained desktop logs and local completed-turn timestamps found 16 post-startup primary identity-reinitialization markers across the inspected November 18–20 KST runs. Fifteen occurred approximately 1.6–3.8 seconds after a turn completed in one of two frequently used local chats. Fourteen also had a browser-session-activity-ended marker shortly before the reset; the fifteenth had a matching completed turn without that activity-end marker. This is an observed association, not proof of the first failing callback. One remaining marker was in a separate backend-exit/reinitialization episode and should not be treated as the same established mechanism.

    Useful minimal cases:

    • Nov 19 15:55:55 UTC completed turn -> 15:55:56.664 primary identity reset. That completing turn contained only user/assistant/reasoning items and no agent tool calls.
    • Nov 18 15:39:12 UTC completed turn -> 15:39:14.940 primary reset. That completing turn used web search only, without browser UI or native app control.
    • Other correlated completing turns used image generation, file commands, browser tools, or chat-coordination tools. Direct control of a particular third-party app is therefore not a necessary feature of the completing turn in these samples.

    Earlier runs repeatedly failed bundled-plugin reconciliation because openai-bundled was already registered from a different source. However, 13 later reset markers occurred in app instances with zero such registration/reconciliation failures. The current instance also logs already-registered success and completed reconciliation. The historical path conflict cannot be the sole ongoing cause; removing plugins or resetting user data is not supported by this evidence.

    The Windows user reports that these resets are particularly disruptive when more than one chat is used concurrently. Please investigate shared primary-view/account bridge lifecycle during cross-chat turn-completion notifications, including the tool-free completing turn above. The previously reported closed-MessagePort reconnect failures leave the primary view unusable while local backend work can continue. A supported fix is still needed; no binary patches, security changes, data deletion, alternate profiles, or UI automation have been applied for this comparison.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    appapp-serverbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions