Issue 26892 - wrapping footnote to next page causes OOo to freeze
Summary: wrapping footnote to next page causes OOo to freeze
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: crash, oooqa
Depends on:
Blocks:
 
Reported: 2004-03-23 19:53 UTC by jimmyh
Modified: 2013-08-07 14:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Example file (warning - causes crash!) (16.40 KB, application/vnd.sun.xml.writer)
2004-03-23 19:55 UTC, jimmyh
no flags Details
screenshot - strange document layout (168.75 KB, application/pdf)
2004-03-23 21:05 UTC, flibby05
no flags Details
possible patch to resolve the problem (397 bytes, patch)
2004-06-03 11:08 UTC, frank.meies
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description jimmyh 2004-03-23 19:53:46 UTC
To reproduce:

1) open the attached document
2) press return after the test "press return!"
3) Open office should freeze and max out the cpu. Sometimes will not end with 
the term signal.

To repreoduce (no crash)
1) remove the [1] footnote from the first page
2) can how hit return at "press return!" no problem.

This is on Fedora Linux core 1.
Comment 1 jimmyh 2004-03-23 19:55:16 UTC
Created attachment 14009 [details]
Example file (warning - causes crash!)
Comment 2 flibby05 2004-03-23 21:03:14 UTC
1.1.1rc3 linux build

Part #1
--------

>> 1) open the attached document
>> 2) press return after the test "press return!"

Place the cursor after "press return" on page 1 and hinter Enter 35 times.

>>3) Open office should freeze and max out the cpu.

confirmed, hangs with 75% CPU here

Part #2
----------
>> To repreoduce (no crash)
>> 1) remove the [1] footnote from the first page
>> 2) can how hit return at "press return!" no problem.

confirmed, no crash or hang

Noticed also strange document layout. See attached screenshot as PDF.
Comment 3 flibby05 2004-03-23 21:05:26 UTC
Created attachment 14011 [details]
screenshot - strange document layout
Comment 4 lohmaier 2004-03-23 23:12:54 UTC
adding crash keyword, target-milestone: not determined.
Comment 5 h.ilter 2004-03-24 15:48:30 UTC
Reassigned to MRU
Comment 6 michael.ruess 2004-03-25 12:00:11 UTC
MRU->FME: Table containing a footnote wrapping to next column. This already
works in current src680m3x build. Please have a look for possible risks of a 
1.1.3 (pp4) fix.
Comment 7 frank.meies 2004-03-30 11:14:21 UTC
FME: I did not find the time to analyse the problem yet. Nevertheless, I'll set
target to OOo 1.1.3.
Comment 8 frank.meies 2004-05-19 08:12:17 UTC
.
Comment 9 frank.meies 2004-06-03 11:06:11 UTC
FME: Analysis: The last table row moves to the next column, therefore the
footnote moves to the next column as well. This will invalidate the section on
the first page, because the footnote frame vanishes. This in turn will
invalidate the last lower of the section frame (ChgLowersProp) because the size
of the column has increased. So the table frame will be calculated again, this
time the last table row will move back to the first page, because there is still
some space left and the footnotes are not considered in the ShouldMoveBwd()
function -> loop.

The attached patch will solve the problem, but I think we should not touch the
code because it is too risky.
Comment 10 frank.meies 2004-06-03 11:08:05 UTC
Created attachment 15657 [details]
possible patch to resolve the problem
Comment 11 frank.meies 2004-06-03 11:11:21 UTC
FME->MRU: I think this is too risky to fix for the 1.1 branch.
Comment 12 michael.ruess 2004-06-03 13:20:47 UTC
OK, deeper investigation resulted in the fact, that a fix for a patch in 1.1.x
ould be too risky. Thus we leave it as fixed in OO 2.0.
Comment 13 michael.ruess 2004-06-03 13:21:09 UTC
Closed Works with 680m30 and newer.