Git Bash 无法初始化

标签 git bash dll

enter image description here

当我使用 git bash 时,它说“无法 fork 子进程:资源暂时不可用。可能需要 DLL rebase 。请参阅‘rebaseall --help’。” 我该如何解决这个问题?

当我使用 tortoiseGit 存储时,我收到了这样的消息

> 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    

最佳答案

一天早上我遇到了同样的问题。我试图卸载 Git 只是为了查看它是否已损坏,它指示我关闭任务管理器中的几个类似 sh.exe 的进程。杀死它们后,我就可以成功打开 Git bash。

干杯!

关于Git Bash 无法初始化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38494951/

相关文章:

bash - 为什么 `\n` 在 Python 中不起作用

c# - 如何在 Visual Studio 2010 中正确引用 dll?

Python Ctypes - 加载 dll 抛出 OSError : [WinError 193] %1 is not a valid Win32 application

git - 如何配置 'git log'显示 'commit date'

python - GIT 钩子(Hook) -> Python -> Bash : How to read user input?

windows - 如何让 Putty 在 git 输出上显示颜色编码?

database - 我不确定访问数据库的固定方式是什么

git - rebase 后到 "pull"或 "push" fork 分支?

用于在 28 个内核上运行查询的 Bash 脚本

bash - 评估 bash "&&"退出代码行为