Having trouble starting Git Bash, not sure where in the stack my errors are occuring. Running Windows 10, Git Bash, ConEmu and Vagrant.
When I start Git Bash, either through ConEmu or the application directly, I receive the following message:
0 [main] bash 4696 fork: child 528 - died waiting for dll loading, errno 11 bash: fork: retry: No child processes 1263234 [main] bash 4696 fork: child 684 - died waiting for dll loading, errno 11 bash: fork: retry: No child processes 3519490 [main] bash 4696 fork: child 2020 - died waiting for dll loading, errno 11 bash: fork: retry: No child processes 7764494 [main] bash 4696 fork: child 7064 - died waiting for dll loading, errno 11 bash: fork: retry: No child processes
I don't know enough about Git Bash (or bash, for that matter) to figure out what's going on and all the answers I can find are about Cygwin.
Open CMD as Admin. CD to the installation path of GitHub (e.g. CMDPRMPT> CD "C:\Program Files\Git") Run "git-bash.exe" from command prompt. Right-click the GIT BASH icon on the taskbar and pin it so you can avoid steps 1-3 in the future.
Git Bash comes included as part of the Git For Windows package. Download and install Git For Windows like other Windows applications. Once downloaded find the included .exe file and open to execute Git Bash.
Press Windows key + X then click Command prompt, at the command prompt, type: bash then hit Enter. If you want to be able to access the local file system, press Windows key + X, Command Prompt (Admin) then type bash at the prompt.
Same issue happened with COMODO Firewall since last update.
Adding Git folder to File Rating > File List
as trusted file
Adding Git folder to Advanced protection > Milanescious > Shell code exclusion
Setting git-bash.exe as allowed application
in Firewall > Application Rules
(this one may be optional, but it won't hurt anyway)
Solved the issue on Windows 10.
Side note : Turning COMODO firewall off does not solve the issue, this is quite misleading... But adding exclusions rules does fix the problem.
Other side note: if you use Comodo Firewall, you should consider uninstalling it... It has bugged and ruined my windows install, i've got a lot of BSOD as soon as i removed it... When i think of it in hindsight, he was the root cause of a lot of problem. I mean, how in the world a Firewall could silently block an application or infinite sandboxing it without even a notification. Plus the removall is a pain in the ass, uninstaller crash one time out of two...
Turns out Comodo Antivirus was auto-sandboxing Git Bash. Adding Git Bash as an exception to the sandboxing rules solved my problem.
Hope this saves someone else an hour.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With