-
Bug
-
Resolution: Fixed
-
P2
-
1.3.1, 1.4.1, 1.4.2_01, 6
-
b51
-
generic, x86, sparc
-
generic, linux_redhat_3.0, solaris_8
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2129117 | 5.0u7 | Sean Coffey | P2 | Resolved | Fixed | b01 |
JDK-2128908 | 1.4.2_10 | Sean Coffey | P2 | Resolved | Fixed | b02 |
There seem thread unsafe API in java2d tech. area.
REPRODUCE :
1) Compile the attached test case(multi.java)
2) Launch "java multi" in HT machine or SMP machine.
(Please try to launch several times. )
You will see the following messages.
[guest@kronos not-thread-safe-java2d]$ java -showversion multi
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b28)
Java HotSpot(TM) Server VM (build 1.6.0-ea-b28, mixed mode)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at java.awt.color.ICC_ColorSpace.toRGB(ICC_ColorSpace.java:144)
at java.awt.image.DirectColorModel.getDefaultRGBComponents(DirectColorModel.java:300)
at java.awt.image.DirectColorModel.getRed(DirectColorModel.java:357)
at multi.run(multi.java:25)
This issue occurs easily on HT or SMP machine.
CONFIGURATION :
[guest@kronos not-thread-safe-java2d]$ uname -a
Linux kronos 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux
OS : RHEL AS 3.0
MPU : xeon 2.0[GHz] *2 (Hyper threading)
MEM : 2GB
###@###.### 2005-03-24 01:18:36 GMT
===========================================================================================--
Customer has sent another test case.
The following is the message in 1.4.2_08 when the new test case, J100129_01_1.java.
[guest@kronos test3]$ java J100129_01_1
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
REPRODUCE :
1) Compile the attached test case(multi.java)
2) Launch "java multi" in HT machine or SMP machine.
(Please try to launch several times. )
You will see the following messages.
[guest@kronos not-thread-safe-java2d]$ java -showversion multi
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b28)
Java HotSpot(TM) Server VM (build 1.6.0-ea-b28, mixed mode)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at java.awt.color.ICC_ColorSpace.toRGB(ICC_ColorSpace.java:144)
at java.awt.image.DirectColorModel.getDefaultRGBComponents(DirectColorModel.java:300)
at java.awt.image.DirectColorModel.getRed(DirectColorModel.java:357)
at multi.run(multi.java:25)
This issue occurs easily on HT or SMP machine.
CONFIGURATION :
[guest@kronos not-thread-safe-java2d]$ uname -a
Linux kronos 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux
OS : RHEL AS 3.0
MPU : xeon 2.0[GHz] *2 (Hyper threading)
MEM : 2GB
###@###.### 2005-03-24 01:18:36 GMT
===========================================================================================--
Customer has sent another test case.
The following is the message in 1.4.2_08 when the new test case, J100129_01_1.java.
[guest@kronos test3]$ java J100129_01_1
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
java.awt.color.CMMException: Invalid profile data
at sun.awt.color.CMM.checkStatus(CMM.java:127)
at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
at J100129_01_1.run(J100129_01_1.java:35)
- backported by
-
JDK-2128908 Color Management code is not thread safe in HT/SMP machine
- Resolved
-
JDK-2129117 Color Management code is not thread safe in HT/SMP machine
- Resolved
- duplicates
-
JDK-4962393 java.awt.color.CMMException: Invalid profile data
- Closed
-
JDK-4863795 Intermittent Invalid Profile Data exception ColorSpace.GetInstance
- Closed
- relates to
-
JDK-6326153 JCK14a api.java_awt.Color.ICC* tests throw exception for j2sdk1.4.2_10 build02
- Closed