[Bug]: Windows 10: repeated 0x139 BSODs in NtfsCopyReadA while T3 Nightly is running (causality unconfirmed) #21773
Before submitting#
- I searched existing issues (BSOD, KERNEL_SECURITY_CHECK_FAILURE, Ntfs, blue screen) and did not find a matching report.
- I included the available investigation evidence and its limitations.
Area#
apps/desktop
Summary#
Two Windows kernel crashes on consecutive days have the same NtfsCopyReadA / stack-cookie failure path while the current process is T3 Code Nightly. I suspect a T3 workload may trigger the problem and would appreciate help isolating the relevant Windows/Electron file-I/O activity.
This establishes correlation, not a proven T3 defect. CPU/firmware instability is a significant alternative explanation (details below). A process name in a kernel dump does not establish who corrupted memory.
Steps to reproduce#
Observed scenario:
- Run T3 Code Nightly desktop on Windows 10 with an active local workspace and coding-agent sessions.
- Leave the application in use over an extended period.
- On two occasions Windows bugchecked with 0x139 / parameter 1 = 2, with T3 Code as the current process and an identical NtfsCopyReadA failure path.
No minimal deterministic repro yet. The exact UI action, file/read request and T3 build at either crash have not been recovered. No controlled T3-on/off comparison, reduced-workspace repro or second-machine repro has been performed.
Expected behavior#
The app continues operating without a host kernel crash. If this is a Windows/driver/hardware issue exposed by T3's workload, guidance on isolating that workload would help.
Actual behavior#
The host crashed and restarted. Dump-header timestamps, UTC+08:00:
- 2026-10-18 09:35:13.713: 0x139, parameter 1 = 2.
- 2026-10-19 06:26:53.776: same bugcheck and failure path.
Both dumps display PROCESS_NAME as "T3 Code (Night", truncated by the kernel process-name field. The faulting PID did not match the main/renderer PIDs in the retained renderer-history samples from the preceding ten minutes; the exact Electron subprocess role remains unknown.
Impact#
Major degradation or frequent failure: full host crashes interrupt ongoing work.
Version or commit#
Installed at reporting time: 0.1.1-nightly.20261019.3360, from the executable's FileVersion. This is not a verified build for the earlier crashes, because the application updates and their exact builds were not recovered.
Environment#
- Windows 10 Pro N 22H2, build 19045; dump kernel image version 10.0.19041.6456.
- T3 Code Nightly Windows desktop, Codex coding-agent sessions; Hyper-V/VBS enabled and WSL in use.
- Intel Core i9-14900KF; Gigabyte Z790M AORUS ELITE AX ICE; BIOS F3, 2024-09-27.
- CPU microcode registry bytes 00-00-00-00-2B-01-00-00 (revision 0x12B).
- 32 GB RAM, 2 x 16 GB Micron, configured at 5600 MT/s.
- RTX 5070 Ti; NVIDIA Windows driver 32.0.16.1088 at reporting time.
- Two Seagate ZP2048CM30003 SSDs report Healthy/OK. This is not a full hardware test.
Logs or stack traces#
Five existing minidumps were analyzed locally with WinDbg/CDB. Both relevant dumps have this same ordered path (addresses removed, offsets retained):
BUGCHECK_CODE: 139
BUGCHECK_P1: 2
PROCESS_NAME: T3 Code (Night
FAILURE_BUCKET_ID: 0x139_MISSING_GSFRAME_nt!KiFastFailDispatch
nt!KeBugCheckEx
nt!KiBugCheckDispatch+0x69
nt!KiFastFailDispatch+0xd0
nt!KiRaiseSecurityCheckFailure+0x332
Ntfs!_report_gsfailure+0x5
Ntfs!_GSHandlerCheckCommon+0x5a
Ntfs!_GSHandlerCheck_SEH+0x42
nt!RtlpExecuteHandlerForException+0xf
nt!RtlDispatchException+0x297
nt!KiDispatchException+0x186
nt!KiExceptionDispatch+0x12c
nt!KiPageFault+0x452
Ntfs!NtfsCopyReadA+0x641
Windows Error Reporting independently bucketed both as:
0x139_2_STACK_COOKIE_CHECK_FAILURE_Ntfs!__GSHandlerCheck_SEH
The WER/local-WinDbg bucket difference is intentional. These are kernel-generated triage dumps with unavailable memory/trap-frame data; neither bucket is definitive attribution.
Current fltmc filters:
bindflt, UCPD, WdFilter, storqosflt, wcifs, CldFlt,
FileCrypt, luafv, npsvctrig, Wof, FileInfo
The retained desktop trace before the second 0x139 crash ends about 20 seconds before its dump timestamp. The preceding two minutes contain routine local-environment/bootstrap IPC spans and preview shortcut updates (longest recorded span approximately 0.164 ms). Nothing recovered ties a particular file read to the kernel failure. Desktop trace history covering the first crash has rotated out.
Important confounders / limits#
- WHEA recorded corrected CPU-core internal parity errors on October 1 and October 18. CPU/platform instability is a serious alternative explanation.
- Current microcode is 0x12B. Intel recommends 0x12F or later and Intel Default Settings for affected 13th/14th-gen desktop CPUs: https://www.intel.com/content/www/us/en/support/articles/000102331/processors.html . A BIOS/default-settings comparison has not been performed.
- Other dumps show different paths: September 22, illegal instruction in nt!CcMapAndCopyInToCache while python.exe was current; October 16, 0xD1 in dxgkrnl!DXG_SIGNAL_GUEST_CPU_EVENT_CBLT::ReleaseReference with dxgmms2/nvlddmkm on the stack; October 18, 0x20001 Hypervisor error. No common root cause is claimed.
- A later October 19 abnormal shutdown has Event 41 / BugcheckCode=0 and no new dump; it cannot be attributed to T3.
- No disk/NTFS warning/error events were found in the inspected System-log window since October 18. RAM/CPU stability has not been validated with offline tests.
Workaround / request for triage#
No verified workaround. No BIOS, driver, Hyper-V/VBS or GPU-acceleration changes were made during this investigation.
Could maintainers suggest:
- How to identify the T3/Electron subprocess involved in file reads when the dump process name is truncated?
- Which supported diagnostics/toggles best isolate Windows desktop file-reading, indexing or watcher activity?
- Whether this resembles a known Windows 10/Electron issue, or whether the hardware/firmware confounders should be resolved before further T3-specific investigation?
Only sanitized text is included. No raw dumps, application databases, provider transcripts, credentials, workspace contents or full application logs are attached.
juliusmarminge added labelsupstream
juliusmarminge added labelsvia-triage
juliusmarminge closed this
Sign in to join this conversation.
Note
Grok responding on behalf of Julius.
Thanks for the careful write-up, and for being upfront about what the dumps can and can't show. Sorry you're dealing with crashes like this.
A 0x139 stack cookie failure inside the NTFS driver means kernel memory was corrupted. An app can't cause that through normal file reads. The process name only says whose request was being served when it happened. On your subprocess question: the desktop app also runs its local server from the same executable in Node mode (
apps/desktop/src/backend/DesktopBackendManager.ts:430-435). So that name covers the server too, not just the main, renderer and GPU processes, and it doesn't single out one of them.The other signs fit the known 13th and 14th gen instability. Corrected CPU parity errors in WHEA, crashes in unrelated processes and drivers, and microcode 0x12B on an i9-14900KF all point there. Updating the BIOS to a version with microcode 0x12F or newer, using Intel default settings, and then stress testing is the best next step.
Closing this as upstream, since it's outside what T3 Code can fix.