Apache OpenOffice (AOO) Bugzilla – Issue 127071
aoo local (de) debug build crashes with - ### illegal index of sequence! - if spellcheck is enabled -
Last modified: 2016-10-01 12:37:52 UTC
aoo 4.2.0 german debug build rev. 1756130 steps to reproduce: - open writer - type a char - aoo crashes with: --------------------------- Debug Output --------------------------- Error: ### illegal index of sequence! From File C:\build_tmp\trunk\main\solver\420\wntmsci12\inc\com/sun/star/uno/Sequence.hxx at Line 174 Abort ? (Yes=abort / No=ignore / Cancel=core dump) no crash if spellcheck is disabled before notice: en-US build does not crash. this build contains only the preinstalled "dict-en.oxt" while the geman build has de,at,ch,en,fr,it spellcheck extensions preinstalled. btw: typing chars causes several "item-type unequal to IDL" errors too: l --------------------------- Debug Output --------------------------- Error: item-type unequal to IDL (=> no BASIC) with SID: 5509 in SwView From File c:/build_tmp/trunk/main/sfx2/source/control/dispatch.cxx at Line 2562 Abort ? (Yes=abort / No=ignore / Cancel=core dump)
This problem introduced by revision 1727441, issue 126762. I misunderstand the content of SvtLinguConfigDictionaryEntry struct. - Locations contains the list of dictionary files such as dat and aff - aLocaleNames contains the list of Locales entry from dictionary entry. It seems I thought they are 1:1 lists. So, if there are many locales contained in Locales entry, this out of range is happen. fr dictionary contains many Locales entries in each dictionary entry, so it can cause this problem easily. The fix should be something like, if all files listed in Locations are exists, its related Locales(aLocaleNames from the struct) should be added to the list of supported locales as the spell checker.
"hanya" committed SVN revision 1762054 into trunk: #i127071# Fix illegal index on locations of spell cheker dictionary
@Oliver: Please can you test/verify if this fixes your reported problem? Thanks in advance.
>Please can you test/verify if this fixes your reported problem? sorry i can't at the moment, cause there a new build breaks: windows build breaks in modules basegfx and ucbhelper https://bz.apache.org/ooo/show_bug.cgi?id=127144
with revision 1762685 and "--disable-pch" i was able to build now. aoo does not crash anymore.