Bug 2987 - Large graphics put FOP 0.19 into an infinite loop
Summary: Large graphics put FOP 0.19 into an infinite loop
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: all
Hardware: Sun Solaris
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
: 3475 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-08-03 18:27 UTC by Don Wellington
Modified: 2012-04-01 07:13 UTC (History)
2 users (show)



Attachments
a short test-case of infinite page creation (526 bytes, text/plain)
2002-06-18 15:01 UTC, Daniel Resare
Details
a tall image (25.89 KB, image/gif)
2002-06-18 15:02 UTC, Daniel Resare
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Don Wellington 2001-08-03 18:27:09 UTC
When FOP attempts to render a large external graphic, it appears to enter an
infinite loop in the "Formatting FOs into areas" stage.  It outputs area numbers
until it runs out of memory.  Shrinking the offending file fixes the problem. 
The limit appears to be the size of the area available on the page.
Comment 1 Daniel Resare 2002-06-18 15:00:07 UTC
This bug persists in 0.20.4rc. I include the smallest example that I can come up
with. space-before.optimum="1pt" in the surrounding fo:block seems to be needed
to trigger the infinite loop
Comment 2 Daniel Resare 2002-06-18 15:01:44 UTC
Created attachment 2119 [details]
a short test-case of infinite page creation
Comment 3 Daniel Resare 2002-06-18 15:02:19 UTC
Created attachment 2120 [details]
a tall image
Comment 4 J.Pietschmann 2002-06-21 15:17:11 UTC
*** Bug 3475 has been marked as a duplicate of this bug. ***
Comment 5 J. Rhett Aultman 2002-11-30 20:44:11 UTC
The patch supplied to resolve bug 8778 resolves this bug as well, halting the 
infinite loop after a sufficiently large number of attempts at layout.
Comment 6 Glenn Adams 2012-04-01 07:13:48 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed