Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Git Bash Instantly closes on startup. #310

Closed
ghost opened this issue Feb 3, 2015 · 6 comments
Closed

Git Bash Instantly closes on startup. #310

ghost opened this issue Feb 3, 2015 · 6 comments

Comments

@ghost
Copy link

ghost commented Feb 3, 2015

Hello! Whenever I try and right click in a folder and click run git bash here it opens for a split second and closes. I think this may be because I am running windows 10 technical preview. I have tried running it in compatibility mode & admin mode and to no success. Would be great for this to be fixed.

@dscho
Copy link
Member

dscho commented Feb 3, 2015

Unfortunately, this is not a good bug report.

However, you can probably find out more detailed information what is going wrong (and consequently, you will have a better chance to fix the issue yourself) by ensuring that Git Bash from the Start Menu works, and then work up your way to the root cause by inserting logging statements as described here.

@ghost
Copy link
Author

ghost commented Feb 5, 2015

Actually it is a real issue because I CANNOT RUN GIT. I have looked up this issue everywhere I have tried several things to fix this. NOTHING WORKS! Oh but wait. When I rolled back to windows 7. Works fine. I wonder why?

@sschuberth
Copy link

Maybe because you are running Windows 10 technical preview? ;-) More seriously, please don't expect us to fix potential issue that a single user as only in conjunction with software of preview quality. I'm not precluding there's an issue in Git. I'm just saying that for me it makes little sense to look into this just now when Windows 10 is not even released.

@CalMlynarczyk
Copy link

Try calling Git from another shell (ex. CMD, PowerShell). If it errors out due to some sort of memory allocation issue like the one reported in #307, then you will have to run one of the fixes provided for that issue.

I run into the same problem almost daily on my Windows machine. You can either restart your system and try again, or you can use the rebase command against sh.exe as an admin to some random memory address to temporarily fix the problem.

@suburbanworrier
Copy link

I had this on a Windows 8.1 machine. Git Bash would start and almost instantly close when called from the context menu. I uninstalled and reinstalled with the simple (non cheetah) context menu option and all is now well.
HTH

@dscho
Copy link
Member

dscho commented Aug 6, 2015

This issue unfortunately lacks enough information to do anything about it. It might be the famous DLL address problem (which would be addressed by Git for Windows 2.x anyway, which is intended to supersede msysgit-based Git for Windows 1.x).

So I am closing this issue, asking everybody who experiences this issue to try Git for Windows 2.x instead.

@dscho dscho closed this as completed Aug 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants