[Upstream] 100% CPU and freeze when scrolling inside document that has embedded EPS graphics
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenOffice |
Confirmed
|
Unknown
|
|||
libreoffice (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
openoffice.org (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Binary package hint: openoffice.org
Hello,
I have a document, created with OOo 2.1, edited with OOo 2.2 (after upgrading to Feisty) which has four embedded EPS graphics (linked to external files).
Everytime I scroll over these images, Openoffice shows an empty box with "Broken image" inside it (translated back from German, maybe different wording), then freezes completely for two seconds, while refreshing the EPS image. During this time the CPU usage is at 100%. I would expect OOo to cache these files (at least the rendered images) so they "stay" in the text, like it does with other graphics formats. It seems this does not happen.
"strace" shows that Openoffice is indeed hanging in a "read(...)" call, with a file handle that belongs to the linked object (EPS file). But I don't understand why it takes two seconds for Openoffice to open a 20kb EPS file.
As you might imagine, this is extremely annoying. I am preparing a scientific paper with Openoffice and so far it has been very pleasant to work with, almost up to par with LaTeX :-), except for this major annoyance.
I can provide the document in question, but I would ask not to publish it in the bugtracker.
Thank you!
Jens
Changed in openoffice.org: | |
importance: | Undecided → Low |
status: | Unconfirmed → Confirmed |
Changed in openoffice: | |
status: | Unknown → Confirmed |
Changed in openoffice.org: | |
status: | Confirmed → Triaged |
tags: | added: hardy |
Changed in openoffice.org (Ubuntu): | |
status: | Triaged → Won't Fix |
summary: |
- [Upstream] [hardy] 100% CPU and freeze when scrolling inside document - that has embedded EPS graphics + [Upstream] 100% CPU and freeze when scrolling inside document that has + embedded EPS graphics |
Addendum: I did the following to corner this bug.
Using OOo 2.2.0 from Feisty, Feisty on all machines, all i386., all upgraded from Edgy.
I have a second machine (notebook) where this bug does not appear (or rather, not after scrolling once through the whole document so that all images and EPS graphics are loaded). This is a P-4 Mobile 1800 running at 600MHz. The "problematic" machine is an AMD sempron 2800+ running at 1500 MHz, so CPU speed should not be an issue. Maybe CPU caching is?
I exchanged the harddisk of the problematic machine because I suspected read errors. No change.
I copied the file to a different directory. No change.
I started "oowriter" on the console and noticed that whenever it froze for a second, it would output this: ------- ------- ------- ------- ------- - pstoedit/ libp2edrvlplot. so)
-------
plot-hpgl: .hpgl: hpgl via GNU libplot (/usr/lib/
This driver supports the following additional options: (specify using -f "format:-option1 -option2")
[ plotformat : string : plotutil format to generate]
The notebook's oowriter version (also Feisty) would output this too, but only on the first scroll-through, not on subsequent scrolls. The problematic machine outputs this text everytime I scroll past an EPS graphic, and evertime it freezes for a second.
So *something* is wrong with my OOo configuration. But I deleted the whole .openoffice.org2 directory and even then the problem did not go away. And, as I said, on my notebook it doesn't exist at all.
I compared the "Memory" settings in the Extras > Options > Openoffice.org > "Arbeitsspeicher" menu and they are identical (100 undo steps, graphics cahe 9 MB / 2.4 MB / 10 min, 20 objects) on both machines.
Please help! =;()
Jens