Red Hat Bugzilla – Bug 139032
OO Writer crashes when enabling automatic hyphenation in Polish document
Last modified: 2007-11-30 17:10:54 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
When you are editing Polish document and automatic hyphenation is
enabled OO Writers hangs. It consumes 100% CPU time and the only way
to stop it is to kill it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set document language to Polish.
2. Set Format->Paragraph->Text Flow Hyphenation to Automatically
3. Write some text. When you reach end of the line and there is word
to hyphenate OO Writer will hang.
1. Open document saved in previous version where language was set to
Polish and automatic hyphenation was enabled.
Actual Results: OO Writer hangs.
Expected Results: OO Writer should hyphenate words.
Created attachment 106588 [details]
This file should hang OO Writer
This is a sample file created in Windows OO Writer with enabled hyphenation. It
crashes OO in FC.
If you wait (a very long time) it will react again, its taking an
awesomely long time on first time processing of the polish hyphenation
Upstream as http://www.openoffice.org/issues/show_bug.cgi?id=37171
I waited very long time and the doucument showed up. But none of the
words were hyphenated but some of them should be hyphenated.
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
I commented out in dictionary.lst all dictionaries and hyphenation but
Polish and English and it didn't helped.
I have updated to OpenOffice version 1.1.3-2.5.fc3 and this bug is
still here. :-(
I use also OO on Windows (OO version 1.1.3), and there this bug
doesn't occur. Hyphenation dictionaries are the same on my Linux and
This bug is still present in openoffice.org-1.1.3-6.5.0.fc3
I run gdb on the "hung" process and it's stuck in:
#0 0x06543eaf in component_getFactory ()
#1 0x0654440e in component_getFactory ()
#2 0x065408aa in component_getFactory ()
#3 0x043275e4 in HyphenatorDispatcher::hyphenate ()
#4 0xb5a985d9 in HyphDummy_Impl::hyphenate ()
#5 0x0249d4c2 in component_getFactory ()
#6 0x0249819c in component_getFactory ()
#7 0xb3c70965 in ?? () from /usr/lib/ooo-1.1/program/libsw645li.so
#8 0xbfe03d20 in ?? ()
#9 0x01ee6418 in ?? ()
#10 0xbfe03d10 in ?? ()
#11 0x00000059 in ?? ()
#12 0xbfe03d30 in ?? ()
#13 0x00000000 in ?? ()
Other 3 threads are in _dl_sysinfo_int80.
It works again after a really long time, but doesn't hyphenate, as reporter stated.
I discovered bug #148948 which seems to be duplicate of this one and found
resolution there! In /usr/lib/ooo-1.1/share/dict/ooo/dictionary.lst I replaced
"HYPH pl PL pl_PL" with "HYPH pl PL hyph_pl_PL" and not only it doesn't hang, it
started to hyphenate (not like I want it to, but I guess that's just a matter of
tuning the values in "Text Flow Hyphenation")! Hope that helps :)
*** Bug 148948 has been marked as a duplicate of this bug. ***
dcbw->cmc: fix should be included in next FC3 update, which is waiting on the U1
stuff before it goes out.
dcbw->cmc: Did this fix get included in devel: 1.9.82-1?
No hang and correct hyphenation dictionary name in 1.9.84-1