Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3.1
    • Component/s: Core/Parsing, Font Engine
    • Labels:
      None
    • Environment:
      Pro

      Description

      For some time now we've seen from time to time a stack exception when when doing a CMap initialization. Duplicating this is pretty difficult as it would appear to be a concurrency issue. A closer look a the CMap.getInnstance() call seems to indicate that there could be some concurrency issues.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.3.1 [ 13113 ]
        Hide
        Patrick Corless added a comment -

        The root of the problem is in the ImageStream getImage() call is putting the decoded image in the image pool. When the blurredImageReference or other types runs if first checks to see if the image is already in the pool before applying the scale. The overlap doesn't happen every time, likely the future call is slow to start or some other timing issue.

        I've make sure that the imagepool is only mutable from the CachedImageReference which makes more sense in the bigger picture.

        Show
        Patrick Corless added a comment - The root of the problem is in the ImageStream getImage() call is putting the decoded image in the image pool. When the blurredImageReference or other types runs if first checks to see if the image is already in the pool before applying the scale. The overlap doesn't happen every time, likely the future call is slow to start or some other timing issue. I've make sure that the imagepool is only mutable from the CachedImageReference which makes more sense in the bigger picture.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52348 Tue Mar 13 12:37:09 MDT 2018 patrick.corless PDF-1243 removal of image insertion into image pool. Images are inserted
        later in the pipeline via the CachedImageReference class.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/pobjects/graphics/images/ImageStream.java
        Hide
        Patrick Corless added a comment -

        Making as fixed.

        Show
        Patrick Corless added a comment - Making as fixed.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: