Antigravity 2.19.1 on Windows 10: intermittent renderer 0xC0000005 after startup port renegotiation / WSL probe failure

## Summary

On Windows 10 build 19045, Antigravity 2.19.1 intermittently launched, created its main window, and then left a blank/dark frame while renderer processes terminated with STATUS_ACCESS_VIOLATION (0xC0000005).

This was investigated extensively. The earlier NTFS-corruption hypothesis was ultimately falsified. The strongest remaining signal is a transient startup failure around host-bridge port renegotiation / renderer reload, with a failing WSL state probe immediately before the crash sequence.

## Environment

- Windows 10 Pro x64, build 19045

- Antigravity 2.19.1

- Electron 44.3.0

- Chromium 152.0.7977.78

- Node 24.20.0

- V8 15.2.124.19

Reference app on the same machine:

- Antigravity IDE 2.5.5

- Electron 39.2.3

- Chromium 142.0.7444.175

## User-visible symptom

Antigravity opens a normal top-level window, but the application content stays blank/dark. During failing launches renderer processes exit natively with:

```text

3221225477 = 0xC0000005 = STATUS_ACCESS_VIOLATION

```

## Historical failure sequence

The relevant main.log sequence was:

```text

Starting app (v2.19.1) with dynamic port…

Host bridge server listening on 127.0.0.1:PORT

[Auto-Restart] Port changed! Reloading all windows with URL: 127.0.0.1:PORT+1/

wsl:get-state failed: Error: wsl.exe --list --verbose failed:

Command failed: C:\Windows\System32\wsl.exe --list --verbose

…resources\app.asar\dist\ipcHandlers.js:393:29

at async Session. (node:electron/js2c/browser_init:2:123817)

Renderer process crashed

```

## Statistics

Across 207 logged launches there were 15 renderer crashes, all inside one ~90-minute window on 2026-10-03:

| Hour | Launches | Renderer crashes |

|—|—:|—:expressionless:

| 01 | 47 | 8 |

| 02 | 74 | 7 |

| 03 | 67 | 0 |

| 04 | 16 | 0 |

After the failure window ended, 83+ consecutive launches were clean.

In instrumented failing runs, the frontend could initialize and reach first paint/TTIR before the renderer died. Generic GPU/compositor variants did not materially change the failure.

## NTFS / install-tree investigation: negative result

A file-system-object theory initially looked plausible because a clean file-level copy rendered while the original tree crashed. That was tested rigorously and ultimately refuted.

A 2×2 factorial over NTFS object identity was run:

| Arm | Root directory object | Child file objects | Result |

|—|—|—|—|

| A | original | fresh | 7 processes, 0 crashes |

| B | fresh | original | 7 processes, 0 crashes |

| C | fresh | fresh | 7 processes, 0 crashes |

| D | original + original (full reconstruction) | original | 7 processes, 0 crashes |

Arm D reconstructed the exact original tree with identity-preserving same-volume renames. It launched clean.

Additional clean controls:

- hard links to original file records

- alternate install paths

- cold starts

- 100-second cooldowns

- I/O saturation

- CPU saturation

- fresh --user-data-dir

- byte-for-byte content comparison

Conclusion: there is no causal NTFS file or directory object.

Confidence:

- ~95% that NTFS object identity is not causal

- ~70% that the fault was transient/environment-dependent and is no longer present

## Other hypotheses checked

Refuted or strongly weakened:

- user profile corruption

- path-string dependence

- GPU/compositor

- ordinary proxy configuration

- UTF-8 BOM in app_storage.json

- media enumeration

- foreign DLL injection

- basic ACL / IFEO / AppInit_DLLs paths

- certificate bypass as root cause

Unverified because they require elevation:

- chkdsk C: /scan

- fltmc filters

- fltmc instances

- fsutil dirty query C:

- fsutil repair query C:

No repair commands were run.

## Why the startup sequence looks suspicious

Every historical failing sequence had this shape:

1. host bridge begins listening on a dynamic localhost port

2. Antigravity detects a changed port

3. [Auto-Restart] Port changed! forces a full window reload to a new localhost URL

4. wsl.exe --list --verbose fails

5. an unhandled rejection is logged at resources/app.asar/dist/ipcHandlers.js:393

6. renderer terminates with 0xC0000005

The same application bytes later launch clean. The crash is therefore not deterministic file corruption.

The failure is not currently reproducible, so this is a forensic report from a real failure window rather than a stable one-command repro.

## Expected behavior

- Startup port renegotiation should not be able to race BrowserWindow navigation/reload into a native renderer crash.

- A failed WSL state probe should be bounded by a timeout/fallback and must not surface as an unhandled rejection.

- Native renderer crashes should produce actionable diagnostics.

## Suggested hardening

1. Serialize host-bridge port renegotiation against BrowserWindow reload/navigation.

2. Avoid repeated startup reloads while renderer/bootstrap work is still in flight.

3. Add a timeout + fallback around wsl.exe --list --verbose.

4. Ensure WSL probe failure cannot surface as an unhandled rejection from ipcHandlers.js:393.

5. Log Electron render-process-gone reason and exit code in normal application logs.

6. Enable usable renderer crash telemetry/dumps by default where possible.

## Practical recovery

Replacing the install tree with a plain file-level copy of the same bytes restored rendering immediately and production passed 3/3 normal launches.

This should not be interpreted as proof of NTFS corruption: the complete original NTFS object graph was later reconstructed and launched clean.

No reinstall, downgrade, profile wipe, credential rotation, or ACL mutation was required.

## Methodological notes

- Crash code was observed via held process handles + GetExitCodeProcess, independently of the application’s “Renderer process crashed” log line.

- Windows Error Reporting was disabled in this environment; a targeted LocalDumps key produced no dumps, consistent with Electron/Chromium handling the renderer fault internally.

- An early File ID helper accidentally read FILE_ID_INFO.VolumeSerialNumber instead of the 128-bit .FileId. That mistake was corrected before the NTFS conclusions above were drawn.

I also have the full forensic report and PowerShell exit-code harness available if maintainers want them.