ошибка cmder при открытии новой вкладки bash

    0 [main] bash (1884) E:\cmder\vendor\git-for-windows\bin\..\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1416408/0x14C6408.
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.
      0 [main] bash 11464 fork: child -1 - forked process 1884 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: No child processes
      0 [main] bash (3256) E:\cmder\vendor\git-for-windows\bin\..\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1416408/0x1386408.
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.
1074705 [main] bash 11464 fork: child -1 - forked process 3256 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: No child processes
      2 [main] bash (12572) E:\cmder\vendor\git-for-windows\bin\..\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1416408/0x14A6408.
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.
3147239 [main] bash 11464 fork: child -1 - forked process 12572 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: No child processes
      1 [main] bash (10236) E:\cmder\vendor\git-for-windows\bin\..\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1416408/0x12A6408.
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.
7224765 [main] bash 11464 fork: child -1 - forked process 10236 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: No child processes
      0 [main] bash (13684) E:\cmder\vendor\git-for-windows\bin\..\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1416408/0x10D6408.
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.
15488563 [main] bash 11464 fork: child -1 - forked process 13684 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: Resource temporarily unavailable
bash-4.3$

Я использую cmder в Windows 10, когда открываю новую вкладку bash, выдает эту ошибку. Я искал в Google и удалял Android SDK, который я скачал, но он не работает. Может ли кто-нибудь помочь мне с этим?


person ChenLee    schedule 04.01.2017    source источник


Ответы (2)


Попробуйте тот же git bash в сеансе CMD, где вы устанавливаете переменную окружения PATH на минимальное значение:

set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
set PATH=C:\path\to\Git\bin;C:\path\to\Git\cmd;C:\path\to\Git\usr\bin;%PATH%

Затем введите bash и посмотрите, сохраняется ли ошибка.
Я тестировал ее с git version 2.11.0.windows.1 в Windows 10 (последние исправления). Это работает.

OP ChenLee подтверждает в комментариях:

Я полностью переустанавливаю cmder, и теперь все работает нормально.

person VonC    schedule 04.01.2017
comment
@ChenLee Да, но это временно. Чтобы окончательно избежать этого сообщения об ошибке, установите PATH, как указано. - person VonC; 05.01.2017
comment
@VonC У меня такая же ошибка до сегодняшнего утра, и я безуспешно пытаюсь выполнить ваши рекомендации. Вчера все работало нормально, но я установил Skype для бизнеса. Не знаю, связана ли эта установка с моей проблемой. - person jmcollin92; 12.09.2017
comment
@ jmcollin92 jmcollin92 Вы имеете в виду, что вы запускаете git bash из CMD, где PATH установлен, как я описал выше, и вы все еще видите проблему? - person VonC; 12.09.2017
comment
@ jmcollin92 ты решил свою проблему? Я установил путь, как предложено в этом ответе, и запустил bash из того же cmd в Cmder, и все же возникла та же проблема. - person Alex; 25.01.2018
comment
@Alex Алекс, я полностью переустанавливаю cmder, и теперь все работает нормально. - person jmcollin92; 22.02.2018

В моем случае виновником оказался (я и) настройка «Обязательный ASLR». Если установлено значение «ВКЛ», принудительно перемещаются образы, НЕсовместимые с /DYNAMICBASE, что приводит к хаосу в двоичных файлах Git для Windows.

person MarS    schedule 19.06.2019