Bug 695246

Summary: unlodable jpg image - java.awt.color.CMMException: LCMS error 12288
Product: [Fedora] Fedora Reporter: jiri vanek <jvanek>
Component: java-1.6.0-openjdkAssignee: Pavel Tisnovsky <ptisnovs>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: 15CC: ahughes, dbhole, jvanek, langel, lkundrak, mjw, mmatejov, omajid
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 19:22:45 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:
Attachments:
Description Flags
reproducer class
none
reproducer resource none

Description jiri vanek 2011-04-11 07:39:20 UTC
Description of problem:
Exception in thread "main" java.awt.color.CMMException: LCMS error 12288
        at sun.java2d.cmm.lcms.LCMS.getProfileData(Native Method)
        at java.awt.color.ICC_Profile.getData(ICC_Profile.java:1310)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.setImageData(JPEGImageReader.java:652)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImageHeader(Native Method)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.readNativeHeader(JPEGImageReader.java:593)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.checkTablesOnly(JPEGImageReader.java:338)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.gotoImage(JPEGImageReader.java:470)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.readHeader(JPEGImageReader.java:586)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1004)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:984)
        at javax.imageio.ImageIO.read(ImageIO.java:1438)
        at javax.imageio.ImageIO.read(ImageIO.java:1342)
        at jvanekjpgreproducer.Main.run(Main.java:27)
        at jvanekjpgreproducer.Main.main(Main.java:23)
Java Result: 1

when invoked:
  BufferedImage im=ImageIO.read(this.getClass().getResourceAsStream("plan3v2.jpg"));

Version-Release number of selected component (if applicable):
fedora 13 java-1.6.0-openjdk icedtea 1.8.7 and 14, java-1.6.0-openjdk icedtea 1.10.0.

How reproducible:

always

Steps to Reproduce:
1. run attached clas against attached image
  
Actual results:
Exception in thread "main" java.awt.color.CMMException: LCMS error 12288
        at sun.java2d.cmm.lcms.LCMS.getProfileData(Native Method)
        at java.awt.color.ICC_Profile.getData(ICC_Profile.java:1310)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.setImageData(JPEGImageReader.java:652)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImageHeader(Native Method)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.readNativeHeader(JPEGImageReader.java:593)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.checkTablesOnly(JPEGImageReader.java:338)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.gotoImage(JPEGImageReader.java:470)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.readHeader(JPEGImageReader.java:586)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1004)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:984)
        at javax.imageio.ImageIO.read(ImageIO.java:1438)
        at javax.imageio.ImageIO.read(ImageIO.java:1342)
        at jvanekjpgreproducer.Main.run(Main.java:27)
        at jvanekjpgreproducer.Main.main(Main.java:23)
Java Result: 1

Expected results:
iamge loaded

Comment 1 jiri vanek 2011-04-11 07:41:36 UTC
Created attachment 491157 [details]
reproducer class

Comment 2 jiri vanek 2011-04-11 07:41:59 UTC
Created attachment 491158 [details]
reproducer resource

Comment 3 Fedora End Of Life 2012-08-07 19:22:47 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping