[sword-devel] VerseKey::init failures in Greek modules

Karl Kleinpaste karl at kleinpaste.org
Tue Sep 18 12:28:15 MST 2007


As I'm experimenting with the distributed Greek modules more in order to
handle things like the new Tisch features, I am discovering that there
are problems that are very module-specific, where I cannot go to some
verses without crashing GnomeSword on a low-level key initialization
glitch.  The line of GnomeSword code in question is bland:

        mod->setKey(imodule.getKey());  // display.cc line #704

The two failure examples I've got at hand are LXX and the beta
Tisch.  Has anyone else seen this sort of thing?  The scenario is simple
navigation into a verse, requiring obtaining the entire chapter for
display, including the 0:0 and n:0 content.  The failures are identical
in nature, just different places.

Thoughts, theories, clues?

LXX failure, Deut 34:1:

#0  0x00110402 in __kernel_vsyscall ()
#1  0x00c9dd3b in waitpid () from /lib/libpthread.so.0
#2  0x0776da46 in ?? () from /usr/lib/libgnomeui-2.so.0
#3  <signal handler called>
#4  0x00144aa1 in sword::VerseKey::init () from /usr/lib/libsword-1.5.9.so
#5  0x00146a62 in sword::VerseKey::VerseKey () from /usr/lib/libsword-1.5.9.so
#6  0x001e6808 in sword::SWText::CreateKey () from /usr/lib/libsword-1.5.9.so
#7  0x0017017f in sword::SWModule::setKey () from /usr/lib/libsword-1.5.9.so
#8  0x08094ac1 in getZeroContent (imodule=@0xa662fec, cache_flags=320, swbuf=@0xa6d0754, mod=0x9d683b4, strongs_or_morph=1) at display.cc:704
#9  0x08095351 in GTKChapDisp::getVerseBefore (this=0xa6d0740, imodule=@0xa662fec, strongs_or_morph=1, cache_flags=320) at display.cc:816
#10 0x08096f5c in GTKChapDisp::Display (this=0xa6d0740, imodule=@0xa662fec) at display.cc:1173
#11 0x0016fc5b in sword::SWModule::Display () from /usr/lib/libsword-1.5.9.so
#12 0x080ab9ca in main_display_bible (mod_name=0xb7d8140 "LXX", key=0xc202c08 "Deut 34:1") at sword.cc:1170
#13 0x080ae7d2 in main_url_handler (url=0xbeab848 "sword:///Deut 34:1", clicked=1) at url.cc:950

Tisch failure, 1Tim 2:1:

#0  0x00110402 in __kernel_vsyscall ()
#1  0x00c9dd3b in waitpid () from /lib/libpthread.so.0
#2  0x0776da46 in ?? () from /usr/lib/libgnomeui-2.so.0
#3  <signal handler called>
#4  0x00144aa1 in sword::VerseKey::init () from /usr/lib/libsword-1.5.9.so
#5  0x00146a62 in sword::VerseKey::VerseKey () from /usr/lib/libsword-1.5.9.so
#6  0x001e6808 in sword::SWText::CreateKey () from /usr/lib/libsword-1.5.9.so
#7  0x0017017f in sword::SWModule::setKey () from /usr/lib/libsword-1.5.9.so
#8  0x08094ac1 in getZeroContent (imodule=@0x9cb64e4, cache_flags=354, swbuf=@0x9ced7ec, mod=0x9ba60ac, strongs_or_morph=1) at display.cc:704
#9  0x08095351 in GTKChapDisp::getVerseBefore (this=0x9ced7d8, imodule=@0x9cb64e4, strongs_or_morph=1, cache_flags=354) at display.cc:816
#10 0x08096f5c in GTKChapDisp::Display (this=0x9ced7d8, imodule=@0x9cb64e4) at display.cc:1173
#11 0x0016fc5b in sword::SWModule::Display () from /usr/lib/libsword-1.5.9.so
#12 0x080ab9ca in main_display_bible (mod_name=0xb5cf1b0 "Tisch", key=0xad65740 "1Tim 2:1") at sword.cc:1170
#13 0x080ae7d2 in main_url_handler (url=0xac8aaa0 "sword:///1Tim 2:1", clicked=1) at url.cc:950



More information about the sword-devel mailing list