2015-12-06 120 views
4

我想從我的github cmd使用GitHub桌面客戶端執行git pull命令。GitHub git拉致命錯誤cygwin DLL

出於某種原因,我的git拉不再起作用,它吐出以下錯誤:

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經常和我以前從來沒有遇到過這個問題...任何人都可以請幫我這個...

謝謝!

+0

它發生在我爲Android Studio配置git時。我不知道這是不是你的情況。我從我的android sdk工具path-to-android-sdk \ tools \ bin中刪除了** cygwin1.dll **。然後我重新啓動我的電腦並運行GitHub獨立應用程序。拉請求已成功執行。 – Luke

+0

升級後可以解決這個問題看起來像重啓 - 所以這不是一個永久性的問題。請參閱:https://stackoverflow.com/a/43082278/1880657 – Mark

回答

1

我有同樣的問題,這個問題是Android SDK工具。 當我卸載Android SDK工具Github桌面再次工作。

+0

不要爲什麼,但我只是卸載Android SDK工具,重新啓動我的電腦,瞧!它的工作正常。謝了哥們。 – AmatuerDev

3

在Windows 10上有與Windows的git相同的錯誤堆棧,在PC上沒有cygwin1.dll。解決方案是安裝32位版本。 對不起,如果不回答您的問題,但這是Google在查找此錯誤時顯示的第一個問題。所以可能對其他人有幫助,他們將會遇到與git 2.10相同的問題。

+0

這是爲我工作。如果你的機器上安裝了64bit git,請安裝cygwin的32bit版本,否則它們將不能一起工作 –

2

它發生在您的PATH二進制文件發生衝突時。這通常是在您爲Windows安裝Cygwin和Git時。通用的二進制文件是使用不同版本的Cygwin構建的,並且會出現問題。

Git for Windows自帶大多數 Cygwin實用程序,因此您可以卸載Cygwin。

如果您想使用Cygwin,我建議您安裝純Git二進制文件並將它們放入PATH中。

+0

刪除cygwin文件夾,git-bash從錯誤中恢復 – signonsridhar