Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub git pull fatal error cygwin DLL

I am trying to perform a git pull command from my github cmd using the GitHub desktop client.

For some reason my git pull no longer works, and it spits out the following errors:

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

My cygwin1.dll is located in: C:\cygwin64\bin\

I use github often and I have never experienced this problem before... Can anyone please help me with this...

Thanks!

like image 673
Borovez Avatar asked Dec 06 '15 18:12

Borovez


2 Answers

The problem is in your cygwin as you can see. in compatible dll version.

Can you try and install the git form git-scm and see if the problem still happens?

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

like image 101
CodeWizard Avatar answered Sep 17 '22 08:09

CodeWizard


Had the same error stack with git for windows on Windows 10, with no cygwin1.dll on PC. The solution was to install 32-bit version. Sorry, if doesn't answer you question, but this is the first question Google shows when looking for this error. So might be helpful for others, who will meet the same problem with git 2.10.

like image 32
Alex Kartishev Avatar answered Sep 21 '22 08:09

Alex Kartishev