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

Re: svnadmin --version -> Segmentation FAULT was: 1.3.1 tarballs up for testing/signing (Again)

From: Johannes Holzer <johannes.holzer_at_ichaus.de>
Date: 2006-03-21 14:57:16 CET

Am Dienstag, 21. März 2006 13:36 schrieb Marcus Rueckert:
> On 2006-03-21 13:28:43 +0100, Peter N. Lundblad wrote:
> > > Now if i call "svnadmin --version " or "svnserve --version", i get a
> > > segmentation fault. Other commands, like "svnadmin create REP" seem
> >
> > Could you try running in a debugger and get a backtrace so we know
> > where it is crashing? (I couldn't reproduce, but I didn't build with
> > the exact same options as you.)

I anybody can - please check my configure flags - i'm not really sure, if they
are okay.

I tried a bit more:
"./svnadmin"
"./svnadmin --version"
"./svnadmin help"
all produced a Segmentation fault,

"./svnadmin create REP"
works fine.

not shure about other options....

I've never posted backtraces before, so please corrct me or point me to a
FAQ ;-)

At the end of this mail you'll find 2 backtraces:

[1] is with my posted configure-command (--disable-debug)

[2] is a fresh compiled one. same options except "--enable-debug". It seems,
this did not help!?

> did you uninstall all old svn libraries before building the RC?
> if not ... this could be a mixed library issue.
>

No, i did not uninstall the old version. I hoped (by building a static
version) they won't get to know each other.

$> ldd svnadmin
        not a dynamic executable

hope, i can help you....

johannes

[1] --disable-debug

$> export LANG=C; gdb ./svnadmin
GNU gdb 6.3
Copyright 2004 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 "i586-suse-linux"...Using host libthread_db library
"/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /............./subversion-1.3.1_RC-dist/bin/svnadmin

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x40238668 in ?? ()
#2 0x0000001e in ?? ()
#3 0xbfffd99c in ?? ()
#4 0x00000000 in ?? ()
#5 0x4002a13b in ?? ()
#6 0xbfffda8c in ?? ()
#7 0x00000088 in ?? ()
#8 0x08145520 in __libc_tsd_MALLOC_data ()
#9 0x00000010 in ?? ()
#10 0x001ff000 in ?? ()
#11 0xffffffff in ?? ()
#12 0x0809e943 in pthread_mutex_unlock ()
#13 0x40238328 in ?? ()
#14 0xbfffdc50 in ?? ()
#15 0x40237ee8 in ?? ()
#16 0xbfffdc80 in ?? ()
#17 0x080fb06b in call_init ()
Previous frame inner to this frame (corrupt stack?)
(gdb) q
The program is running. Exit anyway? (y or n) y
$>

[2] --enable-debug

$> gdb svnadmin
GNU gdb 6.3
Copyright 2004 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 "i586-suse-linux"...Using host libthread_db library
"/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /........../src/subversion-1.3.1_RC-distdebug/bin/svnadmin

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) backtrace
#0 0x00000000 in ?? ()
#1 0x40238668 in ?? ()
#2 0x0000001e in ?? ()
#3 0xbfffd8bc in ?? ()
#4 0x00000000 in ?? ()
#5 0x4002a13b in ?? ()
#6 0xbfffd9ac in ?? ()
#7 0x00000088 in ?? ()
#8 0x08152540 in __libc_tsd_MALLOC_data ()
#9 0x00000010 in ?? ()
#10 0x001ff000 in ?? ()
#11 0xffffffff in ?? ()
#12 0x080aa903 in pthread_mutex_unlock ()
#13 0x40238328 in ?? ()
#14 0xbfffdb70 in ?? ()
#15 0x40237ee8 in ?? ()
#16 0xbfffdba0 in ?? ()
#17 0x0810791b in call_init ()
Previous frame inner to this frame (corrupt stack?)
(gdb) q
The program is running. Exit anyway? (y or n) y
$>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 21 14:58:49 2006

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.