Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在windows XP中的msysgit中运行sh.exe时出错_Sh_Msysgit - Fatal编程技术网

在windows XP中的msysgit中运行sh.exe时出错

在windows XP中的msysgit中运行sh.exe时出错,sh,msysgit,Sh,Msysgit,我在WindowsXP 32位环境中使用msysgit有困难,我非常感谢您的帮助。事实上,我正在使用SmartGit,我很喜欢这个程序。但是,它无法同时运行Save-Stash和Clean-Up。因为我认为问题出在SmartGit上,所以我向开发人员寻求帮助。然而,msysgit却出现了问题。 我拥有的SmartGit使用msysgit 1.8.1.2-preview20130201。 我还将Git-1.8.3-preview20130601安装在一个单独的目录中。 无论SmartGit使用两个

我在WindowsXP 32位环境中使用msysgit有困难,我非常感谢您的帮助。事实上,我正在使用SmartGit,我很喜欢这个程序。但是,它无法同时运行Save-Stash和Clean-Up。因为我认为问题出在SmartGit上,所以我向开发人员寻求帮助。然而,msysgit却出现了问题。
我拥有的SmartGit使用msysgit 1.8.1.2-preview20130201。 我还将Git-1.8.3-preview20130601安装在一个单独的目录中。 无论SmartGit使用两个版本中的哪一个,问题仍然存在

SmartGit在尝试保存存储时给出的消息是:

0 [main] us 0 open_stackdumpfile: Dumping stack trace to us.stackdump
0 [main] sh.exe" 8776 sync_with_child: child 936(0x18C) died before initia
lization with status code 0xC0000005
85 [main] sh.exe" 8776 sync_with_child: *** child state waiting for longjmp

C:\Program Files\SmartGitHg 4.5\git/libexec/git-core\git-stash: fork: Resource t
emporarily unavailable
清理生成以下消息:

Clean Up: failed to run repack
0 [main] us 0 open_stackdumpfile: Dumping stack trace to us.stackdump
0 [main] sh.exe" 7236 sync_with_child: child 1236(0x988) died before
initialization with status code 0xC0000005
4811 [main] sh.exe" 7236 sync_with_child: *** child state waiting for longjmp
如果我直接使用Git Gui(而不是SmartGit)在同一存储库上进行压缩,我会得到:

0 [main] sh.exe" 384 sync_with_child: child 7628(0x9A0) died before
initialization with status code 0xC0000005
1086 [main] sh.exe" 384 sync_with_child: *** child state waiting for longjmp
/usr/libexec/git-core/git-sh-setup: fork: Resource temporarily unavailable
如果我尝试使用Git Bash控制台执行任何操作,例如ls

sh.exe"-3.1$ ls
0 [main] us 0 open_stackdumpfile: Dumping stack trace to us.stackdump
68591127 [main] sh.exe" 712 sync_with_child: child 4772(0x1B4) died before initi
alization with status code 0xC0000005
68591227 [main] sh.exe" 712 sync_with_child: *** child state waiting for longjmp

sh.exe": fork: Resource temporarily unavailable
sh.exe"-3.1$
但是,如果我在存储库上使用Cygwin(git gc),一切都可以正常工作

我做了一次网络搜索,发现其他用户也有类似的错误消息。我发现最接近的是:

但我不相信我有同样的问题。 任何关于我可以尝试的建议都将不胜感激

谢谢 伊沃


我有两台运行XP的电脑。其中一个运行Git-1.8.3-preview20130601没有问题,另一个没有问题。在一个没有,我启动了诊断启动的机器-几乎没有服务运行,我仍然有同样的问题。我想这可能与注册表有关?

可能有关系谢谢罗杰的链接。我卸载谷歌桌面没有任何好处。我没有任何突破。我可能做了一些非常愚蠢的事情-我将sh.exe从cygwin复制到\Git\bin目录,现在它似乎工作正常。此外,SmartGit现在运行良好。我可能会有一些性能的影响,但至少它的工作。感谢您的帮助:-)我在Windows 7 64位上遇到这些问题。任何新的信息都会很棒。我在Windows8Pro 64位上也得到了同样的信息