ICEpdf
  1. ICEpdf
  2. PDF-144

JDK 1.5 Image IO crashes JVM when painting dashed lines at smalll scales.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 4.0 - Beta
    • Fix Version/s: 6.1.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      JDK 1.5

      Description

      Every once in a while one comes across an interesting bug like this one. After a little digging around and testing I think found the issue.

      It looks like there is a bug in the JVM when painting at small scales using a dashed stroke. Actually I suspect it more of an issue with ImageIO as it paints fine on the screen. There are some dashes in the left running shoe that are causing the problem.

      The problem doesn't show up on JDK 1.6_13. Turns out if you set the system property -Dorg.icepdf.core.screen.stroke=VALUE_STROKE_PURE you can get around this JVM bug or at least as far as my testing shows.

        Issue Links

          Activity

          Patrick Corless created issue -
          Hide
          Patrick Corless added a comment -

          Closing, not much we can do here, known JVM issue.

          Show
          Patrick Corless added a comment - Closing, not much we can do here, known JVM issue.
          Patrick Corless made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]
          Patrick Corless made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hide
          Patrick Corless added a comment -

          Found potential work around.

          Show
          Patrick Corless added a comment - Found potential work around.
          Patrick Corless made changes -
          Resolution Won't Fix [ 2 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Patrick Corless made changes -
          Fix Version/s 6.1.1 [ 12975 ]
          Patrick Corless made changes -
          Link This issue is duplicated by PDF-966 [ PDF-966 ]
          Hide
          Patrick Corless added a comment -

          Marking as fixed.

          Show
          Patrick Corless added a comment - Marking as fixed.
          Patrick Corless made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Patrick Corless made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: