[sword-devel] diatheke prob

Matt Dunford sword-devel@crosswire.org
Wed, 25 Sep 2002 16:14:18 +0200


Hey all,

The program 'diatheke' crashes on me.  I checked out the sword cvs
module and I can reproduce it there as well.  Here's what I did:

$ ./configure --enable-debug && make
[...]
$ ./apps/console/diatheke/diatheke -b system -k localelist
abbr
da
de
es
fr
it
no
pt
Segmentation fault (core dumped)

Here's what gdb says, which doesn't strike me as that helpful, but
hopefully it will provide some insight:

$ gdb -c core ./apps/console/diatheke/.libs/lt-diatheke
[...]
(gdb) bt
#0  0x402fb987 in __check_rhosts_file () from /lib/libc.so.6
#1  0x68402fb9 in ?? ()
#2  0x40065da1 in LocaleMgr::deleteLocales() (this=0x805be10)
    at ../src/mgr/localemgr.cpp:139
#3  0x4006578f in ~LocaleMgr (this=0x805be10) at
../src/mgr/localemgr.cpp:99
#4  0x400661bc in __static_initialization_and_destruction_0
(__initialize_p=0,
    __priority=65535) at ../src/mgr/localemgr.cpp:43
#5  0x400661f3 in _GLOBAL__D__ZN9LocaleMgr15systemLocaleMgrE ()
    at /usr/include/g++-v31/bits/stl_map.h:110
#6  0x400428db in __do_global_dtors_aux ()
   from /home/matt/cvs/sword/lib/.libs/libsword.so.1
#7  0x400a7649 in _fini () from
/home/matt/cvs/sword/lib/.libs/libsword.so.1
#8  0x40009d9d in _dl_fini () at dl-fini.c:169
#9  0x4021460d in exit () from /lib/libc.so.6
#10 0x40200fa3 in __libc_start_main () from /lib/libc.so.6
(gdb)

-- 
- Matt Dunford <> zoot@zotikos.com ..
-. www.zotikos.com -- o,;-
	
Practise thyself even in the things which thou despairest of accomplishing.
For even the left hand, which is ineffectual for all other things
for want of practice, holds the bridle more vigorously than the right
hand; for it has been practised in this.
   -- Marcus Aurelius, the Mediations, book 12
--