-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git-bash: Failed to fork child process: No such file or directory. #440
Comments
How do you start Git? Please write down all details about your setup. Including the options chosen when installing and the way you start Git. |
Some more info: If I run EDIT Oh, that's interesting. When I did all those, it opens up |
That is incomplete information. How did that shortcut end up in that taskbar in the first place? Git for Windows does not install that. Please do not leave out crucial information like that, it only extends the time until I can help you effectively because you'll have to tell me those things anyway. |
I clicked and dragged the "Git Bash" icon from the start menu search (for git bash) onto the taskbar. I seriously doubt that it's crucial information, though, since the same error happened when I tried to open the file directly (as in, from the Program Files folder), and the same error occured. |
@SEAPUNK The default use case is to install, with all options left to their defaults, and then click Git Bash from the start menu. It works well enough, otherwise this bug tracker would be overflowing with bug reports. Therefore, the default use case seems to work everywhere. That means that whatever does not work for you must be due to a difference in the default use case. The more information you withhold about your non-default use case, the more likely is it that I cannot help you and that both of us get very, very frustrated. So let's avoid that, and include all information, like I asked for, and as our issue reporting guide lines suggest. As it is, I still have not enough information to understand this issue report, and I still have no way to reproduce the problem on this side (ideally, you would come up with a Minimal, Complete and Verifiable Example), and whatever time I had to spend on this ticket for this weekend is now depleted by our current exchange. I'll try to get back to this ticket on Monday. |
Oh, one last thing for today: if you have installed something like Cygwin, MSys1, Git for Windows 1.x (even a portable version) or anything that is essentially based on Cygwin's POSIX emulation layer, that is probably important information, too. |
No need to do Monday, Monday is the day I get back to work. Tuesday should give me enough time to collect enough information about the problem. |
I'll close this issue for now; I haven't gotten another error like this for some time. |
I got this error |
I ran into this problem too. Pointing my git hub gui process to the version of bash.exe deployed by a fresh install of git for windows resovled the issue. In my case after a windows update and reboot I got into this state. Probably something is corrupted (perhaps in registry) pointing to the wrong version of bash. Maybe this can help with the investigation. I did a clean install of the git tools and this issue stuck around. I had to manually point it which you can do from the settings.After this it fixes up the cmdline as well since it probably uses the same settings. |
👍 I have this on a fresh Windows 10 Enterprise, with the MS Azure domain. Broken in Cygwin too. |
the same with my win 10, fresh git install, configured to use git bash only. |
works without that error if run as administrator! |
@dcneeme I traced my problem to using a domain account. A non domain account worked fine. Did you run the first one as a domain account, but then run the second one as a local administrator? |
@keithjjones Same issue here, also with an azure domain account. It always worked with regular accounts. |
@SamDeBlock any chance that you could give me temporary access to a machine with that account? In the alternative, I could walk you through debugging the problem. |
Also an issue with an account via email on Windows 10, not just a domain account. Local accounts seem to work fine since I have this installed on another machine and there is no issue with that one. |
@jfjcn could you please elaborate? |
Windows supports three kinds of accounts:
|
Note that my email account seems to be working fine with it on two computers (Windows 10). It was only when I was hooked up to Azure for AD that there were issues. |
I have it on two computers - one with email and one with local account, and I'm only having issues on the email. Maybe that's not the core issue then? Let me know what I can do to help troubleshoot! |
It seems to be a home directory issue, of some sort, when I looked into a while back. The home directories seemed to be different for AD than other accounts. My home directory for my email account looks like a normal home directory. I don't know if this is what the problem is. It is just an educated guess on my part. |
Same issue here. Fresh install of Windows 10. |
I'll go ahead and reopen the issue for visibility (since I'm not the only one having this problem), but I won't be active here because I no longer use this (I'm on a full Linux environment now). |
Using git 2.5.3.windows.1 on Windows 7 Professional SP1, 64-bit
For some strange reason, at seemingly random times, when I try to open up git-bash again, it gives me that error, refusing to work again, forcing me to reinstall. The window title is
/usr/bin/bash --login -i
, and I'm assuming that's the command it's trying to run.The last time it gave me the error and stopped working happened when I closed out of the window while it was in the middle of a process (I had to close, confirm, and then press the close button again).
The text was updated successfully, but these errors were encountered: