Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.825.51511
What subscription do you have?
Pro Plan
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
[Windows][Remote][Critical] Opening a Remote chat exhausts system commit, crashes many git.exe processes, and can crash Windows
Severity
Critical. This has repeatedly exhausted approximately 49 GB of Windows commit, destabilized the desktop, crashed multiple processes, and on one run caused a VIDEO_TDR_FAILURE blue screen/reboot. There is a material risk of losing unsaved work. Please do not ask the reporter to reproduce it again on this machine.
Summary
Opening an existing Codex Remote chat from the ChatGPT mobile app can cause the connected Windows laptop to consume all available virtual memory. A prompt does not need to be sent: simply opening the chat has reproduced the problem.
The latest test was made after disabling desktop ambient suggestions. The relevant desktop logs contain zero ambient-suggestion entries, but the failure still occurred. In the seconds around the Remote refresh, the desktop app logged a stale automatic Git snapshot and a batch of 15 simultaneous review-summary Git operations across 15 worktrees. Windows reported low virtual memory 28 seconds after that batch began, followed by multiple git.exe crashes and bitmap-allocation failure.
The repository contents are not the user action that triggers the failure. The problem has also reproduced when opening a Remote chat attached to “Pause Toshy,” the reporter's smallest codebase. The common trigger across multiple days is opening the Remote chat from the phone.
Environment
- Desktop app package:
OpenAI.Codex 26.825.6671.0(Microsoft Store) - Desktop executable version:
ChatGPT.exe 151.0.7922.174 - Bundled Codex:
codex-cli 0.151.0-alpha.7.2 - OS: Windows 11 Home, version
10.0.26200, build26200 - Git:
git version 2.54.0.windows.1,C:\Program Files\Git\cmd\git.exe - RAM: 15.71 GB
- Pagefile: 30,720 MB allocated
- Total commit limit: 49,081,217,024 bytes (about 45.7 GiB)
- GPUs:
- NVIDIA GeForce RTX 4070 Laptop GPU, driver
32.0.16.1062 - Intel UHD Graphics, driver
31.0.101.4255
- NVIDIA GeForce RTX 4070 Laptop GPU, driver
- Both mobile and desktop apps were updated before testing.
- Desktop Remote was paired and enabled normally.
After the latest reboot, the laptop was stable at about 13.8 GB committed out of the 49.1 GB limit, confirming that the normal baseline does not exhaust commit.
Reliable user trigger
- Leave the ChatGPT/Codex desktop app running on the Windows host with Remote enabled.
- On the paired phone, open Remote.
- Open an existing local Codex chat.
- Do not send a prompt.
- Within seconds to roughly one minute, system commit is exhausted. Windows shows out-of-virtual-memory and
git.exeapplication-error dialogs; other UI operations begin failing for lack of memory. A reboot may be required.
This has happened repeatedly over multiple days. The reporter has stopped further reproduction because one run blue-screened Windows and later runs made the whole desktop unusable.
Expected result
Opening a Remote chat should hydrate its messages and project state without starting unbounded background work or materially changing host memory use.
Actual result
- Windows exhausts all available virtual memory despite a 30 GB pagefile.
- Many automatically launched
git.exeprocesses crash. - Observed Git exceptions include:
0xc00000fd(STATUS_STACK_OVERFLOW) inntdll.dll0xc0000005access violations inmsvcrt.dll
- Windows displays “Out of Virtual Memory.”
- Windows later displays “Insufficient memory to create the bitmap.”
- A PowerShell diagnostic process could not initialize during the incident (
0xC0000142-style process initialization failure), consistent with system-wide resource starvation. - One prior run ended in bugcheck
0x116(VIDEO_TDR_FAILURE) with parameter0xC000009A(insufficient system resources).
Latest post-mitigation timeline
Local time is America/Vancouver (UTC-7). UTC timestamps are from Codex desktop logs.
| Local time | UTC | Evidence |
|---|---|---|
| 21:30:16 | 04:30:16 | Desktop session starts. |
| 21:30:23 | 04:30:23 | review_model starts an automatic review-summary Git batch across 15 separate worktrees. |
| 21:32:08 | 04:32:08 | Automatic turn_diff_analytics starts git add --sparse --pathspec-from-file=- --pathspec-file-nul in the project. |
| 21:32:49 | 04:32:49 | That command is cancelled after 41.379 seconds with 158,728 stderr bytes; desktop reports Git snapshot became stale. |
| 21:32:50–51 | 04:32:50–51 | Two refresh_remote_control cycles occur. A second batch of 15 review-summary / review_model Git commands begins simultaneously across 15 worktrees. |
| 21:33:18 | 04:33:18 | Windows Resource Exhaustion Detector receives low-virtual-memory notification. |
| 21:33:20 | 04:33:20 | Detector itself has a memory-allocation failure and cannot diagnose the top consumer. |
| 21:33:25–51 | 04:33:25–51 | Five separate git.exe Application Error events occur. Four are stack overflows in ntdll.dll; one is an access violation in msvcrt.dll. |
| 21:33:42 | 04:33:42 | Two visible git.exe dialogs report memory could not be written/read. |
| 21:36:14 | 04:36:14 | Desktop still reports another stale Git snapshot. |
| 21:36:43 | 04:36:43 | User manually restarts the computer because the desktop is unusable. |
The second 15-worktree batch has one shared start timestamp (startTimeMs=1788237170508), so these were concurrent operations rather than a sequential scan.
Earlier severe run (same day)
- 21:15:43: a Remote chat is resumed. The reporter says this was the tiny “Pause Toshy” project and no message was typed.
- 21:15:55: an
ambient_suggestion_generationbackground conversation starts in this earlier run. - 21:15:59, 21:16:01, 21:16:11: Remote refresh activity is logged.
- 21:16:47: Windows reports low virtual memory.
- 21:16:49: Resource Exhaustion Detector allocation fails.
- 21:17:07–21:17:45: Windows records 11
git.exeApplication Error events and 19git.exeapplication-error popups. - 21:18:15: unexpected reboot (
Kernel-Powerevent 41). - Windows Error Reporting subsequently records a blue screen:
- Event:
BlueScreen - Bugcheck:
0x116(VIDEO_TDR_FAILURE) - Parameter:
0xC000009A(insufficient system resources) - Report ID:
1eefac20-14e0-4601-896f-e93a916c8ab5 - Minidump:
C:\Windows\Minidump\083126-17031-01.dmp
- Event:
Ambient suggestions may have amplified that earlier incident, but they are not required for the failure: the latest incident reproduced with ambient suggestions disabled and no ambient entries in either desktop log.
Ambient-suggestions A/B result
The latest test used this supported desktop setting:
[desktop]
ambient-suggestions-enabled = falseThe setting was verified in %USERPROFILE%\.codex\config.toml, and both logs from the latest session contain zero matches for ambient_suggestion or ambient-suggestion. The same OOM/Git failure still occurred. Therefore ambient suggestions are not the root cause, although they may add load when enabled.
Windows event evidence from the latest run
- Resource Exhaustion Detector:
- Event 1003 at 21:33:18: low virtual memory notification
- Event 1007 at 21:33:20: detector memory-allocation failure
- Event 1008 at 21:33:20: Windows failed to diagnose the low-memory condition
- Application Error event 1000,
git.exe:- Report IDs
63dabd38-bf57-44e6-bc4d-1dc2f2e6f35d be8a7ad6-1aad-46de-9ee6-e0dda6d4007dae74762c-20cd-4ab3-8f25-5fb8d6cdf549efd4b3af-8b6c-453e-b5f5-b7d88e000c06d728eb39-15c8-406d-adb5-d0cf9cf902b5
- Report IDs
- WER preserved several Git minidumps and one
memory.hdmpunder%PROGRAMDATA%\Microsoft\Windows\WER\ReportArchive/ReportQueue.
Mitigations already tried
All of the following were completed before the latest reproduction:
- Updated ChatGPT on both phone and laptop.
- Removed and re-paired the phone/desktop Remote connection.
- Fully restarted the desktop app.
- Used Windows Repair, Reset, and reinstall/recovery flows.
- Closed ChatGPT Classic; only the current desktop app was used.
- Tested a small, focused task and the smallest available codebase.
- Rebooted Windows between incidents.
- Confirmed a large, system-managed pagefile (30 GB).
- Disabled desktop ambient suggestions and restarted the app.
These steps did not resolve the issue.
Engineering hypothesis (not asserted as proven root cause)
The strongest evidence points to an automatic Git review/snapshot lifecycle triggered or refreshed while Remote hydrates a chat:
turn_diff_analyticsstarts a Git snapshot.- The snapshot becomes stale and is cancelled.
- Remote refreshes immediately afterward.
review_modelfans out Git work across many saved worktrees at once.- Refresh/retry or overlapping snapshot work consumes the system commit limit.
- Once commit is exhausted, Git, desktop rendering, diagnostics, and GPU recovery fail as collateral damage.
The logs prove the overlapping automatic Git work, the stale-snapshot cycle, the timing, and the system-wide OOM. They do not prove which process owns every byte because the Windows Resource Exhaustion Detector also ran out of memory before it could produce a top-consumer report.
Requested engineering checks
- Correlate Remote chat hydration with
review_model,review-summary, andturn_diff_analyticsrefreshes. - Check whether stale Git snapshots are cancelled cleanly and whether child processes/resources are released.
- Cap Git worker concurrency globally and per project/worktree.
- Coalesce duplicate Remote/review refreshes and cancel obsolete work before starting another batch.
- Add hard memory/commit safeguards so background review work cannot exhaust the host.
- Record worker spawn count, active worker count, aggregate commit, and cancellation outcome in diagnostics.
- Provide a supported setting to disable automatic Git review/snapshot refresh independently of normal Git access.
Attachments and integrity manifest
Before sharing raw logs, review them for private paths, project names, and other sensitive content.
Latest run (ambient disabled)
%LOCALAPPDATA%\Codex\Logs\2026\09\01\codex-desktop-c1f6623b-d3f3-4b17-aab1-bc1ef756df5e-23368-t0-i1-043016-0.log- 178,695 bytes
- SHA-256
C00B5B06778B91E064474ED6568D8C1DFBD32F85F979C8DECE4499F7A9C291BF
%LOCALAPPDATA%\Codex\Logs\2026\09\01\codex-desktop-c1f6623b-d3f3-4b17-aab1-bc1ef756df5e-23368-t1-i1-043020-0.log- 78,844 bytes
- SHA-256
4A24C8E233465FE0BD88B72C4EEF78C9184708B7C98329852273EE1F9D6BDC24
Earlier severe run
%LOCALAPPDATA%\Codex\Logs\2026\09\01\codex-desktop-8bda396c-0905-4ecf-ba07-da726759ee36-10668-t0-i1-040322-0.log- 308,247 bytes
- SHA-256
465E8C8107BEB913A7571DBEBBECE8EB61DA174B1CF830B7B09C72EDCD3E1EF9
Photographs captured during the latest incident
git.exenull write error, SHA-2561047609D4A5B577603C91443F5B84C19EFBDD181A253D1442AF872A0F71B2619git.exeinvalid read error, SHA-256BA90DA571E5AB4C1929AD74C4B68EC379E86550E091A10BB97D8CAE6569217EA- “Insufficient memory to create the bitmap,” SHA-256
3B3D9FF940BA84B81336F22781F1D3A9FCC033F5EB44B1740E3D1A2ED59EACCE
Relevant task IDs
- Current evidence task:
01a05ad7-361a-7b32-9d62-9e050d0b9d8a - Small-project Remote reproduction:
019f23d5-bf2b-76c1-9089-895d77087375 - Earlier automatically created ambient conversation:
01a05b2e-49c9-7a21-bd0d-71dadf52daf9
Safety note
The reporter has already reproduced this many times across several days and has suffered repeated full-system OOM events and a blue screen. The existing logs, Windows events, WER dumps, photographs, and task/session data should be used for investigation instead of requesting another reproduction.
What steps can reproduce the bug?
- Run Codex Desktop 26.825.51511 on the Windows laptop.
- Open the latest ChatGPT Android app on a Samsung Galaxy S23 Ultra.
- Open Remote and select any Codex task, including the tiny Pause project.
- Do not type or send a message.
- The task never loads. Windows memory is exhausted, git.exe errors appear, bitmap allocation fails, and the laptop requires a reboot.
What is the expected behavior?
the expected is I can see the chat remote on my phone, and give it instructions.
Additional information
Feedback/session ID: 01a05ad7-361a-7b32-9d62-9e050d0b9d8a
This reproduces across multiple projects, including a very small repository, and still occurs with ambient suggestions and background refresh disabled. It begins merely by opening the remote task; no message needs to be sent.
Please do not request another reproduction. Repeated attempts have caused full-system out-of-memory events and one Windows blue screen.
The complete raw evidence bundle is available privately to OpenAI on request.
Activity
github-actions commentedon Sep 1, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
claudiomartinez123 commentedon Sep 1, 2026
Additional reproduction from a different Windows machine; symptoms strongly match this issue and show it is not limited to Windows 11/high-RAM systems.
Environment:
Observed behavior:
Git for Windows - Stopped workingentries at the same time asCodex - Stopped working.C:\Program Files\Git\cmd\git.exe, APPCRASH, failing modulemsvcrt.dll, exceptionc0000005.Isolation already performed:
git statusworks normally with Codex closed.git statusalso works from inside Codex during a short controlled test.browser@openai-bundledandcomputer-use@openai-bundledwere disabled in config.toml; the white-screen / high-memory / black-screen behavior still reproduced during a local analysis task without browser use.This looks consistent with the same Remote/Git/background-work resource-exhaustion class described here, but on Windows 10 with much less RAM, making the failure occur very quickly. The black-screen recovery via Win+Ctrl+Shift+B suggests GPU/display recovery is collateral to system resource pressure rather than necessarily the root cause.
Please use this as corroborating evidence. I would avoid asking for repeated reproduction on this machine because the failure has already caused multiple black screens and forced restarts.
claudiomartinez123 commentedon Sep 6, 2026
Update from the Windows 10 / Android reporter who previously added corroborating evidence above:
After updating both the Codex Desktop app and the mobile app today, I have not been able to reproduce the previous failure so far.
Current desktop version:
26.901.5280.0What I tested successfully:
git.exestorm observed during these testsThis is a meaningful improvement compared with my previous reproduction on
26.825.51511/26.825.6671.0, where Remote usage was associated with high memory usage,git.execrashes, white/black screens, and forced restarts.I cannot confirm the underlying bug is fixed for every trigger or repository, especially given the separate reports of Git fan-out on
26.901.5280.0, but on my Windows 10 machine the specific Remote/Android + black-screen/crash behavior described in my earlier comment appears resolved after updating both desktop and mobile apps.claudiomartinez123 commentedon Sep 6, 2026
Correction / regression update from the same Windows machine:
My previous comment saying the issue appeared resolved on Codex Desktop
26.901.5280.0was premature.Shortly after that successful test, the failure reproduced again on the same machine:
So, on this machine,
26.901.5280.0still appears vulnerable to the same black-screen / system-stall class of failure previously reported. Please treat my earlier "resolved" comment only as a transient successful test, not as confirmation of a fix.SamSteProjects commentedon Sep 8, 2026
I’m seeing the same failure pattern on a newer Codex build.
Environment
26.901.6511.0261002.51.0Observed behavior
Codex appears to enter a background Git process/crash loop. Windows Event Viewer recorded numerous
git.exefailures, primarily:0xc00000fd— stack overflow0xc0000005— access violation0xc000012d— commitment limit0xc0000142— DLL initialization/process-start failureOnce this begins, PowerShell and CMD can no longer start. Unrelated processes—including
ChatGPT.exe, DWM, Explorer, NVIDIA Overlay, Huion services, and Windows components—then begin failing.The problem returned shortly after a clean restart. The second incident ended in an actual Windows bugcheck:
0x000000EF — CRITICAL_PROCESS_DIEDA minidump was saved as
090726-8640-01.dmp.The active repository contains a generated artifact directory with approximately 12,361 files and 6.51 GB of data that was not excluded from Git. Remote access and reopening the task appear correlated with the failure.
Because this can destabilize and reboot the entire machine, I will not intentionally reproduce it again. I can provide sanitized Codex logs, Event Viewer records, and the minidump through a private maintainer-approved channel.
TomaxMe commentedon Sep 9, 2026
Additional Windows / Android Remote reproduction — 9 September 2026
Reporting another affected machine, with the owner's authorization. This report was prepared with Codex assistance from local process samples, Windows events, isolated app-server tests, and the owner's observations. Raw logs and private workspace paths are omitted.
Versions
User-visible trigger
The owner reports more than ten laptop lockups after connecting from the tablet and switching existing tasks two or three times. Some incidents occurred with no active agent turns. The display and input became unusable and required a forced reboot. Connecting both devices to the same Wi-Fi network did not prevent recurrence.
A later phone Remote test also produced Git application errors while switching tasks, although the laptop remained usable during that test. The difference in severity between phone and tablet remains unresolved. Desktop-only use has been stable in this owner's experience; this is not a claim that the defect is globally Remote-exclusive.
Recorded evidence
gitDiffToRemoterequests.git diff --no-textconv --no-ext-diff --binary --no-index -- NUL <untracked-path>. The diagnostic controller stopped the test before a full response; it was not a successful full-diff test.Source-level evidence and requested fix
The inspected public
rust-v0.153.4source has the per-untracked-filejoin_allpath incodex-rs/git-utils/src/info.rs::diff_against_sha, reached through the app-server Git request processor. This matches the mechanism discussed in #30345 and #43019. Git for Windows commonly adds a launcher/worker pair, increasing the OS process count per invocation.Please consider a bounded queue for Android/iOS Remote diff work, with:
gitDiffToRemote/ shared git-utils level, with thousands of synthetic untracked files and repeated requests. Account for Windows launcher/worker pairs and verify cleanup.For a local mitigation, the owner's requirement is to preserve desktop-initiated Git work. A whole-app
GIT_DIR=NULworkaround would disable needed functionality. No custom binary or permanent concurrency patch has been installed.Please identify a fixing commit and desktop-compatible release when available. The owner has already experienced repeated forced reboots; further uncontained reproduction on this laptop would risk more lost work. Sanitized measurements can be supplied through an appropriate channel.
hanarchy commentedon Sep 12, 2026
I can independently reproduce what appears to be the same Windows + Android Remote failure, and I captured the missing memory with PoolMon.
In my environment, the first Remote connection works normally. After disconnecting, the second Remote connection reliably triggers rapidly increasing system commit / paged-pool usage, eventually making the entire Windows host nearly unusable.
Additional evidence from my reproduction:
codex.exeitself remained relatively small (around ~1 GB scale), so the growth was not in the normal Codex user-mode heapI then reproduced it again while running PoolMon. The paged-pool growth was overwhelmingly dominated by the
Obtbtag:Obtboutstanding allocations (Diff): 22,369,435Obtbbytes: 91,491,257,088 bytes (~85.2 GiB)The next-largest paged-pool tags were only in the hundreds of MB, so
Obtbaccounted for essentially all of the abnormal pool growth.My approximate reproduction steps are:
This strongly suggests that, at least in this reproduction, the missing memory is accumulating in Windows kernel paged pool / object tables rather than in
codex.exeuser-mode memory.This also looks potentially related to #31212, which reported Codex-associated kernel pool / object-table growth.
I have the raw PoolMon output and a 1-second system-memory CSV log from the reproduction if they would be useful for investigation.
miaogen123 commentedon Sep 20, 2026
I can not believe this disaster bug has lasted months.
paulodic commentedon Sep 28, 2026
Additional Windows + Android Remote case: process proliferation and system commit exhaustion
This is corroborating evidence for Android Remote issue #41982 and the per-untracked-file Git process proliferation in #43019. The report was prepared with Codex assistance using local logs, Windows events, a retained resource-monitor CSV and an isolated synthetic reproduction. It has not been independently reproduced by OpenAI.
Frequency and user-visible trigger
In my normal workflow, the Windows host hangs every time I send a message through ChatGPT Android Remote. This has also happened with previous Android app versions. This is my repeated experience, not a measured failure percentage: a complete count of attempted sends was not retained. Separate incidents are documented on September 25 and 27, 2026.
The recorded workflow opens/resumes a project chat from Android and sends a message. Automatic diff requests can begin before sending; the exact physical UI gesture that starts resource growth has not been isolated.
Environment and workload
Measured incident: September 25
An Android-client
gitDiffToRemoterequest was logged immediately after the baseline sample. During the following 211.168 seconds:Windows subsequently reported insufficient virtual memory, and the monitor itself failed to allocate memory. The final sample precedes those failures; it does not measure the final maximum. Committed memory is not resident RAM, and pagefile capacity is not the amount of data paged out.
Named ChatGPT/Codex process counts stayed at 22/4. Their combined private memory rose only 0.186 GiB while system commit rose 139.260 GiB. No complete PID census or kernel-pool attribution exists for that historical peak; it must not be described as 17,816 individually identified Git processes.
Separate recurrence: September 27
The same Android connection issued four
gitDiffToRemoterequests at 20:18:02, 20:20:19, 20:21:27 and 20:21:58 UTC, thenturn/startat 20:23:13 UTC. Windows recorded:0xe0000008.0xc00000fdinntdll.dll.No equivalent process/memory time series exists for September 27. Completion records for the four diff requests were not recovered, so overlap between those requests is unproven.
Bounded reproduction of the Git mechanism
An isolated Windows fixture exercised the installed app-server's
gitDiffToRemoteRPC using fresh synthetic repositories, without a model call or private project:All three RPCs completed successfully. Each of the 12 comparisons had a Windows Git launcher/worker pair, under the app-server. The command shape was:
The observed process tree was
codex.exe app-server -> Git/bin/git.exe -> Git/mingw64/bin/git.exe. Ignoring the same synthetic files removed the per-file work and reduced peak test-job memory by 289.57 MiB. This is one run per condition; it is not a fixed per-file cost or proof of an unlimited binary-level concurrency ceiling.The prepared three-file Python harness requires Windows x64, Python 3.10+ and Git. It creates only 1/12-file fixtures. A Windows Job Object limits the workload to 48 active processes, 1 GiB and 12 seconds, with a host-health guard and cleanup confined to that test job. No full-system crash was deliberately reproduced.
Requested engineering investigation
Please investigate the shared/app-server untracked-diff path, including process concurrency and aggregate output limits, repeated Remote refreshes, cancellation and complete Git descendant cleanup. A deterministic regression should use many synthetic filenames with a fake Git runner and assert bounded concurrency; testing only the TUI diff path may miss this helper.
The local evidence supports per-file Git work as a concrete source of resource demand. It does not assign every historical byte to Git or establish the exact kernel failure. The external kernel-pool observations in this issue are an additional investigation lead, not a local PoolMon finding.
Public evidence bundle
Attachment pending: the sanitized companion file OpenAI_bug_report_20260928_v6_PUBLIC.zip is prepared locally and will be added separately. It contains the detailed report, filtered request/events, process/memory CSV, two graphs, bounded reproduction source/results, versions and SHA-256 manifest.
Names, private project/user paths, account/device identifiers, original conversation/session/report UUIDs, host-derived trace hashes, authentication data, full transcripts, private repository contents and raw memory dumps are excluded. Original diagnostic identifiers remain local and can be supplied separately through a private support channel if required. Numeric request IDs, ephemeral PIDs, timestamps, versions and measurements are retained for technical correlation.
andreseugenio-dev commentedon Oct 1, 2026
Adding another independent reproduction of this issue.
I am seeing the same failure pattern repeatedly on a Windows PC when I start controlling an existing Codex session from my phone. It has happened roughly 4–6 times. The sequence is consistent: Codex is running normally on the PC; I connect/control it from the phone; shortly afterward
git.exethrows an Application Error, the machine's memory/resources collapse, the display can go black, and it becomes difficult or impossible to resume work without recovering/restarting the PC.One of the visible dialogs reports an access violation in the usual Windows form:
The instruction at 0x00007FFC9634AE67 referenced memory at ... The memory could not be read.The referenced-memory address was dictated/transcribed from the dialog as0x000000000E 11 EDF 0 0 0 0, so spacing/digit grouping on that second address may not be exact; the important reproducible signature is thegit.exeApplication Error / memory-could-not-be-read failure immediately after beginning mobile Remote control.This is not a one-off crash: it has reproduced several times with the same mobile-control trigger and has caused system-wide instability/black screen. I am no longer going to intentionally reproduce it because of the disruption and risk of losing work.
Please count this as an additional independent Windows + mobile Remote reproduction of #41982.
3 remaining items
onlinegroeicoach commentedon Oct 3, 2026
Same issue here was using and older GIT version from november 2023, updated to newest hope it helps.
LeeJinSoo-BIN commentedon Oct 7, 2026
Additional Windows / Android Remote reproduction with native process-parent evidence:
Environment: Codex desktop 26.1002.7124.0, bundled native server
codex-cli 0.162.0-alpha.2, Windows, approximately 32 GB physical RAM.Opening an existing conversation from Android Remote triggered a
gitDiffToRemoterequest before a new message was sent. The native app-server request log and Windows process-start trace establish this chain:gitDiffToRemoteto the native app-server about one second later.git.exeprocesses. An additional 2,919 nested Git processes were recorded, for 5,852 Git start events.git -c safe.bareRepository=explicit -c core.hooksPath=NUL -c core.fsmonitor=false diff --no-textconv --no-ext-diff --binary --no-index -- NUL [untracked-file].The installed version's
git-utils/src/info.rsruns one no-index comparison per untracked file via unboundedjoin_all(futures_iter):https://github.com/openai/codex/blob/rust-v0.162.0-alpha.2/codex-rs/git-utils/src/info.rs#L743-L759
The same fan-out remains in main at 9dd7988:
codex/codex-rs/git-utils/src/info.rs
Lines 742 to 765 in 9dd7988
Requests can overlap:
GitDiffToRemoteis declared withserialization: None. A limit applied independently to each request would still multiply under overlapping requests.codex/codex-rs/app-server-protocol/src/protocol/common.rs
Lines 1474 to 1478 in 9dd7988
Proposed narrow fix: use an ordered
buffered(8)stream and a process-wide shared semaphore of 8 for the per-untracked-file comparisons. Acquire before polling the future that spawns Git, hold until it completes, and append completed patches in listing order. This preserves complete diffs and ordering while limiting active comparison operations across concurrent requests. It also avoids retaining every completed subprocess output until the whole batch completes.Exact-version Windows validation is now complete against the final full
codex-cli 0.162.0-alpha.2executable built from the bundled source tag with the attached patch:git_diff_to_remotefuture retains its requiredSendcontract.gitDiffToRemotetests passed for two overlapping requests over 64 files, then two overlapping requests over 2,048 files (4,096 actual no-index comparisons). Both large responses contained every expected file and content marker in listing order, with identical complete diffs (303,104 characters per response). The large test completed in 25.975 seconds and the disposable app-server shut down normally with exit 0; no emergency process stop was needed.The full Windows build and
--versioncheck passed; the executable imports only Windows system DLLs/API sets. The attached patch includes one compile-onlycodex-corerecursion-limit increase to 256, required after the new future layout exceeded rustc's default limit; app-server already uses 256. Reproducing the tagged workspace also required normalizing 161 internal Cargo.lock package versions to the tag version. External dependency versions and checksums were unchanged; that build-metadata normalization is excluded from the focused patch below.Executable SHA-256:
3BD51C60CDD90A7CBD1F3DA8DD17082E2303C0B05F6BBBA55CD23A77650CD343. Sanitized source patch SHA-256 (including its final newline):5ECB0A71AA3CE2FB0D2259661D1C804198D9FFEBF80D2317812CE332666F377D.Raw logs remain private because they contain local project paths and conversation identifiers. This report concerns process fan-out; it does not add a cap on total diff bytes or change untracked filename parsing.
Proposed exact-version source patch, including regression tests
RicchiutiDev commentedon Oct 10, 2026
I am experiencing what appears to be the same severe Windows freeze while using Codex Desktop with Codex Remote on Android.
Observed behavior
git.exe - Application Errordialog indicating that memory could not be written.Environment / context
I have a photograph showing the black screen and Git application-error dialog. I cannot yet confirm that opening a Remote chat is the immediate trigger, only that the freezes occur during Codex use with Remote in use.
Reporting this here rather than opening a duplicate because the symptoms closely match this issue. Reproduction is risky due to repeated forced shutdowns and possible unsaved work loss.
UnsctMagic commentedon Oct 11, 2026
Adding another affected-user report with a concrete data-loss impact.
I've experienced two incidents involving Codex Mobile/Remote and my PC crashing, and lost work both times. This is more serious than a Codex app hang: a remote interaction should never put the host computer or unsaved work at risk.
I cannot yet confirm whether my incidents share the exact Git-process/memory-exhaustion mechanism described above, and I am not claiming specific logs or versions I haven't checked. But please count this as another report of repeated lost work associated with the mobile-to-PC workflow.
Please prioritize an engineering fix, add safeguards to prevent Remote/background Git operations from exhausting the host, and communicate a safe temporary workaround and the affected/fixed versions. Users should not have to risk losing more work to reproduce the issue.
golee commentedon Oct 12, 2026
Another affected user here, still experiencing this issue on October 12, 2026.
Environment:
Multiple applications crash, including
git.exe,ChatGPT.exe,conhost.exe, and even Windowssihost.exe.Observed exception codes include
0xc00000fd,0xc0000005, and0xe0000008.The entire Windows desktop becomes nearly unusable. Mouse input stutters severely, Bluetooth sometimes stops working, and a forced reboot is required.
This is no longer just a Remote performance issue. It is a serious host stability problem.
Please prioritize a fix and provide an update on the affected versions and expected resolution. I'm reluctant to reproduce it again because of the risk of system instability and data loss.
lavinoys commentedon Oct 13, 2026
Additional affected-user report, reproduced on October 14, 2026 with Windows app package 26.1007.2314.0.
User-confirmed trigger
The user reports that entering the chat causes host RAM usage to reach 100% and makes the entire PC uncontrollable. Opening the chat is the reported trigger; a new task submission was not identified as a required step. Phone OS/model and mobile app version have not been collected.
Environment
Live observations from this reproduction
Times below are 2026-10-14, Asia/Seoul (UTC+09:00). These are sequential samples, not an atomic snapshot.
codex.exewith 48,264 handles, approximately 286 MiB private memory and 328 MiB working set. This is an observed count, not proof that this process owned the missing memory or caused the exhaustion.ChatGPTprocesses. The exact recovery action was not recorded, so no causal conclusion is drawn from that change.Earlier corroborating records on the same machine
All times are also October 14, UTC+09:00.
browser sidebar render process gone,exitCode=39,reason=memory-eviction.memory allocation of 2097152 bytes failed; followed byCodex CLI process exited classifiedAsExpected=falseandfatal_error_broadcasted.The approximately 128 GiB figure above is whole-system commit usage/limit, including the pagefile, not physical RAM or measured ChatGPT-only usage. The allocation owner and any link to the Git-process mechanism in this issue remain unconfirmed in this capture.
Please investigate this matching Remote-chat-open failure on the October app build and provide a fix or a supported safe workaround. Further reproduction can make the whole host uncontrollable; please use the existing evidence rather than requesting another full-system exhaustion test.
Only sanitized measurements and diagnostic error strings are included here. No account identifiers, conversation contents, private paths, or full raw logs are being posted.
DryadsOutdoors commentedon Oct 15, 2026
I'm experiencing this same issue on Windows 11 with Codex Desktop 26.1007.9446.0, Git 2.50.0.windows.1, and 32 GB RAM.
Opening or continuing an existing PC Codex conversation from my phone consistently causes the remote session to hang on "Thinking", followed by Git stack overflow crashes and Codex's app-server restarting.
The Codex logs report:
memory allocation of 40392 bytes failedCodex CLI process exited3221226505Windows reports
git.execrashes with exceptions0xc00000fdand0xc0000005.New conversations created from my phone work. The issue is specifically resuming existing desktop conversations remotely.
Windows SFC and DISM checks passed, and system memory usage was well below the commit limit. Updating Codex and disconnecting Blender MCP did not prevent the problem. #
Sylva1027 commentedon Oct 15, 2026
I can confirm a very similar issue on my Windows 11 PC, reproduced twice today (October 15, 2026).
Both incidents were triggered by accessing my local Codex project through ChatGPT Remote on Android.
First incident:
git.exeprocesses appeared despite no intentional Git operations..bakSID registry mapping to restore my original profile and settings.Second incident:
Win + X → U → R.git.exeprocesses in Task Manager before they disappeared, after which the system recovered.I did not manually kill the Git processes.
The repeated correlation with Remote access strongly suggests a related issue, although I haven't confirmed the underlying cause.
This is potentially a system-level stability issue, not just a Codex performance problem. I'm particularly concerned about the Windows user profile failure following the first incident.
Please consider this an additional independent report. I would prefer not to reproduce it again given the risk of another system crash.
SolidSnake82 commentedon Oct 16, 2026
Title: Codex Remote connection causes repeated Git crashes, DWM failure and Windows black screen
Environment
Problem
When I connect from my Android phone to an existing Codex Desktop session on my Windows laptop, the system becomes unstable. Multiple Git processes crash, Codex Desktop stops responding, Windows Desktop Window Manager crashes, and the display turns black.
Windows does not recover normally, forcing me to restart the laptop using the power button.
The laptop was open, unlocked, awake, and running Codex locally when I connected.
Crash evidence — October 16, 2026
Windows Event Viewer recorded:
git.exeapplication crashes with exception0xC00000FD(stack overflow).git.execrashes with exception0xC0000005(access violation).ChatGPT.execrashed with exception0xE0000008.dwm.execrashed indwmcore.dll, exception0xC00001AD.BugcheckCode = 0.Two groups of related failures occurred during the evening.
Diagnostics performed
Expected behavior
Connecting through Codex Remote should attach to the existing local Codex session without crashing Git, Codex Desktop, Desktop Window Manager, or Windows.
Actual behavior
The Remote connection is associated with cascading application crashes and an unrecoverable black screen.
Request
Please investigate whether Codex Remote is triggering recursive Git operations, excessive subprocess creation, or an interaction with Windows desktop composition. A related report appears to be issue #41982.
I can provide redacted Windows Event Viewer logs and Reliability Monitor screenshots. I have avoided further reproductions because each attempt risks a forced shutdown and loss of unsaved development work.
sanikolov commentedon Oct 16, 2026
Bug: Unbounded Git Process Spawning During Remote Diff Requests Causes System Resource Exhaustion
Summary
A remote Git diff request in the Codex desktop application can trigger thousands of concurrent Git processes when a repository contains numerous untracked files.
The installed Codex app-server implementation launches a separate Git comparison for each eligible untracked file without enforcing an aggregate concurrency limit.
This behavior caused severe Windows system resource exhaustion, including near-total depletion of available system commit memory. Emergency termination of Git processes temporarily restored system stability, but the underlying spawning mechanism remained active.
Status: Root cause strongly identified; permanent fix not verified.
Severity: Critical — potential host-wide resource exhaustion and system instability.
Environment
0.163.0-alpha.10.2gitDiffToRemoteSteps to Reproduce
The following sequence is reconstructed from diagnostic evidence. It should not be reproduced on an unprotected production workstation.
gitDiffToRemote.The exact initial trigger for the first observed process wave was not recovered. A later wave was correlated with a specific Remote diff request.
Actual Behavior
The Codex app-server spawned thousands of concurrent Git processes.
Observed effects included:
Sample Git command structure:
The comparisons included both text files and binary fixture files.
On Windows, Git execution involved a launcher process and the underlying Git executable, increasing the operating-system process count associated with each comparison.
Expected Behavior
Remote Git diff generation should:
Root-Cause Analysis
The diagnostic evidence identifies the Codex app-server's Remote untracked-file diff path as the likely source of uncontrolled Git process creation.
A captured application log recorded an Android Remote client resuming a session and issuing a
gitDiffToRemoterequest shortly afterward.The subsequent increase in Git process counts, combined with the observed process parent-child relationships, links the later resource-exhaustion wave to the Remote diff operation.
Inspection of the public source corresponding to the installed CLI version identified the relevant implementation:
Source: [Codex
[diff_against_sha](https://github.com/openai/codex/blob/rust-v0.163.0-alpha.10.2/codex-rs/git-utils/src/info.rs#L659-L719)implementation](https://github.com/openai/codex/blob/rust-v0.163.0-alpha.10.2/codex-rs/git-utils/src/info.rs#L659-L719)The implementation:
join_allto execute the prepared asynchronous comparisons.This mechanism is consistent with the observed Git command arguments and process fan-out.
Individual process timeouts do not prevent excessive aggregate resource consumption when many processes launch concurrently.
The public upstream main branch contains an implementation using an eight-wide buffered stream:
[Codex upstream implementation](https://github.com/openai/codex/blob/main/codex-rs/git-utils/src/info.rs#L660-L723)
This is evidence of an implementation difference, not confirmation that the installed desktop version includes a complete fix or that overlapping requests are globally bounded.
Impact
The incident affected host-level system stability rather than only the originating repository or session.
Observed consequences included:
The approximate decrease of hundreds of gigabytes in committed memory following process termination strongly suggests that the Git process population and associated work were major contributors.
However, complete per-process memory attribution was not collected, so the precise amount attributable to Git alone is unknown.
Recovery and Current Status
Emergency termination was used to clear the accumulated Git process population.
Subsequent monitoring showed zero Git processes repeatedly over an approximately nine-minute observation window, with substantially improved available commit capacity.
However:
The observed recovery should therefore be considered temporary.
Recommended Fix
Implement coordinated resource limits for Remote Git diff generation:
Related References
Public source — affected version:
https://github.com/openai/codex/blob/rust-v0.163.0-alpha.10.2/codex-rs/git-utils/src/info.rs#L659-L719
Public source — upstream implementation:
https://github.com/openai/codex/blob/main/codex-rs/git-utils/src/info.rs#L660-L723
Related issue:
#41982
Conclusion
The available evidence strongly indicates that the Codex Remote diff implementation can launch an unbounded number of per-file Git comparisons, producing extreme process proliferation and Windows system resource exhaustion.
A later observed incident wave was linked to an Android Remote
gitDiffToRemoterequest. The first wave's initiating request was not established.A permanent solution requires coordinated process concurrency limits, bounded resource consumption, and reliable cancellation across Remote diff operations.
TomaxMe commentedon Oct 18, 2026
After last week update, OpenAI seems to silently fixed this bug.
My Windows 11 Pro works with Android now. After months.
Hopefully, it works for you as well.
Taibr commentedon Oct 18, 2026
Independent Windows reproduction: Android Remote exhausts commit on a 48 GiB host
Adding a captured incident from ordinary Remote chat switching, with independent native resource measurements and a mitigation retest. The evidence supports a product bug: a background Git comparison can create enough subprocesses to exhaust the host's commitment budget and take down the desktop.
Environment
10.0.26200.26.1013.4894.0.0.163.0-alpha.10.2.2.53.0.windows.1.Trigger and direct evidence
About four local chats were active. The operator was switching between chats through Android Remote. A connection identified by the native server as
codex_chatgpt_android_remoteresumed a local chat and sentgitDiffToRemote. The first large Git-process sample followed about 3.335 seconds later.The affected repository's post-incident inventory contained 11,734 untracked entries, mostly generated diagnostic/test artifacts.
Normalized parent-chain evidence, with identifiers removed:
The first burst sample counted 94 live Git processes. Its retained detailed subset contained 69 Git records: 36 directly parented by that same app-server, and 33 parented by its Git launchers. This identifies the native caller; it is not a complete birth trace for every later process.
Captured resource failure
0xc00000fdand Git failures with0xc0000005.0xc00001ad, then with0xc0000005.Sanitized native sample data (relative times; GiB = 2^30 bytes)
Collection used
GetPerformanceInfo, Toolhelp process snapshots andGetProcessMemoryInfo, targeting a two-second interval. The recorder itself issued no Git commands. Under high commitment it deliberately skipped process enumeration so it could continue recording system memory;NAmeans unavailable, not zero. Detailed related-process records were capped at 256 per sample; complete per-name counts and total system counts were not capped. Memory and process snapshots are sampled and not atomic.Matching-version source correlation
The public source for the bundled version has
git_diff_to_remotecalldiff_against_sha. That helper lists untracked files, creates onegit diff --binary --no-indexfuture per file, then awaitsjoin_all(futures_iter). The helper and Git runner show no shared concurrency bound on that fan-out:This strongly identifies the mechanism when combined with the request and process-parent evidence. Exact subprocess command lines were not captured in this incident.
Conditional mitigation and retest
Backed-up repository-local Git exclusions for confirmed generated artifacts reduced the affected repository's untracked set from 11,734 to 86. No files were deleted; the index and tracked source were unchanged. No custom Codex binary was installed.
The actual bundled app-server's
gitDiffToRemotethen completed against that repository in about 4.2 seconds, including all 76 remaining regular untracked files; subsequent chat-control requests succeeded. Directory entries are distinct from those regular-file checks.The operator subsequently reported successful switching across 33 Remote chats, including a very long-running one, with one brief disconnect. A recent 744-sample, approximately 25-minute recording showed a maximum sampled Git count of 6, peak commitment 18.078 GiB, and at least 30.172 GiB available physical memory. DWM was present in every complete sample. No matching application crash/hang records were found in that check. The brief disconnect's cause is unknown.
This is conditional input reduction, not a fix for unbounded subprocess creation. Future large untracked sets can reintroduce the problem. There was also a separate stale-worktree cleanup retry loop; these measurements do not establish that it caused this burst.
Requested product correction
Please bound concurrent Git comparisons across overlapping requests, before subprocess creation; avoid retaining all completed per-file outputs until the batch ends; and make unavailable or truncated previews explicit. Regression coverage should use disposable repositories with many untracked files and overlapping requests, including Windows launcher/worker pairs.
Public evidence here is intentionally limited to versions, aggregate counters, relative timing, normalized ancestry and source links. Account names, hostnames, local paths, repository names, chat/session IDs, original process IDs, credentials and raw private logs are omitted.
tangiblewaves commentedon Oct 19, 2026
Can confirm this; access via ChatGPT remote works again like expected now.
JuanjoSCu commentedon Oct 23, 2026
Confirmed reproduction on Windows 11 — 2,800+ Git processes, Android Remote trigger (October 23, 2026)
I can confirm that this issue is still reproducible on October 23, 2026, with the latest Codex Desktop update available to me (installed October 22).
System configuration
First incident — More than 2,800 Git processes
While working with Codex Desktop, Windows became almost completely unresponsive:
git.exeprocesses.I ran:
taskkill /F /IM git.exeThe command terminated more than 2,800
git.exeprocesses. I also stopped the active Codex tasks normally using the Stop button; I did not forcibly terminate the Codex application.After these actions, RAM utilization dropped from 99% to approximately 50%, and Windows recovered without a reboot. Since both actions were taken, I cannot attribute the entire reduction to
taskkillalone.Repository cleanup
My main project initially had 106,080 untracked, non-ignored files, mostly generated reports, temporary browser profiles, Playwright artifacts, and test outputs.
I applied selective local Git exclusions, reducing that count to 15,072 files (an 85.8% reduction). Codex Desktop then appeared to work normally during local use.
Second incident — Triggered by connecting from Android
The issue returned when I attempted to connect to Codex from my Android phone.
A PowerShell monitor was counting active
git.exeprocesses every five seconds. Here is the actual recorded sequence (October 23, 2026, CEST / UTC+2):git.exeprocessesImportant clarification about the fluctuations
The decreases in process counts were due to my manual intervention, not Codex recovering or stabilizing on its own.
I was using another terminal window to repeatedly kill
git.exeprocesses while the monitor continued recording, to prevent Windows from locking up again. Despite that, new Git processes kept appearing at an alarming rate.1,189 is the highest simultaneous count observed in this monitoring interval, not the total number of Git processes spawned. The cumulative number was higher because I was terminating processes throughout the incident.
Observations and request
This points to Git operations triggered by Android Remote connection/synchronization, rather than simply heavy local repository activity. A global Git subprocess concurrency limit, protection against overlapping Remote refresh operations, and cancellation of obsolete Git operations would be worth investigating.
I can provide the timestamped monitoring log and additional diagnostics if useful.
Please prioritize this issue: it can exhaust system resources and effectively freeze Windows.
Yurii0123 commentedon Oct 23, 2026
Additional Windows incident on 2026-10-23: native 0.163.0-alpha.11.2, Android diff request before the user turn, and two process dumps
I experienced a Windows host freeze after connecting to an existing local Codex chat from Android Remote. I have noticed this association on earlier occasions as well. The retained logs and two manual process dumps from this incident corroborate the
gitDiffToRemotemechanism described here.Environment: Windows 11 Pro x64, OS version
10.0.26300; desktop packageOpenAI.Codex_26.1016.8622.0; actual bundled executable reportscodex-cli 0.163.0-alpha.11.2. Post-reboot configuration showed approximately 64 GiB physical RAM and a system-managed 64 GiB pagefile; these are not measurements of the incident's peak commit or previous commit limit.Request sequence, all UTC on October 23:
Adjacent native log records identify connection 25 as
codex_chatgpt_android_remote; all three requests belong to the same native app-server process. The diff request preceded the user turn by 71.681 seconds. Opening/resuming the chat initiated the Git work before the new task was submitted.A post-incident, read-only listing found 87,713 nonignored untracked files, including 15,381 under a locally installed Zig toolchain. This is a post-incident inventory, not an observed count of concurrent processes.
Two manual full-memory process dumps, captured at 17:51:53 and 17:52:19 UTC, showed:
ntdll!NtCreateUserProcess/ZwCreateUserProcess+0x14, withRAX=0xc000010a(STATUS_PROCESS_IS_TERMINATING).The user had been unable to force-close this residual process. The dumps corroborate the process-creation path but do not establish the precise kernel/driver reason termination did not complete. They contain no kernel stack and are not attached publicly.
System-wide failure evidence:
Application Errorrecords forgit.exeand 18 forconhost.exein the selected incident window; these are crash records, not simultaneous-process counts.0xe0000008(Chromium OOM).1455; another application failed to create CoreCLR with0x8007000E.The matching source tag's
diff_against_shaenumerates nonignored untracked paths, creates a no-index Git comparison for each, and awaits the set withjoin_all. This matches the command recovered from the dumps; it is source-level corroboration, not a byte-for-byte reconstruction of the shipped executable.Repository ignore cleanup subsequently reduced the affected repository's untracked set to 39. No large-scale RPC reproduction or post-mitigation Remote retest was performed, so this is a verified reduction of eligible files, not proof of a product fix.
Current upstream
mainappears to bound this path withMAX_CONCURRENT_UNTRACKED_DIFFS = 8. Please identify the Desktop release containing that change, and consider shared bounds across overlapping Remote requests, cancellation/descendant cleanup, and aggregate diff-output limits. An automatic chat-opening refresh should remain bounded even when a repository has many untracked files.Only reduced diagnostic facts are included here. No full dumps, private repository contents, account credentials, private paths, or chat transcripts are attached.