Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
612 views
in Technique[技术] by (71.8m points)

windows - sh.exe.stackdump when use git stash

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 FilesGitusrinsh.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 FilesGitusrinsh.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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I was experiencing this problem for months, I tried numerous Internet solutions (PATH fix, reinstall), today I finally managed to solve: The problem was a conflict with Comodo Internet Security (Comodo Firewall in my case), when I removed it, the error disappeared immediately.

I found the solution here: https://github.com/desktop/desktop/issues/4556

And here how to preserve the Comodo: https://help.comodo.com/topic-72-1-766-11485-Miscellaneous-Settings.html#shellcode_injection&_ga=2.241892802.1773408369.1525225022-41239862.1525101797


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...