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

Recursion is too deep

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.21
    • Fix Version/s: None
    • Component/s: Rendering
    • Labels:
      None

      Description

      OS: Windows 10 x86_64

      Java: 1.8.0u271 x86_64

      The attached A4 PDF is created with TCPDF 6.2.26.

      • At 600dpi, the attached PDF prints over > 4GB (-Xmx4096m) heap and crashes the JVM.
      • At 300dpi, the attached PDF prints under 2GB (-Xmx2048m) heap but shows the following warning(s).

      Google Chrome and Adobe can print this PDF without issue.  The crash only occurs using PDFBOX.

      • Calling "PDFDebugger" does NOT crash the JVM.
      • Calling "PrintPDF" DOES crash the JVM.

      For reference, the public mailing list where this was reported: https://groups.google.com/g/qz-print/c/REV9fP3rqeM/m/OW1Gf2QZBQAJ

       

      Nov 19, 2020 10:53:46 PM org.apache.pdfbox.contentstream.operator.graphics.DrawObject process
      SCHWERWIEGEND: recursion is too deep, skipping form XObject
      Nov 19, 2020 10:53:46 PM org.apache.pdfbox.contentstream.operator.graphics.DrawObject process
      SCHWERWIEGEND: recursion is too deep, skipping form XObject
      Nov 19, 2020 10:53:47 PM org.apache.pdfbox.contentstream.operator.graphics.DrawObject process
      SCHWERWIEGEND: recursion is too deep, skipping form XObject

       

        Attachments

        1. crash_pdf.pdf
          167 kB
          Tres Finocchiaro

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tresf Tres Finocchiaro
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: