Apache OpenOffice (AOO) Bugzilla – Issue 46683
Switch to web layout causes renumber bug, and crash
Last modified: 2013-08-07 14:42:16 UTC
My Environment: Microsoft Windows 2000 Professional SP4 Dell Precision 650, Intel Xeon 2.4GHz, 1GB RAM OpenOffice.org 2.0 Beta (1.9.79) To reproduce this defect: 1.Open the attached RenumberingBugSample.odt file. (Open in Print Layout view). 2.Scroll down and place the insertion point (the i-beam cursor) somewhere on page 2. 3.Click View/Web Layout 4.The program appears to get stuck in an infinite loop, visiting or renumbering pages which do not exist. The page numbering is visible in status-bar panel. The page counter just keeps rising, and I guess this would continue indefinitely, perhaps until the process ran out of memory. Only way to stop it is to kill the process. I decided to look at the XML inside the document. I discovered that in the offending document, the content.xml showed that the Contents title style had a very, very long name made up mostly of what look like hex character references: <text:index-title-template text:style-name="Contents_5f_5f_5f_5f_5f_ ..... (elided) This style name doesn't show up in the Stylist, but can be seen in the Styles tab of the Index/Contents editing dialog (right click on the TOC and choose Edit Index/Table). OOo Writer doesn't allow you to edit this style, either. In the same dialog, I selected the offending style in the right-hand list, then clicked Edit. Nothing happens! If you select any other Paragraph Style in the right-hand list, you can edit it, but not this one. Internally, OOo must be rejecting this style. I removed the style association by selecting it in the left hand list and clicking on Default. The previously 'rogue' document then behaves correctly, so my guess is that this behaviour is somehow linked to the style name. NOTE: the original document was written in Word and imported into OOo. However, I it has been edited and saved in odt format for most of its life. I wonder if this rogues style name originated with the conversion?
Created attachment 24674 [details] Sample to illustrate page-numbering crash
MRU->FME: Writer is caught in a Loop when switching to WebLayout in attached document.
FME: Fixed in cws swqbugfixes30: /cvs/sw/sw/source/core/layout/flowfrm.cxx,v <-- flowfrm.cxx new revision: 1.48.2.1; previous revision: 1.48
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 swqbugfixes30.
.
MRU: verified fix in CWS swqbf35.
Checked fix in build 680m132.
*** Issue 56518 has been marked as a duplicate of this issue. ***
*** Issue 56815 has been marked as a duplicate of this issue. ***
*** Issue 56649 has been marked as a duplicate of this issue. ***
*** Issue 56958 has been marked as a duplicate of this issue. ***
*** Issue 53822 has been marked as a duplicate of this issue. ***
*** Issue 63269 has been marked as a duplicate of this issue. ***
*** Issue 63568 has been marked as a duplicate of this issue. ***
This issue is NOT fixed. It's still ongoing with a research document of mine and I've stripped away all offending _5f entries except for two and after 2 saves, I'm at 4 of them. Seriously guys, what's going on? This is a HUGE bug, reported numerous times, with the end result that documents won't load eventually. Lots of visibility with the worst end result possible - you'd think it would receive the attention it deserves and a fix that actually works. I've reopened this issue under 82443
fme->enmane: This issue is about an infinite loop when switching the attached document to web layout. We are not talking about the _5f stuff, which is a different issue.