Cygwin ash.exe rebaseall 给出分叉错误



本周我的cygwin安装不知何故崩溃了,当我尝试启动它时出现以下错误:

Error: Could not fork child process: Resource temporarily unavailable (-1).
DLL Rebasing may be required see 'rebaseall / rebase --help'.

到目前为止一切顺利,谷歌搜索很容易指向许多解释如何执行变基的地方。但是,当我按照说明变基时:

  1. 以管理员身份打开 cmd.exe
  2. CD in \cygwin\bin
  3. Run ash/usr/bin/rebaseall

但是,然后我得到一个与我试图通过变基来解决的错误类似的错误:

  0 [main] ash (14624) c:cygwinbinash.exe: *** fatal error - cygheap base mismatch 
detected - 0xCB8408/0xD28408.
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:cygwinbin, 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] ash 7140 fork: child -1 - forked process 14624 died unexpectedly, retry 0, 
exit code 0xC0000142, errno 11/usr/bin/rebase-trigger: 33: /usr/bin/rebase-trigger: 
Cannot fork

所以,我搜索了cygwin1.dll只找到了一个。

有没有人有一些线索,我还可以尝试解决这个问题?

您需要

删除PortableGit文件夹

  1. 转到 GitHub AppData 文件夹:C:Users[username]AppDataLocalGitHub
  2. 删除文件夹PortableGit*...

最新更新