[ https://issues.apache.org/jira/browse/PDFBOX-4492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16799224#comment-16799224 ]
Tilman Hausherr commented on PDFBOX-4492: ----------------------------------------- Your PDF has a dash array that has a 0 item. This is poorly handled in jdk8 which is why PDFBox replaces it with a small number, currently {{0.062f}}. So I tried reverting the change from PDFBOX-3724 - the bug is there with jdk7 and 8; with jdk9 the line is invisible (also wrong), and from jdk10 on it is displayed properly. > JVM crashes on PDFRenderer.renderImage > -------------------------------------- > > Key: PDFBOX-4492 > URL: https://issues.apache.org/jira/browse/PDFBOX-4492 > Project: PDFBox > Issue Type: Bug > Components: Rendering > Affects Versions: 2.0.11, 2.0.14 > Environment: Oracle Java 8 update125, on both Mac OS X and centos. > Also Oracle jdk 1.8.0_202 on W10. > Reporter: Jack > Priority: Critical > Attachments: crash.uploaded.pdf > > > When running the following java program on the attached PDF: > {code} > File file = new File("/Users/yujiang/Downloads", "crash.uploaded.pdf"); > PDDocument document = PDDocument.load(file); > PDFRenderer renderer = new PDFRenderer(document); > BufferedImage bufferedImage = renderer.renderImage(0, 0.20F);{code} > JVM will crash without any log > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org