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

Re: [PATCH] More tests for the svn.wc Python bindings

From: Jelmer Vernooij <jelmer_at_samba.org>
Date: 2006-06-16 02:41:17 CEST

On Fri, 2006-06-16 at 11:35 +0530, Madan U Sreenivasan wrote:
> On Fri, 16 Jun 2006 05:27:34 +0530, Jelmer Vernooij <jelmer@samba.org>
> wrote:
> ---------------------8<---------------------------------8<------------------
> madan@madan ~/wc/trunk $ gdb --args python2.4
> ./subversion/bindings/swig/python/tests/wc.py
> GNU gdb 6.4
> Copyright 2005 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "i386-pc-linux-gnu"...(no debugging symbols
> found)
> Using host libthread_db library "/lib/libthread_db.so.1".
>
> (gdb) r
> Starting program: /usr/bin/python2.4
> ./subversion/bindings/swig/python/tests/wc.py
> (no debugging symbols found)
> (no debugging symbols found)
> [Thread debugging using libthread_db enabled]
> [New Thread 16384 (LWP 7355)]
> start of SubversionRepositoryTestSetup
> after dumpfile open
> After tearDown
> Before creating repos at :/tmp/trac-svnrepos:
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 7355)]
> 0x4048180e in apr_palloc () from /usr/lib/libapr-0.so.0
> (gdb) bt
> #0 0x4048180e in apr_palloc () from /usr/lib/libapr-0.so.0
> #1 0x4066f8dc in create_svn_repos_t (path=0x403ef3c4
> "/tmp/trac-svnrepos", pool=0x0) at repos.c:1540
> #2 0x4066fc00 in svn_repos_create (repos_p=0x0, path=0x403ef3c4
> "/tmp/trac-svnrepos", unused_1=0x402b90ac "",
> unused_2=0x402b90ac "", config=0x0, fs_config=0x0, pool=0x0) at
> repos.c:1664
> #3 0x408f368a in ?? () from
> /usr/lib/python2.4/site-packages/libsvn/_repos.so
> #4 0xbffaf8dc in ?? ()
> #5 0x403ef3c4 in ?? ()
> #6 0x402b90ac in ?? ()
> #7 0x402b90ac in ?? ()
> #8 0x00000000 in ?? ()
> (gdb) c
> Continuing.
>
> Program terminated with signal SIGSEGV, Segmentation fault.
> The program no longer exists.
> (gdb)
> ---------------------8<---------------------------------8<------------------
>
> PS : I have put some simple print statements, whose output you will see
> just before the SIGSEGV...
>
> I will try with my laptop at office today... looking at the bt, I
> suspect linkages with older versions of libapr... what do you think?
I'm not sure - if pool=NULL is a valid argument to create_svn_repos_t(),
then at least the Python bindings are not to blame. This must've been
broken longer though - this is code that's being called from the trac
test cases.

I'm using libapr-1 (you appear to be using libapr-0), so you might want
to try that version. Is subversion supposed to work with any particular
version of libapr or should any do?

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer_at_samba.org> - http://samba.org/~jelmer/

Received on Fri Jun 16 02:41:56 2006

This is an archived mail posted to the Subversion Dev mailing list.