Just yesterday using openjdk-7-jre-headless on Ubuntu Trusty I experienced Tomcat7's jre crashing on a webapp trying to resize multiple images. (It's happened multiple times in the past as well)
It usually happens after a restart of Tomcat and on first access of a webapp that resizes multiple jpgs (some containing ICC profiles).
This happened with an apt pinned version of liblcms2-2:
version 2.6-3ubuntu2 from Ubuntu Wily.
R11=0x00007f7f2483c200: cmsCreateMultiprofileTransformTHR+0x50 in /usr/lib/x86_64-linux-gnu/liblcms2.so.2 at 0x00007f7f24816000
R12=0x00007f7f64002e60 is an unknown value
R13=0x00007f7f683f98c0 is an unknown value
R14=0x0000000000000014 is an unknown value
R15=0x00007f7f24a69a28: <offset 0x253a28> in /usr/lib/x86_64-linux-gnu/liblcms2.so.2 at 0x00007f7f24816000
Just yesterday using openjdk- 7-jre-headless on Ubuntu Trusty I experienced Tomcat7's jre crashing on a webapp trying to resize multiple images. (It's happened multiple times in the past as well)
It usually happens after a restart of Tomcat and on first access of a webapp that resizes multiple jpgs (some containing ICC profiles).
This happened with an apt pinned version of liblcms2-2:
version 2.6-3ubuntu2 from Ubuntu Wily.
# JRE version: OpenJDK Runtime Environment (7.0_101) (build 1.7.0_101-b00) 6.6-0ubuntu0. 14.04.1
# 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.
R11=0x00007f7f2 483c200: cmsCreateMultip rofileTransform THR+0x50 in /usr/lib/ x86_64- linux-gnu/ liblcms2. so.2 at 0x00007f7f24816000 4002e60 is an unknown value 83f98c0 is an unknown value 0000014 is an unknown value 4a69a28: <offset 0x253a28> in /usr/lib/ x86_64- linux-gnu/ liblcms2. so.2 at 0x00007f7f24816000
R12=0x00007f7f6
R13=0x00007f7f6
R14=0x000000000
R15=0x00007f7f2
Stack: [0x00007f7f277f 8000,0x00007f7f 278f9000] , sp=0x00007f7f27 8f3b48, free space=1006k cmm.lcms. LCMS.createNati veTransform( [JIIILjava/ lang/Object; )J+0 cmm.lcms. LCMSTransform. doTransform( Lsun/java2d/ cmm/lcms/ LCMSImageLayout ;Lsun/java2d/ cmm/lcms/ LCMSImageLayout ;)V+88 cmm.lcms. LCMSTransform. colorConvert( [S[S)[S+ 92 color.ICC_ ColorSpace. fromRGB( [F)[F+119 imageio. plugins. jpeg.JPEGImageR eader.setImageD ata(IIIII[ B)V+158 :call_stub imageio. plugins. jpeg.JPEGImageR eader.readImage Header( JZZ)Z+0 imageio. plugins. jpeg.JPEGImageR eader.readNativ eHeader( Z)Z+12 imageio. plugins. jpeg.JPEGImageR eader.checkTabl esOnly( )V+92 imageio. plugins. jpeg.JPEGImageR eader.gotoImage (I)V+41 imageio. plugins. jpeg.JPEGImageR eader.readHeade r(IZ)V+ 2 imageio. plugins. jpeg.JPEGImageR eader.readInter nal(ILjavax/ imageio/ ImageReadParam; Z)Ljava/ awt/image/ Raster; +3 imageio. plugins. jpeg.JPEGImageR eader.read( ILjavax/ imageio/ ImageReadParam; )Ljava/ awt/image/ BufferedImage; +15 ImageIO. read(Ljavax/ imageio/ stream/ ImageInputStrea m;)Ljava/ awt/image/ BufferedImage; +55 ImageIO. read(Ljava/ io/InputStream; )Ljava/ awt/image/ BufferedImage; +20
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.java2d.
j sun.java2d.
j sun.java2d.
j java.awt.
j com.sun.
v ~StubRoutines:
j com.sun.
j com.sun.
j com.sun.
j com.sun.
j com.sun.
j com.sun.
j com.sun.
j javax.imageio.
j javax.imageio.