sh.exe.stackdump when use git stash sh.exe.stackdump when use git stash git git

sh.exe.stackdump when use git stash


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


I have been struggling with this for some time. I used to get the following exception when I try to write any kind of server side hooks on my 64 bit Git for Windows installed on a 64-bit Windows Server OS. I fixed it by reworking the order of the Path variables as mentioned by VonC. Just note that you need to be careful of the order since I noticed that by using Windows Process Explorer (you can download this) the sh.exe sometimes messes up my company installed Anti-Virus so experiment with the order

remote:       0 [main] sh 2288 D:\git\installation\Git-2.19.1-64-bit\usr\bin\sh.exe: *** fatal error - add_item ("\??\D:\git\installation\Git-2.19.1-64-bit", "/", ...) failed, errno 1remote: Stack trace:remote: Frame        Function    Argsremote: 000FFFF9BC0  0018005E0DE (0018025366A, 00180230C39, 00600010000, 000FFFF8B40)remote: 000FFFF9BC0  001800468F9 (000FFFFAC12, 000FFFF9BC0, 00000000000, 00000000000)remote: 000FFFF9BC0  00180046932 (000FFFF9BC0, 00000000001, 00600010000, 675C3A445C3F3F5C)remote: 000FFFF9BC0  001800CD2CB (00000000000, 00040000024, 00000000000, 00000000000)remote: 1D4881AD919ABD9  0018011BF95 (001800B463C, 00000000000, 00000000000, 00000000000)remote: 000FFFFCCD0  00180046EF3 (00000000000, 00000000000, 00000000000, 00000000000)remote: 00000000000  00180045A03 (00000000000, 00000000000, 00000000000, 00000000000)remote: 000FFFFFFF0  00180045AB4 (00000000000, 00000000000, 00000000000, 00000000000)