You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/02/04 16:11:37 UTC

[jira] [Commented] (PDFBOX-1019) PDF conversion to image crashes the JVM

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

ASF subversion and git services commented on PDFBOX-1019:
---------------------------------------------------------

Commit 1657272 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1657272 ]

PDFBOX-988, PDFBOX-1019, PDFBOX-2383: remove test with copyrighted document, fix typo in other test

> PDF conversion to image crashes the JVM
> ---------------------------------------
>
>                 Key: PDFBOX-1019
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1019
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.5.0
>         Environment: Linux Ubuntu, Mac OSX
>            Reporter: Petr Knoth
>            Assignee: Andreas Lehmkühler
>             Fix For: 2.0.0
>
>         Attachments: CMR10.font, CMR17.font, NewJFrame.java, thumb.png
>
>
> The file http://tie.open.ac.uk/256.pdf crashes the JVM during conversion to jpeg with the following message :
> Assertion failed: (fnum >= 0 && fnum < t->numSubrs), function BuildSubrs, file ../../../src/share/native/sun/font/t2k/t1.c, line 3098.
> Java Result: 134
> The error happens in the method convertToImage():
>            PDPage page = (PDPage) pages.get(startPage);
>            PDPage page = (PDPage) pages.get(0);
>            try {                
>                 image = page.convertToImage();
>              } catch (IOException ex) {
>                 Logger.getLogger(PdfIText.class.getName()).log(Level.SEVERE, null, ex);                
>             }
> The problem occurs not for all files, but is critical as it stops my webserver (Tomcat) that needs to be then restarted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org