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

Hermann Schwärzler commented on PDFBOX-1019:
--------------------------------------------

Some more results of my investigations:
* The error is reproducable on the commanline by downloading 
pdfbox-app-1.5.0.jar and the pdf of Petr and running "java -jar 
pdfbox-app-1.5.0.jar PDFToImage 256.pdf"
* The error occurs with jdk1.5.0_11, jdk1.6.0_21 and jdk1.6.0_24 BUT DOES NOT 
OCCUR WITH OpenJDK (IcedTea6 1.8.7)!

So it seems to be a Sun JAVA problem?

> 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
>            Priority: Blocker
>
> 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to