Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2675

SVG in PDF prevents program from terminating

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0, 2.1
    • None
    • image/svg, renderer/pdf
    • None
    • Windows 7/Java 7+8

    Description

      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.

      Attachments

        1. input.fo
          3 kB
          Alexander
        2. Main.java
          2 kB
          Alexander
        3. fop.xconf
          0.4 kB
          Alexander
        4. jstack.txt
          5 kB
          Alexander

        Activity

          People

            Unassigned Unassigned
            mhinkie Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: