[Pkg-db-devel] Bug#247655: svnadmin crashes with "unaligned access"

Thomas Bader Thomas Bader <thomasb@trash.net>, 247655@bugs.debian.org
Sun, 9 May 2004 15:09:28 +0200


* David Kimdon <david@kimdon.org> [040507 22:19]:
> To answer this someone could build libdb4.2 (and subversion as well
> perhaps) with debugging symbols on hppa and examine it in the debugger
> around the exception.
> 
> It might help putting a watch point wherever the mutex adddress is
> stored (after the call to __db_tas_mutex_init()) has returned to see
> if anyone modifies it (that could be causing our exception).

Well, I must admit, that I'm not that familar with gdb.  If
you could explain me in short what to do I can do the
debugging on my machine.

I have recompiled libdb4.2 with -g and now I get a bit a
larger back trace:

-->-->-->--
(gdb) bt
#0  0x401a55b4 in __db_tas_mutex_lock_4002 () from /usr/lib/libdb-4.2.so
#1  0x4024df74 in __memp_fget_4002 () from /usr/lib/libdb-4.2.so
#2  0x401b5dd8 in __bam_search_4002 () from /usr/lib/libdb-4.2.so
#3  0x401abf00 in __bam_c_rget_4002 () from /usr/lib/libdb-4.2.so
#4  0x401aadb4 in __bam_bulk_duplicates_4002 () from /usr/lib/libdb-4.2.so
#5  0x40210214 in __db_c_put_4002 () from /usr/lib/libdb-4.2.so
#6  0x40206680 in __db_put_4002 () from /usr/lib/libdb-4.2.so
#7  0x40218c34 in __db_put_pp_4002 () from /usr/lib/libdb-4.2.so
#8  0x4005f04c in svn_fs__bdb_open_nodes_table ()
   from /usr/lib/libsvn_fs-1.so.0
#9  0x40069be4 in svn_fs_create_berkeley () from /usr/lib/libsvn_fs-1.so.0
#10 0x4003d5b0 in svn_repos_create () from /usr/lib/libsvn_repos-1.so.0
#11 0x00011dd0 in ?? ()
--<--<--<--

Thomas.