Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git Bash cannot be initialized

Tags:

git

bash

dll

enter image description here

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    
like image 856
J John Avatar asked Mar 24 '26 03:03

J John


1 Answers

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!

like image 198
Azhar Mohamed Avatar answered Mar 25 '26 16:03

Azhar Mohamed



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!