ICEpdf
  1. ICEpdf
  2. PDF-975

JRE Crash on running PDF file with Page Capture sample

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 6.1
    • Fix Version/s: 6.1.1
    • Component/s: Core/Rendering, Examples
    • Labels:
      None
    • Environment:
      All

      Description

      With the provided PDF file, if it is run through the PageCapture.java sample, it crashes the JRE:
      An unrecoverable stack overflow has occurred.
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x5737863a, pid=8144, tid=3104
      #
      # JRE version: Java(TM) SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01)
      # Java VM: Java HotSpot(TM) Client VM (24.65-b04 mixed mode windows-x86 )
      # Problematic frame:
      # C [dcpr.dll+0x863a]
      #
      # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
      #
      # An error report file with more information is saved as:
      # C:\ICEpdf\ICEpdf-pro-6.1.0-src\ICEpdf-Pro-6.1.0\hs_err_pid8144.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #
      Java Result: 255

      The same PDF file renders fine using the Viewer code. It seems to be crashing on the following code:
                  page.paint(g, GraphicsRenderingHints.PRINT,
                          Page.BOUNDARY_CROPBOX, rotation, scale);

        Issue Links

          Activity

          Hide
          Arran Mccullough added a comment -

          For the customer it crashes with the following code: "Document.getPageImage(0, GraphicsRenderingHints.PRINT, Page.BOUNDARY_CROPBOX, 0.0, 1.0)"

          Show
          Arran Mccullough added a comment - For the customer it crashes with the following code: "Document.getPageImage(0, GraphicsRenderingHints.PRINT, Page.BOUNDARY_CROPBOX, 0.0, 1.0)"
          Hide
          Patrick Corless added a comment -

          Marking as fixed.

          Show
          Patrick Corless added a comment - Marking as fixed.

            People

            • Assignee:
              Patrick Corless
              Reporter:
              Arran Mccullough
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: