4

I am not able to open git bash on windows. When I try to open git bash by right click on git local repo directory then it just creating the file mintty.exe.stackdump and not opening the git bash window. But if I open Git GUI here it is working fine.

mintty.exe.stackdump file contains below information

Exception: STATUS_ACCESS_VIOLATION at rip=000FFFFC39F
rax=00000000FFFFC39F rbx=00000000007766B0 rcx=00000000007766BC
rdx=0000000000776828 rsi=0000000000777024 rdi=00000000FFFFC39F
r8 =0000000000000004 r9 =0000000000000000 r10=0000000000000000
r11=0000000000000246 r12=0000000000000001 r13=00000000FFFFC3DC
r14=0000000000000000 r15=0000000000000000
rbp=0000000000000001 rsp=00000000FFFFC188
program=C:\Program Files\Git\usr\bin\mintty.exe, pid 23484, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B

So please help me to understand what is this issue? and how to resolve this issue?

gprasadr8
  • 789
  • 1
  • 8
  • 12

2 Answers2

1

I had a very similar issue today. Probably way too late for you, but this was caused by some issue with the configuration file (.minttyrc in your home directory).

I saved a backup removed it, and it now works.

Adding it here as it may help someone else in the future.

See the following link for more info: Git Bash - STATUS_ACCESS_VIOLATION

rafalg
  • 86
  • 3
  • Great find! I recently changed several of the window's properties (App Icon -> Options...) and after a reboot, Git Bash would not open. I found `.minttyrc` in the home directory and, after removing the line `StatusLine=yes`, Git Bash opened (and just to confirm, re-added that line and Git Bash would no longer open). – OnlineCop Jul 14 '23 at 14:55
-2

Go to control panel > add or remove program > uninstall git

Then install it

adiga
  • 34,372
  • 9
  • 61
  • 83
Hari
  • 114
  • 1
  • 14