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

Ivo*_*Ivo 5 sh msysgit

我在一个windowXP 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
Run Code Online (Sandbox Code Playgroud)

清理生成以下消息:

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
Run Code Online (Sandbox Code Playgroud)

如果我直接使用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
Run Code Online (Sandbox Code Playgroud)

如果我使用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$
Run Code Online (Sandbox Code Playgroud)

但是,如果我在存储库中使用Cygwin(git gc),一切正常.

我已经完成了网络搜索,发现其他用户也有类似的错误消息.我找到的最接近的是:

在Windows XP上Git sh.exe进程分叉问题,慢?

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

谢谢伊沃

我有两台运行XP的电脑.其中一个运行Git-1.8.3-preview20130601没有问题,另一个没有.在没有启动机器的情况下,我在诊断启动时启动了机器 - 实际上没有服务运行,我仍然遇到同样的问题.我想这可能与注册表有关?