Skip to content

CLI crashes on startup when ran inside a Git repository and MacOS seatbelt is enabled #28598

Description

@tomb1n0

What happened?

Running Gemini CLI with MacOS seatbelt enabled:

  "tools": {
    "sandbox": true
  },

And then starting Gemini CLI in a folder that contains a Git repository instantly crashes the CLI.

Folder without a Git repository:

Image

Initialising this folder with a Git repo:

Image

What did you expect to happen?

Not to crash.

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                                                                                                                                                                                  │
│ About Gemini CLI                                                                                                                                                                                                                                                                                 │
│                                                                                                                                                                                                                                                                                                  │
│ CLI Version                                                                                          0.53.0                                                                                                                                                                                      │
│ Git Commit                                                                                           decc0b46c                                                                                                                                                                                   │
│ Model                                                                                                Auto                                                                                                                                                                                        │
│ Sandbox                                                                                              sandbox-exec (permissive-open)                                                                                                                                                              │
│ OS                                                                                                   darwin                                                                                                                                                                                      │
│ Auth Method                                                                                          Signed in with Google (<REDACTED>)                                                                                                                                             │
│ Tier                                                                                                 Gemini Code Assist Standard                                                                                                                                                                 │
│ GCP Project                                                                                           <REDACTED>                                                                                                                                                                       │
│                                                                                                                                                                                                                                                                                                  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Login information

Signed with OAuth using a Gemini Code Assist standard License.

GOOGLE_CLOUD_PROJECT Environment variable is set.

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/platformIssues related to Build infra, Release mgmt, Testing, Eval infra, Capacity, Quota mgmteffort/medium2-3 days: UI state, async flow, cross-component refactorskind/bugpriority/p1Important and should be addressed in the near term.status/bot-triaged

    Type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions