无法启动Git Bash [英] Can't start Git Bash

查看:492
本文介绍了无法启动Git Bash的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法启动Git Bash,不知道堆栈中的错误发生在哪里。运行Windows 10,Git Bash,ConEmu和Vagrant。



当我通过ConEmu或应用程序直接启动Git Bash时,会收到以下消息:

  0 [main] bash 4696 fork:child 528  - 死于等待dll加载,errno 11 
bash:fork:重试:没有子进程
1263234 [main] bash 4696 fork:child 684 - 死于等待dll加载,errno 11
bash:fork:retry:没有子进程
3519490 [main] bash 4696 fork:child 2020 - 等待dll加载,errno 11
bash:fork:retry:没有子进程
7764494 [main] bash 4696 fork:child 7064 - 死于等待dll加载,errno 11
bash:fork:retry:没有子进程

我不知道Git Bash(或者bash,就此而言)弄清楚发生了什么事并且所有我能找到的答案都是关于Cygwin的。

解决方案

COMODO防火墙自上次更新后发生同样的问题。


  1. 添加Git f较旧至档案评分>文件列表作为可信任文件

  2. Milanescious> Shell代码排除


  3. 将git-bash.exe设置为允许应用程序防火墙>申请规则(这个可以是可选的,但不会伤害到任何人)


解决了Windows 10上的问题。



注意:关闭COMODO防火墙并不能解决问题,这是相当具有误导性的......但添加排除规则确实解决了这个问题。



其他备注:如果您使用Comodo Firewall,则应考虑卸载它... It已经窃听并破坏了我的Windows安装...当我事后想到它时,他是很多问题的根源。我的意思是,即使没有通知,防火墙也可以静静地阻止应用程序或无限的沙箱。再加上removall是屁股疼痛。卸载程序一次崩溃两次...


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.

解决方案

Same issue happened with COMODO Firewall since last update.

  1. Adding Git folder to File Rating > File List as trusted file

  2. Adding Git folder to Advanced protection > Milanescious > Shell code exclusion

  3. 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, ou should consider uninstalling it... It has bugged and ruined my windows install... When i think of it in hindsight, he was the root cause of a lot of problem. I mean of can the fuck a Firewall 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...

这篇关于无法启动Git Bash的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆