GitHub git pull致命错误cygwin DLL

时间:2015-12-06 18:21:21

标签: git github git-pull

我正在尝试使用GitHub桌面客户端从我的github cmd执行git pull命令。

出于某种原因,我的git pull不再有效,它会吐出以下错误:

D:\AndroidStudioProjects\Tangle>git pull
      1 [main] sh (6932) C:\Users\dbale\AppData\Local\GitHub\PortableGit_c7e0cbde92ba565cb218a521411d0e854079a28c\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0xC77400/0xDD7400.
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.
      1 [main] sh 15144 fork: child -1 - forked process 6932 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
/mingw32/libexec/git-core/git-sh-setup: fork: retry: No child processes
      4 [main] sh (16184) C:\Users\dbale\AppData\Local\GitHub\PortableGit_c7e0cbde92ba565cb218a521411d0e854079a28c\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0xC77400/0xEE7400.
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.
1067828 [main] sh 15144 fork: child -1 - forked process 16184 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
/mingw32/libexec/git-core/git-sh-setup: fork: retry: No child processes
      3 [main] sh (6452) C:\Users\dbale\AppData\Local\GitHub\PortableGit_c7e0cbde92ba565cb218a521411d0e854079a28c\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0xC77400/0x1107400.
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.
3137324 [main] sh 15144 fork: child -1 - forked process 6452 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
/mingw32/libexec/git-core/git-sh-setup: fork: retry: No child processes
      3 [main] sh (10188) C:\Users\dbale\AppData\Local\GitHub\PortableGit_c7e0cbde92ba565cb218a521411d0e854079a28c\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0xC77400/0xED7400.
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.
7211236 [main] sh 15144 fork: child -1 - forked process 10188 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
/mingw32/libexec/git-core/git-sh-setup: fork: retry: No child processes

我的cygwin1.dll位于:C:\ cygwin64 \ bin \

我经常使用github而且我以前从未遇到过这个问题...任何人都可以帮助我...

谢谢!

5 个答案:

答案 0 :(得分:3)

问题在于你的cygwin,你可以看到。在兼容的DLL版本中。

您可以尝试安装git表单git-scm并查看问题是否仍然存在?

https://git-scm.com/download/win

答案 1 :(得分:3)

在Windows 10上使用git for Windows时出现相同的错误堆栈,PC上没有cygwin1.dll。解决方案是安装32位版本。 对不起,如果没有回答您的问题,但这是Google在查找此错误时显示的第一个问题。因此可能对其他人有帮助,他们将使用git 2.10来解决同样的问题。

答案 2 :(得分:2)

当您的PATH二进制文件发生冲突时会发生这种情况。这通常是在为Windows安装Cygwin和Git时。共同的二进制文件是使用不同版本的Cygwin构建的,并且会出现问题。

Git for Windows附带大多数 Cygwin实用程序,因此您可以卸载Cygwin。

如果您想使用Cygwin,我建议您安装纯Git二进制文件并将它们放入PATH。

答案 3 :(得分:1)

我遇到了同样的问题,问题是Android SDK工具。 当我卸载Android SDK工具时,Github Desktop再次运行。

答案 4 :(得分:1)

更改为启用Windows 10,默认情况下启用图像强制随机化(强制性ASLR)。我必须去利用漏洞利用保护,并为GitHub Desktop使用的每个Cygwin程序配置例外。

在我的PC上,Cygwin程序当前位于C:\ Users \ cjshaker \ AppData \ Local \ GitHubDesktop \ app-2.1.3 \ resources \ app \ git \ usr \ bin

您可以在以下位置了解有关该问题的更多信息: 侦测到cygheap基本不匹配的桌面Barf https://github.com/desktop/desktop/issues/3096

Chris Shaker