[ https://issues.apache.org/jira/browse/PDFBOX-4492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16799266#comment-16799266 ]
Tilman Hausherr commented on PDFBOX-4492: ----------------------------------------- I assume this means you want to keep jdk8. I need to think a bit about this... I got your file to work at 11dpi by using a minimum dash value of {{0.2f}} instead of {{0.02f}}. However this also changes valid files when rendered at normal resolution where details are more important (I assume you're doing thumbnails, so small different are not important). I think that this value should be depending on the current dpi, i.e. be that large only for these and not on normal resolutions. And then retry with all the previous jvm crash inducing files. > 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