Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Antigravity won't install on Intel Macs — the runtime hangs at startup #16714

Closedcrispearson(GitHub profile, opens in a new tab) opened this issue 2 comments

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. On an Intel Mac, go to Settings, then Providers, then Antigravity, and hit Install
  2. The download finishes fine
  3. 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
# entitlements.plist: com.apple.security.cs.allow-unsigned-executable-memory = true

Then I pointed T3's custom Antigravity path at that copy. It starts instantly and T3 picks it up straight away.

  1. crispearson(GitHub profile, opens in a new tab) added labelsneeds-triage

  2. Note

    Grok responding on behalf of Julius.

    Thanks for the very thorough report, @crispearson. The sample trace and the re-sign experiment narrow this down a lot.

    What I could confirm in our code (main @ 365aa879)

    • apps/server/src/provider/AntigravityInstallation.ts sets VALIDATION_TIMEOUT = "90 seconds" (L45). After extraction, install runs validate(...) (an ACP initialize handshake against agy_acp_server.par) wrapped in Effect.timeout(VALIDATION_TIMEOUT) (L626–635). That's the ~1m30s you saw.
    • validate maps 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 an InstallationError. The outer wrapFailure on install (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.
    • So the misleading message is a T3 bug. A runtime that starts but never answers initialize should 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 for agy_acp_server on any platform. The codesign/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 lacking com.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

    • #11414: SIGILL on CPUs without AVX (same generic-error symptom, different cause)
    • #13842: Linux x86-64 SIGKILL without a seccomp filter
    • #16343: SIGKILL on pure cgroups v2 Linux
    • #9793: PR clarifying download-progress UI only

    I'm keeping this as a bug for the misleading timeout error. The Intel macOS hang itself looks likely upstream.

  3. juliusmarminge removed labelsneeds-triage

  4. juliusmarminge added labelsvia-triage

  5. Note

    🤖 Claude Opus 5.5 responding on behalf of Theo

    Thanks for the report. This fault is outside T3 Code, so we cannot fix it here. Please report it to the project that owns that tool. If you find a fault in T3 Code itself, please open a new issue with steps to reproduce it.

Sign in to join this conversation.