IV86398: CRASH IN SUN/AWT/IMAGE/JPEGIMAGEDECODER.READIMAGE
Closed as program error.
Error Message: j9vm.227 * ** ASSERTION FAILED ** at vmaccess.c:273: ((vmThread)->publicFlags & J9_PUBLIC_FLAGS_VM_ACCESS) . Stack Trace: Java callstack:- at sun/awt/image/JPEGImageDecoder.readImage(Native Method) at sun/awt/image/JPEGImageDecoder.produceImage(JPEGImageDecoder.jav a:131) at sun/awt/image/InputStreamImageSource.doFetch(InputStreamImageSou rce.java:258) at sun/awt/image/ImageFetcher.fetchloop(ImageFetcher.java:184) at sun/awt/image/ImageFetcher.run(ImageFetcher.java:148) Native Call Stack:- j9dump_create () from ./opt/java/java6/jre/lib/i386/libj9prt24.so doSystemDump () from ./opt/java/java6/jre/lib/i386/libj9dmp24.so protectedDumpFunction () from ./opt/java/java6/jre/lib/i386/libj9dmp24.so j9sig_protect () from ./opt/java/java6/jre/lib/i386/libj9prt24.so runDumpFunction () from ./opt/java/java6/jre/lib/i386/libj9dmp24.so runDumpAgent () from ./opt/java/java6/jre/lib/i386/libj9dmp24.so triggerDumpAgents () from ./opt/java/java6/jre/lib/i386/libj9dmp24.so twAssertion () from ./opt/java/java6/jre/lib/i386/libj9trc24.so logTracePoint () from ./opt/java/java6/jre/lib/i386/libj9ute24.so utsTraceV () from ./opt/java/java6/jre/lib/i386/libj9ute24.so j9Trace () from ./opt/java/java6/jre/lib/i386/libj9trc24.so internalReleaseVMAccessNoMutex () from ./opt/java/java6/jre/lib/i386/libj9vm24.so internalReleaseVMAccess () from ./opt/java/java6/jre/lib/i386/libj9vm24.so releasePrimitiveArrayCritical () from ./opt/java/java6/jre/lib/i386/libj9vm24.so checkReleasePrimitiveArrayCritical () from ./opt/java/java6/jre/lib/i386/libj9jnichk24.so Java_sun_awt_image_JPEGImageDecoder_readImage () from ./opt/java/java6/jre/lib/i386/libjpeg.so VMprJavaSendNative () from ./opt/java/java6/jre/lib/i386/libj9vm24.so ?? () javaProtectedThreadProc () from ./opt/java/java6/jre/lib/i386/libj9vm24.so j9sig_protect () from ./opt/java/java6/jre/lib/i386/libj9prt24.so javaThreadProc () from ./opt/java/java6/jre/lib/i386/libj9vm24.so thread_wrapper () from ./opt/java/java6/jre/lib/i386/libj9thr24.so start_thread () from ./lib/libpthread.so.0 clone () from ./lib/libc.so.6 . While enabling -Xcheck:jni:all,nowarn,noadvice,nonfatal option, customer observe the following message in stderr logs:- JVMJNCK023E JNI error detected. Continuing... JVMJNCK029E JNI error in GetArrayLength: This function cannot be called inside of a critical section JVMJNCK077E Error detected in sun/awt/image/JPEGImageDecoder.readImage(Ljava/io/InputStream;<O SB>B)V Also, this may lead to some other unpredictable behavior like hang.
The problem is caused while processing the JPEG files where a JNI method was called inside a critical section.
The JDK has been updated to make the JNI call before acquiring the critical section. . This APAR will be fixed in the following Java Releases: 8 SR3 FP1 (126.96.36.199) 7 SR9 FP60 (188.8.131.52) 7 R1 SR3 FP60 (184.108.40.206) 6 SR16 FP35 (220.127.116.11) 6 R1 SR8 FP35 (18.104.22.168)
Reported component name
JAVA CLASS LIBS
Reported component ID
NoSpecatt / Xsystem
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
JAVA CLASS LIBS
Fixed component ID
Applicable component levels