[sword-devel] Osis2Mod - crashes in Hosea

Wolfgang Schultz woschultz at googlemail.com
Sun Jan 3 13:45:37 MST 2010


Hello Peter,

with sword-utilities-1.6.0-r2490 and your tips could convert the modules now.

I work on a tool that converts from zefania xml or osis xml to a sword
modul that is ready for install on sword clients.

Is there perhabs  a tool from crosswire which is able to create a
basic config file from given osis file ?

Thank you.

wolfgang
http://twitter.com/woschultz



2010/1/3 Peter von Kaehne <refdoc at gmx.net>:
> 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
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page



More information about the sword-devel mailing list