Skip to content

Git Bash won't run on Windows 10 - Error: Could not fork child process:Resource temporarily unavailable (-1). DLL rebasing may be required; see 'rebaseall / rebase --help'.- #2872

Closed as not planned
@SexyPantz

Description

@SexyPantz
  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options

git version 2.29.1.windows.1
cpu: x86_64
built from commit: e6d53c456169235fe72602e2b4d985934fa9ad23
sizeof-long: 4
sizeof-size_t: 8
shell-path: /bin/sh
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

Microsoft Windows [10.0.19041572]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt

Editor Option: SublimeText
Custom Editor Path: 
Default Branch Option:  
Path Option: Cmd
SSH Option: OpenSSH
Tortoise Option: false
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Git Pull Behavior Option: Merge
Use Credential Manager: Core
Performance Tweaks FSCache: Enabled
Enable Symlinks: Disabled
Enable Pseudo Console Support: Disabled

  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

Exploit proctection settings are all set to default and Controlled folder access is off

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

git bash

I just tried running git-bash.exe 
  • What did you expect to occur after running these commands?
open the bash console like usual
  • What actually happened instead?
The bash console window opend but with an error message:
Error: Could not fork child process:Resource temporarily unavailable (-1). DLL rebasing may be required; see 'rebaseall / rebase --help'.
Before closing the window
  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?
https://github.com/git/git

git
So basically I tried running Git Bash on Win 10 (git version 2.91.1.winsows.1) and the only to get this console message:
Error: Could not fork child process:Resource temporarily unavailable (-1). DLL rebasing may be required; see 'rebaseall / rebase --help'.
Before closing the window
Tried lurking through the forums and google and apparently it has to do with the way Git handles credential and Window's newest security update.

Basically most fixes had to do with giving certain git binaries exceptions in the Exploit protection settings. That did not work for me. Other fixed involved downloading "scripts" from randos on the forums that told me they had found a way to work around Windows security settings, that seemed to me like a terrible idea.

I've also reinstalled git several times, choosing different options, rebooted my pc. Nothing works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions