当我使用 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/