[ https://issues.apache.org/jira/browse/FOP-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15804870#comment-15804870 ]
Alexander commented on FOP-2675: -------------------------------- I just tried it on a linux-machine with JDK 1.8.0_101-b13. It worked there. My problem might be that I dont have the newest jdk-version on the Windows-System (it's still 1.8.0_73-b02). I will report back. > 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.0, 2.1 > 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)