Bug 662230
Summary: | ArrayIndexOutOfBoundsException | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Denis Lila <dlila> |
Component: | java-1.6.0-openjdk | Assignee: | Denis Lila <dlila> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 13 | CC: | ahughes, dbhole, don-redhat-z6y, jvanek, langel, lkundrak, mjw, mmatejov, omajid |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-03 17:37:13 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Denis Lila
2010-12-10 22:50:11 UTC
This is what I've found so far: The bug happens because of indexed images are used, and has nothing to do with the png encoders. What's happening is that, when the plugin tries to draw some shapes to a buffered image that uses an indexed color model. After some operations, one of the entries in image.raster.data becomes -1, which is not a valid value because the particular color model used supports indeces up to 27 only. This does not cause an error as soon as it happens, but does so only when in encodePass, where the colour index is used as an index into an array of length 28 and the exception is thrown. So, the bug is in one of the rendering loops, not in the png encoders. Unfortunately, the problematic loop (MaskFill) is a native loop, which does not make debugging easy. Bug should not be closed until the RPM is available in rawhide. Fixed in head and 1.10 by this changeset: http://icedtea.classpath.org/hg/release/icedtea6-1.10/rev/ae5814009b4e |