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

Re: Segmentation fault on every checkout

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 13 Feb 2009 13:19:03 +0000

On Fri, Feb 13, 2009 at 01:20:28PM +0100, Johannes Wienke wrote:
> Am 13.02.2009 13:06 schrieb Stefan Sperling:
>> On Thu, Feb 12, 2009 at 07:12:14PM +0100, Johannes Wienke wrote:
>>> Am 12.02.2009 18:10 schrieb Hyrum K. Wright:
>>>> Thanks. Do you have a copy of Subversion with debugging symbols so we
>>>> can determine where in those functions it is failing?
>>> Does this help?
>>
>> Yes.
>>
>> As I suspected, the binary is most likely not running with the
>> APR version it was linked against. Please check your setup.
>>
>> Note that APR 0.x and APR 1.x are not binary compatible.
>> See Subversion's INSTALL file for details.
>
> Ok, but I did not build svn on my own. To report this bug to the Ubuntu
> developers it would be helpful to know if something is wrong wth the
> combination of these packages:
> libapr1 1.2.12
> libsvn1 1.5.1
> subversion 1.5.1

I've checked the apr_finfo_t definitions for APR 0.x and APR 1.x,
and they don't differ. So it may be something other than a binary
compatibility issue.

A binary incompatibility would explain your problem though.

I don't really know what could cause this problem. It looks like
a problem with APR, because apparently it's returning bogus data.
I don't think it's a problem in Subversion. We need to dig further.

Could you reproduce the segfault with your debug symbol build in the
debugger again, and then instead of getting the backtrace, type:

        print this_entry

in gdb and send the output?

Also, please send the output of these commands:

ldd /usr/bin/svn
ldd /build/buildd/subversion-1.5.1dfsg1/subversion/svn/svn
dpkg -l | grep -i apr
dpkg -l | grep -i svn

Thanks,
Stefan
Received on 2009-02-13 14:19:29 CET

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.