Re: git svn fetch segfaults

Previous thread: [PATCH] gitk: Update German translation by Christian Stimming on Tuesday, January 8, 2008 - 4:56 pm. (1 message)

Next thread: [PATCH 1/2] "git-apply --check" should not report "fixed" by Junio C Hamano on Tuesday, January 8, 2008 - 7:46 pm. (1 message)
To: <git@...>
Date: Tuesday, January 8, 2008 - 6:25 pm

Hello!

The following procedure results in a segfault:

mkdir org.gna.warzone2100.git
cd org.gna.warzone2100.git
git --bare init
git --bare svn init --use-svnsync-props --stdlayout
file:///var/svn/warzone2100/
git --bare svn fetch

A full log is attached.
If you want any more information, a dump of the SVN repository, etc, just tell
me.

The last part which seems to be interesting is this one:

Odd number of elements in anonymous hash at /usr/bin/git-svn line 1760.
r13 = 7f00bbc9c92e5601b158c2cbc572b8e7bdcebe59 (tags/1.10a)
Segmentation fault

If I do not specify --use-svnsync-prop to "git svn init", it gets past r13 in
tags/1.10a.

(Note that in the other mail, where I reported about the "Odd number of
elements" problem, I used "git svn clone" instead.)

I am using these versions:
svn, version 1.4.6 (r28521)
git version 1.5.4.rc2

--Dennis

(Please CC me if you answer, since I am not subscribed.)

To: Dennis Schridde <devurandom@...>
Cc: <git@...>
Date: Tuesday, January 8, 2008 - 8:33 pm

On Tue, Jan 08, 2008 at 11:25:45PM +0100, Dennis Schridde <devurandom@gmx.n=

wget http://svn.kynes.de/warzone2100.bz2

svnadmin create warzone2100 && bzcat warzone2100.bz2 | svnadmin load warzon=
e2100

$ svn --version
svn, version 1.4.5 (r25188)

$ git --version
git version 1.5.4.rc2.38.gd6da3

thanks,
- VMiklos

To: Miklos Vajna <vmiklos@...>
Cc: <git@...>
Date: Wednesday, January 9, 2008 - 8:53 am

Same with git version 1.5.3.7

To: Dennis Schridde <devurandom@...>
Cc: Miklos Vajna <vmiklos@...>, <git@...>
Date: Wednesday, January 9, 2008 - 4:14 pm

Has anybody determined which executable is the segfaulting one?

If it is svn executable spawned by Perl that runs git-svn, or
libsvn shared object linked to Perl while running git-svn, I
suspect testing with different git versions will not be very
productive.
-

To: Junio C Hamano <gitster@...>
Cc: Björn Steinbrink <B.Steinbrink@...>, <git@...>
Date: Wednesday, January 9, 2008 - 9:45 pm

Replying to this, as I haven't recieved the newer mail. (Not subscribed.)
=46or me it always segfaulted at r13 in tags/1.10a.
I crosses r13 before that already (trunk), but doesn't crash there.

I am now recompiling svn,git,perl to create a coredump, will the rerun it a=
nd=20
hopefully get some backtraces from the dump.

Btw, I am running perl 5.8.8, in case that matters somehow.

=2D-Dennis

To: Junio C Hamano <gitster@...>
Cc: Miklos Vajna <vmiklos@...>, Dennis Schridde <devurandom@...>, <git@...>
Date: Wednesday, January 9, 2008 - 4:53 pm

Oh well, anyway, just for the record:
doener@atjola:~ $ svn --version
svn, version 1.4.4 (r25188)

doener@atjola:~ $ git --version
git version 1.5.4.rc1.11.gd2f82

Björn
-

To: Junio C Hamano <gitster@...>
Cc: Miklos Vajna <vmiklos@...>, Dennis Schridde <devurandom@...>, <git@...>
Date: Wednesday, January 9, 2008 - 6:15 pm

It finished by now, no segfault with --use-svnsync-props.

Björn
-

Previous thread: [PATCH] gitk: Update German translation by Christian Stimming on Tuesday, January 8, 2008 - 4:56 pm. (1 message)

Next thread: [PATCH 1/2] "git-apply --check" should not report "fixed" by Junio C Hamano on Tuesday, January 8, 2008 - 7:46 pm. (1 message)