3
2
When using git on Windows 10 (1803), some commands give the following error:
git submodule add https://github.com/..../......git ......
3 [main] basename (13656) C:\.....\basename.exe: *** fatal error - cygheap base mismatch detected - 0x64313400/0x11E3400.
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.
How can I resolve this issue?
1This is awesome! Clear and brillant. Thank you for such detailed explanation. Learned a lot today! – menssana – 2019-04-02T17:28:47.677
I have the same problem here: https://stackoverflow.com/questions/56201929/fatal-error-cygheap-base-mismatch-detected-0x13a1410-0x13d1410 . Don't know what are the name of the programs I must add?
– user3486308 – 2019-05-18T19:48:17.9171Notice the 2nd line of output in the original question? It shows you the exe you need to add. – Julian Knight – 2019-05-19T15:03:15.633
Should I do this for every cygwin exe file? – Anders Lindén – 2019-09-25T12:35:40.933
Yes, I'm afraid so. It can take a while. There is probably a way to script it. – Julian Knight – 2019-09-26T11:11:06.257
I received this error whenever I tried to execute Cygwin
.exe
files via Git Bash. As soon as I tried the same commands in Powershell, they worked fine. So, in my specific case, the problem seemed to be Git Bash, not Cygwin executables. Rather than fiddle with the ASLR settings, I just switched my tasks to Powershell. – Ben Johnson – 2019-10-13T12:11:23.357There could, I think, be several reasons for that, the most likely being that PS is using a different set of executables. You might want to do
which git
, etc. to find out what is being run. But, of course, if it works for you, that's great. – Julian Knight – 2019-10-13T13:32:14.377