[sword-devel] Osis2Mod - crashes in Hosea

Peter von Kaehne refdoc at gmx.net
Sun Jan 3 13:26:40 MST 2010


Peter von Kaehne wrote:
> The more likely reason is a mistake in your usage, your use of a faulty version or simply flaws in your osis files
> 
> FWIW the correct OSIS abbreviation of Ezekiel is not Ez but Ezek.
> 
> I have not checked for other problems.

Partially premature in my reply.

FWIW osis2mod on newest svn runs fine with this text (after correction
of Ezekiel) when using an appropriate versification.

Using KJV does indeed cause a segmentation fault, the backtrace is below.

Interestingly the breakpoint varies with debug level. using -d1 resyults
in a segmentation fault in Joel.

Having said this, I can see little reason to have the module reversified
into KJV by osis2mod.

-v Leningrad runs without errors and has only 2 or 3 verses out of sync.

with KJV you get up to the breakage in Hosea 124 reversifications.

Peter

------------------

without debugging


INFO(V11N): Hos.14.10 is not in the KJV versification. Appending content
to Hos.14.9
INFO(WRITE): Appending entry: Hos.14.9: Qui est sage pour comprendre ces
choses, intelligent pour le reconnaître? Droites sont les voies de
l'Eternel, les justes y marchent ferme, les pécheurs y trébuchent."
<chapter eID="gen14780" osisID="Hos.14"/> <div eID="gen14579"
osisID="Hos" type="book"/>

Program received signal SIGSEGV, Segmentation fault.
0x00d20379 in ?? () frDEBUG(WRITE): Joel.3.5:Joel.3.5: Alors quiconque
invoquera le nom de l'Eternel sera sauvé; car sur le mont Sion et dans
Jérusalem le salut sera assuré, ainsi que l'a dit l'Eternel, comme il le
sera, parmi les survivants, à ceux qu'élira le Seigneur. <chapter
eID="gen14841" osisID="Joel.3"/>

Program received signal SIGSEGV, Segmentation fault.
0x0056a379 in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0x0056a379 in ?? () from /lib/tls/i686/cmov/libc.so.6
#1  0x0056c868 in malloc () from /lib/tls/i686/cmov/libc.so.6
#2  0x00317bb7 in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
#3  0x00317ced in operator new[](unsigned int) () from
/usr/lib/libstdc++.so.6
#4  0x0015529e in sword::stdstr(char**, char const*, unsigned int) ()
from /usr/local/lib/libsword-1.6.0.so
#5  0x0014e26e in sword::VerseKey::initBounds() const () from
/usr/local/lib/libsword-1.6.0.so
#6  0x0014efd5 in sword::VerseKey::Index(long) () from
/usr/local/lib/libsword-1.6.0.so
#7  0x0014f00c in sword::VerseKey::Index(long) () from
/usr/local/lib/libsword-1.6.0.so
om /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0x00d20379 in ?? () from /lib/tls/i686/cmov/libc.so.6
#1  0x00d22868 in malloc () from /lib/tls/i686/cmov/libc.so.6
#2  0x00458bb7 in operator new(unsigned int) () from /usr/lib/libstdc++.so.6
#3  0x00458ced in operator new[](unsigned int) () from
/usr/lib/libstdc++.so.6
#4  0x001a629e in sword::stdstr(char**, char const*, unsigned int) ()
from /usr/local/lib/libsword-1.6.0.so
#5  0x0019f26e in sword::VerseKey::initBounds() const () from
/usr/local/lib/libsword-1.6.0.so
#6  0x0019ffd5 in sword::VerseKey::Index(long) () from
/usr/local/lib/libsword-1.6.0.so

with -d1




More information about the sword-devel mailing list