Git Bash no se puede inicializar

enter image description here

Cuando uso git bash, dice "Error al copyr el process secundario: el recurso no está disponible temporalmente. Es posible que se requiera una rebase DL. Consulte 'rebaseall –help'." ¿Como puedo solucionar este problema?

Cuando uso tortoiseGit para ocultar, recibí un post como este

> git.exe stash save -- "12" 0 [main] sh (7224) D:\Program Files (x86)\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1360400/0x12F0400. 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] sh 13140 fork: child -1 - forked process 7224 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-stash: fork: retry: No child processes 0 [main] sh (8240) D:\Program Files (x86)\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1360400/0x1200400. 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. 1036670 [main] sh 13140 fork: child -1 - forked process 8240 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-stash: fork: retry: No child processes 2 [main] sh (10380) D:\Program Files (x86)\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1360400/0x12B0400. 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. 3174011 [main] sh 10992 fork: child -1 - forked process 10380 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-stash: fork: retry: No child processes 2 [main] sh (9232) D:\Program Files (x86)\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1360400/0x1330400. 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. 4240906 [main] sh 10992 fork: child -1 - forked process 9232 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-stash: fork: retry: No child processes 0 [main] sh (4164) D:\Program Files (x86)\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1360400/0x13C0400. 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. 6274008 [main] sh 10992 fork: child -1 - forked process 4164 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-stash: fork: retry: No child processes 2 [main] sh (6172) D:\Program Files (x86)\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1360400/0x1410400. 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. 10341657 [main] sh 10992 fork: child -1 - forked process 6172 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-stash: fork: retry: No child processes 2 [main] sh (4008) D:\Program Files (x86)\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1360400/0x13B0400. 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. 18409517 [main] sh 10992 fork: child -1 - forked process 4008 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-stash: fork: Resource temporarily unavailable 0 [main] sh (11752) D:\Program Files (x86)\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1360400/0x1350400. 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. 18455570 [main] sh 13140 fork: child -1 - forked process 11752 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-stash: fork: retry: No child processes 2 [main] sh (7824) D:\Program Files (x86)\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1360400/0x1350400. 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. 19501977 [main] sh 13140 fork: child -1 - forked process 7824 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-stash: fork: retry: No child processes 2 [main] sh (3708) D:\Program Files (x86)\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1360400/0x13D0400. 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. 21578926 [main] sh 13140 fork: child -1 - forked process 3708 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-stash: fork: retry: No child processes 2 [main] sh (3908) D:\Program Files (x86)\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1360400/0x11F0400. 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. 25643366 [main] sh 13140 fork: child -1 - forked process 3908 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-stash: fork: retry: No child processes 2 [main] sh (8904) D:\Program Files (x86)\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x1360400/0x13F0400. 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. 33708123 [main] sh 13140 fork: child -1 - forked process 8904 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 D:\Program Files (x86)\Git\mingw32/libexec/git-core\git-stash: fork: Resource temporarily unavailable 

Pruebe en cambio la versión portátil de Git para Windows 2.9.2 :

  • descomprime PortableGit-2.9.2-64-bit.7z.exe cualquier lugar que desees (como D:\git\git2.9.2 ),
  • eliminar de tus routes relacionadas PATH D:\Program Files (x86)\Git
  • agregar a su RUTA D:\git\git2.9.2;D:\git\git2.9.2\bin;D:\git\git2.9.2\cmd;D:\git\git2.9.2\usr\bin

Luego, desde una session de CMD:

  • cd a un git repo
  • escriba bash -i --login desde y compruebe que bash funciona correctamente

Me enfrenté al mismo problema una mañana. Traté de desinstalar el Git solo para ver si estaba dañado y me indicó cerrar algunos processs que van como sh.exe en el Administrador de tareas. Después de que los maté, pude abrir el Git bash con éxito.

¡Aclamaciones!