|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
fop trunk hangsHi
Downloaded SVN trunk today. Compiled fine. I use gentoo and do have fop installed. I was able to create a few test pdfs but when I tried to create the final version of my pdf it hanged. I enabled debug logging with log4j and saw a StackOverFlow error. That is when I started using the trunk version. No more StackOverFlow errors but the pdf creation process hangs before completion. CPU usage 100%. I tried the -fo -pdf AND the -xsl -xml -pdf route for fop from commandline and an ant script. No luck. I added debugging statements with XSLT function extension when using the -xsl -xml -pdf route. I have chapters and paragraphs in them. I print the number of paragraphs when I enter a chapter and count them down as they are processed. It get to the last paragraph then hangs. If I alter my source xml to include more than the one test chapter it hangs at the last paragraph without going on to the next chapter. |
|
|
Re: fop trunk hangsOn Tue, Jun 23, 2009 at 09:23, Johan
Pretorius<johanpretorius@...> wrote: ... > No more StackOverFlow errors but the pdf creation process hangs before > completion. CPU usage 100%. Is it possible you are out of RAM? fop takes a large amount of heap space I've found (I had to set my java to use a max of 256 Mb to get through a pdf creation). Regards, -Tom --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: fop trunk hangsOn 23 Jun 2009, at 16:23, Johan Pretorius wrote:
Hi > Downloaded SVN trunk today. > Compiled fine. > > I use gentoo and do have fop installed. > I was able to create a few test pdfs but when I tried to create the > final > version of my pdf it hanged. > I enabled debug logging with log4j and saw a StackOverFlow error. > That is when I started using the trunk version. > > No more StackOverFlow errors but the pdf creation process hangs before > completion. CPU usage 100%. Which Java (version+vendor) are you using? Did you try a different one? Can you post the FO file in question, so we can check this on our end? Thanks in advance, Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: fop trunk hangsHi
I did increase my heapspace to a 512mb like so in the fop bash file: fop_exec_command="exec \"$JAVACMD\" -Xmx512m $LOGCHOICE $LOGLEVEL -classpath \"$LOCALCLASSPATH\" $FOP_OPTS org.apache.fop.cli.Main $fop_exec_args" Secondly: java version "1.6.0_13" Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode) Thirdly attached is my fo file.fo-da.fo Dankie
|
|
|
Re: fop trunk hangsOn 24 Jun 2009, at 13:11, Johan Pretorius wrote:
Hi > I did increase my heapspace to a 512mb like so in the fop bash file: > fop_exec_command="exec \"$JAVACMD\" -Xmx512m $LOGCHOICE $LOGLEVEL - > classpath > \"$LOCALCLASSPATH\" $FOP_OPTS org.apache.fop.cli.Main $fop_exec_args" > > Secondly: > java version "1.6.0_13" > Java(TM) SE Runtime Environment (build 1.6.0_13-b03) > Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode) Which vendor? Is it a Sun VM? I tried your FO file on Apple Java 1.5 and 1.6, and encountered no problem whatsoever. It races through, and produces a neat 40-page document... Regards Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: fop trunk hangsHi Johan,
Johan Pretorius wrote: > Hi > > I did increase my heapspace to a 512mb like so in the fop bash file: > fop_exec_command="exec \"$JAVACMD\" -Xmx512m $LOGCHOICE $LOGLEVEL -classpath > \"$LOCALCLASSPATH\" $FOP_OPTS org.apache.fop.cli.Main $fop_exec_args" > > Secondly: > java version "1.6.0_13" > Java(TM) SE Runtime Environment (build 1.6.0_13-b03) > Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode) > > Thirdly attached is my fo file. > http://www.nabble.com/file/p24182803/fo-da.fo fo-da.fo There’s a bug in the handling of footnotes that triggers an infinite loop in some conditions, which your FO file appears to meet. Can you please create a bug report on Bugzilla, attaching the FO file? This will help us keep track of the issue. https://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop <snip/> Thanks, Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
|
|
Re: fop trunk hangsOn 25 Jun 2009, at 12:18, Vincent Hennebert wrote:
>> >> Thirdly attached is my fo file. >> http://www.nabble.com/file/p24182803/fo-da.fo fo-da.fo > > There’s a bug in the handling of footnotes that triggers an infinite > loop in some conditions, which your FO file appears to meet. Confirmed. Seems I tried my local sandbox yesterday, where the issue appears to be fixed. Trying again with a fresh checkout indeed exhibits the described behavior... Regards Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscribe@... For additional commands, e-mail: fop-users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |