Apache OpenOffice (AOO) Bugzilla – Issue 72426
"Time out" when saving file in draw, caused by many OLE objects
Last modified: 2017-05-20 10:48:11 UTC
Changing a math formula from 'sum' to 'sum from {i=1}' seems to cause an infinite loop when saving the file. As this is not a general problem, there must be something specific about this file that is the real cause (it is a draw document with a lot of embedded math formula). This problem is noted using OOo 2.0.3 on kubuntu dapper. To repeat: 1. Open the attached file: aid-sheet.odg 2. On page 2, under heading "Work and Energy", find the following formula (its in the second row, the rightmost formula): U ~=~ sum {{P^2_i L_i} over {2 A_i E}} 3. Double click that formula and change it to: U ~=~ sum from {i=1} {{P^2_i L_i} over {2 A_i E}} i.e, just add the 'from {i=1}' part 4. Click the floppy icon in the top toolbar to save the file. On my system, it hangs, repeatably, with soffice.bin using almost 100% cpu. cheers nh
Created attachment 41287 [details] Draw file with lots of math, illustrating hang when saving
This is pretty clearly an artifact of the large number of math formulae embedded in the draw document. 1. With the document as is, If I just add another formula or two to the page (page 2), the same problem occurs (so its probably not related to the sum operator). 2. If I delete page 1 so that only the second page remains, I can seem to edit formulae and save at will. nh
Confirming with OO 2.1 (build 9090) on Win XP - saving either takes an excessively long time or would not finish at (with CPU consumed mostly by soffice.bin and csrss.exe). soffice.bin generates approx 2500 page faults per sec and some "other" I/O (as indicated by Windows Task Manager).
MRU->WG: this seems to be a problem in Draw when saving documents containing many objects. When saving a Writer document having about 100 OLE's it dos not take a time out at the beginning of the save process.
I can reproduce this also under windows with a current version.
looks like we swap them all in on save. maybe something with the visarea of the math ole? have to investigate further
retargeted
Reset assigne to the default "issues@openoffice.apache.org".