Environment:
- OS: Windows 11
- Antigravity version: 2.4.2
- 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
fatal error: unknown caller pc
runtime stack:
runtime.throw({0x7ff731424e88?, 0x6c812ff948?})
third_party/go/gc/src/runtime/panic.go:1245 +0x4d
runtime.(*unwinder).next(0x6c812ff990)
third_party/go/gc/src/runtime/traceback.go:471 +0x256
runtime.scanstack(0x1a8e918d8b40, 0x1a8e918d5260)
third_party/go/gc/src/runtime/mgcmark.go:977 +0x2f1
runtime.markroot.func1()
third_party/go/gc/src/runtime/mgcmark.go:306 +0xb1
runtime.markroot(0x1a8e918d5260, 0xd, 0x1)
third_party/go/gc/src/runtime/mgcmark.go:280 +0x1a5
runtime.gcDrain(0x1a8e918d5260, 0x7)
third_party/go/gc/src/runtime/mgcmark.go:1280 +0x4a7
runtime.gcBgMarkWorker.func2()
third_party/go/gc/src/runtime/mgc.go:1900 +0x67
runtime.systemstack(0x1a8e918d8960)
third_party/go/gc/src/runtime/asm_amd64.s:531 +0x49
goroutine 1 gp=0x1a8e918d8000 m=nil [runnable, locked to thread]:
regexp/syntax.(*compiler).compile(…)
third_party/go/gc/src/regexp/syntax/compile.go:89 +0x1497
regexp/syntax.Compile(0x1a8e91bfcf50)
third_party/go/gc/src/regexp/syntax/compile.go:74 +0x136
regexp.compile({0x1a8e91b858c0, 0x36}, 0x3ae0?, 0x0)
third_party/go/gc/src/regexp/regexp.go:175 +0x77
regexp.MustCompile({0x1a8e91b858c0, 0x36})
third_party/go/gc/src/regexp/regexp.go:310 +0x2c
google3/third_party/golang/enry/regex/regex.MustCompileMultiline(…)
third_party/golang/enry/regex/standard.go:22 +0x31
google3/third_party/golang/enry/data/data.init()
third_party/golang/enry/data/content.go:956 +0xfa87
runtime.doInit1(0x7ff73590dd20)
third_party/go/gc/src/runtime/proc.go:8156 +0xda
runtime.main()
third_party/go/gc/src/runtime/proc.go:269 +0x385
Spawning command that fails:
C:\Users\SarayoothSongkran\AppData\Local\Programs\antigravity\resources\bin\language_server.exe --standalone --override_ide_name antigravity --subclient_type hub --override_ide_version 2.4.2 --override_user_agent_name antigravity --https_server_port 0 --app_data_dir antigravity --api_server_url https://generativelanguage.googleapis.com --cloud_code_endpoint https://daily-cloudcode-pa.googleapis.com --enable_sidecars
Notes:
- Crash happens consistently on every launch (reproducible)
- Tried: clean uninstall, deleted all config folders (.gemini, AppData\Local\Programs\Antigravity, AppData\Roaming\Antigravity, antigravity-updater), reinstalled latest version → same crash
- Tried: adding folder exclusion + disabling real-time antivirus protection entirely → same crash
- 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)