Repository navigation
Description
What version of the Codex App are you using?
- Microsoft Store/MSIX package: 26.1002.7124.0
- Installed internal app release: 26.1002.52244, build 13536, prod channel (verified by the app's information-only update check).
- Prior internal release 26.930.61225 also appears in the available diagnostic history. This is chronology, not proof of an update regression.
What subscription do you have?
Not collected during this diagnostic investigation.
What platform is your computer?
- Windows 11 Home 25H2 x64, 26200.9457
- 32 GiB installed RAM, approximately 31.52 GiB usable
- 8 logical processors
- System Git: 2.55.0.windows.3
- Separate Codex primary-runtime Git: 2.53.0.windows.3
What issue are you seeing?
The user reports repeated whole-PC freezes while working in Codex, accompanied by a git.exe memory-write error popup. A read-only investigation found 39 git.exe crashes, one Codex desktop application hang, and crashes in other Windows processes in the same incident windows.
Translated popup:
The instruction at 0x00007FFD9C2BB2C0 referenced memory at 0x0000000000000000. The memory could not be written.
An Application Error event on 2026-10-09 22:12:49.734 (UTC+09:00) exactly matches that instruction address: git.exe, exception 0xc0000005, fault address 0x00007ffd9c2bb2c0, module unknown.
This is a current-version diagnostic report submitted at the affected user's explicit request. A later passive capture establishes massive Codex-descended Git accumulation; the allocation mechanism and exact triggering code remain unresolved. See the latest follow-up.
Observed timeline
All times below are UTC+09:00. Windows Application/System events and Win32_ReliabilityRecords were checked over approximately the preceding 72 hours. Reliability records corroborate the application events; they are not counted as additional crashes.
| Time | Evidence |
|---|---|
| Oct 8, 12:01:31–12:01:59 | Eight canceled Git completion records including status/diff. |
| Oct 8, 12:05:55 | conhost.exe crash in ucrtbase.dll, 0xc0000409. |
| Oct 8, 12:06:17–12:10:06 | 12 git.exe Application Error events. |
| Oct 8, 12:07:26.115 | Codex desktop diagnostic log: errorCode=SQLITE_NOMEM, errorName=SqliteError. |
| Oct 8, 21:34:57 | Codex desktop ChatGPT.exe Application Hang 1002, executable version 155.0.8059.27, HangType=Unknown, package 26.1002.7124.0. |
| Oct 9, 21:30:10 | Canceled diff: requestKind=review-summary, source=review_model. |
| Oct 9, 21:31:10–21:31:11 | Two status timeouts: durationMs=60004, source=review_model, requestKind=review-summary; durationMs=60000, source=composer_content, requestKind=watch-repo. |
| Oct 9, 21:34:57–21:36:48 | 15 git.exe crashes, alongside conhost.exe and other service crashes. |
| Oct 9, 21:36:35 | dwm.exe crash in dwmcore.dll, 0xc00001ad. |
| Oct 9, 21:38:16 | Kernel-Power 41, BugcheckCode=0; EventLog 6008 follows. |
| Oct 9, 22:11:21–22:14:12 | 12 more git.exe crashes, alongside conhost.exe, PresentMonService.exe and WerFault.exe failures. |
| Oct 9, 22:12:49.734 | git.exe event matching the supplied popup address. |
| Oct 9, 22:20:38 | Another Kernel-Power 41, BugcheckCode=0; EventLog 6008 follows. |
Kernel-Power 41 is evidence of an unclean shutdown, not an established cause. The previous-shutdown times embedded in Event 6008 messages do not cleanly align with subsequent crash timestamps, so they were not treated as precise freeze onset times.
Git crash signatures and executable identity
All 39 Git crashes were recorded under the system Git installation, at its cmd/git.exe or mingw64/bin/git.exe, rather than the separate Codex runtime installation.
- 12 access violations (0xc0000005): 11 in msvcrt.dll at offset 0x7b2c0; one with unknown module at the popup address.
- 25 stack-overflow events (0xc00000fd): ntdll.dll (18), git.exe (4), KERNELBASE.dll (1), unknown module (2).
- 2 events with 0xc0000409: ucrtbase.dll.
The current Codex agent PowerShell session resolves bare git to system Git first. However, there was no live Git process during observation and the diagnostic completion records did not expose an absolute Git executable path. The older crash events did not capture parent chains. The latest passive capture does establish Codex-descended Git accumulation; see the follow-up below.
Desktop diagnostic-log findings
Only diagnostic operational fields were extracted from the accessible desktop logs. Within the approximately 72-hour interval:
- canceled: 957 Git completion records
- nonzero_exit: 100
- wait_failed: 15
- timed_out: 3
- SQLITE_NOMEM: 1
Cancellation counts are not process-creation or crash counts. Many nonzero_exit records were config lookups with exit code 1, which can be expected for absent configuration.
Log files created after the 21:38 and 22:22 restarts were zero bytes, leaving the second incident without usable app-side correlation. Four sandbox-service event 1003 records appeared after the two boots, but their message/data could not be decoded and no causal connection is claimed.
The initial pass found no matching Resource-Exhaustion-Detector, WHEA-Logger or MemoryDiagnostics-Results events in the basic System channel. A subsequent investigation of separate Operational/Errors channels found decisive commit-exhaustion evidence and boot firmware records; see the follow-up below.
Post-reboot observation — not incident measurements
Four brief samples around 22:29:34–22:29:51, during the diagnostic conversation:
- git.exe count: 0 in every sample
- available physical memory: 17.55–17.56 GiB
- system commit: 14.68–14.69 / 42.02 GiB
- Codex plus processes found by descendant traversal: approximately 113 processes, 5.59–5.60 GiB private memory
A separate five-second sample of 47 processes identifiable by Codex/OpenAI executable paths measured approximately 9.6% of total CPU capacity and 4.70 GiB private memory. These are different process scopes and should not be compared directly.
No freeze was reproduced during observation. These post-reboot values cannot establish resource usage at the time of failure.
Reproduction and expected behavior
The issue occurred during ordinary Codex work. Exact deterministic reproduction steps are unknown. No stress test or deliberate freeze reproduction was attempted.
Expected: ordinary Git status/review work should remain bounded and should not destabilize the app or Windows. Failed/canceled jobs should release child-process and captured-output resources safely.
Hypotheses and requested investigation
Please investigate the Windows Git status/review execution, timeout, cancellation and child-process cleanup paths, particularly review_model/review-summary and composer_content/watch-repo. A Git/runtime issue or transient system resource exhaustion could also produce the observed cascade.
System-wide commit exhaustion is now established by incident-time Windows Operational records (see below). The evidence still does not establish RAM failure, a Codex heap leak, or a confirmed Codex product defect. No incident-time per-process allocation/parent-chain capture or crash-dump analysis exists.
Please advise whether a fixed build or supported mitigation is available and how to obtain bounded, privacy-preserving diagnostics without reproducing full system exhaustion.
Related public reports
- [Critical][Windows Desktop 26.721.4979.0] runaway background Git loop exhausts system commit, crashes DWM, and forces reboot #35776 — Git accumulation/commit exhaustion and DWM failures, including matching caller paths in later comments. This machine now has incident-time commit-limit evidence, but no captured incident-time Git accumulation or parent-chain evidence.
- Some git related commands lead to a git.exe crash window showing up on Windows #40922 — similar Git null-address error popup, but reported as a read failure around rebase; this popup is a write failure.
- [Windows Desktop][26.803.10989.0] Memory grows to 8.8 GB while idle and UI freezes after 1-2 messages #38059 — desktop memory growth/hangs; no equivalent sustained renderer-growth measurement exists here.
Safety and privacy
No processes were terminated, no restart/update/reinstallation was performed, and no cache, conversation, repository, registry, page-file or security setting was changed during the investigation. The information-only updater returned unavailable because a Store eligibility check may download updates; no Store check was started.
No raw logs, dumps, conversation transcripts, credentials, account information, usernames, hostnames or personal repository paths are included.
Follow-up: incident-time system commit exhaustion confirmed
A deeper read-only investigation on October 9 located Microsoft-Windows-Resource-Exhaustion-Detector/Operational, which was omitted from the initial basic Application/System-channel pass. This materially strengthens the diagnosis.
Event 1003 contains UserData/CommitLimitExhaustion with exact SystemCommitCharge and SystemCommitLimit:
| UTC+09:00 time | Committed bytes | Limit bytes | GiB charge / limit | Utilization |
|---|---|---|---|---|
| 2026-10-08 12:05:45.801 | 97,660,596,224 | 97,713,053,696 | 90.954 / 91.002 | 99.946% |
| 2026-10-09 21:34:09.327 | 97,600,921,600 | 97,713,053,696 | 90.898 / 91.002 | 99.885% |
| 2026-10-09 22:10:51.819 | 97,618,530,304 | 97,713,053,696 | 90.914 / 91.002 | 99.903% |
Each exhaustion record precedes the corresponding Git crash cluster. Detector Event 1007 then reports that the resource exhaustion detector itself suffered a memory-allocation failure; Event 1008 reports failure to diagnose the low-virtual-memory condition. A further allocation failure occurs at 22:13:48.
The desktop diagnostic logs also contain net::ERR_INSUFFICIENT_RESOURCES at Oct 8 12:05:57, 12:07:09, and Oct 9 21:34:21 (UTC+09:00), corroborating the pressure before/during the crashes.
This establishes system commit exhaustion as a confirmed incident condition and a strong explanation for the cross-process allocation failures/crash cascade. It does not identify the process(es) responsible for consuming the approximately 91 GiB, or prove that all subsequent failures have only this cause. No Event 4688 process-creation audit records were available for the queried interval. Accessible archived Git WER metadata did not provide parent-process or per-process commit information; some WER reports were access-denied and those restrictions were not bypassed.
Follow-up: boot firmware records also present
Microsoft-Windows-Kernel-WHEA/Errors contains Event 20 at Oct 9 21:38:16 and 22:20:37. The CPER headers were decoded read-only against the UEFI specification:
- severity 1 (Fatal)
- notification type BOOT
- flags 2 (PREVERR, previous-session record)
- four Firmware Error Record Reference sections, type 2/revision 2, each using record GUID 8f87f311-c998-4d9e-a0c4-6065518c4f6d
These are previous-session firmware records surfaced during boot, not proof of defective RAM or a specific failed component. The vendor payload has not been decoded and its relationship to exhaustion versus shutdown/reset remains unresolved.
Updated diagnostic conclusion
Confirmed: the machine reached approximately 99.9% of its system commit limit before all three Git crash clusters.
Not yet established: the allocation owner and whether Codex Git child-process accumulation, retained buffers, another process, or a kernel allocation leak caused that exhaustion.
Please prioritize bounded per-process private-memory/parent-chain diagnostics and the Git cancellation/cleanup paths without requiring another whole-system exhaustion incident.
Latest follow-up (Oct 9): passive capture links 6,094 accumulating Git processes to Codex, while the user opens mobile Remote
At the user's explicit request, a lightweight read-only collector was started for at most 30 minutes, with nominal 10-second intervals and a 75% commit stop threshold. It collected only system performance counters and process executable names, PIDs, parent PIDs, creation times, private memory and working sets. It did not capture command lines, prompts, paths or credentials, and did not terminate processes or deliberately reproduce a freeze.
The user subsequently reported another PC freeze. On checking the surviving collector files, eight samples were present. The collector had stopped at 22:50:33 (UTC+09:00) because system commit reached 86.793%. Sampling slowed under pressure; the threshold was crossed between samples. Stopping collection does not stop the underlying Git workload.
| UTC+09:00 sample time | git.exe processes | Aggregate Git private GiB | System commit GiB / limit |
|---|---|---|---|
| 22:49:52 | 0 | 0 | 15.359 / 42.023 |
| 22:50:04 | 1,701 | 4.464 | 21.038 / 42.023 |
| 22:50:28 | 5,904 | 13.968 | 27.756 / 42.023 |
| 22:50:33 | 6,094 | 15.560 | 36.473 / 42.023 |
The final process snapshot has 6,094 distinct Git PIDs, with readable private-memory counters for all of them:
- 6,092 Git processes trace through parent chains to a single codex.exe backend.
- Of these, 3,424 are direct children of that backend; the remaining 2,668 are descendants through Git.
- The remaining 2 Git processes trace directly/indirectly to the Codex desktop ChatGPT.exe process.
- Therefore all 6,094 captured Git processes belong to the Codex desktop process tree.
- Process creation times were checked along the captured ancestry chains; no parent-newer-than-child PID-reuse mismatch was found.
- The 6,092 backend-linked Git processes account for 15.557 GiB private memory.
- The backend itself used approximately 0.386 GiB private memory.
- The collector itself used approximately 14.9 MiB private memory.
- System paged/nonpaged pools also rose from approximately 0.520/0.364 GiB to 1.869/1.007 GiB. These are separate system counters; the entire increase is not automatically attributed to Git.
These are sequential snapshots, not atomic measurements. System counters are collected before process enumeration, process counts can change during enumeration, and the final capture precedes the true peak.
After collection stopped, Windows Operational events confirmed renewed exhaustion:
- 23:00:39: system commit 90.885 / 91.002 GiB (99.872%)
- 23:03:06: system commit 90.786 / 91.002 GiB (99.763%)
- Resource detector allocation/diagnostic failures accompanied those events.
- A subsequent boot occurred at 23:06:10, with Kernel-Power 41 afterward.
No incident-time per-process samples exist after the 75% stop threshold, so the final approximately 91 GiB cannot all be assigned to Git from these measurements.
Mobile Remote trigger evidence
The user explicitly confirmed that between 22:49:52 and 22:50:04, they opened mobile Codex Remote or checked task progress, without sending a task/message. This overlaps the first jump from zero to 1,701 Git processes.
This is a user-confirmed trigger correlation plus host process evidence, not a captured Remote request trace. The desktop diagnostic log files for that running session were zero bytes, so the exact Remote request/method cannot be verified.
Closely matching public report: #41982, opened September 1, 2026, on internal app version 26.825.51511. It describes opening a mobile Remote task without sending a prompt followed by Git accumulation and Windows OOM. That report is a user report, not an established maintainer root-cause finding.
Updated conclusion and engineering request
The immediate failure mechanism is now much more specific: rapid accumulation of thousands of Codex-descended Git processes, consuming substantial private memory and occurring before system commit exhaustion. Mobile Remote task opening is a strongly supported triggering action in this episode.
Please investigate the Remote task-open/hydration Git collection path, per-file diff concurrency, repeated refresh scheduling, cancellation, and descendant cleanup in the Windows backend. Whether this is unbounded work fan-out, failed cleanup, retries, or a combination remains unresolved. We have not captured Git arguments and should not assert a particular subcommand for the 6,094 processes.
No further reproduction is being requested from the user. No raw collector data is uploaded; only the anonymized measurements above are included.
Activity
[-][Windows Desktop 26.1002.52244] repeated PC freezes with 39 Git crashes, status timeouts, SQLITE_NOMEM and DWM failure[/-][+][Windows Desktop 26.1002.52244] confirmed ~91 GiB system commit exhaustion precedes repeated Git crashes and PC freezes[/+][-][Windows Desktop 26.1002.52244] confirmed ~91 GiB system commit exhaustion precedes repeated Git crashes and PC freezes[/-][+][Windows Desktop 26.1002 / mobile Remote] opening Remote coincides with 6,094 Codex-descended Git processes and system commit exhaustion[/+]msg7086 commentedon Oct 12, 2026
Can confirm this is triggered by codex remote from mobile phone. The moment it connected, it quickly burned all memory (96GB in my case) with thousands of git.exe and conhost.exe and crashed my computer, twice in a row.
iavealokin commentedon Oct 22, 2026
Additional evidence of the same Windows / Android Remote failure on a recent desktop build.
Environment
Captured failure
Opening Codex on Android coincided with rapid accumulation of Git processes descended from the Windows Codex backend. The affected person confirmed opening the mobile client around onset.
Rounded measurements from successive non-atomic snapshots, over approximately four minutes:
The last sample also contained roughly 3,200 console hosts. Thousands of Git processes had the same Codex backend as their recorded direct parent. A captured ancestry example, with process identifiers and timestamps removed:
Local backend traces immediately preceding the rise record:
codex_chatgpt_android_remoteissuingthread/resume.gitDiffToRemote.The desktop subsequently reported
SqliteError: out of memoryinDatabase.prepare → readSyncState → Timeout._onTimeout. The Windows taskbar also stopped updating and required an Explorer restart.Limits and mitigation
These observations establish substantial private-memory consumption by thousands of Codex-descended Git processes. They do not identify the exact faulty algorithm, every Git subcommand, or a complete allocation breakdown. Enumeration slowed under pressure; timestamps and counters were sampled sequentially, and the last surviving sample is not necessarily the true peak.
Composer predictions were disabled and inactive-thread unload delay was set to 60 seconds before this incident. Those changes did not prevent it. Local containment now interrupts excessive Codex-descended Git concurrency after saving evidence, but that is a workaround, not a validated product fix.
Please investigate the Windows Android Remote hydration /
gitDiffToRemotepath, bounded Git concurrency, cancellation and descendant cleanup, and advise on a supported mitigation or fixed build. No additional full-system exhaustion reproduction is planned.This comment contains a deliberately reduced technical summary, not raw logs or attachments. Metrics are rounded and timestamps/identifiers removed to reduce correlation risk.
slep2-0 commentedon Oct 23, 2026
Can confirm it happens in codex version
26.1022.11436
Opening remote on my phone instantly surged up git and conhost processes, which first I thought was a deadlock with the NVIDIA driver I have (since it did a bugcheck a few days ago)
Turns out after crashing the computer using CrashOnCtrlScroll and viewing the dump it was codex.exe's fault.
Small codex report on the memory dump:
found 11,489 active Git processes, 11,069 console hosts, 23.77 GiB of handle-table paged pool, and 99.03% commit utilization. A Codex backend retained handles to 16,953 exited Git processes.
It also recovered a USER critical-section dependency: console hosts, Explorer, and CSRSS were blocked behind an MSI Afterburner thread servicing a compression-store page fault. No circular deadlock or convincing driver culprit was established.
Assess whether the evidence supports Codex subprocess/resource accumulation as the initiating cause, or whether that accumulation could be secondary to another stall. Identify unsupported conclusions and the smallest next diagnostic step that would distinguish those possibilities. Treat 0xE2 as the intentional capture mechanism.
If you deem the memory useful, comment and I'll attempt to attach it, maybe host it, its a 10GB dump.