← Back to team overview

openjdk team mailing list archive

[Bug 913434] Re: ImageIO crashes (core dumped) while reading many image files

 

Launchpad has imported 31 comments from the remote bug at
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3020.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2016-06-15T02:10:58+00:00 Andrew John Hughes wrote:

I was able to reproduce the issue in bug 1896 on Ubuntu's IcedTea 2.6.6 running:
- the integrated lcms library (disable-system-lcms)
- lcms 2.5 and 2.6 system library (enable-system-lcms)

For some reason that I haven't been able to track down yet it does
depend on the JPEG file under test - a initial sample I grabbed from the
internet ran just fine, only when I tested it against bunch grabbed from
`locate .jpg` was I able to reproduce it.

I haven't tested it against 3.x, but OpenJDK 8u91 runs just fine when
using the same lcms 2.6 so I would expect similar results.

Let me know if hs_err and/or core files would be of any help, as well as
running it against an upstream IcedTea build (Ubuntu does not patch
anything related to lcms).

Started a few testes after an Ubuntu user reported running into this
issue (https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/48

------------------------------------------------------------------------
On 2016-06-15T02:32:47+00:00 Andrew John Hughes wrote:

Crash from Tiago's reproducer looks like this:

Stack: [0x00007f69b2aeb000,0x00007f69b2bec000],  sp=0x00007f69b2be9a80,  free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libjavalcms.so+0x14d11]
j  sun.java2d.cmm.lcms.LCMS.createNativeTransform([JIIILjava/lang/Object;)J+0
j  sun.java2d.cmm.lcms.LCMSTransform.doTransform(Lsun/java2d/cmm/lcms/LCMSImageLayout;Lsun/java2d/cmm/lcms/LCMSImageLayout;)V+\
88
j  sun.java2d.cmm.lcms.LCMSTransform.colorConvert([S[S)[S+92
j  java.awt.color.ICC_ColorSpace.fromRGB([F)[F+119
j  com.sun.imageio.plugins.jpeg.JPEGImageReader.setImageData(IIIII[B)V+158
v  ~StubRoutines::call_stub

or

Stack: [0x00007f22a0c2e000,0x00007f22a0d2f000],  sp=0x00007f22a0d2bb10,  free space=1014k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libjavalcms.so+0x1524c]
C  [libjavalcms.so+0x1564a]
C  [libjavalcms.so+0x38062]  Java_sun_java2d_cmm_lcms_LCMS_getTagData+0x112
j  sun.java2d.cmm.lcms.LCMS.getTagData(JI[B)V+0
j  java.awt.color.ICC_Profile.getData(JI)[B+26
j  java.awt.color.ICC_Profile.getData(I)[B+14
j  java.awt.color.ICC_Profile.getNumComponents()I+18
j  sun.java2d.cmm.lcms.LCMSTransform.<init>(Ljava/awt/color/ICC_Profile;II)V+83
j  sun.java2d.cmm.lcms.LCMS.createTransform(Ljava/awt/color/ICC_Profile;II)Lsun/java2d/cmm/ColorTransform;+7
j  java.awt.color.ICC_ColorSpace.fromRGB([F)[F+37
j  com.sun.imageio.plugins.jpeg.JPEGImageReader.setImageData(IIIII[B)V+158
v  ~StubRoutines::call_stub

https://bugs.openjdk.java.net/browse/JDK-8026780 looks like it might be
relevant, so will backport.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/50

------------------------------------------------------------------------
On 2016-07-06T20:57:57+00:00 Jamie-maher+bugz wrote:

With libcms2-2 version 2.7-1ubuntu1 pinned from Ubuntu yakkety (running
on Trusty 14.04 LTS):

Can produce crash reading jpgs in multiple threads fairly consistently.
(once out of 14 runs of simplified java test class on directory of 31 jpgs).

Running on java package openjdk-7-jre-headless
7u101-2.6.6-0ubuntu0.14.04.1

 JRE version: OpenJDK Runtime Environment (7.0_101) (build 1.7.0_101-b00)
# Java VM: OpenJDK 64-Bit Server VM (24.95-b01 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.6.6
# Distribution: Ubuntu 14.04 LTS, package 7u101-2.6.6-0ubuntu0.14.04.1
# Problematic frame:
# C  [liblcms2.so.2+0x14940]  cmsGetColorSpace+0x0


Stack: [0x00007f7227bfc000,0x00007f7227cfd000],  sp=0x00007f7227cfaac8,  free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [liblcms2.so.2+0x14940]  cmsGetColorSpace+0x0
j  sun.java2d.cmm.lcms.LCMS.createNativeTransform([JIIILjava/lang/Object;)J+0
j  sun.java2d.cmm.lcms.LCMSTransform.doTransform(Lsun/java2d/cmm/lcms/LCMSImageLayout;Lsun/java2d/cmm/lcms/LCMSImageLayout;)V+88
j  sun.java2d.cmm.lcms.LCMSTransform.colorConvert([S[S)[S+92
j  java.awt.color.ICC_ColorSpace.fromRGB([F)[F+119
j  com.sun.imageio.plugins.jpeg.JPEGImageReader.setImageData(IIIII[B)V+158
v  ~StubRoutines::call_stub
V  [libjvm.so+0x5ef089]
V  [libjvm.so+0x5eeb28]
V  [libjvm.so+0x5feb5f]
V  [libjvm.so+0x60c419]
C  [libjavajpeg.so+0x496f]  Java_com_sun_imageio_plugins_jpeg_JPEGImageReader_readImageHeader+0x22f
j  com.sun.imageio.plugins.jpeg.JPEGImageReader.readImageHeader(JZZ)Z+0
j  com.sun.imageio.plugins.jpeg.JPEGImageReader.readNativeHeader(Z)Z+12
j  com.sun.imageio.plugins.jpeg.JPEGImageReader.checkTablesOnly()V+92
j  com.sun.imageio.plugins.jpeg.JPEGImageReader.gotoImage(I)V+41
j  com.sun.imageio.plugins.jpeg.JPEGImageReader.readHeader(IZ)V+2
j  com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(ILjavax/imageio/ImageReadParam;Z)Ljava/awt/image/Raster;+3
j  com.sun.imageio.plugins.jpeg.JPEGImageReader.read(ILjavax/imageio/ImageReadParam;)Ljava/awt/image/BufferedImage;+15
j  javax.imageio.ImageIO.read(Ljavax/imageio/stream/ImageInputStream;)Ljava/awt/image/BufferedImage;+55
j  javax.imageio.ImageIO.read(Ljava/io/File;)Ljava/awt/image/BufferedImage;+51
j  BugIIO$ImageReader.run()V+47
j  java.lang.Thread.run()V+11

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/52

------------------------------------------------------------------------
On 2016-07-06T21:08:30+00:00 Jamie-maher+bugz wrote:

Also experienced jvm crash with same versions above but no SIGSERV
detected:

Exception in thread "Thread-8" java.lang.NullPointerException
        at java.awt.color.ICC_Profile.activateDeferredProfile(ICC_Profile.java:1086)
        at java.awt.color.ICC_Profile$1.activate(ICC_Profile.java:742)
        at sun.java2d.cmm.ProfileDeferralMgr.activateProfiles(ProfileDeferralMgr.java:95)
        at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:775)
        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:604)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.checkTablesOnly(JPEGImageReader.java:342)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.gotoImage(JPEGImageReader.java:476)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.readHeader(JPEGImageReader.java:597)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1054)
        at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:1034)
        at javax.imageio.ImageIO.read(ImageIO.java:1448)
        at javax.imageio.ImageIO.read(ImageIO.java:1308)
        at BugIIO$ImageReader.run(BugIIO.java:48)
        at java.lang.Thread.run(Thread.java:745)
java: cmsio0.c:1301: cmsSaveProfileToIOhandler: Assertion `(hProfile != ((void *)0))' failed.
Aborted (core dumped)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/53

------------------------------------------------------------------------
On 2016-07-20T02:18:31+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=4c22fc4c3833
author: bae
date: Mon Dec 24 14:22:23 2012 +0400

	8005402, PR3020: Need to provide benchmarks for color management
	Reviewed-by: jgodinez, prr

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/54

------------------------------------------------------------------------
On 2016-07-20T02:18:37+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=5ee9ef1d0b2d
author: bae
date: Tue Oct 23 13:10:52 2012 +0400

	7051394, PR3020: NullPointerException when running regression tests LoadProfileTest by using openjdk-7-b144
	Reviewed-by: jgodinez, prr

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/55

------------------------------------------------------------------------
On 2016-07-20T02:18:48+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=35ea30b9068a
author: bae
date: Mon Jul 18 16:36:48 2016 +0100

	7124245, PR3020: [lcms] ColorConvertOp to color space CS_GRAY apparently converts orange to 244,244,0
	Reviewed-by: prr

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/56

------------------------------------------------------------------------
On 2016-07-20T02:18:54+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=cc0614f20419
author: bae
date: Mon Jul 18 17:45:32 2016 +0100

	8005530, PR3020: [lcms] Improve performance of ColorConverOp for default destinations
	Reviewed-by: prr, jgodinez

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/57

------------------------------------------------------------------------
On 2016-07-20T02:19:00+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=c74c52a31c64
author: anashaty
date: Tue Jul 08 17:47:47 2014 +0400

	8047066, PR3020: Test test/sun/awt/image/bug8038000.java fails with ClassCastException
	Reviewed-by: bae, prr

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/58

------------------------------------------------------------------------
On 2016-07-20T02:19:06+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=e7f735d92c5c
author: bae
date: Mon Jul 18 18:07:23 2016 +0100

	8005930, PR3020: [lcms] ColorConvertOp: Alpha channel is not transferred from source to destination.
	Reviewed-by: prr

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/59

------------------------------------------------------------------------
On 2016-07-20T02:19:12+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=bffb172306db
author: bae
date: Thu Jun 06 13:57:25 2013 +0400

	8013430, PR3020: REGRESSION: closed/java/awt/color/ICC_Profile/LoadProfileTest/LoadProfileTest.java fails with java.io.StreamCorruptedException: invalid type code: EE since 8b87
	Reviewed-by: prr, vadim

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/60

------------------------------------------------------------------------
On 2016-07-20T02:19:19+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=7e6d1fe62c4c
author: bae
date: Mon Jul 18 19:01:07 2016 +0100

	7043064, PR3020: sun/java2d/cmm/ tests failed against RI b141 & b138-nightly
	Reviewed-by: prr, vadim

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/61

------------------------------------------------------------------------
On 2016-07-20T02:19:26+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=6f9bce2ddda6
author: bae
date: Tue Sep 10 21:54:14 2013 +0400

	8024511, PR3020: Crash during color profile destruction
	Reviewed-by: vadim, prr

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/62

------------------------------------------------------------------------
On 2016-07-20T02:19:33+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=19211caca73f
author: jchen
date: Tue Oct 15 14:16:27 2013 -0700

	8025429, PR3020: [parfait] warnings from b107 for sun.java2d.cmm: JNI exception pending
	Reviewed-by: prr, bae

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/63

------------------------------------------------------------------------
On 2016-07-20T02:19:39+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=2d3caec4a8c4
author: bae
date: Wed Oct 16 17:13:15 2013 +0400

	8026702, PR3020: Fix for 8025429 breaks jdk build on windows
	Reviewed-by: serb

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/64

------------------------------------------------------------------------
On 2016-07-20T02:19:45+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/icedtea7-forest/jdk?cmd=changeset;node=322e1901d8ba
author: bae
date: Tue Oct 22 13:28:44 2013 +0400

	8026780, PR3020: Crash on PPC and PPC v2 for Java_awt test suit
	Reviewed-by: prr, jchen

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/65

------------------------------------------------------------------------
On 2016-07-21T01:17:24+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/icedtea7?cmd=changeset;node=3bf68d7f7711
author: Andrew John Hughes <gnu_andrew@xxxxxxxxxxxxxx>
date: Wed Jul 20 14:00:17 2016 +0100

        Bump to icedtea-2.7.0pre06.

	Upstream changes:
	  - PR2799: Files are missing from resources.jar
	  - PR2900: Don't use WithSeed versions of NSS functions as they don't fully process the seed
	  - S2178143, PR2958: JVM crashes if the number of bound CPUs changed during runtime
	  - S4900206, PR3101: Include worst-case rounding tests for Math library functions
	  - S6260348, PR3067: GTK+ L&F JTextComponent not respecting desktop caret blink rate
	  - S6934604, PR3075: enable parts of EliminateAutoBox by default
	  - S7043064, PR3020: sun/java2d/cmm/ tests failed against RI b141 & b138-nightly
	  - S7051394, PR3020: NullPointerException when running regression tests LoadProfileTest by using openjdk-7-b144
	  - S7086015, PR3013: fix test/tools/javac/parser/netbeans/JavacParserTest.java
	  - S7119487, PR3013: JavacParserTest.java test fails on Windows platforms
	  - S7124245, PR3020: [lcms] ColorConvertOp to color space CS_GRAY apparently converts orange to 244,244,0
	  - S7159445, PR3013: (javac) emits inaccurate diagnostics for enhanced for-loops
	  - S7175845, PR1437, RH1207129: 'jar uf' changes file permissions unexpectedly
	  - S8005402, PR3020: Need to provide benchmarks for color management
	  - S8005530, PR3020: [lcms] Improve performance of ColorConverOp for default destinations
	  - S8005930, PR3020: [lcms] ColorConvertOp: Alpha channel is not transferred from source to destination.
	  - S8013430, PR3020: REGRESSION: closed/java/awt/color/ICC_Profile/LoadProfileTest/LoadProfileTest.java fails with java.io.StreamCorruptedException: invalid type code: EE since 8b87
	  - S8014286, PR3075: failed java/lang/Math/DivModTests.java after 6934604 changes
	  - S8014959, PR3075: assert(Compile::current()->live_nodes() < (uint)MaxNodeLimit) failed: Live Node limit exceeded limit
	  - S8019247, PR3075: SIGSEGV in compiled method c8e.e.t_.getArray(Ljava/lang/Class;)[Ljava/lang/Object
	  - S8024511, PR3020: Crash during color profile destruction
	  - S8025429, PR3020: [parfait] warnings from b107 for sun.java2d.cmm: JNI exception pending
	  - S8026702, PR3020: Fix for 8025429 breaks jdk build on windows
	  - S8026780, PR3020: Crash on PPC and PPC v2 for Java_awt test suit
	  - S8047066, PR3020: Test test/sun/awt/image/bug8038000.java fails with ClassCastException
	  - S8069181, PR3012, RH1015612: java.lang.AssertionError when compiling JDK 1.4 code in JDK 8
	  - S8148328: aarch64: redundant lsr instructions in stub code.
	  - S8148783: aarch64: SEGV running SpecJBB2013
	  - S8148948: aarch64: generate_copy_longs calls align() incorrectly
	  - S8150045: arraycopy causes segfaults in SATB during garbage collection
	  - S8151841, PR3098: Build needs additional flags to compile with GCC 6
	  - S8154537: AArch64: some integer rotate instructions are never emitted
	  - S8154739: AArch64: TemplateTable::fast_xaccess loads in wrong mode
	  - S8157906: aarch64: some more integer rotate instructions are never emitted
	  - S8158260, PR2992, RH1341258: PPC64: unaligned Unsafe.getInt can lead to the generation of illegal instructions
	  - S8159244, PR3075: Partially initialized string object created by C2's string concat optimization may escape

        ChangeLog:

        2016-07-20  Andrew John Hughes  <gnu.andrew@xxxxxxxxxxxxxx>

		* Makefile.am,
		(CORBA_CHANGESET): Update to icedtea-2.7.0pre06.
		(JAXP_CHANGESET): Likewise.
		(JAXWS_CHANGESET): Likewise.
		(JDK_CHANGESET): Likewise.
		(LANGTOOLS_CHANGESET): Likewise.
		(OPENJDK_CHANGESET): Likewise.
		(CORBA_SHA256SUM): Likewise.
		(JAXP_SHA256SUM): Likewise.
		(JAXWS_SHA256SUM): Likewise.
		(JDK_SHA256SUM): Likewise.
		(LANGTOOLS_SHA256SUM): Likewise.
		(OPENJDK_SHA256SUM): Likewise.
		* NEWS: Updated.
		* configure.ac: Bump to 2.7.0pre06.
		* hotspot.map.in: Update to icedtea-2.7.0pre06.
		* patches/boot/ecj-diamond.patch:
		Add new case in sun.java2d.cmm.lcms.LCMSProfile.
		* patches/boot/jar.patch:
		Adapt to fix for PR2799/RH1195203.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/66

------------------------------------------------------------------------
On 2016-07-21T16:04:44+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=449867a532e7
author: bae
date: Mon Dec 24 14:22:23 2012 +0400

	8005402, PR3020: Need to provide benchmarks for color management
	Reviewed-by: jgodinez, prr

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/67

------------------------------------------------------------------------
On 2016-07-21T16:04:52+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=458b9d461b9e
author: bae
date: Tue Oct 23 13:10:52 2012 +0400

	7051394, PR3020: NullPointerException when running regression tests LoadProfileTest by using openjdk-7-b144
	Reviewed-by: jgodinez, prr

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/68

------------------------------------------------------------------------
On 2016-07-21T16:05:00+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=a4b5470d8e6d
author: bae
date: Mon Jul 18 16:36:48 2016 +0100

	7124245, PR3020: [lcms] ColorConvertOp to color space CS_GRAY apparently converts orange to 244,244,0
	Reviewed-by: prr

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/69

------------------------------------------------------------------------
On 2016-07-21T16:05:07+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=e0263ae71fa4
author: bae
date: Mon Jul 18 17:45:32 2016 +0100

	8005530, PR3020: [lcms] Improve performance of ColorConverOp for default destinations
	Reviewed-by: prr, jgodinez

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/70

------------------------------------------------------------------------
On 2016-07-21T16:05:16+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=c8240cc48e0f
author: anashaty
date: Tue Jul 08 17:47:47 2014 +0400

	8047066, PR3020: Test test/sun/awt/image/bug8038000.java fails with ClassCastException
	Reviewed-by: bae, prr

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/71

------------------------------------------------------------------------
On 2016-07-21T16:05:25+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=09f29eab0896
author: bae
date: Mon Jul 18 18:07:23 2016 +0100

	8005930, PR3020: [lcms] ColorConvertOp: Alpha channel is not transferred from source to destination.
	Reviewed-by: prr

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/72

------------------------------------------------------------------------
On 2016-07-21T16:05:31+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=80acb89d2068
author: bae
date: Thu Jun 06 13:57:25 2013 +0400

	8013430, PR3020: REGRESSION: closed/java/awt/color/ICC_Profile/LoadProfileTest/LoadProfileTest.java fails with java.io.StreamCorruptedException: invalid type code: EE since 8b87
	Reviewed-by: prr, vadim

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/73

------------------------------------------------------------------------
On 2016-07-21T16:05:38+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=455564524585
author: bae
date: Mon Jul 18 19:01:07 2016 +0100

	7043064, PR3020: sun/java2d/cmm/ tests failed against RI b141 & b138-nightly
	Reviewed-by: prr, vadim

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/74

------------------------------------------------------------------------
On 2016-07-21T16:05:44+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=f441a738dc1a
author: bae
date: Tue Sep 10 21:54:14 2013 +0400

	8024511, PR3020: Crash during color profile destruction
	Reviewed-by: vadim, prr

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/75

------------------------------------------------------------------------
On 2016-07-21T16:05:51+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=612e3b8b661a
author: jchen
date: Tue Oct 15 14:16:27 2013 -0700

	8025429, PR3020: [parfait] warnings from b107 for sun.java2d.cmm: JNI exception pending
	Reviewed-by: prr, bae

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/76

------------------------------------------------------------------------
On 2016-07-21T16:05:57+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=e6fb1bedc3db
author: bae
date: Wed Oct 16 17:13:15 2013 +0400

	8026702, PR3020: Fix for 8025429 breaks jdk build on windows
	Reviewed-by: serb

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/77

------------------------------------------------------------------------
On 2016-07-21T16:06:05+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/release/icedtea7-forest-2.6/jdk?cmd=changeset;node=11ddf3746523
author: bae
date: Tue Oct 22 13:28:44 2013 +0400

	8026780, PR3020: Crash on PPC and PPC v2 for Java_awt test suit
	Reviewed-by: prr, jchen

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/78

------------------------------------------------------------------------
On 2016-07-29T02:31:18+00:00 Mercurial wrote:

details: http://icedtea.classpath.org//hg/release/icedtea7-2.6?cmd=changeset;node=d068fb796035
author: Andrew John Hughes <gnu_andrew@xxxxxxxxxxxxxx>
date: Fri Jul 29 03:33:41 2016 +0100

        Bump to icedtea-2.6.7.

	Upstream changes:
	  - Bump to icedtea-2.6.7
	  - Bump to icedtea-2.6.7pre01
	  - PR2799: Files are missing from resources.jar
	  - PR2900: Don't use WithSeed versions of NSS functions as they don't fully process the seed
	  - PR3102: Extend 8022594 to AixPollPort
	  - S2178143, PR2958: JVM crashes if the number of bound CPUs changed during runtime
	  - S4900206, PR3101: Include worst-case rounding tests for Math library functions
	  - S6260348, PR3067: GTK+ L&F JTextComponent not respecting desktop caret blink rate
	  - S6934604, PR3075: enable parts of EliminateAutoBox by default
	  - S6953295: Move few sun.security.{util, x509, pkcs} classes used by keytool/jarsigner to another package
	  - S7043064, PR3020: sun/java2d/cmm/ tests failed against RI b141 & b138-nightly
	  - S7051394, PR3020: NullPointerException when running regression tests LoadProfileTest by using openjdk-7-b144
	  - S7060849: Eliminate pack200 build warnings
	  - S7064075: Security libraries don't build with javac -Xlint:all,-deprecation -Werror
	  - S7069870: Parts of the JDK erroneously rely on generic array initializers with diamond
	  - S7081817: test/sun/security/provider/certpath/X509CertPath/IllegalCertiticates.java failing
	  - S7086015, PR3013: fix test/tools/javac/parser/netbeans/JavacParserTest.java
	  - S7102686: Restructure timestamp code so that jars and modules can more easily share the same code
	  - S7105780: Add SSLSocket client/SSLEngine server to templates directory
	  - S7119487, PR3013: JavacParserTest.java test fails on Windows platforms
	  - S7124245, PR3020: [lcms] ColorConvertOp to color space CS_GRAY apparently converts orange to 244,244,0
	  - S7142339: PKCS7.java is needlessly creating SHA1PRNG SecureRandom instances when timestamping is not done
	  - S7152582: PKCS11 tests should use the NSS libraries available in the OS
	  - S7159445, PR3013: (javac) emits inaccurate diagnostics for enhanced for-loops
	  - S7175845, PR1437, RH1207129: 'jar uf' changes file permissions unexpectedly
	  - S7192202: Make sure keytool prints both unknown and unparseable extensions
	  - S7194449: String resources for Key Tool and Policy Tool should be in their respective packages
	  - S7196855: autotest.sh fails on ubuntu because libsoftokn.so not found
	  - S7200682: TEST_BUG: keytool/autotest.sh still has problems with libsoftokn.so
	  - S8002306: (se) Selector.open fails if invoked with thread interrupt status set [win]
	  - S8005402, PR3020: Need to provide benchmarks for color management
	  - S8005530, PR3020: [lcms] Improve performance of ColorConverOp for default destinations
	  - S8005930, PR3020: [lcms] ColorConvertOp: Alpha channel is not transferred from source to destination.
	  - S8009636: JARSigner including TimeStamp PolicyID (TSAPolicyID) as defined in RFC3161
	  - S8013430, PR3020: REGRESSION: closed/java/awt/color/ICC_Profile/LoadProfileTest/LoadProfileTest.java fails with java.io.StreamCorruptedException: invalid type code: EE since 8b87
	  - S8014286, PR3075: failed java/lang/Math/DivModTests.java after 6934604 changes
	  - S8014959, PR3075: assert(Compile::current()->live_nodes() < (uint)MaxNodeLimit) failed: Live Node limit exceeded limit
	  - S8019247, PR3075: SIGSEGV in compiled method c8e.e.t_.getArray(Ljava/lang/Class;)[Ljava/lang/Object
	  - S8019341: Update CookieHttpsClientTest to use the newer framework.
	  - S8022228: Intermittent test failures in sun/security/ssl/javax/net/ssl/NewAPIs
	  - S8022439: Fix lint warnings in sun.security.ec
	  - S8022594: Potential deadlock in <clinit> of sun.nio.ch.Util/IOUtil
	  - S8023546: sun/security/mscapi/ShortRSAKey1024.sh fails intermittently
	  - S8024511, PR3020: Crash during color profile destruction
	  - S8025429, PR3020: [parfait] warnings from b107 for sun.java2d.cmm: JNI exception pending
	  - S8026702, PR3020: Fix for 8025429 breaks jdk build on windows
	  - S8026780, PR3020: Crash on PPC and PPC v2 for Java_awt test suit
	  - S8036612: [parfait] JNI exception pending in jdk/src/windows/native/sun/security/mscapi/security.cpp
	  - S8037557: test SessionCacheSizeTests.java timeout
	  - S8038837: Add support to jarsigner for specifying timestamp hash algorithm
	  - S8047066, PR3020: Test test/sun/awt/image/bug8038000.java fails with ClassCastException
	  - S8069181, PR3012, RH1015612: java.lang.AssertionError when compiling JDK 1.4 code in JDK 8
	  - S8079410: Hotspot version to share the same update and build version from JDK
	  - S8079718: IIOP Input Stream Hooking
	  - S8130735: javax.swing.TimerQueue: timer fires late when another timer starts
	  - S8139436: sun.security.mscapi.KeyStore might load incomplete data
	  - S8140344: add support for 3 digit update release numbers
	  - S8144313: Test SessionTimeOutTests can be timeout
	  - S8145017: Add support for 3 digit hotspot minor version numbers
	  - S8145446: Perfect pipe placement
	  - S8146387: Test SSLSession/SessionCacheSizeTests socket accept timed out
	  - S8146669: Test SessionTimeOutTests fails intermittently
	  - S8146993: Several javax/management/remote/mandatory regression tests fail after JDK-8138811
	  - S8147771: Construction of static protection domains under Javax custom policy
	  - S8147857: [TEST] RMIConnector logs attribute names incorrectly
	  - S8148328, PR3100: aarch64: redundant lsr instructions in stub code.
	  - S8148783, PR3100: aarch64: SEGV running SpecJBB2013
	  - S8148872: Complete name checking
	  - S8148948, PR3100: aarch64: generate_copy_longs calls align() incorrectly
	  - S8149962: Better delineation of XML processing
	  - S8150045, PR3100: arraycopy causes segfaults in SATB during garbage collection
	  - S8150752: Share Class Data
	  - S8151841: Build needs additional flags to compile with GCC 6
	  - S8151841, PR3098: Build needs additional flags to compile with GCC 6
	  - S8151876: (tz) Support tzdata2016d
	  - S8151925: Font reference improvements
	  - S8152479: Coded byte streams
	  - S8154537, PR3100: AArch64: some integer rotate instructions are never emitted
	  - S8154739, PR3100: AArch64: TemplateTable::fast_xaccess loads in wrong mode
	  - S8155981: Bolster bytecode verification
	  - S8155985: Persistent Parameter Processing
	  - S8157077: 8u101 L10n resource file updates
	  - S8157906, PR3100: aarch64: some more integer rotate instructions are never emitted
	  - S8158260, PR2992, RH1341258: PPC64: unaligned Unsafe.getInt can lead to the generation of illegal instructions
	  - S8158571: Additional method handle validation
	  - S8159244, PR3075: Partially initialized string object created by C2's string concat optimization may escape
	  - S8161262: Fix jdk build with gcc 4.1.2: -fno-strict-overflow not known.
	  - S8162344: The API changes made by CR 7064075 need to be reverted

        ChangeLog:

        2016-07-28  Andrew John Hughes  <gnu.andrew@xxxxxxxxxxxxxx>

		Bump to icedtea-2.6.7.
		* Makefile.am:
		(JDK_UPDATE_VERSION): Bump to 111.
		(BUILD_VERSION): Bump to b01.
		(CORBA_CHANGESET): Update to icedtea-2.6.7.
		(JAXP_CHANGESET): Likewise.
		(JAXWS_CHANGESET): Likewise.
		(JDK_CHANGESET): Likewise.
		(LANGTOOLS_CHANGESET): Likewise.
		(OPENJDK_CHANGESET): Likewise.
		(CORBA_SHA256SUM): Likewise.
		(JAXP_SHA256SUM): Likewise.
		(JAXWS_SHA256SUM): Likewise.
		(JDK_SHA256SUM): Likewise.
		(LANGTOOLS_SHA256SUM): Likewise.
		(OPENJDK_SHA256SUM): Likewise.
		* NEWS: Updated.
		* configure.ac: Bump to 2.6.7.
		* hotspot.map.in: Update to icedtea-2.6.7.
		* patches/boot/ecj-diamond.patch:
		Regenerated. Fix cases in
		com.sun.java.util.jar.pack.BandStructure,
		com.sun.java.util.jar.pack.Fixups,
		com.sun.java.util.jar.pack.Package,
		com.sun.java.util.jar.pack.PackageReader,
		com.sun.java.util.jar.pack.PropMap,
		java.security.Provider, java.security.Security,
		javax.crypto.Cipher, javax.crypto.AllPermission,
		javax.crypto.CryptoPermissions,
		javax.crypto.CryptoPolicyParser,
		javax.crypto.JceSecurity, javax.crypto.JceSecurityManager,
		sun.security.krb5.Krb5ServiceLocator,
		sun.security.provider.certpath.CertStoreHelper,
		sun.security.provider.certpath.ssl.SSLServerCertStore,
		sun.security.provider.certpath.URICertStore,
		sun.security.ssl.HandshakeMessage and
		sun.security.tools.jarsigner.Main
		* patches/boot/ecj-multicatch.patch,
		Fix cases in
		javax.crypto.EncryptedPrivateKeyInfo,
		javax.crypto.SealedObject,
		sun.security.provider.certpath.URICertStore,
		sun.security.pkcs11.P11KeyStore,
		sun.security.pkcs11.P11RSAKeyFactory and
		sun.security.tools.keytool.Main.
		* patches/boot/ecj-stringswitch.patch:
		Regenerated. Fix cases in
		sun.security.provider.certpath.X509CertPath,
		sun.security.ssl.HandshakeMessage,
		sun.security.ssl.X509KeyManagerImpl,
		sun.security.pkcs11.Config,
		sun.security.pkcs11.P11Key,
		com.sun.security.sasl.digest.DigestMD5Base,
		com.sun.security.sasl.digest.DigestMD5Server,
		com.sun.security.sasl.ntlm.NTLMClient,
		com.sun.security.sasl.ntlm.NTLMServer and
		com.sun.security.sasl.util.AbstractSaslImpl.
		* patches/boot/ecj-trywithresources.patch:
		Fix cases in
		sun.security.provider.certpath.URICertStore,
		sun.security.tools.KeyStoreUtil and
		sun.security.tools.keytool.Main.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/79

------------------------------------------------------------------------
On 2016-07-29T03:01:43+00:00 Andrew John Hughes wrote:

Resolved in icedtea-2.6.7 and icedtea-2.7.0pre06.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/913434/comments/80


** Changed in: openjdk
       Status: Unknown => Fix Released

** Changed in: openjdk
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/913434

Title:
  ImageIO crashes (core dumped) while reading many image files

Status in OpenJDK:
  Fix Released
Status in lcms2 package in Ubuntu:
  Invalid
Status in openjdk-7 package in Ubuntu:
  Fix Released

Bug description:
  Code that uses ImageIO.read() to read many image files (on my system:
  270 files, totalling 522.9 MiB) crashes the JVM.

  ~~~ My system information:

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu 11.10
  Release:	11.10
  Codename:	oneiric

  $ uname -a
  Linux dowah 3.0.0-14-generic #23-Ubuntu SMP Mon Nov 21 20:28:43 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

  $ javac -version
  javac 1.7.0_147

  $ java -version
  java version "1.7.0_147-icedtea"

  ~~~ To reproduce the error:

  $ javac BugIIO.java

  $ ulimit -c unlimited # to enable core dump

  $ java BugIIO

  ~~~ Terminal output that signifies the error:

  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  SIGSEGV (0xb) at pc=0x00007fb5babe31f8, pid=4978, tid=140418842154752
  #
  # JRE version: 7.0_147-b147
  # Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode linux-amd64 compressed oops)
  # Derivative: IcedTea7 2.0
  # Distribution: Ubuntu 11.10, package 7~b147-2.0-0ubuntu0.11.10.1
  # Problematic frame:
  # C  [liblcms2.so.2+0x121f8]  cmsSaveProfileToIOhandler+0x38
  #
  # Core dump written. Default location: /home/joshua/core or core.4978
  #
  # An error report file with more information is saved as:
  # /home/joshua/hs_err_pid4978.log
  #
  # If you would like to submit a bug report, please include
  # instructions on how to reproduce the bug and visit:
  #   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
  #
  Dibatalkan (core didump)

  ~~~ PS
  When I tried to compile BugIIO.java on openjdk-6 and run it on openjdk-6, the program finishes normally (no crash).

  To clarify:
  1. This bug affect OpenJDK 7 (7~b147-2.0-0ubuntu0.11.10.1) (tested on oneiric).
  2. This bug does *not* affect OpenJDK 6 (6b23~pre11-0ubuntu1.11.10) (tested on oneiric).

To manage notifications about this bug go to:
https://bugs.launchpad.net/openjdk/+bug/913434/+subscriptions


References