<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Thank you. Sorry I didn't get it tested sooner... I was traveling
      then came home to a dead computer, so had a lot of work recovering
      from that first. But I really appreciate your work on this!<br>
    </p>
    <div class="moz-cite-prefix">On 6/19/25 14:22, DM Smith wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:6AD340A3-CB3C-4989-9EEB-871E7E94E708@crosswire.org">
      <pre wrap="" class="moz-quote-pre">This has been committed. To use, compile SWORD from SVN.

In Him,
        DM

</pre>
      <blockquote type="cite">
        <pre wrap="" class="moz-quote-pre">On Jun 16, 2025, at 5:07 PM, DM Smith <a class="moz-txt-link-rfc2396E" href="mailto:dmsmith@crosswire.org"><dmsmith@crosswire.org></a> wrote:

Pinoaffe, Michael,

Attached is a patch that will fix the endless looping bug.

The problem was in a verse in a chapter that was not in the chosen versification. Nitty gritty, incrementing a bad verse should have set an error. The fix for that was in src/keys/versekey.cpp in checkBounds.

That uncovered another problem in osis2mod that such verses were not properly placed at the end of the book in the last chapter.

Hope you can build this locally before we can check in this patch. I want Troy to review it, especially for unintended side effects.

In Him,
        DM

<osis2mod-infinite-loop.patch>

</pre>
        <blockquote type="cite">
          <pre wrap="" class="moz-quote-pre">On Apr 3, 2025, at 3:39 AM, pinoaffe <a class="moz-txt-link-rfc2396E" href="mailto:pinoaffe@gmail.com"><pinoaffe@gmail.com></a> wrote:

DM Smith <a class="moz-txt-link-rfc2396E" href="mailto:dmsmith@crosswire.org"><dmsmith@crosswire.org></a> writes:

</pre>
          <blockquote type="cite">
            <pre wrap="" class="moz-quote-pre">Can you supply a mock osis xml that reliably goes into an infinite loop? I’ve heard reports of this
but cannot reproduce.
</pre>
          </blockquote>
          <pre wrap="" class="moz-quote-pre">I've attached a file test.xml that goes into an infinite loop when I run
something like `osis2mod /tmp test.xml` on osis2mod version $Rev: 3769 $
(SWORD: 1.9.0)

I don't know for sure whether this is the issue that was reported, but
I've encountered this before: osis2mod seems to go into an infinite loop
when it encounters a chapter that is not in the versification.  This (or
similar infinite-looping issues with osis2mod) has been reported by
several others on this mailing list.

</pre>
        </blockquote>
        <pre wrap="" class="moz-quote-pre"><test.xml>
</pre>
        <blockquote type="cite">
          <pre wrap="" class="moz-quote-pre">

Kind regards,
pinoaffe
_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://crosswire.org/mailman/listinfo/sword-devel">http://crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page
</pre>
        </blockquote>
        <pre wrap="" class="moz-quote-pre">
</pre>
      </blockquote>
      <pre wrap="" class="moz-quote-pre">
_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://crosswire.org/mailman/listinfo/sword-devel">http://crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page
</pre>
    </blockquote>
    <div class="moz-signature">-- <br>
      <meta http-equiv="CONTENT-TYPE" content="text/html; charset=UTF-8">
      <title>signature</title>
      <p><font color="#000000">Peace,<br>
          <b><big><i>Michael Johnson</i></big></b></font><b><br>
          <font color="#000070">
            26 HIWALANI LOOP • MAKAWAO HI 96768-8747</font></b><font
          color="#000070"> • USA<br>
          <a href="https://mljohnson.org/">mljohnson.org</a> • <a
            href="https://eBible.org">eBible.org</a> • <a
            href="https://WorldEnglish.Bible">WorldEnglish.Bible</a> • <a
            href="https://PNG.Bible">PNG.Bible</a><br>
          Signal/Telegram/WhatsApp/Telephone: +1 808-333-6921<br>
          Telegram: @kahunapule • <a
            href="https://www.facebook.com/kahunapule">Facebook:
            fb.me/kahunapule</a></font></p>
    </div>
  </body>
</html>