Issue 76100 - Newly downloaded dictionary for en_UK causes crash when spellchecking
Summary: Newly downloaded dictionary for en_UK causes crash when spellchecking
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 2.2
Hardware: All All
: P2 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: stefan.baltzer
QA Contact: issues@sw
URL:
Keywords:
: 77098 (view as issue list)
Depends on:
Blocks:
 
Reported: 2007-04-04 17:46 UTC by stefan.baltzer
Modified: 2013-08-07 14:42 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Stack data (6.38 KB, text/plain)
2007-04-04 17:57 UTC, stefan.baltzer
no flags Details
en_GB dictionary with bad REP count (252.52 KB, application/octet-stream)
2007-07-18 10:19 UTC, nemeth.lacko
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description stefan.baltzer 2007-04-04 17:46:56 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
Comment 1 stefan.baltzer 2007-04-04 17:57:16 UTC
Created attachment 44215 [details]
Stack data
Comment 2 nemeth.lacko 2007-04-04 19:01:43 UTC
I work on it. Laci
Comment 3 dalo 2007-04-04 21:19:30 UTC
Confirmed this crash on OOo2.2 on Win XP
After a right click on a red underlined word -> crash
Comment 4 nemeth.lacko 2007-04-07 17:53:19 UTC
Laurent: Could you remove the new en_UK dictionary temporarily? I will try to
fix it next couple of days.
Comment 5 maison.godard 2007-04-07 18:01:05 UTC
done 
I removed the file
and deleted entries depending on it

let me know when to be restored
Comment 6 nemeth.lacko 2007-04-07 18:13:27 UTC
Laurent: Wonderful speed! :) Thank you very much. Unfortunatelly, I can send it
only on Monday.
Comment 7 nemeth.lacko 2007-06-14 08:37:23 UTC
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
Comment 8 nemeth.lacko 2007-06-14 08:40:42 UTC
*** Issue 77098 has been marked as a duplicate of this issue. ***
Comment 9 nemeth.lacko 2007-06-14 09:27:27 UTC
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.
Comment 10 nemeth.lacko 2007-07-18 10:19:05 UTC
Created attachment 46876 [details]
en_GB dictionary with bad REP count
Comment 11 nemeth.lacko 2007-07-18 10:23:25 UTC
Fault tolerant patch (using dictionary without affix data) verified with
attached corrupt en_GB dictionary.
Comment 12 nemeth.lacko 2007-07-18 10:24:34 UTC
.
Comment 13 nemeth.lacko 2007-08-06 14:54:42 UTC
new target: 2.4
Comment 14 stefan.baltzer 2008-06-19 16:02:33 UTC
OK in DEV300_m20. Closed.