[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn segfaults on recursive add

From: Jim Blandy <jimb_at_red-bean.com>
Date: 2005-12-08 19:56:13 CET

On 12/7/05, Kamil Gornik <gentoo@julek.pl> wrote:
> hi,
> every time I try to add directory with file to repository (even there
> is one empty file inside directory) it segfaults
> It looks like that:
> >svn add test
> A test
> A test/emptyfile.txt
> Segmentation fault
> I tried to use gdb (I gdb's newbie):
> >gdb svn
> [...]
> (gdb) r add testt
> Starting program: /usr/bin/svn add testt
> [...]
> [Thread debugging using libthread_db enabled]
> [New Thread 16384 (LWP 23356)]
> A testt
> A testt/sdpdfsdfs
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 23356)]
> 0xb7842e6b in strlen () from /lib/libc.so.6
> svn compiled from scratch on gentoo (currently
> subversion-1.2.3-r3.ebuild) but onprevious -r's it happened too.
> Any ideas??

After Subversion gets the segmentation fault, you should get another
(gdb) prompt. Type 'where', and GDB will show you the series of calls
that led to the call to 'strlen' that crashed.

But really, what you need to do is provide us with enough information
to make the problem happen ourselves, on our own machine. If you can
do this, we can definitely fix the bug; if you can't, then we probably
can't fix it.

So: what version of Subversion are you using? Can you make the
problem happen with a fresh repository, created with 'svnadmin create'
and accessed with a 'file://' URL?

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 8 21:09:16 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.