Skip to content

Launching git bash gives bash fork retry error #776

Closed
@novabe

Description

@novabe

The error text is:

   0 [main] bash 9752 fork: child 11580 - died waiting for dll loading, errno 11
bash: fork: retry: No child processes
1132558 [main] bash 9752 fork: child 15412 - died waiting for dll loading, errno 11
bash: fork: retry: No child processes
3262768 [main] bash 9752 fork: child 22812 - died waiting for dll loading, errno 11
bash: fork: retry: No child processes
7399244 [main] bash 9752 fork: child 19916 - died waiting for dll loading, errno11
bash: fork: retry: No child processes
15536472 [main] bash 9752 fork: child 18504 - died waiting for dll loading, errno 11
bash: fork: Resource temporarily unavailable
bash-4.3$

This prevents at least git-stash from working:

bash-4.3$ git stash show -p
      0 [main] sh 11460 fork: child 13956 - died waiting for dll loading, errno 11
C:\Program Files\Git\mingw64/libexec/git-core\git-stash: fork: retry: No child processes
1149164 [main] sh 11460 fork: child 9660 - died waiting for dll loading, errno 11
C:\Program Files\Git\mingw64/libexec/git-core\git-stash: fork: retry: No child processes
3290531 [main] sh 11460 fork: child 16876 - died waiting for dll loading, errno11
C:\Program Files\Git\mingw64/libexec/git-core\git-stash: fork: retry: No child processes
7441948 [main] sh 11460 fork: child 12188 - died waiting for dll loading, errno11
C:\Program Files\Git\mingw64/libexec/git-core\git-stash: fork: retry: No child processes
15591618 [main] sh 11460 fork: child 8276 - died waiting for dll loading, errno11
C:\Program Files\Git\mingw64/libexec/git-core\git-stash: fork: Resource temporarily unavailable
bash-4.3$

I have tested different versions of git, and found that anything above 2.7.0 exhibits this problem for me and my coworkers (the problem starts with 2.7.0.2).

I also found http://stackoverflow.com/questions/37263702/cant-start-git-bash which implies it might be antivirus related. Creating this issue to confirm if others have experienced it, and if we know this to be antivirus related, I hope someone can recommend what to whitelist? Is it just "C:\Program Files\Git\usr\bin\bash.exe"?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions