OK, the compiler comment was probably silly (I just figured out what the
error means, I thought the NULL looked quite catastrophic, but it is
just that it is using a function pointer that wasn't set).
I realized I could probably ask gdb what libraries were in memory, and I
figured out how to do that:
(gdb) info sharedlibrary
>From To Syms Read Shared Object Library
0x4001c27c 0x400258f4 Yes
/usr/local/apache2/lib/libaprutil.so.0
0x4002f344 0x40040b3c Yes /usr/local/apache2/lib/libapr.so.0
0x400598d0 0x400722e0 Yes /lib/i686/libm.so.6
0x40078f70 0x4007bcf0 Yes /lib/libcrypt.so.1
0x400a8f10 0x400b6120 Yes /lib/libnsl.so.1
0x400bc1c0 0x400bcfb0 Yes /lib/libdl.so.2
0x400c1450 0x400c4cc0 Yes /usr/lib/libgdbm.so.2
0x400d3f74 0x4013cf04 Yes
/usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so
0x4014cf60 0x40164b30 Yes /usr/lib/libexpat.so.0
0x4016d0a0 0x40174e0c Yes /lib/i686/libpthread.so.0
0x40199510 0x4029a8c0 Yes /lib/i686/libc.so.6
0x40001e80 0x400130e0 Yes /lib/ld-linux.so.2
0x4030d080 0x403141d0 Yes /lib/libnss_files.so.2
0x4004746c 0x4004e1d4 Yes
/usr/local/apache2/modules/libmod_dav_svn.so
0x402bd258 0x402c1098 Yes
/usr/src/cvs/subversion/subversion/libsvn_repos/.libs/libsvn_repos.so.0
0x402c8a84 0x402d8ef4 Yes
/usr/src/cvs/subversion/subversion/libsvn_fs/.libs/libsvn_fs.so.0
0x402de9e4 0x402e50a0 Yes
/usr/src/cvs/subversion/subversion/libsvn_delta/.libs/libsvn_delta.so.0
0x402ec514 0x402f589c Yes
/usr/src/cvs/subversion/subversion/libsvn_subr/.libs/libsvn_subr.so.0
0x40328eb0 0x403300b0 Yes /lib/libnss_nisplus.so.2
0x40333fe0 0x4033b0e0 Yes /lib/libnss_nis.so.2
I also know that this is the correct db_create function from this:
(gdb) print db_create
$3 = {<text variable, no debug info>} 0x400fa49c <db_create>
(within the range of the above listed shared library for db4 and not
being pulled from something else)
Sincerely,
Jay Freeman (saurik)
saurik@saurik.com
-----Original Message-----
From: Jay Freeman (saurik) [mailto:saurik@saurik.com]
Sent: Tuesday, January 15, 2002 2:05 PM
To: svn-dev
Subject: RE: Crash relating to apr-util with r893 and latest Apache.
Sander:
...
I admit I don't know how to figure out what libraries a binary is linked
to :). However, I _can_ do this:
...
This could be a weird compiler issue, but I believe this happened before
I upgraded gcc (which became an issue when one of Apache's or
Subversions requirements yelled at me in it's configure script saying my
version of gcc had dangerous bugs in it and disabled most
optimizations). However, I made sure to recompile everything involved
(db, apache, and subversion) with the new version just in case there was
some weird incompatibility in the binary formats.
Sincerely,
Jay Freeman (saurik)
saurik@saurik.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:56 2006