Skip to content

Running brew endlessly spawns git processes until killed #10762

@mike-hearn

Description

@mike-hearn

brew config output

brew does not run, so unfortunately I cannot run brew config

brew doctor output

See above.

  • The brew doctor above contains no "Warning" lines.

What were you trying to do (and why)?

I was trying to run brew.

I have reproduced this problem on both my M1 Macbook Air and now my Intel iMac. On the iMac, brew was working fine until I ran brew update and now brew hangs once again. The symptoms are identical on both machines.

What happened (include all command output)?

See screen recording below.

On the right pane, I'm running brew. On the left, an htop window filtered to all processes containing brew.

When I run brew, it spawns new git processes endlessly until killed.

Screen recording

What did you expect to happen?

I expected brew to work w/o issue.

Step-by-step reproduction instructions (by running brew commands)

Other than updating brew to the latest version, the steps to reproduce are:

  1. Run brew

My sense is this is something to do with my machine configuration, but it's confusing that it happened with two separate machines, and especially concerning that it was fine on my iMac until updating to the latest Homebrew.

Metadata

Metadata

Assignees

No one assigned

    Labels

    outdatedPR was locked due to age

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions