◉ANTIGRAVITY LABJP
Articles/Antigravity Basics
◉ Antigravity Basics/2026-10-16Intermediate

When Antigravity Says the Server Crashed Unexpectedly: Check the CPU, WSL, or Version First?

The editor opens but the agent dies right away with 'server crashed unexpectedly'. A triage across CPU instructions (AES, RDRAND), WSL or SSH paths, and old app or OS versions: a read-only script, how to read exit codes like 132, a symptom table, and what to do before reinstalling. Built from public reports, with the unconfirmed parts marked.

Antigravity426troubleshooting135WSLAES-NIstartup error

Following the dialog's advice and restarting is the natural first move. But when the same message comes back after every restart, that one sentence stops being a clue.

"Antigravity server crashed unexpectedly. Please restart to fully restore AI features." The editor window opens fine, and only the AI side falls over right after startup. Searching Google's developer forum turned up many threads with this exact wording, and the environments were all different: an old AMD CPU on Linux, Pop!_OS, WSL, a remote SSH host, an Intel Mac on an old macOS. It was after reading about four of them side by side that I realized the same message was covering more than one cause.

I should say plainly that I haven't reproduced the crash on my own machines. So this isn't a record of something I fixed. It's my attempt, as an indie developer reading public reports, to order the checks so you lose less time. The script and the exit-code examples, though, are real output from an Ubuntu 22.04 VM I ran them on. Where something is unconfirmed, I'll say it's unconfirmed.

Here is the short version first. If two restarts in a row don't help, don't try a third. Check three things, read-only: the CPU's instruction support, the connection path, and how old your app and OS are. Reinstalling comes last.

One message, at least four different stories

From what I read, the reports fall into four groups. Where a thread title includes an exit code or a signal name, I've noted it.

GroupReported environment and cluesState of the cause
CPU instructions (AES) Old AMD CPU, Debian 12 and MX Linux. No aes in /proc/cpuinfo The reporter suspects an AES requirement; I found no confirmation from the developers (unconfirmed)
CPU instructions (RNG, illegal instruction) Titles reporting "CRNGT failed (SIGABRT)" on an AMD Ryzen 5 3450U with Ubuntu 24.04, and "Exit 132" right after a Remote-SSH connection The titles and exit codes point toward the CPU, but I couldn't confirm an official explanation
WSL / SSH path Crashes when the Windows IDE connects to WSL or an SSH host; Windows alone works. Windows 10 WSL reports too Mixed reports: network path, WSL1 vs WSL2, "fixed by an update". No decisive answer
Old app or OS Pop!_OS on 1.18.4, persistent, with AES supported. An Intel Mac on macOS 11.7 where the language server exits with code 2 or 4 The Pop!_OS reporter says it "seems" fixed in 1.20.4. No root cause given

The point is that none of these rows can be stated as "the cause". I couldn't find a thread with an official explanation from the developers.

That is exactly why the order of checks has value. Rather than guessing the cause, it's more realistic to find which row your environment resembles, in a few minutes.

One more note: 1.18.4 and 1.20.4 are 1.x releases from the first half of 2026. As of November 2026, the official changelog lists the App at v2.32.0. If you're still on 1.x, that alone is your first clue.

One script gets you the facts you need first

In nearly every thread, the same information was missing at the start: CPU, OS, whether it's WSL, and the version. Posters often added "actually, this is WSL1" several replies later.

If you collect it yourself first, both triage and writing a question get easier. Here is a minimal script that works on Linux and inside WSL. Compared with my earlier version, it also checks RDRAND, whether you're on a VM, and the glibc version.

#!/usr/bin/env bash
# ag_triage.sh: print what you need to triage "server crashed unexpectedly".
# It changes nothing. Read-only.
 
flag() {  # match a CPU flag as a whole word (-w) so similar names don't interfere
  if grep -qw "$1" /proc/cpuinfo; then echo "$1: present"; else echo "$1: missing  <- $2"; fi
}
 
echo "== CPU =="
grep -m1 'model name' /proc/cpuinfo
flag aes    "look at the CPU group first"
flag rdrand "consider the RNG group (CRNGT-style reports) too"
grep -qw hypervisor /proc/cpuinfo && echo "Running on a VM (host features may be hidden)"
 
echo "== OS =="
. /etc/os-release 2>/dev/null && echo "$PRETTY_NAME"
uname -m   # if not x86_64 (e.g. aarch64), look for a different group of reports
ldd --version 2>/dev/null | head -1   # glibc version; bundled binaries can fail on old distros
 
echo "== Execution path =="
if grep -qi microsoft /proc/version 2>/dev/null; then
  if uname -r | grep -qi 'wsl2'; then echo "Inside WSL2"; else echo "Inside WSL (no WSL2 marker; possibly WSL1)"; fi
fi
[ -n "$SSH_CONNECTION" ] && echo "Shell over SSH"
 
echo "== Server-side working directories =="
ls -d "$HOME/.antigravity-server" "$HOME/.gemini/antigravity" 2>/dev/null || echo "neither found"

On my Ubuntu 22.04.5 VM (without Antigravity installed), it printed this.

== CPU ==
model name	: Intel(R) Xeon(R) W-2140B CPU @ 3.20GHz
aes: present
rdrand: present
Running on a VM (host features may be hidden)
== OS ==
Ubuntu 22.04.5 LTS
x86_64
ldd (Ubuntu GLIBC 2.35-0ubuntu3.18) 2.35
== Execution path ==
== Server-side working directories ==
neither found

The empty "Execution path" section just means this shell was neither WSL nor SSH. Inside WSL2 you'd see "Inside WSL2", and if the server has ever started, its directory path shows up at the end.

A short note on grep -w: the flag list contains similarly spelled entries, and a loose match can mislead you. If a flag prints "missing", also consider whether a VM is simply hiding the CPU feature. When the hypervisor line appears, as it did for me, the guest may only see part of the host CPU.

If you have an exit code, one group narrows down right away

When I saw "Exit 132" and "SIGABRT" in thread titles, the first thing I did was check what the numbers mean. In a Linux or macOS shell, when a process is killed by a signal, the exit status is 128 plus the signal number. I confirmed it by sending the signals myself.

$ bash -c 'kill -ILL $$'; echo "exit=$?"
Illegal instruction
exit=132
$ bash -c 'kill -ABRT $$'; echo "exit=$?"
Aborted
exit=134

If a log only shows the number, this loop turns it back into a name.

for c in 132 134 139 2 4; do
  if [ "$c" -gt 128 ]; then echo "$c -> SIG$(kill -l $((c-128)))"
  else echo "$c -> not a signal (the program's own exit code)"; fi
done
132 -> SIGILL
134 -> SIGABRT
139 -> SIGSEGV
2 -> not a signal (the program's own exit code)
4 -> not a signal (the program's own exit code)

132 (SIGILL) means the CPU was asked to run an instruction it doesn't know. So if you see 132 on a Remote-SSH host, that's a reason to suspect the remote machine's CPU first, not the laptop in front of you. 134 (SIGABRT) means the program aborted itself, so read it together with the line just before it, such as "CRNGT failed". CRNGT is commonly used as shorthand for a continuous test on a random number generator, and it tends to show up when a CPU's RNG instruction misbehaves. I haven't confirmed that it causes this particular crash.

The 2 and 4 in the macOS report are not signals. They are values the program returned itself, so only Antigravity knows what they mean, and I couldn't decode them. In that case, look at the OS and app version pairing first.

A symptom-first triage table

Here's everything above in a form you can look up from the symptom, ordered from the lightest check.

SymptomLikely suspectsHow to checkWhat to do next
Windows alone works; opening a WSL folder crashes Still on WSL1, or leftovers in the WSL-side server directory wsl -l -v on Windows (VERSION column); ls -d ~/.antigravity-server inside WSL Move to WSL2. Rename the server directory instead of deleting it, and let it rebuild
Crashes right after Remote-SSH connects, exit code 132 The remote CPU lacks an instruction Run ag_triage.sh on the remote host and read the aes and rdrand lines Move agent work to a newer machine; if you can't, use that host without AI features
Local Linux crashes at startup with CRNGT or SIGABRT CPU RNG instruction (unconfirmed) The rdrand line; your BIOS update history Compare your CPU with the reporter's. Decide on a BIOS update from the vendor's own notes
Works on a different network (e.g. phone tether) Proxy, firewall, or a specific router Start on the same machine with only the network changed On a corporate network, ask about allowlisting. Record it as a workaround, not a fix
Still on an old 1.x version, crashes everywhere A bug fixed in a later release Compare the About screen with the latest version in the official changelog Note your current version, then update, and keep a way to roll back
Old Intel Mac, language server stops with code 2 or 4 OS version vs bundled binary requirements (unconfirmed) Check the macOS version in About This Mac Decide whether the OS can be upgraded; if not, skip AI features on that machine

"Unconfirmed" marks rows where there's a reporter's guess or a clue in a title, but I couldn't find an explanation from the developers. If you share one of those as "the cause", you can throw off someone else's triage.

The first lines decide where to look next

If aes or rdrand is missing. In the reports I read, this group consistently has one trait: the window opens, only the agent dies. Whether AES is truly required is, as far as I could verify, unconfirmed. In fact, the Pop!_OS reporter confirmed AES support and still hit the same message. So treat the flags as a way to prioritize suspects, not as proof of cause.

If a flag is missing and nothing else fits, giving up on AI features on that particular machine for now is a realistic call. I'd move the agent work to a newer machine and keep the old one for jobs that don't need it.

If it's WSL or SSH. Check three things, lightest first.

  1. Is it WSL 1 or 2? Run wsl -l -v on the Windows side and read the VERSION column. One reply suggested upgrading WSL1 to WSL2, but nobody in the thread confirmed that it fixed anything. If you're not even sure whether WSL is launching the Windows or the Linux build, start with this note on which binary WSL2 actually launches.
  2. Can you try another network? In one thread, a phone tether worked while a particular ISP box did not. That was described as a workaround, not a fix. Behind a corporate proxy, this note on isolating proxy and firewall problems may help.
  3. Recreate the server-side directory (.antigravity-server inside WSL). The reporter tried it without success, but leftovers could be the cause in a different environment. Rename it with something like mv ~/.antigravity-server ~/.antigravity-server.bak rather than deleting it, so you can put it back.

If neither applies and an old version is suspected. In the Pop!_OS report the problem seemed to disappear in 1.20.4, so updating does sometimes help. But a newer version can bring its own problems, so note your current version before updating. If you're torn about updating right before a deadline, I wrote about that decision in this piece on handling an update notice the day before a deadline.

Which move first: five options compared

The possible remedies mostly come down to these five. I've ordered them from lightest and added what each one costs you.

MoveTimeWhat you loseWhen to pick it
Restart1 minNothingThe first time it appears. After two returns in a row, stop choosing this
Start on another networkA few minNothingWSL or SSH group, when you can reach a different network
Rename and rebuild the server directoryA few minServer-side cache (recoverable if renamed)Only WSL or the SSH host crashes, and the CPU flags look fine
Update the app10–30 minBehavior you relied on in the current versionStill on old 1.x and it crashes everywhere
Full reinstall30+ minSettings, extensions, history, and any record of what workedOnly after the four above, with the script output saved

As one sentence: if the CPU flags are fine, check the path; if the path is fine, check the version; only after all of that is written down, reinstall.

Three misunderstandings worth untangling

"A reinstall usually fixes it." One thread described repeated full reinstalls that didn't help. If the cause is a CPU instruction or the remote machine, reinstalling changes nothing.

"My CPU has aes, so the CPU isn't the issue." With Remote-SSH, the CPU in question may be on the other end. A "present" on your laptop tells you nothing until you've run the script on the host you connect to.

"Same message, same fix." This dialog is more like a shared notice that the AI-side server stopped. It doesn't tell you why. Use other people's fixes only when their environment looks like yours.

What I would not try first

I understand the impulse to reinstall. Once, when the build setup for one of my wallpaper apps suddenly stopped working, I reinstalled the whole toolchain in a hurry. It worked again, but I had no idea which step had fixed it, and half a year later the same symptom came back and I had to start from zero. The second time was the one that really hurt.

A reinstall drags settings and history along with it. Before you have the triage facts, even a successful reinstall leaves you not knowing what worked. Run the script once before reinstalling. That's an order I try to keep.

What to include when you post on the forum

There are already many threads with this wording, and a post with thin environment details is hard to act on. Paste the script output as it is, and add these five items.

  • The Antigravity version (the About screen or similar)
  • What you did just before it started (an update, a proxy change)
  • What you tried and what happened ("it didn't help" is useful too)
  • Whether Windows alone works, or only WSL or the SSH host crashes
  • Any exit code or signal name, plus the line just before it

Each fits on one line.

The next wall you're likely to hit

Even once the server starts, another symptom often shows up soon after. From the reports and from earlier notes on this site, these are the ones that tend to follow.

In both cases, having the first script's output on hand cuts the checking time in half.

Your next step

Run ag_triage.sh once and keep the output in a note. If you use WSL or SSH, run it on both your machine and the one you connect to. With the aes and rdrand flags, the WSL version and the Antigravity version filled in, you can usually tell which of the four groups you're closest to within minutes.

I don't know whether an official explanation will arrive. Still, if your environment's facts are already lined up, you'll be able to compare against it the day it does. Those few minutes are the part I try never to skip.

Share

Thank You for Reading

Antigravity Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

If you found this article helpful, a small tip ($1.50) would mean a lot to us. Your support helps keep this site ad-free and covers server and hosting costs.

Related Articles

◉ Antigravity2026-10-28
When Antigravity Says Failed to Fetch: Decide the First Three Places to Look
A triage order for Failed to Fetch in Antigravity: first decide where the message appeared, then check whether the destination is reachable, whether you are still signed in, and whether a proxy or VPN sits in the middle. Copy-paste terminal checks, a symptom table, and how to tell it apart from your own app's fetch() failing.
◉ Antigravity2026-11-27
When a Second agy Drops a "Server Restart" Notice Into Your Running Conversation — What to Decide Before Running Two Side by Side
In Antigravity CLI 1.5.17, starting a second agy while another is mid-turn can make it treat the live conversation as interrupted by a restart and run it too. Here is how to check your logs, a small wrapper that stops before launching, and how to recover.
◉ Antigravity2026-11-26
Should the Orchestrator's Planner and Executor Share a Model? What Runs as One Agent in 1.5.17, and What I Keep Two-Phase
Since Antigravity CLI 1.5.17, choosing the same model and the same Effort for both Planner and Executor in /model runs a single agent. A different Effort keeps it two-phase. Here is a small script that reads settings.json to tell which you have, and where I draw the line.