Frequent Language server crashed: exited with code 2 on Windows (v44.9.1 / LS 2.33.0) — interrupts active agents

Environment:

  • OS: Windows
  • Antigravity App Version: 44.9.1
  • Language Server Version: 2.33.0 (issue started around Nov 5, 2026, and also occurred on 2.32.0)

Problem Description: Since Nov 5, the embedded language server has been crashing repeatedly (65+ times logged), both during active use and while completely idle (sometimes within 2–8 minutes of startup). Each crash triggers an auto-restart on a new port, which immediately interrupts and stops all running subagents and background tasks.

Log Output (%APPDATA%\antigravity\logs\main.log):

[error] Language server crashed: exited with code 2
[info]  Attempting restart 1/3 in 2s...
[info]  [Auto-Restart] Port changed! Reloading all windows with URL: https://127.0.0.1:<port>/

[error] Language server crashed: exited with code 2

[info] Attempting restart 1/3 in 2s…

[info] [Auto-Restart] Port changed! Reloading all windows with URL: https//127.0.0.1 :confused:

(Note: language_server.log is overwritten on each auto-restart, and %USERPROFILE%\.gemini\antigravity\crashes\crash_<pid>_<uuid>.log files are 0 bytes, so the Go panic/stderr trace is not preserved.)

What I’ve Already Tried (Issue Persists):

  1. Disabled Remote Control (remoteControlEnabled: false) — still crashes while idle.
  2. Cleaned up old/unused .gemini CLI/IDE folders.
  3. Uninstalled Antigravity via Uninstall Antigravity.exe, cleared Electron/updater caches (%APPDATA%\antigravity\*Cache*, %LOCALAPPDATA%\antigravity*, %USERPROFILE%\.gemini\antigravity\cache and presence), and reinstalled 44.9.1 (2.33.0).

Question:
Is this a known language_server 2.33.0 panic on Windows, and is there a way to capture the exit code 2 stderr/stack trace before the auto-restart overwrites language_server.log?

Update: root cause found in the stack trace. The language server calls log.Fatalf when its local accept fails (Windows, v44.9.1 / LS 2.33.0)

I captured language_server.log before the auto-restart could overwrite it. The crash is a fatal log call, not a random panic. It happens in two places:

F1119 22:34:14.798107  server_common.go:98] Error serving language server: accept tcp 127.0.0.1:58522: acceptex: The I/O operation has been aborted because of either a thread exit or an application request.

goroutine 160 [running]:
google3/base/go/log.Fatalf(...)
base/go/log.go:749
google3/third_party/jetski/language_server/language_server.setUpHTTPServersCommon.func2()
third_party/jetski/language_server/server_common.go:98 +0xd0
created by ...setUpHTTPServersCommon in goroutine 1
third_party/jetski/language_server/server_common.go:94 +0x4d6

F1119 22:47:41.468985 server_common.go:58] Error serving language server: accept tcp 127.0.0.1:64310: acceptex: The I/O operation has been aborted ...
F1119 22:51:30.987102 server_common.go:58] Error serving language server: accept tcp 127.0.0.1:63591: acceptex: The I/O operation has been aborted ...

log.Fatalf then exits the process with code 2 (the Language server crashed: exited with code 2 in main.log). Every crash I captured has this signature. Also logged just before one crash: E... [remote-control...] Signaling poll failed: ... unexpected EOF. Elsewhere there is wsarecv: An established connection was aborted by the software in your host machine.

What I ruled out (it still crashes in each case):

  • Old data: a completely fresh ~/.gemini/antigravity folder still crashed within about 2.5 minutes.
  • A clean uninstall and reinstall of the app, plus cleared caches.
  • Remote Control disabled.
  • Third-party network software: Norton, AdGuard (WFP driver) and Cloudflare WARP were all disabled or exited, and it still crashed.
  • The router: it’s loopback (127.0.0.1), so it doesn’t leave the PC.

Impact: It crashes every few minutes to about an hour, including while idle. Each restart (new port, “Attempting restart 1/3”) kills running subagents and background tasks.

Request: A failed acceptex with ERROR_OPERATION_ABORTED on Windows should be treated as transient. The server should re-issue accept or recreate the listener instead of calling log.Fatalf. Please also write the Go fatal/stderr output to ~/.gemini/antigravity/crashes/crash_<pid>_*.log. Those files are always 0 bytes, which hid this error for weeks.

Env: Windows 11 (x64), Antigravity 44.9.1, language server 2.33.0. The same crashes happened on 2.32.0 starting Nov 5.

Update (Nov 22): Still reproducing on Antigravity 2.34.0 (and previously 2.33.1).

Additional things tested that did not stop the crashes:

  • Updated from 2.33.0 → 2.33.1 → 2.34.0 (still crashes, e.g., 2026-11-21 17:09:37 and 2026-11-22 09:37:52).
  • Ran netsh winsock reset + netsh int ip reset and rebooted.
  • Tested with Norton, AdGuard, and Cloudflare WARP disabled—still reproduces, confirming it is not caused by third-party AV/VPN/filtering software.

+1 - I’m still getting this issue on LS 2.36.0