<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">It was reported yesterday by Karl, that BosworthToller has an infinite loop bug. And that mod2imp hits this bug.<div class=""><br class=""></div><div class="">Here is where mod2imp starts to loop:</div><div class="">$$$-ǼWED<br class=""><entryFree n="-ǽwed"><p><form><orth>-ǽwed</orth></form>. v. ge-ǽ.</p></entryFree><br class="">$$$-ǼWIRDLIAN<br class=""><entryFree n="-ǽwirdlian"><p><form><orth>-ǽwirdlian</orth></form>. v. ge-ǽ</p></entryFree><br class="">$$$-ǼÞE<br class=""><entryFree n="-ǽþe"><p><form><orth>-ǽþe</orth></form>. v. cyning-ǽ.</p></entryFree><br class="">$$$1<br class=""><entryFree n="-ǽþe"><p><form><orth>-ǽþe</orth></form>. v. cyning-ǽ.</p></entryFree><br class="">$$$1<br class=""><entryFree n="-ǽþe"><p><form><orth>-ǽþe</orth></form>. v. cyning-ǽ.</p></entryFree><br class="">This last entry is stuck in a loop.</div><div class=""><br class=""></div><div class=""><div class="">From JSword, I’ve dumped the module just fine. Here is the section that is problematic:</div><div class="">Legend:</div><div class="">first column: index of the entry in the module</div><div class="">Second column: offset</div><div class="">Third column: size in bytes</div><div class="">Fourth column: the key</div><div class="">Fifth column: block number</div><div class="">Sixth column: block offset</div><div class="">(didn’t include columns for the index and offset in the uncompressed block.)</div><div class="">Last column: the first part of the entry, manually truncated for readability.</div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">860<span class="Apple-tab-span" style="white-space:pre">        </span>-ǼWED<span class="Apple-tab-span" style="white-space:pre">        </span><entryFree n="-ǽwed"><p><form><orth>-ǽwed</orth></form>. ….</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">861<span class="Apple-tab-span" style="white-space:pre">        </span>-ǼWIRDLIAN<span class="Apple-tab-span" style="white-space:pre">        </span><entryFree n="-ǽwirdlian"><p><form><orth>-ǽwirdlian</orth></form>. ….</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">862<span class="Apple-tab-span" style="white-space:pre">        </span>-ǼÞE<span class="Apple-tab-span" style="white-space:pre">        </span><entryFree n="-ǽþe"><p><form><orth>-ǽþe</orth></form>. ….</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">863<span class="Apple-tab-span" style="white-space:pre">        </span>1<span class="Apple-tab-span" style="white-space:pre">        </span><entryFree n="1"><p><form><orth>1</orth></form>. ….</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">864<span class="Apple-tab-span" style="white-space:pre">        </span>3<span class="Apple-tab-span" style="white-space:pre">        </span><entryFree n="3"><p><form><orth>3</orth></form>. ….</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">865<span class="Apple-tab-span" style="white-space:pre">        </span>A<span class="Apple-tab-span" style="white-space:pre">        </span><entryFree n="a"><p><form><orth>a</orth></form>; ….</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">866<span class="Apple-tab-span" style="white-space:pre">        </span>A<span class="Apple-tab-span" style="white-space:pre">        </span><entryFree n="A"><p><form><orth>A</orth></form>. ….</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">867<span class="Apple-tab-span" style="white-space:pre">        </span>A-BACAN<span class="Apple-tab-span" style="white-space:pre">        </span><entryFree n="a-bacan"><p><form><orth>a-bacan</orth></form>, ….</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">868<span class="Apple-tab-span" style="white-space:pre">        </span>A-BANNAN<span class="Apple-tab-span" style="white-space:pre">        </span><entryFree n="a-bannan"><p><form><orth>a-bannan</orth></form>; ….</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">870<span class="Apple-tab-span" style="white-space:pre">        </span>A-BEALH<span class="Apple-tab-span" style="white-space:pre">        </span><entryFree n="a-bealh"><p><form><orth>a-bealh</orth></form> ….</div></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">Note: there are duplicate keys. This might be merely “a” problem, pun intended.</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class=""><span style="font-family: Helvetica; font-size: 12px;" class="">Just a wild guess, 1 is padded as if it were a Strong’s Number to become 00001 and that is used for a lookup. The standard behavior on lookup is to return the nearest match.</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class=""><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class="">Padding to Strong’s Numbers should only happen if the module has Feature=GreekDef or Feature=HebrewDef. I don’t think it cares and pads the number anyway.</div><div style="margin: 0px; line-height: normal;" class=""><font face="Monaco" class=""><span style="font-size: 11px;" class=""><br class=""></span></font></div><div style="margin: 0px; line-height: normal;" class=""><font face="Monaco" class=""><span style="font-size: 11px;" class="">If I add StrongsPadding=false to the conf, the module works.</span></font></div><div style="margin: 0px; line-height: normal;" class=""><font face="Monaco" class=""><span style="font-size: 11px;" class=""><br class=""></span></font></div><div style="margin: 0px; line-height: normal;" class=""><font face="Monaco" class=""><span style="font-size: 11px;" class="">DM<br class=""></span></font><div style="font-family: Helvetica; font-size: 12px;" class=""><br class=""></div></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Monaco;" class=""><br class=""></div><div class=""><br class=""></div></div></body></html>