Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4492

JVM crashes on PDFRenderer.renderImage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.11, 2.0.14
    • 2.0.15, 3.0.0 PDFBox
    • Rendering
    • Oracle Java 8 update125, on both Mac OS X and centos.
      Also Oracle jdk 1.8.0_202 on W10.
    • Important

    Description

      When running the following java program on the attached PDF:

       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);

      JVM will crash without any log

       

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            jiangyurong609 Jack
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: