{"thread":{"id":"11541","subject":"git svn fetch segfaults","startedAt":"2008-01-08T22:25:45Z","lastAt":"2008-01-10T01:45:01Z","messageCount":7,"participants":["Dennis Schridde","Miklos Vajna","Junio C Hamano","Björn Steinbrink"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"64791","messageId":"200801082325.45756.devurandom@gmx.net","threadId":"11541","inReplyTo":null,"subject":"git svn fetch segfaults","fromName":"Dennis Schridde","fromEmail":"devurandom@gmx.net","sentAt":"2008-01-08T22:25:45Z","receivedAt":"2008-01-08T22:25:45Z","isPatch":false,"sender":{"key":"devurandom@gmx.net","avatar":null},"body":"Hello!\n\nThe following procedure results in a segfault:\n\nmkdir org.gna.warzone2100.git\ncd org.gna.warzone2100.git\ngit --bare init\ngit --bare svn init --use-svnsync-props --stdlayout \nfile:///var/svn/warzone2100/\ngit --bare svn fetch\n\nA full log is attached.\nIf you want any more information, a dump of the SVN repository, etc, just tell \nme.\n\nThe last part which seems to be interesting is this one:\n\nOdd number of elements in anonymous hash at /usr/bin/git-svn line 1760.\nr13 = 7f00bbc9c92e5601b158c2cbc572b8e7bdcebe59 (tags/1.10a)\nSegmentation fault\n\nIf I do not specify --use-svnsync-prop to \"git svn init\", it gets past r13 in \ntags/1.10a.\n\n(Note that in the other mail, where I reported about the \"Odd number of \nelements\" problem, I used \"git svn clone\" instead.)\n\nI am using these versions:\nsvn, version 1.4.6 (r28521)\ngit version 1.5.4.rc2\n\n--Dennis\n\n(Please CC me if you answer, since I am not subscribed.)\n"},{"id":"64799","messageId":"20080109003307.GS29972@genesis.frugalware.org","threadId":"11541","inReplyTo":"200801082325.45756.devurandom@gmx.net","subject":"Re: git svn fetch segfaults","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2008-01-09T00:33:07Z","receivedAt":"2008-01-09T00:33:07Z","isPatch":false,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"On Tue, Jan 08, 2008 at 11:25:45PM +0100, Dennis Schridde <devurandom@gmx.net> wrote:\n> mkdir org.gna.warzone2100.git\n> cd org.gna.warzone2100.git\n> git --bare init\n> git --bare svn init --use-svnsync-props --stdlayout \n> file:///var/svn/warzone2100/\n> git --bare svn fetch\n\nwget http://svn.kynes.de/warzone2100.bz2\n\nsvnadmin create warzone2100 && bzcat warzone2100.bz2 | svnadmin load warzone2100\n\nthe rest is the same i get a segfault at the very same place.\n\n> If I do not specify --use-svnsync-prop to \"git svn init\", it gets past r13 in \n> tags/1.10a.\n\nsame.\n\n> I am using these versions:\n> svn, version 1.4.6 (r28521)\n> git version 1.5.4.rc2\n\n$ svn --version\nsvn, version 1.4.5 (r25188)\n\n$ git --version\ngit version 1.5.4.rc2.38.gd6da3\n\nthanks,\n- VMiklos\n"},{"id":"64847","messageId":"200801091353.44630.devurandom@gmx.net","threadId":"11541","inReplyTo":"20080109003307.GS29972@genesis.frugalware.org","subject":"Re: git svn fetch segfaults","fromName":"Dennis Schridde","fromEmail":"devurandom@gmx.net","sentAt":"2008-01-09T12:53:41Z","receivedAt":"2008-01-09T12:53:41Z","isPatch":false,"sender":{"key":"devurandom@gmx.net","avatar":null},"body":"Am Mittwoch, 9. Januar 2008 01:33:07 schrieb Miklos Vajna:\n> On Tue, Jan 08, 2008 at 11:25:45PM +0100, Dennis Schridde \n<devurandom@gmx.net> wrote:\n> > mkdir org.gna.warzone2100.git\n> > cd org.gna.warzone2100.git\n> > git --bare init\n> > git --bare svn init --use-svnsync-props --stdlayout\n> > file:///var/svn/warzone2100/\n> > git --bare svn fetch\n>\n> wget http://svn.kynes.de/warzone2100.bz2\n>\n> svnadmin create warzone2100 && bzcat warzone2100.bz2 | svnadmin load\n> warzone2100\n>\n> the rest is the same i get a segfault at the very same place.\n>\n> > If I do not specify --use-svnsync-prop to \"git svn init\", it gets past\n> > r13 in tags/1.10a.\n>\n> same.\n>\n> > I am using these versions:\n> > svn, version 1.4.6 (r28521)\n> > git version 1.5.4.rc2\n>\n> $ svn --version\n> svn, version 1.4.5 (r25188)\n>\n> $ git --version\n> git version 1.5.4.rc2.38.gd6da3\nSame with git version 1.5.3.7\n"},{"id":"64865","messageId":"7v4pdmiwo4.fsf@gitster.siamese.dyndns.org","threadId":"11541","inReplyTo":"200801091353.44630.devurandom@gmx.net","subject":"Re: git svn fetch segfaults","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-01-09T20:14:19Z","receivedAt":"2008-01-09T20:14:19Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Dennis Schridde <devurandom@gmx.net> writes:\n\n> Am Mittwoch, 9. Januar 2008 01:33:07 schrieb Miklos Vajna:\n>> On Tue, Jan 08, 2008 at 11:25:45PM +0100, Dennis Schridde \n> <devurandom@gmx.net> wrote:\n>> > mkdir org.gna.warzone2100.git\n>> > cd org.gna.warzone2100.git\n>> > git --bare init\n>> > git --bare svn init --use-svnsync-props --stdlayout\n>> > file:///var/svn/warzone2100/\n>> > git --bare svn fetch\n>>\n>> wget http://svn.kynes.de/warzone2100.bz2\n>>\n>> svnadmin create warzone2100 && bzcat warzone2100.bz2 | svnadmin load\n>> warzone2100\n>>\n>> the rest is the same i get a segfault at the very same place.\n>>\n>> > If I do not specify --use-svnsync-prop to \"git svn init\", it gets past\n>> > r13 in tags/1.10a.\n>>\n>> same.\n>>\n>> > I am using these versions:\n>> > svn, version 1.4.6 (r28521)\n>> > git version 1.5.4.rc2\n>>\n>> $ svn --version\n>> svn, version 1.4.5 (r25188)\n>>\n>> $ git --version\n>> git version 1.5.4.rc2.38.gd6da3\n> Same with git version 1.5.3.7\n\nHas anybody determined which executable is the segfaulting one?\n\nIf it is svn executable spawned by Perl that runs git-svn, or\nlibsvn shared object linked to Perl while running git-svn, I\nsuspect testing with different git versions will not be very\nproductive.\n"},{"id":"64872","messageId":"20080109205354.GA1433@atjola.homenet","threadId":"11541","inReplyTo":"7v4pdmiwo4.fsf@gitster.siamese.dyndns.org","subject":"Re: git svn fetch segfaults","fromName":"Björn Steinbrink","fromEmail":"b.steinbrink@gmx.de","sentAt":"2008-01-09T20:53:54Z","receivedAt":"2008-01-09T20:53:54Z","isPatch":false,"sender":{"key":"b.steinbrink@gmx.de","avatar":"https://avatars.githubusercontent.com/u/230962?v=4"},"body":"On 2008.01.09 12:14:19 -0800, Junio C Hamano wrote:\n> Dennis Schridde <devurandom@gmx.net> writes:\n> \n> > Am Mittwoch, 9. Januar 2008 01:33:07 schrieb Miklos Vajna:\n> >> On Tue, Jan 08, 2008 at 11:25:45PM +0100, Dennis Schridde \n> > <devurandom@gmx.net> wrote:\n> >> > mkdir org.gna.warzone2100.git\n> >> > cd org.gna.warzone2100.git\n> >> > git --bare init\n> >> > git --bare svn init --use-svnsync-props --stdlayout\n> >> > file:///var/svn/warzone2100/\n> >> > git --bare svn fetch\n> >>\n> >> wget http://svn.kynes.de/warzone2100.bz2\n> >>\n> >> svnadmin create warzone2100 && bzcat warzone2100.bz2 | svnadmin load\n> >> warzone2100\n> >>\n> >> the rest is the same i get a segfault at the very same place.\n> >>\n> >> > If I do not specify --use-svnsync-prop to \"git svn init\", it gets past\n> >> > r13 in tags/1.10a.\n> >>\n> >> same.\n> >>\n> >> > I am using these versions:\n> >> > svn, version 1.4.6 (r28521)\n> >> > git version 1.5.4.rc2\n> >>\n> >> $ svn --version\n> >> svn, version 1.4.5 (r25188)\n> >>\n> >> $ git --version\n> >> git version 1.5.4.rc2.38.gd6da3\n> > Same with git version 1.5.3.7\n> \n> Has anybody determined which executable is the segfaulting one?\n\nI just tried to, but it's still running, at r600 now.\n\n> If it is svn executable spawned by Perl that runs git-svn, or\n> libsvn shared object linked to Perl while running git-svn, I\n> suspect testing with different git versions will not be very\n> productive.\n\nOh well, anyway, just for the record:\ndoener@atjola:~ $ svn --version\nsvn, version 1.4.4 (r25188)\n\ndoener@atjola:~ $ git --version\ngit version 1.5.4.rc1.11.gd2f82\n\nBjörn\n"},{"id":"64879","messageId":"20080109221508.GB2218@atjola.homenet","threadId":"11541","inReplyTo":"20080109205354.GA1433@atjola.homenet","subject":"Re: git svn fetch segfaults","fromName":"Björn Steinbrink","fromEmail":"b.steinbrink@gmx.de","sentAt":"2008-01-09T22:15:08Z","receivedAt":"2008-01-09T22:15:08Z","isPatch":false,"sender":{"key":"b.steinbrink@gmx.de","avatar":"https://avatars.githubusercontent.com/u/230962?v=4"},"body":"On 2008.01.09 21:53:54 +0100, Björn Steinbrink wrote:\n> On 2008.01.09 12:14:19 -0800, Junio C Hamano wrote:\n> > Dennis Schridde <devurandom@gmx.net> writes:\n> > \n> > > Am Mittwoch, 9. Januar 2008 01:33:07 schrieb Miklos Vajna:\n> > >> On Tue, Jan 08, 2008 at 11:25:45PM +0100, Dennis Schridde \n> > > <devurandom@gmx.net> wrote:\n> > >> > mkdir org.gna.warzone2100.git\n> > >> > cd org.gna.warzone2100.git\n> > >> > git --bare init\n> > >> > git --bare svn init --use-svnsync-props --stdlayout\n> > >> > file:///var/svn/warzone2100/\n> > >> > git --bare svn fetch\n> > >>\n> > >> wget http://svn.kynes.de/warzone2100.bz2\n> > >>\n> > >> svnadmin create warzone2100 && bzcat warzone2100.bz2 | svnadmin load\n> > >> warzone2100\n> > >>\n> > >> the rest is the same i get a segfault at the very same place.\n> > >>\n> > >> > If I do not specify --use-svnsync-prop to \"git svn init\", it gets past\n> > >> > r13 in tags/1.10a.\n> > >>\n> > >> same.\n> > >>\n> > >> > I am using these versions:\n> > >> > svn, version 1.4.6 (r28521)\n> > >> > git version 1.5.4.rc2\n> > >>\n> > >> $ svn --version\n> > >> svn, version 1.4.5 (r25188)\n> > >>\n> > >> $ git --version\n> > >> git version 1.5.4.rc2.38.gd6da3\n> > > Same with git version 1.5.3.7\n> > \n> > Has anybody determined which executable is the segfaulting one?\n> \n> I just tried to, but it's still running, at r600 now.\n\nIt finished by now, no segfault with --use-svnsync-props.\n\nBjörn\n"},{"id":"64891","messageId":"200801100245.05647.devurandom@gmx.net","threadId":"11541","inReplyTo":"7v4pdmiwo4.fsf@gitster.siamese.dyndns.org","subject":"Re: git svn fetch segfaults","fromName":"Dennis Schridde","fromEmail":"devurandom@gmx.net","sentAt":"2008-01-10T01:45:01Z","receivedAt":"2008-01-10T01:45:01Z","isPatch":false,"sender":{"key":"devurandom@gmx.net","avatar":null},"body":"Replying to this, as I haven't recieved the newer mail. (Not subscribed.)\nHandcopied the text, hope I didn't forgot anything.\n\n> > > Has anybody determined which executable is the segfaulting one?\n> >\n> > I just tried to, but it's still running, at r600 now.\n> >\n> > > If it is svn executable spawned by Perl that runs git-svn, or\n> > > libsvn shared object linked to Perl while running git-svn, I\n> > > suspect testing with different git versions will not be very\n> > > productive.\n> >\n> > Oh well, anyway, just for the record:\n> > doener@atjola:~ $ svn --version\n> > svn, version 1.4.4 (r25188)\n> >\n> > doener@atjola:~ $ git --version\n> > git version 1.5.4.rc1.11.gd2f82\n>\n> It finished by now, no segfault with --use-svnsync-props.\nFor me it always segfaulted at r13 in tags/1.10a.\nI crosses r13 before that already (trunk), but doesn't crash there.\n\nI am now recompiling svn,git,perl to create a coredump, will the rerun it and \nhopefully get some backtraces from the dump.\n\nBtw, I am running perl 5.8.8, in case that matters somehow.\n\n--Dennis\n"}]}