Radu Coravu created BATIK-1387:
----------------------------------

             Summary: Apache Batik hangs when rendering SVG
                 Key: BATIK-1387
                 URL: https://issues.apache.org/jira/browse/BATIK-1387
             Project: Batik
          Issue Type: Bug
            Reporter: Radu Coravu
         Attachments: Sample.svg

I'm attaching a sample SVG file sent by one of our end users.
When rendering the SVG Apache Batik seems to hang indefinitely.

The code where it stalls is:

{code}Stack trace: 
[email protected]/sun.awt.image.ImagingLib.transformRaster(Native Method)
[email protected]/sun.awt.image.ImagingLib.filter(ImagingLib.java:185)
[email protected]/java.awt.image.AffineTransformOp.filter(AffineTransformOp.java:359)
org.apache.batik.ext.awt.image.rendered.AffineRed.genRect(AffineRed.java:193)
org.apache.batik.ext.awt.image.rendered.AffineRed.copyData(AffineRed.java:109)
org.apache.batik.ext.awt.image.rendered.PadRed.copyData(PadRed.java:88)
org.apache.batik.ext.awt.image.rendered.ColorMatrixRed.copyData(ColorMatrixRed.java:116)
org.apache.batik.ext.awt.image.rendered.FormatRed.copyData(FormatRed.java:116)
org.apache.batik.ext.awt.image.rendered.AbstractRed.getData(AbstractRed.java:523)
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:264)
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:455)
org.apache.batik.ext.awt.image.renderable.PadRable8Bit.paintRable(PadRable8Bit.java:135)
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:440)
org.apache.batik.ext.awt.image.renderable.CompositeRable8Bit.paintRable(CompositeRable8Bit.java:119)
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:440)
org.apache.batik.ext.awt.image.renderable.PadRable8Bit.paintRable(PadRable8Bit.java:135)
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:440)
org.apache.batik.ext.awt.image.renderable.CompositeRable8Bit.paintRable(CompositeRable8Bit.java:119)
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:440)
org.apache.batik.ext.awt.image.renderable.PadRable8Bit.paintRable(PadRable8Bit.java:135)
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:440)
org.apache.batik.ext.awt.image.renderable.CompositeRable8Bit.paintRable(CompositeRable8Bit.java:119)
org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(GraphicsUtil.java:440)
org.apache.batik.ext.awt.image.renderable.PadRable8Bit.paintRable(PadRable8Bit.java:13{code}





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to