Bug 138993

Summary: Right click on misspelled word causes OpenOffice to crash.
Product: [Fedora] Fedora Reporter: Nathan Aaron <nathan>
Component: openoffice.orgAssignee: Dan Williams <dcbw>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 3CC: colin, dff, fabr.francois, fedora, feliciano.matias, gajownik, gilboad, lenbok
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-15 16:08:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 140583    

Description Nathan Aaron 2004-11-12 12:39:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
When right clicking on a mispelled(red squigly line under it) word
OpenOffice starts consuming large amounts of memorry and processor and
eventually crashes.

Version-Release number of selected component (if applicable):
openoffice.org-1.1.2-11.5.fc3

How reproducible:
Always

Steps to Reproduce:
1. Mispell a word
2. Wait for red line to appear underneath
3. Right click on the word
    

Actual Results:  OpenOffice Crashed

Expected Results:  A menu with the spell check option should apear of
the word.

Additional info:

This a fresh load of Fedora Core 3.  I have run up2date.  This is also
an AMD Athlon T-Bird 1GHz processor.

Comment 1 Gene Wilson 2004-11-13 19:04:51 UTC
I'm seeing this too, no crash but 100% CPU usage until I kill it. 
This happens everytime and makes OO pretty hard to use.  Contextual
spell checking has always been slow in OO but this is much worse.
I'm running a PIII 700Mhz with 256M of RAM on an upgrade from FC2 to FC3

Comment 2 Daniel Thompson 2004-11-16 09:08:49 UTC
I also found this problem.

From the system monitor panel applet it appears to be allocating
*vast* ammounts of memory in order to do the contextual lookup. For
three letter words it manages to make a suggestion after 'only' a
minute or so while only just touching swap. For longer words I have
seen it eat memory until the OOM killer spewed messages onto the console.

I have 512MB RAM, 2G swap and am running a fairly old install; my
machines upgrade path is RH9->FC1->FC2->FC3.

Although I first observed the problem in 1.1.2-11.5.fc3 I have tried
the following experiments without success:
 - reinstall 1.1.2-10 from the original ISOs,
 - try as a freshly created user (with a clean home directory).

I have not observed this problem on any FC2 machines (1.1.2-11.4.fc2)
though these are different machines. I still have an image of the disk
of a machine that fails under FC3. This means I could try
1.1.2-11-4.fc2 (under FC2) on a machine known to fail on FC3. However
this would be a significant effort so I'll only do this if requested
to by the assignee.

Comment 3 Gilboa Davara 2004-11-16 18:17:28 UTC
Same here. oowriter doesn't crash, it just hangs with very high CPU
usage. However, after a minute or two, oowriter goes back to normal.
(I found that by frantically right clicking I can sometimes release it
faster)

OS: FC3 upgraded from FC2.
Machine: 2xMP2400, 1GB, 4GB SWAP, RAID5 SCSI.
OO Version: openoffice.org-1.1.2-11.5.fc3, 

Gilboa





Comment 4 Fabrice FRANCOIS 2004-11-16 21:01:08 UTC
I had the same issue and I managed to fix it. The dictionaries
installed with ooo are too numerous. I erased the superfluous
dictionaries in /usr/lib/ooo-1.1/share/dict/ooo/ and I have no more
problem now.

Fabrice.

Comment 5 Len Trigg 2004-11-17 22:22:28 UTC
I have the same problem here, using 1.1.2-11.4.fc2. The problem does
not occur with a 1.1.3 downloaded directly from OO.org.

Initial memory use on my machine after opening a doc:
VIRT=156m RES=70m

Right click on a misspelling...
VIRT=392m RES=228m

Right click on another misspelling and memory goes up again (I killed
it after 500m).  This is pretty serious (my machine is basically
unusable while OO is swapping on my poor laptop).  I will try
Fabrice's workaround.

Comment 6 Fabrice FRANCOIS 2004-11-18 00:35:54 UTC
Many entries are duplicated in
/usr/lib/ooo-1.1/share/dict/ooo/dictionary.lst :
$ cd /usr/lib/ooo-1.1/share/dict/ooo
$ cat dictionary.lst | wc -l
83
$ cat dictionary.lst | sort | uniq |  wc -l
53
(little) improvement :
# mv dictionary.lst dictionary.lst.orig
# cat dictionary.lst.orig | sort | uniq > dictionary.lst

Fabrice.

Comment 7 Fabrice FRANCOIS 2004-11-18 02:08:04 UTC
Sorry, I forgot to mention the most important :
* Fresh install of Fedora Core 3
* mobile AMD Duron 1Ghz 256M RAM
* openoffice.org-1.1.2-11.5.fc3

Apologies,
Fabrice.

Comment 8 Gilboa Davara 2004-11-23 20:46:14 UTC
Using sort and unique to remove duplicate lines (as Fabrice pointed
out) seem to have solved the problem.

Gilboa

Comment 9 FĂ©liciano Matias 2004-11-25 01:01:12 UTC
Fabrice workaround (fix ?, comment #6 ) works here.
* Fresh install of FC3
* openoffice.org-1.1.2-11.5.fc3

Comment 10 Nathan Aaron 2004-11-25 01:41:45 UTC
Fabrice's workaround helped.  It doesn't crash now.  It only grinds
for an extended period.

Nathan

Comment 11 xavier.loup 2004-11-25 10:01:23 UTC
With all dictionaries, the computer freezed. I had to reboot.
After removing every dictionary but the 2 i need (dictionary.lst), the
response time is perfect.

Comment 12 Matt Britt 2004-11-29 16:52:47 UTC
I confirm this bug. For me OOo will simply eat up every bit of
available memory (about 450 MiB) and swap until I kill it.  If I let
it alone long enough it will eventually come back.  Fabrice's
workaround helps; deleting the extra dictionaries helps more.

Comment 13 Dan Williams 2004-11-30 02:42:18 UTC

*** This bug has been marked as a duplicate of 124374 ***