Alexander created FOP-2675:
------------------------------

             Summary: SVG in PDF prevents program from terminating
                 Key: FOP-2675
                 URL: https://issues.apache.org/jira/browse/FOP-2675
             Project: FOP
          Issue Type: Bug
          Components: image/svg, renderer/pdf
    Affects Versions: 2.1, 2.0
         Environment: Windows 7/Java 7+8
            Reporter: Alexander
         Attachments: Main.java, fop.xconf, input.fo, jstack.txt

When using a instream-foreign-object to render a svg-text, fop renders the pdf 
correctly, but the program will not terminate after that.
Using jstack I found 2 Threads with generic names (Thread 1 and Thread 3), 
which are still not finished, which causes the program to continue running.

If I comment-out the svg-part of my input-file the program exits normally, 
which is why I believe the svg is the cause.

I could recreate the issue with FOP 2.0 and 2.1 using Java 7 and Java 8.

The issue sounds familiar to the point mentioned at
https://xmlgraphics.apache.org/fop/faq.html#svghangs
but since im using JDK 1.8 this should not be the problem here.

I have attached the input-file, my program which uses fop embedded, the 
fop.xconf as well as the jstack output.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to