git svn - cygwin下的错误
我有 cygwin 和 git。我正在尝试使用 git 提交到 svn - git svn dcommit
。但它失败并出现奇怪的错误:
$ git svn dcommit 4 [main] perl 5536 C:\cygwin\bin\perl.exe: *** fatal error - unable to remap \\?\C:\cygwin\lib\perl5\5.10\i686-cygwin\auto\List\Util\Util.dll to same address as parent: 0xA20000 != 0xB40000 Stack trace: Frame Function Args 0088B508 6102749B (0088B508, 00000000, 00000000, 00000000) 0088B7F8 6102749B (61177B80, 00008000, 00000000, 61179977) 0088C828 61004AFB (611A136C, 6125AB3C, 00A20000, 00B40000) End of stack trace
我该如何修复它?谢谢。
PS 我的系统是windows 7 64位。
更新
重新建立
有帮助。但执行 rebase 后我必须重新启动。
I have cygwin and git. I'm trying to commit with git to svn - git svn dcommit
. But it fails with strange error:
$ git svn dcommit 4 [main] perl 5536 C:\cygwin\bin\perl.exe: *** fatal error - unable to remap \\?\C:\cygwin\lib\perl5\5.10\i686-cygwin\auto\List\Util\Util.dll to same address as parent: 0xA20000 != 0xB40000 Stack trace: Frame Function Args 0088B508 6102749B (0088B508, 00000000, 00000000, 00000000) 0088B7F8 6102749B (61177B80, 00008000, 00000000, 61179977) 0088C828 61004AFB (611A136C, 6125AB3C, 00A20000, 00B40000) End of stack trace
How can I fix it ? Thanks.
P.S.
My system is windows 7 64 bit.
Update
reabase
helped. but I had to reboot after executing rebase.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您是否尝试过
rebaseall
类似此处描述?OP gor 报告他必须重新启动以使
rebaseall
工作。Dan Moulding 在评论中提到:
rsenna 报告 在评论中:
Did you try a
rebaseall
like described here?The OP gor reports he had to reboot to make
rebaseall
work.Dan Moulding mentions in the comments:
rsenna reports in the comments:
我遇到了这个问题,但运行 rebaseall 无法解决问题。我试图运行 git svn dcommit 并看到提到的重新映射错误,无论我运行 rebaseall 和/或重新启动多少次。
这是我所看到的示例。请注意对地址 0x6FA00000 的引用
我认为这并不重要,但我正在使用我公司的企业形象在 Windows7 Enterprise 32 位上运行。
我能够按照在 Chromium wiki 上找到的建议解决此问题:
http://code.google.com/ p/chromium/wiki/CygwinDllRemappingFailure
我使用 cygwin 中的 ListDlls.exe (http://technet.microsoft.com/en-us/sysinternals/bb896656.aspx) 来捕获正在运行的进程中加载的 DLL 的输出和 grep 'ed 查找引起问题的地址:
这与 Sophos Security 提供的 DLL 的加载地址相匹配,我的 IT 团队默认在我们的计算机上运行该 DLL并成为失败的原因。 rebaseall 没有机会解决该问题,因为 Sophos 提供的 DLL 不是 cygwin 的一部分。
Chromium wiki 说要选择一个小于导致问题的 DLL 的基地址,因此我选择了 0x60000000。您可能必须根据您可能看到的有问题的 DLL 选择不同的基地址。
我从 cmd.exe 提示符重新运行 rebaseall,并且没有其他 cygwin 进程运行。
重新启动我的 cygwin shell 后 git svn dcommit 工作了。
I was having this issue but running rebaseall wouldn't fix the problem. I was attempting to run git svn dcommit and seeing the remap errors mentioned no matter how many times I ran rebaseall and/or rebooted.
Here's a sample of what I saw. Note the reference to address 0x6FA00000
I don't think it's important but I'm running on Windows7 Enterprise 32 bit using my company's corporate image.
I was able to fix this following the advice I found on the Chromium wiki:
http://code.google.com/p/chromium/wiki/CygwinDllRemappingFailure
I used ListDlls.exe (http://technet.microsoft.com/en-us/sysinternals/bb896656.aspx) from cygwin to capture output of DLLs loaded in running processes and grep'ed for the address causing issues:
This matched load address of a DLL provided by Sophos Security which my IT group has running on our machines by default and was the cause of the failure. rebaseall didn't have a chance to fix the problem because the Sophos provided DLL isn't part of cygwin.
The Chromium wiki said to choose a base address less than the DLL causing the issue so I picked 0x60000000. You may have to pick a different base address depending on the offending DLL you might see.
I reran rebaseall from a cmd.exe prompt and no other cygwin processes running.
After restarting my cygwin shell git svn dcommit worked.
面临类似的问题,直到我跑步才解决
1. 重新设定基准
2. perlrebase
3.peflagsall
运行它们来解决问题
Faced similar problems and it didnt go awway till i ran
1. rebaseall
2. perlrebase
3. peflagsall
run them all to fix the problem
上述答案并未为我们团队可靠地解决在 64 位 Windows (Windows 7) 上运行 cygwin git 的问题。我在 git 邮件上发布了一个问题,并得到了 Pascal Obry 的回复:
另请参阅:http://www.spinics.net/lists/git/msg183753.html< /a>
帕斯卡还在后续中指出:
初步但不确定的结果表明,该解决方案比此处记录的其他建议效果更好。我将在一周左右更新这篇文章,以表明这个方法是否足以获得永久可靠的解决方案。
The above answers didn't result in a reliable fix to the problem of running cygwin git on 64bit Windows (Windows 7) for our team. I posted a question on the git mailing this and got this response from Pascal Obry:
See also: http://www.spinics.net/lists/git/msg183753.html
Pascal also noted in a followup that:
Initial, but not definitive, results suggest this solution is working better than the other suggestions documented here. I will update this post in a week or so to indicate whether this recipe is sufficient to gain a permanent and reliable solution.