git svn clone失败,出现“error:git-svn died of signal 11” [英] git svn clone fails with "error: git-svn died of signal 11"

查看:2063
本文介绍了git svn clone失败,出现“error:git-svn died of signal 11”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正尝试使用Ubuntu 16.4机器将我巨大的SVN存储库转移到Git中。为此,我正在学习本教程:



https://www.atlassian.com/git/tutorials/svn-to-git-prepping-your-team-migration



我已经安装了最新的Git,SVN和git-svn工具。



我的问题是每次我用git svn clone'命令我得到这个错误'错误:git-svn死于信号11',没有任何进一步的信息。





git svn clone在cygwin下死于信号11



这让我来到这个网站寻找解决方案:



http://pwizardry.com/devlog/ index.cgi / 2010/03/29#svn2git



要求使用'git svn fetch'来恢复进程。我这样做了,而且当这个过程继续进行了一天时,它似乎就起作用了。不幸的是,它已经停止了同样的错误,'git svn fetch'似乎没有任何帮助。



我想知道是否有人遇到过这个问题或者我怎么能找到任何痕迹,因为我得到的是这个错误,没有任何进一步的解释。

编辑:



所以我继续寻找这个问题,我发现如果使用'valgrind',你可以得到更多的信息,所以我做了,现在'git svn fetch'停在另一个点上message:

  == 17006 ==警告:syscall中的无效文件描述符-1 close()
== 17006 ==
== 17006 == HEAP SUMMARY:
== 17006 ==在退出时使用:在71,103块中使用44797930字节
== 17006 ==堆使用总数:7,178,701次分配,7,107,598释放2,123,468,574个字节
== 17006 ==
== 17006 == LEAK SUMMARY:
== 17006 ==绝对丢失:40块中156,556字节
== 17006间接的ost:51,3块中的156,338字节
== 17006 ==可能丢失:70,805块中的43494719字节
== 17006 ==仍然可用:207块中的72,217字节
== 17006 ==其中可通过启发式访问:
== 17006 == newarray:1,637块中的53,032个字节
== 17006 ==被抑制:0个块中的0个字节
== 17006 ==重新运行 - -leak-check = full查看泄漏内存的详细信息
== 17006 ==
== 17006 ==对于检测到并抑制的错误计数,请重新运行:-v
== 17006 ==错误总结:1个上下文中的2个错误(被抑制:0从0)

这是什么?



编辑2:



git svn fetch'说一切都完成了......我不明白'valgrind'的使用是如何受到影响的,但似乎它帮助完成了这项工作。

解决方案

这个问题在<$ c $中解决c> libsvn-perl 1.9.4 。



libsvn-perl

bugs.debian.org


I am trying to move my huge SVN repository into Git using a Ubuntu 16.4 machine. For this purpose I am following this tutorial:

https://www.atlassian.com/git/tutorials/svn-to-git-prepping-your-team-migration

I have installed the latest Git, SVN and git-svn tools.

My problem is that each time I rung the 'git svn clone' command I am getting this error 'error: git-svn died of signal 11' without any further information.

Searching a bit in this forum I found another post:

git svn clone died of signal 11 under cygwin

That took me to this web site for a solution:

http://pwizardry.com/devlog/index.cgi/2010/03/29#svn2git

Asking to resume the process using 'git svn fetch'. I did so and it seemed to work as the process went on for one more day. Unfortunately it has stopped again with the same error and the 'git svn fetch' doesn't seem to help any.

I would like to know if someone has experienced this problem or how could I find any traces because all i get is this error without any further explanation.

EDIT:

So I continued searching regarding this issue and I found that you could get some more information if using 'valgrind', and so I did, and now the 'git svn fetch' stops in another point with this message:

==17006== Warning: invalid file descriptor -1 in syscall close()
==17006== 
==17006== HEAP SUMMARY:
==17006==     in use at exit: 43,779,830 bytes in 71,103 blocks
==17006==   total heap usage: 7,178,701 allocs, 7,107,598 frees, 2,123,468,574 bytes allocated
==17006== 
==17006== LEAK SUMMARY:
==17006==    definitely lost: 156,556 bytes in 40 blocks
==17006==    indirectly lost: 156,338 bytes in 51 blocks
==17006==      possibly lost: 43,394,719 bytes in 70,805 blocks
==17006==    still reachable: 72,217 bytes in 207 blocks
==17006==                       of which reachable via heuristic:
==17006==                         newarray           : 53,032 bytes in 1,637 blocks
==17006==         suppressed: 0 bytes in 0 blocks
==17006== Rerun with --leak-check=full to see details of leaked memory
==17006== 
==17006== For counts of detected and suppressed errors, rerun with: -v
==17006== ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)

Any idea what is this?

EDIT 2:

I see now that running my normal 'git svn fetch' says all is done... I don't see how the use of 'valgrind' affected but it seems that it helped finishing the job.

解决方案

This problem is fixed in the libsvn-perl 1.9.4.

libsvn-perl

bugs.debian.org

这篇关于git svn clone失败,出现“error:git-svn died of signal 11”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆