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

Re: Core dump

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-07-26 01:42:29 CEST

Julian Fitzell <julian@beta4.com> writes:

> [julian@cable static-debug-client-build]$ gdb /usr/local/svnstatic/bin/svn
> GNU gdb 5.0
> Copyright 2000 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-redhat-linux"...
> (gdb) r
> Starting program: /usr/local/svnstatic/bin/svn
> Program received signal SIGSEGV, Segmentation fault.
> 0x4000acd0 in ?? ()
> (gdb) bt
> #0 0x4000acd0 in ?? ()
> #1 0x40002902 in ?? ()
> #2 0x4000f8f6 in ?? ()
> #3 0x40002332 in ?? ()
> #4 0x4000217f in ?? ()

This indicates stack corruption. You have got to stop before this.
Try setting a breakpoint on main before running svn. If it stops
exaimine the stack and see if it looks OK. Then 'step' or 'next' set
another breakpoint and continue and keep examining the stack until it
becomes corrupt.

Try running

$ ldd /usr/local/svnstatic/bin/svn

to see which dynamic libraries are being used, are they the ones you

> I attached my config.log just for kicks in case it shows anybody something.


configure:8357: gcc -o conftest -g -O2 -pthread -DNEON_ZLIB -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -L/usr/local/BerkeleyDB.4.0/lib -L/software/builds/apache2/srclib/apr-util/xml/expat/lib conftest.c >&5

Hmm, what's in /software/builds/apache2/srclib/apr-util/xml/expat/lib?

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 26 01:43:04 2002

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.