2016-09-10 27 views
1

我刚刚使用默认安装设置安装了最新的Windows Git(https://git-scm.com/download/win)。我已经在Windows 10控制台在新安装的Git Bash中关闭

运行64位版本2.10.0的Git当我试图在这里使用Git猛砸,控制台会立即关闭,它产生mintty.exe文件有以下文字:

Exception: STATUS_ACCESS_VIOLATION at rip=00100407559 
rax=FFFFFFFFFFFFFFFF rbx=00000000FFFFC5D0 rcx=0000000000000000 
rdx=03FFFFFFFFFFFFFF rsi=0000000100444E20 rdi=00000000FFFFC5CC 
r8 =0000000000000001 r9 =0000000000000001 r10=0000000000000000 
r11=8000000000000000 r12=0000000100445960 r13=00000000FFFFC5E0 
r14=0000000600042F70 r15=0000000100445960 
rbp=00000000FFFFC6C0 rsp=00000000FFFFC580 
program=C:\Program Files\Git\usr\bin\mintty.exe, pid 6944, thread main 
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B 
Stack trace: 
Frame  Function Args 
000FFFFC6C0 00100407559 (000FFFFC6C0, 7FFB0536FF20, 00100444DC8, 00600000001) 
000FFFFC6C0 00100425455 (001801980AD, 00600041880, 001800CE622, 0000000002F) 
000FFFFCCC0 00180047C0F (00000000000, 00000000000, 00000000000, 00000000000) 
00000000000 0018004590C (00000000000, 00000000000, 00000000000, 00000000000) 
000FFFFFFF0 001800459A4 (00000000000, 00000000000, 00000000000, 00000000000) 
End of stack trace 

我试图寻找解决方案,但找不到任何东西。

+0

你有没有尝试重新启动你的Windows 10或在管理模式下运行Git Bash? –

+0

是的,尝试了两个都失败了。 – Afungus

回答

2

尝试,而不是携带版:

PortableGit-2.10.0-64-bit.7z.exe

看看从这个包中的一个bash --login -i工作在安装时不是更好。

[email protected] MINGW64 /bin 

$ git version 
git version 
git version 2.10.0.windows.1 

$ bash --version 
bash --version 
GNU bash, version 4.3.46(2)-release (x86_64-pc-msys) 
Copyright (C) 2013 Free Software Foundation, Inc. 
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 

This is free software; you are free to change and redistribute it. 
There is NO WARRANTY, to the extent permitted by law. 

如果问题仍然存在,请检查您的服务:例如,在issue 768Null service没有启动。

检查其状态:

sc query nul 

如果需要启动它:

sc start null 
+0

尝试了你的建议,但仍然得到同样的问题。我如何开始Null服务? – Afungus

+1

@Afungus'sc start null'(as admin)。首先'sc查询空' – VonC

+0

这工作!谢谢! – Afungus

0

解决了这个由我的机器上启动空的服务。