Issue 106267 - .---------------/------------- hangs spell check (Calc, Impress, Draw), English only
Summary: .---------------/------------- hangs spell check (Calc, Impress, Draw), Engli...
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: DEV300m62
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: nemeth.lacko
QA Contact: issues@sc
URL:
Keywords: oooqa, regression
Depends on:
Blocks:
 
Reported: 2009-10-25 22:04 UTC by pmike
Modified: 2013-08-07 15:14 UTC (History)
6 users (show)

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


Attachments
Proceed as per comments from rainerbielefeld Mon Oct 26 05:34:11 except insert single letters (7.60 KB, application/vnd.oasis.opendocument.spreadsheet)
2009-10-26 18:26 UTC, Rainer Bielefeld
no flags Details
This document in German language will not hang, what ever that might mean (7.47 KB, application/vnd.oasis.opendocument.spreadsheet)
2009-10-26 20:07 UTC, Rainer Bielefeld
no flags Details
Call stack for endless loop (5.93 KB, text/plain)
2009-10-27 15:20 UTC, thomas.lange
no flags Details
Recursion limit patch for BREAK (2.80 KB, patch)
2010-03-04 14:26 UTC, nemeth.lacko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description pmike 2009-10-25 22:04:20 UTC
Enter .---------------/------------- (including dot) into any cell and turn on
spell check. OOo hangs with 100% CPU usage. Maybe not hangs forever, but at
least 10 minutes.
Comment 1 pmike 2009-10-25 22:04:49 UTC
Maybe similar to issue 92414
Comment 2 Rainer Bielefeld 2009-10-26 05:53:19 UTC
NOT reproducible with "Ooo-Dev 3.2.0 multilingual version English UI WIN XP:
[OOO320m2 (Build 9432)]"!

@Reporter:
Please
- attach a sample document
- specify your OS
- specify localization and spell checker settings
- contribute a step by step instruction (what does "turn onspell check" mean?)
Comment 3 Rainer Bielefeld 2009-10-26 06:34:11 UTC
Strang, I tried a second time, and the problem was reproducible.
Yes, it's reproducible with "Ooo-Dev 3.2.0 multilingual version English UI WIN XP:
[OOO320m2 (Build 9432)]". 

Steps to reproduce.
1. Open new spreadsheet, insert some single letters into A1, B2, ... f5
2. Select string here in report and press <cntrl>+<c>
3. switch to spreadsheet
4. switch on auto spell check if necessary
5. click 'C4'
6. pres 'f2'
7. click 'paste icon', insert unformatted text
   HANG with 100% CPU load

Seems to work fine with  with "Ooo 3.1.1 WIN XP DE-multilingual version German
UI activated [OOO310m19 (Build 9420)]"!

But:
I saw the problem only 1 time, some further attempts to reproduce the HANG failed.

@pmike:
Any Ideas how to make that 100% reproducible?
Comment 4 pmike 2009-10-26 07:00:49 UTC
Hi, rainerbielefeld!
1. no sample is needed, just create new doc and paste "killer" string
2. Ubuntu Linux 9.04
3. en_US.UTF-8
4. well, I'd turn off spell check by button on toolbar, therefore need to
activate it after I paste the stings into spreadsheet.

step-by-step:
a) create new spreadsheet
b) copy .---------------/------------- to clipboard
c) paste into A1
d) if spellchecker is off, turn it on

PS. Indeed, OOo doesn't hang forever; I've waited until it completed
spell-check: about 15 minutes on my machine.
Comment 5 Rainer Bielefeld 2009-10-26 18:23:28 UTC
For me 100% reproducible with "Ooo-Dev 3.2.0 multilingual version English UI WIN
XP: [OOO320m2 (Build 9432)]", proceeding as per 2comments from rainerbielefeld
Mon Oct 26 05:34:11 +0000 2009" and attached "sample.ods"
Comment 6 Rainer Bielefeld 2009-10-26 18:26:12 UTC
Created attachment 65635 [details]
Proceed as per comments from rainerbielefeld Mon Oct 26 05:34:11 except insert single letters
Comment 7 Rainer Bielefeld 2009-10-26 20:07:35 UTC
Created attachment 65636 [details]
This document in German language will not hang, what ever that might mean
Comment 8 oc 2009-10-27 13:56:06 UTC
Hi Thomas, please have a look and evaluate as possible showstopper (3.2)
Comment 9 thomas.lange 2009-10-27 15:19:29 UTC
Endless loop in Hunspell. See attached stack trace.
Comment 10 thomas.lange 2009-10-27 15:20:33 UTC
Created attachment 65678 [details]
Call stack for endless loop
Comment 11 thomas.lange 2009-10-27 15:25:07 UTC
Actually this bug is partly introduced by Issue 64400 (CWS tl73, integrated in
DEV300_m55). Because since then hyphens gets forwarded to the spell checker. 

However, since this happens only for the English spell checker there might be
other problems as well related to the English dictionary.

tl->nemeth: Can you have a look please? Thanks!
Comment 12 thomas.lange 2009-10-27 15:28:58 UTC
Side note: The problem does not occur in Writer. It seems some code in Writer
does specifically take care of that text with hyphens, because the spell checker
won't be called at all for that text. 
Comment 13 thomas.lange 2009-10-27 15:29:54 UTC
.
Comment 14 thomas.lange 2009-10-27 15:30:27 UTC
.
Comment 15 stefan.baltzer 2010-01-25 08:58:26 UTC
Set target to OOo 3.2.1 and adjusting summary,
SBA-> nemeth: Any news about this one?
Comment 16 nemeth.lacko 2010-03-04 14:24:58 UTC
Fixed in Hunspell 1.2.9 (see attached patch with some other fixes)
Comment 17 nemeth.lacko 2010-03-04 14:26:05 UTC
Created attachment 68149 [details]
Recursion limit patch for BREAK
Comment 18 stefan.baltzer 2010-04-07 13:17:03 UTC
Fixed in hunspell version 1.2.9 that gets integrated into OOo 3.3 via CWS
hunspell 129.
I do not regard this a stopper for Ooo 3.2.1
Comment 19 stefan.baltzer 2011-02-08 15:34:56 UTC
OK in OOo 3.3. Closed.