Error shown: Startup failed - Language server exited unexpectedly (code=2, signal=null)
Root cause from main.log:
[2026-07-27 14:08:41.590] [error] Failed to get LS stamp: Error: Command failed: C:\Users\SarayoothSongkran\AppData\Local\Programs\antigravity\resources\bin\language_server.exe --stamp
This matches other reports of the same “unknown caller pc” / enry data.init() crash during Go GC (e.g. discuss.ai.google.dev/t/bug-report-for-v2-0/166797 and discuss.ai.google.dev/t/language-server-exited-unexpectedly-code-2-on-intel-i7-7700-kaby-lake-after-latest-update-windows-11/146759)
100% reproducible on every launch, fails during setup (installer reports “Setup failed. Language server exited unexpectedly. Code=2 Signal=NULL”).
Confirms this isn’t limited to older CPUs — the other report in this thread was on an Intel i7-7700 (Kaby Lake), mine is a current-gen Intel Core Ultra (Meteor Lake, hybrid P/E-core). Might be worth checking if the crash correlates with hybrid core scheduling during the enry data.init() regex compilation under concurrent GC.
This is blocking install entirely, not just a runtime crash — would appreciate a fix or at least an official workaround (e.g. confirmed working older build) since disabling AV/reinstalling doesn’t help, per other reports here.
As a temporary workaround, you need to completely uninstall the
current version and roll back to install version 2.0.0. This gets it
working again, although newer releases (including the latest build)
will still encounter this issue until an official fix is available.
Here is a summary of the root cause and details regarding why version 2.0.0 works while 2.9.1 hits this crash:
Root Cause (Why 2.0.0 works while 2.9.1 fails):
Internal Binary Structure / Go Compiler Bug:
Version 2.0.0 (Works normally): The language_server.exe binary was compiled with an older toolchain that did not suffer from this memory stack unwinding bug, allowing it to run smoothly without issues.
Versions 2.4.x through 2.9.1 (Crashing): The development team updated to a newer Go compiler toolchain when building language_server.exe. This newer compiler introduced an underlying bug during the initialization of the enry language library (enry data.init()) on Windows 11.
Consequently, the bug is baked directly into the language_server.exe binary itself for versions 2.4.2 – 2.9.1. Workarounds like registry tweaks or Windows-level bypasses cannot circumvent this compiled-in binary issue.
Recommendation:
Stick with version 2.0.0 for now (Most stable):
You don’t need to worry about missing out on AI capabilities, as the underlying AI models (Gemini 3.6 Flash / Pro) run entirely on Google’s cloud infrastructure.
The local client application acts primarily as the interface/wrapper. Model intelligence, speed, and code generation capabilities remain identical between versions.
Await an official patch from Google:
The “unknown caller pc” issue on Windows 11 has been widely reported on the forum. The fix will require Google to recompile language_server.exe using a patched compiler toolchain in an upcoming release (e.g., v2.9.2 or v3.0).
In short: Rolling back to 2.0.0 remains the best course of action for now without any loss in AI model performance.
My take on this (educated guess based on Go internals, not a 100% confirmed answer): there’s a good chance this bug is Windows-specific, because the Go runtime’s “async preemption” mechanism — the part directly implicated in this crash — works completely differently on Windows vs. Linux/macOS. On Windows it relies on SuspendThread (an OS-level thread-suspend call) to interrupt a running goroutine, whereas Linux/macOS use a signal-based approach (SIGURG) with a very different underlying structure. This exact class of “unknown caller pc” crash has shown up multiple times in Go’s own issue tracker specifically on the Windows implementation before, so it wouldn’t be surprising if this is another instance of that. If anyone here has a Linux or macOS machine handy, it’d be really valuable to confirm whether v2.4.2+ crashes there too — that would settle it either way.
FWIW, Antigravity IDE 2.x never crashed for me on Linux. I can’t find an immediate way to show the exact version, but “check for updates” tells me there are none so it must be the latest version.