Before submitting#
Area#
apps/server
Steps to reproduce#
- On an Intel Mac, go to Settings, then Providers, then Antigravity, and hit Install
- The download finishes fine
- It sits on verifying for 90 seconds, then fails
Expected behavior#
Antigravity installs and shows up as ready to use.
Actual behavior#
I'm on an Intel Mac mini and Antigravity just won't install. The download works, but the check afterwards times out, T3 deletes the files, and it goes back to "Antigravity is not installed". I tried it twice.
I'm a designer, not an engineer, so I got my AI agents to dig into it. Here's what they found:
- Running
agy_acp_server.par by hand hangs forever. Even --help printed nothing after 400+ seconds, while using a fair chunk of CPU.
- A
sample shows it stuck in a loop inside libffi (dlmmap_locked), retrying mmap/open/write/unlink over and over.
- The binary is signed with the hardened runtime but has no entitlements. On Intel, libffi needs writable and executable memory, and without
com.apple.security.cs.allow-unsigned-executable-memory it never gets it, so it just keeps retrying. My guess is Apple Silicon doesn't hit this because libffi works differently there.
Ideas:
- The real fix is probably on Google's side: ship the Intel Mac runtime with that entitlement.
- In the meantime, it'd be great if T3 said something like "the runtime started but never responded" instead of the generic "check free disk space" error. That sent me looking in the wrong place.
Possibly related, but different: #11414 (CPUs without AVX) and #13842 (Linux x86-64).
Impact#
Major degradation or frequent failure
Version or commit#
0.0.46-nightly.20261006.2752
Environment#
macOS 15.7.9 (24G830), Intel Mac mini (i7-8700B, x86_64), Antigravity ACP runtime 1.3.0 (agy-acp-server-1.3.0-darwin-x86_64.zip)
Logs or stack traces#
AntigravityInstallation.install failed: "Could not install Antigravity. Check free disk space and directory access, then try again." Cause: TimeoutError: Operation timed out after '1m 30s' (inside AntigravityInstallation.validate). Seen twice in server.trace.ndjson.
Screenshots, recordings, or supporting files#
No response
Workaround#
I got it working by re-signing a local copy with that one entitlement added. The hardened runtime is kept, and localharness_external is left as is:
codesign --force --sign - --options runtime \
--entitlements entitlements.plist agy_acp_server.par
Then I pointed T3's custom Antigravity path at that copy. It starts instantly and T3 picks it up straight away.
Note
Grok responding on behalf of Julius.
Thanks for the very thorough report, @crispearson. The
sampletrace and the re-sign experiment narrow this down a lot.What I could confirm in our code (main @
365aa879)apps/server/src/provider/AntigravityInstallation.tssetsVALIDATION_TIMEOUT = "90 seconds"(L45). After extraction,installrunsvalidate(...)(an ACPinitializehandshake againstagy_acp_server.par) wrapped inEffect.timeout(VALIDATION_TIMEOUT)(L626–635). That's the ~1m30s you saw.validatemaps its own errors to "The downloaded Antigravity runtime could not start in this environment." (L400–405), but the timeout sits outside that mapping. So when the runtime hangs, the error is a plain timeout, not anInstallationError. The outerwrapFailureoninstall(L676–681, helper at L135–136) then swaps it for "Could not install Antigravity. Check free disk space and directory access, then try again." The staging dir is scoped, so the extracted files are cleaned up. That's why nothing is left on disk.initializeshould get its own "runtime started but did not respond" error.Signing / entitlements
T3 downloads Google's archive at runtime, then only extracts it and runs
chmod 0755(L620–624). We don't re-sign it, add entitlements, or change the hardened-runtime flags foragy_acp_serveron any platform. Thecodesign/entitlements code in the repo only covers T3's own app and CLI. So we can't confirm from our side that the hang comes from libffi lackingcom.apple.security.cs.allow-unsigned-executable-memory. Your evidence points that way, though, and if so the fix most likely belongs in Google's Antigravity build. Your workaround (re-sign with that entitlement, then set a custom Antigravity executable path) is useful for other Intel Mac users in the meantime. I can't promise we'll ship a re-signed binary ourselves.Related, not duplicates
I'm keeping this as a bug for the misleading timeout error. The Intel macOS hang itself looks likely upstream.