[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: Johannes Wienke <jwienke_at_techfak.uni-bielefeld.de>
Date: Fri, 13 Feb 2009 14:37:37 +0100

Hi,

Am 13.02.2009 14:19 schrieb Stefan Sperling:
> 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.

But I think it's really unlikely because the same binary packages work
on at least twenty other Ubuntu machines I use.

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

(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}

> Also, please send the output of these commands:
>
> ldd /usr/bin/svn

        linux-gate.so.1 => (0xb7f3c000)

        /usr/lib/libv4l/v4l1compat.so (0xb7f1d000)

        libsvn_client-1.so.1 => /usr/lib/libsvn_client-1.so.1
(0xb7ec3000)
        libsvn_wc-1.so.1 => /usr/lib/libsvn_wc-1.so.1 (0xb7e86000)

        libsvn_ra-1.so.1 => /usr/lib/libsvn_ra-1.so.1 (0xb7e7d000)

        libsvn_diff-1.so.1 => /usr/lib/libsvn_diff-1.so.1 (0xb7e72000)

        libsvn_ra_local-1.so.1 => /usr/lib/libsvn_ra_local-1.so.1
(0xb7e6a000)
        libsvn_repos-1.so.1 => /usr/lib/libsvn_repos-1.so.1 (0xb7e44000)

        libsvn_fs-1.so.1 => /usr/lib/libsvn_fs-1.so.1 (0xb7e3c000)

        libsvn_fs_fs-1.so.1 => /usr/lib/libsvn_fs_fs-1.so.1 (0xb7e1c000)

        libsvn_fs_base-1.so.1 => /usr/lib/libsvn_fs_base-1.so.1
(0xb7df3000)
        libdb-4.6.so => /usr/lib/libdb-4.6.so (0xb7cc4000)

        libsvn_fs_util-1.so.1 => /usr/lib/libsvn_fs_util-1.so.1
(0xb7cc1000)
        libsvn_ra_svn-1.so.1 => /usr/lib/libsvn_ra_svn-1.so.1
(0xb7cac000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7c93000)

        libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb7c7f000)

        libsvn_ra_neon-1.so.1 => /usr/lib/libsvn_ra_neon-1.so.1
(0xb7c60000)
        libneon-gnutls.so.27 => /usr/lib/libneon-gnutls.so.27
(0xb7c3f000)
        libsvn_delta-1.so.1 => /usr/lib/libsvn_delta-1.so.1 (0xb7c34000)

        libsvn_subr-1.so.1 => /usr/lib/libsvn_subr-1.so.1 (0xb7bfb000)

        libaprutil-1.so.0 => /usr/local/lib/libaprutil-1.so.0
(0xb7be2000)
        libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0xb7ba0000)

        liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0xb7b92000)

        libpq.so.5 => /usr/lib/libpq.so.5 (0xb7b71000)

        libmysqlclient_r.so.15 => /usr/lib/libmysqlclient_r.so.15
(0xb798b000)
        libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7971000)

        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb794b000)

        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb78db000)

        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb78b4000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb789e000)
        libapr-1.so.0 => /usr/local/lib/libapr-1.so.0 (0xb7878000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xb7872000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7869000)
        libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb7837000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb781e000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb781a000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb76bc000)
        libv4l1.so.0 => /usr/lib/libv4l1.so.0 (0xb76b5000)
        libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0xb7618000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb75ed000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb755b000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7537000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7533000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb73f7000)
        libdb-4.2.so => /usr/local/lib/libdb-4.2.so (0xb7330000)
        libsqlite.so.0 => /usr/lib/libsqlite.so.0 (0xb72d8000)
        libexpat.so.0 => /usr/local/lib/libexpat.so.0 (0xb72b1000)
        libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb729f000)
        libgcrypt.so.11 => /lib/libgcrypt.so.11 (0xb7236000)
        libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb71ef000)
        libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8
(0xb70a3000)
        /lib/ld-linux.so.2 (0xb7f22000)
        libv4l2.so.0 => /usr/lib/libv4l2.so.0 (0xb709a000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7091000)
        libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb708d000)
        libgpg-error.so.0 => /lib/libgpg-error.so.0 (0xb7088000)
        libv4lconvert.so.0 => /usr/lib/libv4lconvert.so.0 (0xb7025000)

> ldd /build/buildd/subversion-1.5.1dfsg1/subversion/svn/svn

I cannot do this as I did not build the package and do not have the sources.

> dpkg -l | grep -i apr

ii libapr1 1.2.12-4
                            The Apache Portable Runtime Library
ii libapr1-dbgsym 1.2.12-4
                            debug symbols for package libapr1
ii libaprutil1 1.2.12+dfsg-7
                            The Apache Portable Runtime Utility Library

> dpkg -l | grep -i svn

ii libsvn1 1.5.1dfsg1-1ubuntu2
                            Shared libraries used by Subversion
ii libsvn1-dbgsym 1.5.1dfsg1-1ubuntu2
                            debug symbols for package libsvn1

(I've excluded packages that have a "svn" in their version number)

Johannes

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1150834

Received on 2009-02-13 17:03:05 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.