ICEpdf
  1. ICEpdf
  2. PDF-1075

Broken PDF files leave file handles open even after being closed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1.3
    • Fix Version/s: 6.2
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      All

      Description

      A customer has found the following issue:

      "when handling files that include broken jbig2 images, it is possible that file handles stay open, even if the document itself was closed properly. This only happens when oth the pro- and the levigo-imageio-jar are present on the classpath. It leads to severe problems when processing PDF files automatically, as the number of handles the JVM can hold of course is limited."

        Activity

        Arran Mccullough created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.2 [ 13090 ]
        Hide
        Patrick Corless added a comment -

        Fixes have been applied to trunk and branch.

        Show
        Patrick Corless added a comment - Fixes have been applied to trunk and branch.
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49972 Tue Jan 10 14:36:27 MST 2017 patrick.corless PDF-1075 added try/finally catch to insure image input stream is closed correctly.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.1.1/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49973 Tue Jan 10 14:36:45 MST 2017 patrick.corless PDF-1075 added try/finally catch to insure image input stream is closed correctly.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49974 Tue Jan 10 14:36:59 MST 2017 patrick.corless PDF-1075 added try/finally catch to insure image input stream is closed correctly.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49978 Tue Jan 10 14:53:00 MST 2017 patrick.corless PDF-1075 added try/finally catch to insure image input stream is closed correctly.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.1.1/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #50172 Thu Jan 19 10:00:32 MST 2017 patrick.corless PDF-1075 added try/finally catch to insure image input stream is closed correctly.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Document.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #50173 Thu Jan 19 10:01:19 MST 2017 patrick.corless PDF-1075 added try/finally catch to insure image input stream is closed correctly.
        Files Changed
        Commit graph MODIFY /icepdf/tags/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/Document.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #50313 Fri Jan 20 10:12:53 MST 2017 patrick.corless PDF-1075 added try/finally catch to insure image input stream is closed correctly.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/GraphicsState.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: