[sword-devel] bug in sword-svn

Peter von Kaehne refdoc at gmx.net
Fri Feb 20 13:32:25 MST 2009

I think there is a bug in sword-svn related to GenBook bibles:

I get following error messaqe both from xiphos and from diatheke when i
try to access a GenBook bible.

pure virtual method called
terminate called without an active exception

The diatheke command I used was following:

diatheke -b GerLut1545lhgb -k Mal 4

In xiphos it is sufficient to click on a GenBook module to make it crash.

Below attached is the gdb output for the same arguments as above



pure virtual method called
terminate called without an active exception
[New Thread 0xb6c0b6d0 (LWP 10401)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6c0b6d0 (LWP 10401)]
0xb806f430 in __kernel_vsyscall ()
(gdb) bt
#0  0xb806f430 in __kernel_vsyscall ()
#1  0xb6ca28a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb6ca4268 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6ec7778 in __gnu_cxx::__verbose_terminate_handler () from
#4  0xb6ec5655 in ?? () from /usr/lib/libstdc++.so.6
#5  0xb6ec5692 in std::terminate () from /usr/lib/libstdc++.so.6
#6  0xb6ec6335 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#7  0x080cbdac in sword::TreeKey::positionChanged (this=0x9489960) at
#8  0x080cac09 in sword::TreeKeyIdx::setOffset (this=0x9489960,
offset=4) at ../src/keys/treekeyidx.cpp:416
#9  0x080cc84c in sword::VerseTreeKey::positionChanged (this=0x9489cc8)
at ../src/keys/versetreekey.cpp:181
#10 0x080cbdac in sword::TreeKey::positionChanged (this=0x9489960) at
#11 0x080caaef in sword::TreeKeyIdx::increment (this=0x9489960, steps=1)
at ../src/keys/treekeyidx.cpp:592
#12 0x080cc179 in sword::VerseTreeKey::increment (this=0x9489cc8,
steps=1) at ../src/keys/versetreekey.cpp:147
#13 0x080c8747 in sword::SWKey::operator+= (this=0x9489cc8, steps=1) at
#14 0x080d2d03 in sword::SWModule::increment (this=0x9372180, steps=1)
at ../src/modules/swmodule.cpp:389
#15 0x0804ed95 in sword::SWModule::operator+= (this=0x9372180, steps=1)
at ../include/swmodule.h:671
#16 0x0804edb3 in sword::SWModule::operator++ (this=0x9372180) at
#17 0x0804e805 in doquery (maxverses=4294967294, outputformat=1 '\001',
outputencoding=2 '\002', optionfilters=0, searchtype=0 '\0', range=0x0,
    text=0xbfd706f4 "GerLut1545lhgb", locale=0x0, ref=0x925da88 "Mal 4",
output=0x810ebc0, script=0x0, variants=0) at corediatheke.cpp:424
#18 0x0804c579 in main (argc=6, argv=0xbfd6eaf4) at diatheke.cpp:236

More information about the sword-devel mailing list