[sword-devel] Osis2Mod - crashes in Hosea

Wolfgang Schultz woschultz at googlemail.com
Sun Jan 3 16:06:59 MST 2010


Hello Chris,

I don't know who uploaded

http://zefania-sharp.svn.sourceforge.net/viewvc/zefania-sharp/trunk/sf_menge/sf-menge-bibel_osis.xml?view=log&pathrev=82

and this Zefania site isn't mine, but i know Menge was died in 1939
and therfore there is no later edition from Menge and according to
german law the text is free fore everybody since 01.01.2010 and the
dbg have not to make any regulations about the future using of this
text from Menge.

wolfgang

BTW: -v MT doesn't work









2010/1/3 Chris Little <chrislit at crosswire.org>:
> There are two significant bugs in osis2mod. One of them is the crash on
> extra chapters bug that you're pointing out here, introduced in r2196, I
> believe in makeKJVRef().
>
> However, I don't believe we ought to be assisting you in violation of DBG's
> licensing and terms of use. Regardless of whether the 1939 edition of Menge
> is now in the public domain, there is a significant likelihood that the
> online text at bibelwissenschaft.de is a much later edition, still under
> copyright. In any event, the terms of use at that site explicitly prohibit
> redistribution of the complete text or integration into software.
>
> --Chris
>
>
> On 1/3/2010 1:54 PM, Wolfgang Schultz wrote:
>>
>> Hhmmm,
>>
>>
>> http://zefania-sharp.svn.sourceforge.net/viewvc/zefania-sharp/trunk/sf_menge/sf-menge-bibel_osis.xml?view=log&pathrev=82
>>
>> produces empty nt with -v Leningrad and with other  -v it crashes :-(
>>
>> It seems it not possible to convert a complett osis bible file with ot
>> nt apo included if there is a variation to kjv versification.
>>
>> That is really a serious problem for making modules.
>>
>> wolfgang
>>
>>
>>
>> 2010/1/3 Wolfgang Schultz<woschultz at googlemail.com>:
>>>
>>> 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
>>>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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