2016-07-21 13 views
0

enter image description hereGit Bash nicht

initialisiert werden, wenn i git Bash sagt es "Failed to fork Kindprozess. Resource temporarily unavailable.DLL Rebasieren erforderlich sein kann Siehe 'rebaseall --help'." Wie kann ich dieses Problem beheben?

Wenn ich TortoiseGit bunkern Ich mag dieses

eine Nachricht bekam
> 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 
+0

, welche Version von Git sind Sie benutzen? Auf welchem ​​Betriebssystem? (Windows 32 oder 64 Bit?) – VonC

+0

OS Win10 X64 Git Version v2.7.2 – StarSky

Antwort

1

Versuchen Sie stattdessen die portable Version von Git for Windows 2.9.2:

  • unzip PortableGit-2.9.2-64-bit.7z.exe, wohin Sie wollen (wie D:\git\git2.9.2),
  • Entfernen Sie von Ihrem Pfad D:\Program Files (x86)\Git verwandten Pfaden
  • zu Ihrem Pfad hinzufügen D:\git\git2.9.2;D:\git\git2.9.2\bin;D:\git\git2.9.2\cmd;D:\git\git2.9.2\usr\bin

Dann wird aus einer Sitzung KMD:

  • cd zu einem Git-Repo
  • Typ bash -i --login aus und überprüfen Sie die bash funktioniert
+0

das funktioniert für mich, danke :) – StarSky

12

hatte ich das gleiche Problem konfrontiert ein Morgen. Ich habe versucht, das Git zu deinstallieren, nur um zu sehen, ob es beschädigt ist und es wies mich an, einige Prozesse, die wie im Task-Manager gehen, herunterzufahren. Nachdem ich sie getötet hatte, konnte ich den Git-Bash erfolgreich eröffnen.

Prost!

+3

Das OP wahrscheinlich bedeutete 'ssh.exe' anstelle von 'sh.exe', und ja - diese zu töten hat auch für mich funktioniert. Danke, dass Sie mir die Mühe ersparen, einen vollständigen Neustart durchzuführen. –

+0

Ich habe 'sh.exe' und nicht' ssh.exe'! –

+0

Ich tötete 'bash.exe' und es funktionierte für mich. – Saravana

0

Hier ist die Lösung.

  1. Gehen Sie Windows Defender Security Center-Einstellungen
  2. Klicken Sie auf App & -Browsersteuerelement
  3. Am unteren Rand auf den Link „Schutzeinstellungen Exploit“
  4. Gehen Sie auf „Programm-Einstellungen“ und klicken Sie auf "Add Programm anpassen" -> "wählen sie genaue Dateipfad"
  5. Navigieren sie zu "C: \ Programme \ Git \ usr \ bin \ sh.exe" und es
  6. Aufschalten hinzufügen und die fol deaktivieren lowing: Obligatorisch ASLR, Randomize Speicherzuweisungen (Bottom-up ASLR)
  7. Klicken Sie auf "Übernehmen" und jetzt sollte alles gut funktionieren.

auch diese Binärdateien aus dem gleichen Ordner hinzufügen: expr.exe, uname.exe, grep.exe, rm.exe

Viel Glück,
Gabriel