[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 15:35:27 +0000

On Fri, Feb 13, 2009 at 02:37:37PM +0100, Johannes Wienke wrote:
> (gdb) print this_entry
> $1 = {pool = 0x8b7cf80, valid = 33562624, protection = -1, filetype =
> 3085975540, user = 3085228276, group = 3085467648, inode = 4844,
> device = 13251984533897565531, nlink = 0, size = 4294967297, csize =
> -5195758582355722240, atime = -5195816963846176689,
> mtime = 4295209264, ctime = 628201055087230976, fname = 0x8b7cf80
> "\200s\234\b", name = 0x0, filehand = 0xbff015c8}

The file has no name, has no links to it, is really large,
has negative access time... etc. Total garbage.

This must be a problem with conflicting library versions.

> > Also, please send the output of these commands:
> >
> > ldd /usr/bin/svn
 
> libaprutil-1.so.0 => /usr/local/lib/libaprutil-1.so.0
> (0xb7be2000)
> libapr-1.so.0 => /usr/local/lib/libapr-1.so.0 (0xb7878000)

It's picking up an APR from /usr/local/lib.
Where did you get that from? What version of APR is that?

> > dpkg -l | grep -i apr
>
> ii libapr1 1.2.12-4
> The Apache Portable Runtime Library

Please show the output of

        dpkg -L libapr1

I bet this package puts its libraries into /usr/lib, and not
/usr/local/lib.

Check /etc/ld.so.conf, and the LD_LIBRARY_PATH environment variable.
On Linux, /usr/local/lib should not be searched before /usr/lib if you
install custom libraries in /usr/local and still want system-provided
binaries to work.

Stefan
Received on 2009-02-13 16:36:13 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.