Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cygwin/Git error cygheap base mismatch detected

Tags:

git

ssh

cygwin

I have installed two windows servers with the latest versions of cygwin and git, and am trying to clone the git repository from S1, to S2. I can successfully ssh from S2 to S1 using RSA keys, but when I do this: git clone "ssh://root@S1/path/to/my/repo" It throws back this output:

    Cloning into /cygdrive/c/program files/apache software foundation/apache2.2/htdocs/myfolder...     2 [main] git 2004 C:/cygwin/lib/git-core/git.exe *** fatal error - cygheap base mismatch detected - 0x61242860/0x6123790. This problem is probably due to using incompatible versions of the cygwin DLL. Search fro cygwin1.dll using the WIndows Start->Find/Search facility and delete all bu 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 distrubtion. Rebooting is also suggested if you are unable to find another cygwin DLL.    --5 more errors like that one --  remote: Counting objects: 3275, done. remote: Compressing oobjects: 100% (3106/3106), done. fatal: write error: Broken pipe 

So I followed these instructions, but no luck. Any suggestions?

like image 950
John Zumbrum Avatar asked Nov 12 '11 20:11

John Zumbrum


1 Answers

I had the same problem.

I just restarted my PC and it worked again.

It doesn't help to find reason of problem but at least you can keep on to work.

like image 163
Serdar D. Avatar answered Sep 21 '22 03:09

Serdar D.