-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git can't fork child process: resource temporarily unavailable #3952
Comments
The "DLL rebasing may be required; see 'rebaseall / rebase --help'" message is not part of Git, rather it's the DLL in Windows that needs it's base address moved ("rebased") as part of it's installation. It is easy to confuse the two types of 'rebase'. |
Could you re-run the Git for Windows installer? That should probably fix this issue. |
@PhilipOakley @rimrul Thanks guys for replying. The windows version is working but can't update properly. When attempt to update it says that it's unable to update because the cygwin is ...I forget the rest. I think it can't find it. Do I have to go into the windows path and add the link to it? Or something similar? Also is there an easy fix to get the bash version working again? Again Much appreciated. |
What does that mean?
It would be more helpful to re-run the failing command and copy the error message precisely.
@rimrul already pointed out that you could re-run the Git for Windows installer.
When I search for the exact error message, I find 19 closed tickets. This issue typically occurs in 32-bit setups, but we have had a couple of 64-bit setups with the same issue, too. For more details about the problem, see this wiki page. |
@dscho Thanks for replying, A few years ago and up to now windows git ran fine but now it doesn't want to run properly. However I switched over to the portable version and it works fine. So there is a problem with both the installer version and the github version installer. But the portable version of git runs fine without a hitch ... for now. |
@dscho The exact error is: Error: Could not fork child process: Resource temporarily unavailable (-1). DLL rebasing may be required; see 'rebaseall / rebase --help |
@dscho @PhilipOakley @rimrul @bbolli Thank you for all of your advice but I chose a different way of install git on windows and was by installing winget through powershell with admin rights and after installing recloned my repos and updated them all and voila git is now working. |
Great! And now this ticket together with your resolution can be found by others experiencing similar issues, which is also good. |
@dscho I got another computer and installed git for windows and it worked seamlessly without an issue. Pretty strange. |
The most convincing explanation I heard was ASLR. I can't find the convincing posts, but someone is making a list as a random example: https://github.com/SadPencil/ASLR-incompatible-windows-apps Not sure where ASLR lives, but maybe it's only psuedo-random and still not so autonomous. |
Setup
Error: Could not fork child process: Resource temporarily unavailable (-1).
DLL rebasing may be required; see 'rebaseall / rebase --help'.
Error: Could not fork child process: Resource temporarily unavailable (-1).
DLL rebasing may be required; see 'rebaseall / rebase --help'.
defaults?
I choose the defaults.
Editor Option: VIM
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: Enabled
Performance Tweaks FSCache: Enabled
Enable Symlinks: Disabled
Enable Pseudo Console Support: Disabled
Enable FSMonitor: Disabled
the last files were unavailable on computer.
to the issue you're seeing?
Nothing I even uninstalled cygwin since it was blocking git and also changed the security settings.
Details
I did try bash and then tried cmd and then powershell but still the same error:
Error: Could not fork child process: Resource temporarily unavailable (-1).
DLL rebasing may be required; see 'rebaseall / rebase --help'.
Minimal, Complete, and Verifiable example
this will help us understand the issue.
That it would rebase git and get it working again
C:>git rebeseall
git: 'rebeseall' is not a git command. See 'git --help'.
C:>git rebaseall /rebase --help
git: 'rebaseall' is not a git command. See 'git --help'.
URL to that repository to help us with testing?
nope it effecting all repositories and git software. Please see attachment of git bash problem.
The text was updated successfully, but these errors were encountered: