DO NOT REPLY [Bug 48063] New: fop hangs, 100% cpu usage while rendering pdf

View: New views
11 Messages — Rating Filter:   Alert me  

DO NOT REPLY [Bug 48063] New: fop hangs, 100% cpu usage while rendering pdf

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=48063

           Summary: fop hangs, 100% cpu usage while rendering pdf
           Product: Fop
           Version: 0.95
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: page-master/layout
        AssignedTo: fop-dev@...
        ReportedBy: karel.vervaeke@...


Created an attachment (id=24421)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24421)
stackdump

executing fop from command line:

fop success.xml -pdf success.pdf
fop fail.xml -pdf fail.pdf

success.xml and fail.xml are similar, but rendering the latter seems to hang
fop.

I have not debugged it, but see attached stack dump.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48063] fop hangs, 100% cpu usage while rendering pdf

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=48063

--- Comment #1 from Karel Vervaeke <karel.vervaeke@...> 2009-10-27 05:47:07 UTC ---
Created an attachment (id=24422)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24422)
successful testcase

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48063] fop hangs, 100% cpu usage while rendering pdf

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=48063

--- Comment #2 from Karel Vervaeke <karel.vervaeke@...> 2009-10-27 05:47:39 UTC ---
Created an attachment (id=24423)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24423)
failing testcase

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48063] fop hangs, 100% cpu usage while rendering pdf

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=48063

--- Comment #3 from Karel Vervaeke <karel.vervaeke@...> 2009-10-27 05:49:18 UTC ---
Jira wouldn't let met attach the testcases using mimetype text/xml or
application.xml

My java version, in case it matters: Java(TM) SE Runtime Environment (build
1.6.0_16-b01)

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48063] fop hangs, 100% cpu usage while rendering pdf

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=48063

--- Comment #4 from Karel Vervaeke <karel.vervaeke@...> 2009-10-27 06:00:20 UTC ---
The problem also occurs when requesting postscript output, but it does not
occur when requesting png output.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48063] fop hangs, 100% cpu usage while rendering pdf

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=48063

--- Comment #5 from Venkat Reddy <vanukuri.venkat@...> 2009-10-27 10:15:51 UTC ---
Yes, the fail.xml testcase is not working as stated.

I tried to find the differences between success.xml and fail.xml, found only
few differences....

I have tried merging the differences one by one and came to the conclusion that
that the last difference (few blocks missing in fail.xml) is causing the
problem (still don't know technically what is causing that problem).

When I copied those blocks missing in fail.xml, it is back to working state
now... I will try to find out the exact problem...

meanwhile for your information, with that change, I am attaching the fail.xml
testcase, which is working alright for me...

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48063] fop hangs, 100% cpu usage while rendering pdf

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=48063

--- Comment #6 from Venkat Reddy <vanukuri.venkat@...> 2009-10-27 10:19:52 UTC ---
Created an attachment (id=24428)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24428)
failure testcase with a simple change working

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48063] fop hangs, 100% cpu usage while rendering pdf

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=48063

Karel Vervaeke <karel.vervaeke@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bruno@...

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48063] fop hangs, 100% cpu usage while rendering pdf

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=48063

--- Comment #7 from Karel Vervaeke <karel.vervaeke@...> 2009-10-28 01:17:44 UTC ---
Many small changes seem to fix the problem, such as adding an empty <fo:block/>
right before the last </fo:flow>.

Removing or adding a single word to an existing <fo:block> does not 'fix' the
problem, unless the change causes the block to change the number of lines of
text.

For example, the phrase ending with 'configurable of course' takes just under
one line of text.  When we add a word to this phrase so it takes two lines, the
problem disappears.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48063] fop hangs, 100% cpu usage while rendering pdf

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=48063

Vincent Hennebert <vhennebert@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |47424

--- Comment #8 from Vincent Hennebert <vhennebert@...> 2009-10-29 04:20:04 UTC ---
This is most probably a manifestation of bug #47424. After commenting out all
of the footnotes in the document the processing of the file runs to completion.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 48063] fop hangs, 100% cpu usage while rendering pdf

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=48063

Vincent Hennebert <vhennebert@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|47424                       |

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.