Skip to content

[Windows][Codex App][In-App Browser] Reopening one thread restores a persisted GitLab webview and crashes Desktop across reinstalls #35637

Description

@Canlendula

What version of the Codex App are you using (From “About Codex” dialog)?

26.721.41059

What subscription do you have?

Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

Summary

Codex Desktop crashes consistently when I open one specific existing thread.

Immediately before the crash, the right-side environment/in-app-browser area restores a GitLab icon and a previously persisted GitLab webview. Codex Desktop then exits without displaying an application-level error.

After the crash, Windows reports that the Codex application package is damaged and needs to be repaired.

The failure follows this specific thread across multiple Codex Desktop reinstallations. New blank threads and other existing threads from the same repository remain stable.

The affected thread remains usable through Codex CLI.

Original browser history

During earlier troubleshooting of an unrelated GitLab MCP initialization problem, Codex attempted to inspect GitLab group settings using the Codex in-app Browser, which is the embedded Chromium/webview.

It did not use my normal Chrome profile.

The in-app Browser opened:

https://gitlab.com/dashboard/groups

The page was redirected to:

https://gitlab.com/users/sign_in

A Cloudflare / GitLab sign-in page was displayed. No credentials were entered, and no GitLab settings were modified through the browser.

The in-app-browser tab was not successfully closed or finalized afterward.

Control tests

I performed the following control tests:

  • Reinstalled Codex Desktop.
  • Opened a new blank thread: stable, with no browser/environment item.
  • Opened other existing threads from the same repository: stable.
  • Opened the affected thread: the GitLab icon reappeared, followed by a Desktop crash.
  • Completely removed the GitLab MCP registration before the latest reproduction.
  • Quarantined/reset the local Codex in-app-browser profile and its dedicated browser partition before reinstalling Codex Desktop.
  • The failure still followed the affected thread after the local browser profiles were reset.

This suggests that the crash may involve restoration or rehydration of thread-specific in-app-browser/sidebar state.

What steps can reproduce the bug?

The issue is currently deterministic for one affected thread. I have not yet reproduced the creation of the bad state from a newly created thread.

  1. Start with an existing Codex thread in which Codex previously opened a GitLab page using the Codex in-app Browser.
  2. Ensure that the GitLab MCP registration has been completely removed.
  3. Reset or quarantine the local Codex in-app-browser profile and its dedicated browser partition.
  4. Reinstall Codex Desktop.
  5. Launch Codex Desktop.
  6. Create and open a new blank thread.
  7. Observe that the blank thread remains stable.
  8. Open other existing threads from the same repository.
  9. Observe that those threads also remain stable.
  10. Open the affected thread.
  11. Observe that a GitLab icon reappears in the right-side environment/in-app-browser area.
  12. Codex Desktop exits shortly afterward.
  13. When I try to reopen Codex, Windows reports that the application package is broken.

No code snippet is involved. The crash happens while restoring the thread, before a new prompt is sent.

What is the expected behavior?

Codex Desktop should open an existing thread safely even if its persisted in-app-browser state cannot be restored.
And a browser, Chromium GPU process, or webview restoration failure should be isolated from the main application.

Additional information

Sanitized local log evidence

The same event sequence was observed across multiple crashes:

  1. Codex restores the affected thread.
  2. The in-app Browser creates and attaches a right-panel webview with: initialUrl=https://gitlab.com/users/sign_in
  3. The browser sidebar reports dom-ready.
  4. Several seconds later, the Chromium GPU child process crashes.
  5. The GPU child process fails to relaunch.
  6. The Codex Desktop/AppX container exits.

Representative sanitized events:

2026-07-27T14:19:54.398Z
IAB_LIFECYCLE renderer created browser sidebar webview
hostKind=right-panel
initialUrl=https://gitlab.com/users/sign_in

2026-07-27T14:19:54.535Z
IAB_LIFECYCLE did attach browser sidebar webview

2026-07-27T14:19:55.568Z
browser sidebar dom-ready
url=https://gitlab.com/users/sign_in

2026-07-27T14:20:00.650Z
Recoverable Chromium child process gone
exitCode=101457950
processType=GPU
reason=crashed
serviceName=GPU

2026-07-27T14:20:00.656Z
Recoverable Chromium child process gone
exitCode=18
processType=GPU
reason=launch-failed
serviceName=GPU

The same pattern was observed at least four times:

  • 13:57:05Z: GitLab webview created; 13:57:12Z: GPU process crashed.
  • 14:03:21Z: GitLab webview created; 14:03:29Z: GPU process crashed.
  • 14:19:54Z: GitLab webview created; 14:20:00Z: GPU process crashed.
  • 14:34:42Z: GitLab webview created; 14:34:48Z: GPU process crashed.

During the most recent attempt, the final relevant browser event was:

2026-07-27T14:50:08.028Z
IAB_LIFECYCLE rebound browser sidebar window

The Desktop log stopped abruptly immediately afterward.

Windows AppModel-Runtime records show that the Codex AppX container was destroyed at the same time as the Chromium GPU process crashes.

During startup, the logs also showed the bundled browser@openai-bundled plugin being temporarily removed and then reinstalled during plugin marketplace reconciliation.

However, a new blank thread remained stable during the same application startup. I am including this as a secondary observation and am not claiming that plugin reconciliation is the root cause.

Possibly related issues

Activity

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

    appIssues related to the Codex desktop appbrowserbugSomething isn't workingsessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions