When i use git bash it says"Failed to fork child process: Resource temporarily unavailable.DLL rebasing may be required. See 'rebaseall --help'." How can I fix this problem?
When I use tortoiseGit to stash I got some message like this
> git.exe stash save -- "12"
0 [main] sh (7224) D:\Program Files (x86)\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1360400/0x12F0400.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
0 [main] sh 13140 fork: child -1 - forked process 7224 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-stash: fork: retry: No child processes
I had faced the same issue one morning. I tried to uninstall the Git just to see if it was corrupted and it pointed me to shut down few processes that go like sh.exe
in the Task manager. After I killed them, I was able to open the Git bash successfully.
Cheers!
Here is the fix.
Also add these other binaries from the same folder: expr.exe, uname.exe, grep.exe, rm.exe
Good luck,
Gabriel
Try instead the portable version of Git for Windows 2.9.2:
PortableGit-2.9.2-64-bit.7z.exe
anywhere you want (like D:\git\git2.9.2
), D:\Program Files (x86)\Git
related pathsD:\git\git2.9.2;D:\git\git2.9.2\bin;D:\git\git2.9.2\cmd;D:\git\git2.9.2\usr\bin
Then, from a CMD session:
bash -i --login
and check the bash works properlyIn my case since git bash was working before restarting my machine fix the issue.
Try by restarting your machine first, Hopefully it will fix it.
User contributions licensed under CC BY-SA 3.0