You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kamil Gornik <ge...@julek.pl> on 2005/12/07 15:49:12 UTC

svn segfaults on recursive add

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??

-- 
Heimat



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn segfaults on recursive add

Posted by kf...@collab.net.
Jim Blandy <ji...@red-bean.com> writes:
> On 12/7/05, Kamil Gornik <ge...@julek.pl> wrote:
> > 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?

Kamel, you may also find this page useful:

   http://subversion.tigris.org/bugs.html

It says how to report a bug in the most useful way.

Best,
-Karl

-- 
www.collab.net  <>  CollabNet  |  Distributed Development On Demand

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn segfaults on recursive add

Posted by Jim Blandy <ji...@red-bean.com>.
On 12/7/05, Kamil Gornik <ge...@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


Re: svn segfaults on recursive add

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 12/7/05, Kamil Gornik <ge...@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.

Can you get us a backtrace from gdb?  Just type where after the
segfault happens.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: svn segfaults on recursive add

Posted by Samay <ge...@hotmail.com>.

> 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??
>
> -- 
> Heimat
>
will it be possible for you to output of
* "emerge info" - santize the output if u have specific Portage & mirror 
servers defined
* "emerge subversion -vp". - fairly routine, it provides the compile time 
options

..Shirish 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org