We have run into a new and somewhat irregular error with Thai texts. On exiting the program, the following window would appear. "Sword caused an invalid page fault in module <unknown> at 0000:08cb8e0". Once this message occured, it would keep occuring with each exit of the program. This happened with both the v1.5.4 and v1.5.6 programs. At first, I thought it had something to do with the Thai text modules (zipped and encrypted). It was erratic and would show up after an install on some machines but not others. Uninstalling and re-installing the programs would fix the problem.
I finally had the problem on a local machine and the time to dig into it more. Neither uninstalling the Thai modules, turning off all switches (Strongs, headings, hebrew, etc.) nor turning off 'Autosave layout' and 'Autosave Personal bookmarks' helped. But I began to notice it was not saving layout changes that had been previously made. Examining the layout.conf file, it had a some lines that looked like Thai characters as untranslated utf-8 characters. After deleting these lines, the problem disappears and there is no error on exit.
Looking at this problem a bit more when the user does a search and looks up a previous search, the Thai searches are all unreadable. Rather the searches from the current session are displayed okay but searches from previous program sessions are unreadable. I assume the previous searches are being read from the layout.conf file. The layout.conf file is a non-UTF-8 format and cannot handle non-roman characters properly.
It also seems like the lookup and search texts that are saved for Thai
are quite long. They seem to be longer than what would have been entered
and then saved as ascii (3x characters). After doing a before program use and after, these strings are being repeated with each running of the program. The first shutdown messes up the utf-8 characters and afterwards it string is duplicated each time.
I'm thinking of setting the 'LookupSaveCount' and 'SearchSaveCount' to zero. Or does anyone have a better suggestion?
Adrian
[CommentView] Personal= RWP= TSK= tbsStudyC=
[History] LastComModule=TSK LastLDKey=AARON LastLDModule=StrongsHebrew LastParaMod01= LastParaMod02= LastParaMod03= LastTextModule=KJV LastVerse=Romans 8:1 LookupSaveCount=5 LookupText=Romans 8:1 LookupText=Matthew 1:3 LookupText=ÃÂÂÂÂÂÑ·¸Ãâ€ÂÂÂÂÇ 1:4 LookupText=John 1:1 LookupText=ÂÃÂÂÂÂÂËì¹ 1:1 SearchSaveCount=5 SearchText=มาระโภ[LDView] BDB= Easton= StrongsGreek= StrongsHebrew= Thayer= losung_en_99= [ModuleOptions] Footnotes=Off Headings=On Hebrew Cantillation=Off Hebrew Vowel Points=On Morphological Tags=Off Strong's Numbers=Off Textual Variants=Primary Reading Transliteration=Off Words of Christ in Red=Off [Screen] MainHeight=533 MainLeft=54 MainTop=33 MainWidth=796 Maximized=false SearchHeight=555 SearchLeft=487 SearchMaximized=false SearchTop=160 SearchWidth=490 TextComHeight=271 TextWidth=599 [TextView] BHS= BWE= Byz= KJV= PARALLEL= RSV= TBS02b= TBS71b=