You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/09/14 15:45:57 UTC

[jira] Commented: (PDFBOX-488) Invalid memory access of location 00000000 eip=968f5aa7 (MAC OS X)

    [ https://issues.apache.org/jira/browse/PDFBOX-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754980#action_12754980 ] 

Jukka Zitting commented on PDFBOX-488:
--------------------------------------

Here's the related JVM crash we're seeing at work:

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.font.AppleNativeFont.createNativeFont(Ljava/lang/String;IZ)J+0
j  sun.font.AppleNativeFont.getNativeFontPtr()J+31
j  sun.font.AppleNativeStrike.getNativeStrikePtr()J+121
j  apple.awt.CTextPipe.getNativeStrikePtr(Lsun/java2d/SunGraphics2D;)J+21
j  apple.awt.CTextPipe.drawString(Lsun/java2d/SunGraphics2D;Ljava/lang/String;DD)V+51
j  sun.java2d.pipe.ValidatePipe.drawString(Lsun/java2d/SunGraphics2D;Ljava/lang/String;DD)V+17
j  sun.java2d.SunGraphics2D.drawString(Ljava/lang/String;FF)V+25
j  org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.drawString(Ljava/lang/String;Ljava/awt/Graphics;FLjava/awt/geom/AffineTransform;FF)V+282
j  org.apache.pdfbox.pdfviewer.PageDrawer.processTextPosition(Lorg/apache/pdfbox/util/TextPosition;)V+236
j  org.apache.pdfbox.util.PDFStreamEngine.processEncodedText([B)V+740
j  org.apache.pdfbox.util.operator.ShowText.process(Lorg/apache/pdfbox/util/PDFOperator;Ljava/util/List;)V+19
j  org.apache.pdfbox.util.PDFStreamEngine.processOperator(Lorg/apache/pdfbox/util/PDFOperator;Ljava/util/List;)V+29
j  org.apache.pdfbox.util.PDFStreamEngine.processSubStream(Lorg/apache/pdfbox/pdmodel/PDPage;Lorg/apache/pdfbox/pdmodel/PDResources;Lorg/apache/pdfbox/cos/COSStream;)V+171
j  org.apache.pdfbox.util.operator.pagedrawer.Invoke.process(Lorg/apache/pdfbox/util/PDFOperator;Ljava/util/List;)V+419
j  org.apache.pdfbox.util.PDFStreamEngine.processOperator(Lorg/apache/pdfbox/util/PDFOperator;Ljava/util/List;)V+29
j  org.apache.pdfbox.util.PDFStreamEngine.processSubStream(Lorg/apache/pdfbox/pdmodel/PDPage;Lorg/apache/pdfbox/pdmodel/PDResources;Lorg/apache/pdfbox/cos/COSStream;)V+171
j  org.apache.pdfbox.util.PDFStreamEngine.processStream(Lorg/apache/pdfbox/pdmodel/PDPage;Lorg/apache/pdfbox/pdmodel/PDResources;Lorg/apache/pdfbox/cos/COSStream;)V+39
j  org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(Ljava/awt/Graphics;Lorg/apache/pdfbox/pdmodel/PDPage;Ljava/awt/Dimension;)V+57
j  org.apache.pdfbox.pdmodel.PDPage.convertToImage()Ljava/awt/image/BufferedImage;+107


> Invalid memory access of location 00000000 eip=968f5aa7  (MAC OS X)
> -------------------------------------------------------------------
>
>                 Key: PDFBOX-488
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-488
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 0.8.0-incubator
>         Environment: MAC OS X 10.5, Java 5, Java 6
>            Reporter: Marco Siefert
>            Priority: Critical
>         Attachments: PDFBox.log, test.pdf
>
>
> Hi,
> when I open the document test.pdf (attached to this issue) the application crashes and throws errors. 
> In the Debugger I can see the following message at the end:
> Invalid memory access of location 00000000 eip=968f5aa7
> In the logfile there are some errors like:
> 22.06.2009 16:17:26 org.apache.pdfbox.util.operator.SetNonStrokingColor process
> WARNUNG: Not supported colorspace Pattern within operator scn
> 22.06.2009 16:17:26 org.apache.pdfbox.pdmodel.graphics.color.PDColorSpaceInstance createColor
> SCHWERWIEGEND: java.io.IOException: Not implemented
> or
> 22.06.2009 16:17:26 org.apache.pdfbox.util.operator.pagedrawer.FillNonZeroRule process
> WARNUNG: Not implemented
> I get the error with Java 5 and 6.
> On a Windows machine the error doesn't occur.
> Other PDFs are working expect the one that I mentioned in issue PDFBox-484 where I have some display problems.
> Does someone know a workaround for this "Invalid memory access" error?
> Regards
> Marco

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.