ICEpdf
  1. ICEpdf
  2. PDF-772

Investigate Deadlock conditions when ImageProxy is enabled.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 5.1.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      org.icepdf.core.imageProxy=true

      Description

      A client has reported deadlock state when doing image captures with the image proxy enabled. The capture is relatively straight forward only using a single thread for the pageCapture calls and the default image proxy of 4 threads.

      Hopefully after getting a full thread dump we can get a better ideas as the the conditions for this to occur.

        Activity

        Patrick Corless created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Support Case References Support Case #12876 - https://icesoft.my.salesforce.com/5007000000dAoFa
        Patrick Corless made changes -
        Fix Version/s 5.1 [ 10675 ]
        Patrick Corless made changes -
        Affects Version/s 5.2 [ 10970 ]
        Affects Version/s 5.0.6_P01 [ 11471 ]
        Patrick Corless made changes -
        Fix Version/s 5.2 [ 10970 ]
        Fix Version/s 5.1 [ 10675 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42607 Tue Sep 23 10:31:03 MDT 2014 patrick.corless PDF-772 notify all on after imageload and check for init on grabbing a parent pages fonts.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/ImageReference.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42615 Tue Sep 23 15:01:03 MDT 2014 patrick.corless PDF-772 removed page init wait.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Patrick Corless made changes -
        Fix Version/s 5.1.1 [ 11770 ]
        Fix Version/s 5.2 [ 10970 ]
        Hide
        Patrick Corless added a comment -

        While upgrading the content set for QA I came a cross a few files that where causing the ImageProxy to get in a wait state. As a result I update the ImageReference to notifyAll when an image future task finished. I also did some work around the inline imageCache.

        Show
        Patrick Corless added a comment - While upgrading the content set for QA I came a cross a few files that where causing the ImageProxy to get in a wait state. As a result I update the ImageReference to notifyAll when an image future task finished. I also did some work around the inline imageCache.
        Hide
        Patrick Corless added a comment -

        QA is running correctly with the new content set.

        Show
        Patrick Corless added a comment - QA is running correctly with the new content set.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43291 Thu Oct 30 13:35:17 MDT 2014 patrick.corless PDF-772 removal of disabling of font engine.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: