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