Apache OpenOffice (AOO) Bugzilla – Issue 76100
Newly downloaded dictionary for en_UK causes crash when spellchecking
Last modified: 2013-08-07 14:42:49 UTC
SBA: To reproduce: - File-Wizards-Install new dictionaries [=> DictOOo.sxw comes up, choose language] - Select spellchecker for Englisch (UK) - (You can skip hyphenaton and Thesaurus) - uncheck "skip existing dictionaries" - Restart Office - New document - Insert Text (with errors) - Select All, Format-Character, tab "font"... - Set language to en_UK, OK - Run spellcheck OR - Context menu on misspelled word (red underlined when AutoSpellCheck is on) -> Crash Note: Does not occur with en_UK dictionary shipped with OOo 2.2
Created attachment 44215 [details] Stack data
I work on it. Laci
Confirmed this crash on OOo2.2 on Win XP After a right click on a red underlined word -> crash
Laurent: Could you remove the new en_UK dictionary temporarily? I will try to fix it next couple of days.
done I removed the file and deleted entries depending on it let me know when to be restored
Laurent: Wonderful speed! :) Thank you very much. Unfortunatelly, I can send it only on Monday.
Laurent: The crash is fixed in Hunspell but need a dictionary fix for the correct working: first REP line (REP 27) is bad, the correct REP count is 26 in en_GB.aff (REP 26). With correct REP count, old Hunspell also works with new en_GB without problems. Sorry for my late. Thanks, Laci
*** Issue 77098 has been marked as a duplicate of this issue. ***
Duplicate of http://sourceforge.net/tracker/index.php?func=detail&aid=1698240&group_id=143754&atid=756395 Note: It seems, that the new en_GB dictionary was tested by MySpell only, and MySpell doesn't use the REP data for suggestion and doesn't warns about the corrupt REP (Hunspell does it, with --with-warnings compilation), or used an old MySpell without REP support. I extend Dictionaries OOo Wiki page (http://wiki.services.openoffice.org/wiki/Dictionaries) with some links to the correct tools to prevent similar problems.
Created attachment 46876 [details] en_GB dictionary with bad REP count
Fault tolerant patch (using dictionary without affix data) verified with attached corrupt en_GB dictionary.
.
new target: 2.4
OK in DEV300_m20. Closed.