You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "simon steiner (JIRA)" <ji...@apache.org> on 2017/01/05 15:42:58 UTC

[jira] [Commented] (FOP-2675) SVG in PDF prevents program from terminating

    [ https://issues.apache.org/jira/browse/FOP-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15801678#comment-15801678 ] 

simon steiner commented on FOP-2675:
------------------------------------

works for me using
 java -cp fop/build/fop.jar:fop/lib/*:. Main

> 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)