Apache OpenOffice (AOO) Bugzilla – Issue 55421
Loop/Performance problem when table editing/formating
Last modified: 2013-08-07 14:42:26 UTC
The file attached uses table extensively but when content is moved around OpenOffice crashes or freezes up at random, This was noticable on all previous versions too. 1. Scroll down near end. 2. using return to Shift content down. 3. OpenOffice-rc1 will freeze. 4. OpenOffice-rc1 will start recovery.
*** Issue 55422 has been marked as a duplicate of this issue. ***
*** Issue 55423 has been marked as a duplicate of this issue. ***
*** Issue 55424 has been marked as a duplicate of this issue. ***
Confirm on OOo 2.0.0 rc1 from Linux RPMs. At first, provided instructions produce pauses (with no significant CPU usage noticed). Eventually enough ENTERs produce a crash.
Created attachment 30093 [details] crash report
1. There is no file attached. 2. I don't understand, what you are doing to produce this crash. Describe it more detailed.
heres a link to the file http://mail.olofsson.tv/table.odt
With the file, for which I looked under Attachements and not under URL, I can confirm the behaviour. Most of the time OOo freezes for a certain time using RETURN in a cell and sometime OOo crashes. IMO this occurs when a end of a paragraph in a cell exceeds a page (But not only).
MRU->FME: I was not able to reproduce the problem, but a crash report has been sent. See stack ID 268174. Maybe this puts you on track. A similar issue is also in your intray (issue 54908), maybe they are related to each other.
When someone fixes this bug and it needs some testing... Just point me in the direction of the dev build.
Just tested it on Openoffice2-rc2, same'ish problem. editing of tables results in openoffice crashing or locking up. steps... 1. open same document move tables cells width 2. OpenOffice crashes.
FME: Need more time to investigate. Crash not reproducible with cws swqbf40, which contains a couple of fixes for tables. There still seems to be a performance issue, that after changing the table (e.g., by shifting contents or changing cell widths), office hangs in GetTblSel() for 1-2 minutes. Set target in agreement with MRU to "OOo 2.0.2".
*** Issue 58071 has been marked as a duplicate of this issue. ***
Changed title from "Crashes when table editing/formating" to "Loop/Performance problem when table editing/formating"
*** Issue 59193 has been marked as a duplicate of this issue. ***
FME: Open attached bugdoc, go to cell d3, press enter, press backspace, wait. After a while (1-2 min) Writer is responsive again. The reason is this: GetTblSel, which obtains the status of the current table selection for the ruler, contains a loop that has a loop control (nLoopMax = 100), in case the table has not been fully formatted at the point of the status update. 10 cycles should be enough. I cannot imagine that any further cycles will improve the result.
Created attachment 33545 [details] bugdoc
FME: Fixed in cws swqbf52, tblsel.cxx rev. 1.36.98.1
FME: Ready for QA. re-open issue and reassign to mru@openoffice.org
reassign to mru@openoffice.org
reset resolution to FIXED
Verified fix in CWS swqbf52. Performance heavily improved.
Checked fix in OO 2.0.2rc2.