sh.exe.stackdump使用git存储时 [英] sh.exe.stackdump when use git stash

查看:2649
本文介绍了sh.exe.stackdump使用git存储时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



当我编写诸如git stash,git stash list之类的命令时, git stash apply,git drop,...,我总是得到一个名为sh.exe.stackdump的文件:

  Exception:STATUS_STACK_OVERFLOW at rip = 7FFFE2A29F97 
rax = 0000000000001250 rbx = 00000000FFFFADF0 rcx = 0000000000000000
rdx = 0000000180010018 rsi = 0000000180271780 rdi = 000000018021C490
r8 = 00000000000C2790 r9 = 0000000180271780 r10 = 00000000FFFF9000
r11 = 00000000FFE03190 r12 = 00000000FFFFACD0 r13 = 000000018021C490
r14 = 00000000FFFFAC70 r15 = 00000000FFFFADF8
rbp = 0000000000000420 rsp = 00000000FFFFAAD8
program = C:\ Program Files \Git\\ \\usr\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\''; \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ c>

 异常:在rip时STATUS_STACK_OVERFLOW = 7FFFE2A29F97 
rax = 0000000000001250 rbx = 00000000FFFF ACD0 rcx = 0000000000000000
rdx = 0000000180010018 rsi = 0000000180271780 rdi = 000000018021C490
r8 = 00000000006A2790 r9 = 0000000180271780 r10 = 00000000FFFF9000
r11 = 00000000FFE03490 r12 = 00000000FFFFABB0 r13 = 000000018021C490
r14 = 00000000FFFFAB50 r15 = 00000000FFFFACD8
rbp = 0000000000000420 rsp = 00000000FFFFA9B8
program = C:\程序文件\Git\usr\bin\sh.exe,pid 11624,线程未知(0x13B8)
cs = 0033 ds = 002B es = 002B fs = 0053 gs = 002B ss = 002B

命令工作正常,但它很烦人删除它,每次我使用隐藏。

当我试图命名一个藏匿,我得到这个错误:

 无法保存当前索引状态

我该怎么办?
我使用的是Windows 10,git版本2.15.0.windows.1和Windows命令提示符

解决方案

在设置一个简化的PATH后尝试使用相同的存储命令:

  set G = c:\path\to\latest \ git 
set PATH =%G%\bin;%G%\usr\bin;%G%\mingw64\bin
set PATH =%PATH%; C:\\ \\ windows \ system32; C:\ windows \ System32 \Wbem; C:\windows\System32\WindowsPowerShell\v1.0\
$ b $ G c> Windows \ System32 ,Git中的查找将在默认的窗口中选择。

然后去你的仓库,试试再次。

但请务必使用 git version 2.15.1.windows.2


I'm new with Git and have a problem with "stash" commands.

When i write commands like "git stash", "git stash list", "git stash apply", "git drop", ... , i always get a file named "sh.exe.stackdump" with this:

Exception: STATUS_STACK_OVERFLOW at rip=7FFFE2A29F97
rax=0000000000001250 rbx=00000000FFFFADF0 rcx=0000000000000000
rdx=0000000180010018 rsi=0000000180271780 rdi=000000018021C490
r8 =00000000000C2790 r9 =0000000180271780 r10=00000000FFFF9000
r11=00000000FFE03190 r12=00000000FFFFACD0 r13=000000018021C490
r14=00000000FFFFAC70 r15=00000000FFFFADF8
rbp=0000000000000420 rsp=00000000FFFFAAD8
program=C:\Program Files\Git\usr\bin\sh.exe, pid 7748, thread unknown (0x3144)
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B

or

Exception: STATUS_STACK_OVERFLOW at rip=7FFFE2A29F97
rax=0000000000001250 rbx=00000000FFFFACD0 rcx=0000000000000000
rdx=0000000180010018 rsi=0000000180271780 rdi=000000018021C490
r8 =00000000006A2790 r9 =0000000180271780 r10=00000000FFFF9000
r11=00000000FFE03490 r12=00000000FFFFABB0 r13=000000018021C490
r14=00000000FFFFAB50 r15=00000000FFFFACD8
rbp=0000000000000420 rsp=00000000FFFFA9B8
program=C:\Program Files\Git\usr\bin\sh.exe, pid 11624, thread unknown (0x13B8)
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B

Commands works fine, but it's annoying to delete it everytime i use "stash".

And when i try to name a stash, i get this error:

Cannot save the current index state

What should i do? I'm using Windows 10, git version 2.15.0.windows.1, and the windows command prompt

解决方案

Try the same stash command after setting a simplified PATH:

set G=c:\path\to\latest\git
set PATH=%G%\bin;%G%\usr\bin;%G%\mingw64\bin
set PATH=%PATH%;C:\windows\system32;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\

If G (the Git installation folder) is set before Windows\System32, the find from Git will be chosen over the default Windows one.

Then go to your repo, and try again.
But make sure to use git version 2.15.1.windows.2

这篇关于sh.exe.stackdump使用git存储时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆