# git svn segfaults in _Delta.so

3 messages from 2008-09-10 to 2008-09-10. Participants: Thomas Harning, Mike Hommey.
Thread: https://gitlist.dev/t/15478

## Thomas Harning, 2008-09-10 18:21

Subject: git svn segfaults in _Delta.so
Message-ID: <E7387B42-6A3D-432B-8478-71A5E510D905@gmail.com>
URL: https://gitlist.dev/e/E7387B42-6A3D-432B-8478-71A5E510D905%40gmail.com

```
I just recently setup a new system and installed subversion 1.5.1 and  
the latest git from head.

On an existing repository (copied from the same system but slightly  
older software) running git svn rebase will cause it to segfault in  
_Delta.so (part of subversion's perl libraries).... even when there is  
nothing to do... it even seems to successfully do all the operations.   
I've built subversion and git with debugging enabled and cannot get  
any useful stack-trace. the stacktrace is:

#0  0x00007fbed7edd3a0 in ?? ()
#1  0x00007fbed99fa75d in ?? ()
#2  0x0000000000000001 in ?? ()
#3  0x00007fbed99fb217 in ?? ()
#4  0x00007fbed99e82d8 in ?? ()
#5  0x0000000000000001 in ?? ()
#6  0x000000000070e250 in cwd.17580 ()
#7  0x000000000070d7f8 in buffer.17586 ()
#8  0x0000000000f7f408 in ?? ()
#9  0x00007fbed99fb205 in ?? ()
#10 0x0000000000000000 in ?? ()


The only way I know that it is _Delta.so is that in 'dmesg' i get:
git-svn[1277]: segfault at 7f64fa7213a0 ip 7f64fa7213a0 sp  
7fff07a9a2b8 error 14 in _Delta.so[7f64fa92c000+22000]

In another machine w/ very similar software (slightly older by a month  
or so) I do not see these segfaults.  However it is running svn  
1.4.6  .. so it might be svn versions...  will report on status after  
downgrade

```

## Thomas Harning, 2008-09-10 18:40

Subject: Re: git svn segfaults in _Delta.so
Message-ID: <9B7A97D1-7175-4FCC-94CB-21EBE12E4F88@gmail.com>
URL: https://gitlist.dev/e/9B7A97D1-7175-4FCC-94CB-21EBE12E4F88%40gmail.com
In-Reply-To: <E7387B42-6A3D-432B-8478-71A5E510D905@gmail.com>

```
On Sep 10, 2008, at 2:21 PM, Thomas Harning wrote:

> I just recently setup a new system and installed subversion 1.5.1  
> and the latest git from head.
>
> On an existing repository (copied from the same system but slightly  
> older software) running git svn rebase will cause it to segfault in  
> _Delta.so (part of subversion's perl libraries).... even when there  
> is nothing to do... it even seems to successfully do all the  
> operations.  I've built subversion and git with debugging enabled  
> and cannot get any useful stack-trace. the stacktrace is:
>
> #0  0x00007fbed7edd3a0 in ?? ()
> #1  0x00007fbed99fa75d in ?? ()
> #2  0x0000000000000001 in ?? ()
> #3  0x00007fbed99fb217 in ?? ()
> #4  0x00007fbed99e82d8 in ?? ()
> #5  0x0000000000000001 in ?? ()
> #6  0x000000000070e250 in cwd.17580 ()
> #7  0x000000000070d7f8 in buffer.17586 ()
> #8  0x0000000000f7f408 in ?? ()
> #9  0x00007fbed99fb205 in ?? ()
> #10 0x0000000000000000 in ?? ()
>
>
> The only way I know that it is _Delta.so is that in 'dmesg' i get:
> git-svn[1277]: segfault at 7f64fa7213a0 ip 7f64fa7213a0 sp  
> 7fff07a9a2b8 error 14 in _Delta.so[7f64fa92c000+22000]
>
> In another machine w/ very similar software (slightly older by a  
> month or so) I do not see these segfaults.  However it is running  
> svn 1.4.6  .. so it might be svn versions...  will report on status  
> after downgrade
svn 1.4.6 does not suffer the segfaults...

```

## Mike Hommey, 2008-09-10 19:03

Subject: Re: git svn segfaults in _Delta.so
Message-ID: <20080910190322.GA1503@glandium.org>
URL: https://gitlist.dev/e/20080910190322.GA1503%40glandium.org
In-Reply-To: <9B7A97D1-7175-4FCC-94CB-21EBE12E4F88@gmail.com>

```
On Wed, Sep 10, 2008 at 02:40:31PM -0400, Thomas Harning wrote:
> On Sep 10, 2008, at 2:21 PM, Thomas Harning wrote:
>
>> I just recently setup a new system and installed subversion 1.5.1 and 
>> the latest git from head.
>>
>> On an existing repository (copied from the same system but slightly  
>> older software) running git svn rebase will cause it to segfault in  
>> _Delta.so (part of subversion's perl libraries).... even when there is 
>> nothing to do... it even seems to successfully do all the operations.  
>> I've built subversion and git with debugging enabled and cannot get any 
>> useful stack-trace. the stacktrace is:
>>
>> #0  0x00007fbed7edd3a0 in ?? ()
>> #1  0x00007fbed99fa75d in ?? ()
>> #2  0x0000000000000001 in ?? ()
>> #3  0x00007fbed99fb217 in ?? ()
>> #4  0x00007fbed99e82d8 in ?? ()
>> #5  0x0000000000000001 in ?? ()
>> #6  0x000000000070e250 in cwd.17580 ()
>> #7  0x000000000070d7f8 in buffer.17586 ()
>> #8  0x0000000000f7f408 in ?? ()
>> #9  0x00007fbed99fb205 in ?? ()
>> #10 0x0000000000000000 in ?? ()
>>
>>
>> The only way I know that it is _Delta.so is that in 'dmesg' i get:
>> git-svn[1277]: segfault at 7f64fa7213a0 ip 7f64fa7213a0 sp  
>> 7fff07a9a2b8 error 14 in _Delta.so[7f64fa92c000+22000]
>>
>> In another machine w/ very similar software (slightly older by a month 
>> or so) I do not see these segfaults.  However it is running svn 1.4.6  
>> .. so it might be svn versions...  will report on status after 
>> downgrade
> svn 1.4.6 does not suffer the segfaults...

I would suggest you to try some other stuff that uses the svn perl
library (svk, for example). My guess is that it will crash similarly.

Mike

```
