ICEpdf
  1. ICEpdf
  2. PDF-1203

State issue when retrieving a compressed stream entry recursively

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.5
    • Fix Version/s: 6.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The bug is related to a support case where some page content was not being displayed. After closer inspection the problem appeared to be regression introduced in 6.1.3. After quite a bit of debuging the regression was located and was do to the double entry into getting two object from the same compressed entry. When the font classes encoding property is retrieved it offset the object pointer and subsequent lookups return the wrong object.

      Further investigation is needed to figure out why this error is occurring.

        Activity

        Hide
        Patrick Corless added a comment -

        I've had a chance to revisit this issue with regards to getting more then one object at a time from an object stream. I've added a restore cursor which seems to be a better solution and will pick up other potential issue. I've also move the stream lock out a bit so the sub object values are less likely to be affected by multiple thread access.

        Show
        Patrick Corless added a comment - I've had a chance to revisit this issue with regards to getting more then one object at a time from an object stream. I've added a restore cursor which seems to be a better solution and will pick up other potential issue. I've also move the stream lock out a bit so the sub object values are less likely to be affected by multiple thread access.
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: