codex icon indicating copy to clipboard operation
codex copied to clipboard

[Windows][26.1111.2228.0] ChatGPT desktop hangs after sign-in only in original Windows profile; same account works in new profile

Open deyvysz opened this issue 1 week ago • 5 comments

Summary

On Windows 11, the ChatGPT desktop app (packaged as OpenAI.Codex) hangs after sign-in in the original Windows user profile. The same ChatGPT account and app run normally in a newly created Windows user profile on the same PC. In the original profile, the signed-out app opens normally, but hangs again after authentication.

Environment

  • OS: Windows 11 x64
  • Package: OpenAI.Codex 26.1111.2228.0
  • Process: ChatGPT.exe 157.0.8103.78
  • Installed package state: Get-AppxPackage reports Status: Ok
  • Windows Reliability Monitor/Event Viewer: Application Hang, Event ID 1002, HangType: Unknown (observed Nov 18, 2026)

Reproduction

  1. Launch ChatGPT on the original Windows profile.
  2. Sign in with the user's regular ChatGPT account.
  3. During/after initial loading, the entire desktop app becomes unresponsive (ChatGPT.exe: Not Responding).
  4. Signing out permits the app to reach the login screen again.
  5. Sign in on the original Windows profile: hang returns.
  6. Sign in with the same ChatGPT account in a fresh Windows profile: works normally.

Troubleshooting already attempted (no resolution)

  • Repair, Reset and uninstall/reinstall.
  • Reset-AppxPackage.
  • Rename/clear LocalCache.
  • Remove local app data and user-specific ChatGPT/Codex registry keys, then reinstall.
  • Clean boot (non-Microsoft services/startup applications disabled).
  • No sustained high CPU at time of hang.

Diagnostic evidence

  • Windows Event Viewer: Application Hang, Event ID 1002.
  • WinDbg process dump: !analyze -hang reports FAILURE_BUCKET_ID: APPLICATION_HANG_cfffffff_chrome.dll!Unknown.
  • Thread 0 (CrBrowserMain) stack begins:
    ntdll!NtRemoveIoCompletionEx
    KERNELBASE!GetQueuedCompletionStatusEx
    chrome!uv_run
    
    That wait may be normal, so it does not prove the cause. Other sampled threads mostly show idle/wait states, with no conclusive deadlock.
  • A full process dump was captured (~891 MB), but is not attached because dumps may contain personal data or authentication tokens.

Expected behavior

App should start and remain responsive on the existing Windows user profile after authentication, including for users of ChatGPT, Codex, and Work.

Actual behavior

App freezes after sign-in on the existing Windows profile, while the same account works in a fresh Windows profile.

Additional note

This appears similar to #55598 (profile-specific startup hang), but reproduces on package 26.1111.2228.0 and includes Event 1002 / WinDbg evidence. No private usernames, machine identifiers, auth files or dumps are included.

Please advise what profile-level telemetry/logs would help isolate the hanging Chromium/Electron startup path.

deyvysz avatar Nov 19 '26 13:11 deyvysz

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #61460

Powered by Codex Action

github-actions[bot] avatar Nov 19 '26 13:11 github-actions[bot]

I’m experiencing a very similar issue on a university-managed Windows 11 Enterprise laptop (build 26200), running ChatGPT Desktop / OpenAI.Codex 26.1117.4957.0.

Since a Windows update on November 20, the application consistently freezes with “Not Responding” (Event ID 1002, MoAppHang). The UI initially renders but becomes unresponsive during loading or interaction.

I’ve tried Repair/Reset, multiple reinstalls, isolating the web cache, and removing local authentication credentials, all without success. The app freezes even at the “Welcome back / Choose account” screen.

I have also captured a ~900 MB process dump. Unfortunately, I cannot test a fresh Windows user profile due to central device-management restrictions.

This appears closely related to the profile-specific startup hang reported here. Hoping the team can investigate and provide a fix.

ZhouXJCDC avatar Nov 21 '26 21:11 ZhouXJCDC

Additional reproduction: Windows 11 26H2, build 26300.9711 — still hangs with fully isolated Codex state

I can reproduce this on Windows 11 Pro 26H2 (build 26300.9711) with OpenAI.Codex 26.1117.4957.0 (package OpenAI.Codex_2p2nqsd0c76g0). Windows Application log records Event ID 1002 (Application Hang) for ChatGPT.exe (reported process version 158.0.8127.37).

Key A/B test: The same ChatGPT account runs normally under a newly created local Windows user, but consistently freezes under the original Windows user profile on the same PC. On the affected profile the app eventually shows Not Responding, sometimes before choosing an account on the Welcome back screen.

No resolution after:

  • Windows Repair/Reset, Reset-AppxPackage, uninstall/reinstall, fresh package LocalCache/LocalState.
  • Backing up and isolating the entire .codex profile plus separately located roaming Codex, local Codex, and local OpenAI/Codex data, then resetting the packaged app. The hang returns on the newly generated data.
  • Disabling nonessential user startup entries and restarting.
  • Launching with --disable-gpu --disable-gpu-compositing, and separately assigning the high-performance discrete GPU.
  • Restarting the codex.exe app-server process while the UI is open.
  • Investigating OAuth login callback failures: earlier Windows error 10013 and excluded ports 1455/1457 were observed, but both ports later passed localhost TCP bind tests while the UI hang still reproduced. Thus port exclusion alone does not explain the persistent freeze.

During a recent launch, Windows showed 9 responding ChatGPT processes but 1 unresponsive process; the desktop UI remained hung. The Windows user profile reports a healthy status, the Microsoft AAD broker package reports OK, and TokenBroker is running.

Expected: Desktop app remains responsive in the existing Windows profile. Actual: App becomes unresponsive, despite successful startup under a clean Windows user.

This appears to be a profile-specific desktop startup/UI hang, potentially similar to #55598 and #61460. Please advise which safe, non-sensitive diagnostic logs or hang-trace steps would help isolate the issue. I have deliberately not attached process dumps, credentials, personal paths, or account data.

mmarifmz avatar Nov 22 '26 17:11 mmarifmz

Follow-up diagnostic: Ubuntu WSL2 fully stopped, desktop still hangs (23 Nov 2026)

I performed an additional controlled isolation test under the affected Windows user profile:

  1. Confirmed Ubuntu WSL2 was running with Apache, MySQL, PostgreSQL 16, and PHP-FPM 8.3/8.4.
  2. Stopped those Linux services cleanly using systemctl stop.
  3. Ran wsl --terminate Ubuntu and verified all registered WSL distributions showed Stopped.
  4. Closed existing ChatGPT/Codex processes and launched the ChatGPT Windows desktop package under the same affected Windows user.
  5. After approximately 20 seconds, Windows reported 11 ChatGPT processes responding and 1 not responding. The desktop still displayed Not Responding.
  6. Relaunched Ubuntu and verified Apache, MySQL, PostgreSQL 16, and both PHP-FPM services all returned to active.

Conclusion: An actively running Ubuntu WSL2 distribution and its database/web services are not necessary to reproduce this desktop hang. The temporary test did not resolve it. WSL distributions and development data were not removed.

Additional Windows Error Reporting evidence: repeated MoAppHang entries for package OpenAI.Codex_26.1117.4957.0_x64__2p2nqsd0c76g0 have the same hang signature 7a87 and hang type 134217728, including the report recorded around 01:22 local time on 23 November. A separate wslhost.exe AppHangB1 was also present, but this does not demonstrate causation.

A related report in #55598 recovered by isolating a roughly 211 MB .codex-global-state.json file. Here, the newly generated global-state files are only about 1.2 KB (previous preserved copies about 4 KB), so the oversized-state condition does not appear to apply.

No process dump, raw WER report, account identifiers, credentials, or private paths have been shared. If maintainers can recommend targeted, safe diagnostics for this stable MoAppHang signature, I can gather them.

mmarifmz avatar Nov 22 '26 17:11 mmarifmz

I'm experiencing the same issue, here's my memory dump.

Process: ChatGPT.exe
Module: chrome.dll
Failure bucket: APPLICATION_HANG_cfffffff_chrome.dll!Unknown
Failure ID hash: {e87f2355-8d0a-0538-d05e-8f2f93aa06d8}
Windows build: 26100.10068

warengonzaga avatar Nov 25 '26 01:11 warengonzaga