There are a bundle of tests from JRockit suite which verify JNI calls with some incorrect paramters. Some of these tests fail in product and crashe in fastdebug.
hs_err :
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f3a91d5c515, pid=925, tid=139889554266448
#
# JRE version: 7.0-b138
# Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0-b08-fastdebug mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x7a1515] jniCheck::validate_jmethod_id(JavaThread*, _jmethodID*)+0xb5
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x000000000062b000): JavaThread "main" [_thread_in_vm, id=927, stack(0x00007f3a93209000,0x00007f3a9330a000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000100000007
Stack: [0x00007f3a93209000,0x00007f3a9330a000], sp=0x00007f3a93307780, free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x7a1515] jniCheck::validate_jmethod_id(JavaThread*, _jmethodID*)+0xb5
V [libjvm.so+0x7c3b0c] checked_jni_CallStaticBooleanMethod+0x18c
C [libtestnatives.so+0x16fda] Java_vm_jni_nogroup_CheckedJNITest_testCalls+0x3a
j vm.jni.nogroup.CheckedJNITest.testCalls()V+0
v ~StubRoutines::call_stub
V [libjvm.so+0x752f21] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x6c1
V [libjvm.so+0x74feeb] JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x6b
V [libjvm.so+0xa9396f] Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0x5af
V [libjvm.so+0xa948c6] Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x1b6
V [libjvm.so+0x7dfe44] JVM_InvokeMethod+0x1d4
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+57
j org.echeneis.impl.InvokeWrapper.test(Lorg/echeneis/TestListener;)V+63
j org.echeneis.impl.PropertiesWrapper.test(Lorg/echeneis/TestListener;)V+12
j org.echeneis.impl.MultiTestWrapper.testAll(Lorg/echeneis/TestListener;)V+31
j org.echeneis.impl.MultiTestWrapper.test(Lorg/echeneis/TestListener;)V+12
j org.echeneis.impl.ClassLoaderWrapper.test(Lorg/echeneis/TestListener;)V+53
j org.echeneis.impl.Configurator$1.test(Lorg/echeneis/TestListener;)V+12
j org.echeneis.impl.ClassLoaderWrapper.test(Lorg/echeneis/TestListener;)V+53
j org.echeneis.remote.RemoteRunner$SlaveContext.run(Lorg/echeneis/TestConfigurator;Lorg/echeneis/TestListener;Lorg/echeneis/TestListener;)V+37
j org.echeneis.remote.RemoteRunner$SlaveContext.doTest(Lorg/echeneis/TestListener;)V+116
hs_err :
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f3a91d5c515, pid=925, tid=139889554266448
#
# JRE version: 7.0-b138
# Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0-b08-fastdebug mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x7a1515] jniCheck::validate_jmethod_id(JavaThread*, _jmethodID*)+0xb5
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x000000000062b000): JavaThread "main" [_thread_in_vm, id=927, stack(0x00007f3a93209000,0x00007f3a9330a000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000100000007
Stack: [0x00007f3a93209000,0x00007f3a9330a000], sp=0x00007f3a93307780, free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x7a1515] jniCheck::validate_jmethod_id(JavaThread*, _jmethodID*)+0xb5
V [libjvm.so+0x7c3b0c] checked_jni_CallStaticBooleanMethod+0x18c
C [libtestnatives.so+0x16fda] Java_vm_jni_nogroup_CheckedJNITest_testCalls+0x3a
j vm.jni.nogroup.CheckedJNITest.testCalls()V+0
v ~StubRoutines::call_stub
V [libjvm.so+0x752f21] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x6c1
V [libjvm.so+0x74feeb] JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x6b
V [libjvm.so+0xa9396f] Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0x5af
V [libjvm.so+0xa948c6] Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x1b6
V [libjvm.so+0x7dfe44] JVM_InvokeMethod+0x1d4
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+57
j org.echeneis.impl.InvokeWrapper.test(Lorg/echeneis/TestListener;)V+63
j org.echeneis.impl.PropertiesWrapper.test(Lorg/echeneis/TestListener;)V+12
j org.echeneis.impl.MultiTestWrapper.testAll(Lorg/echeneis/TestListener;)V+31
j org.echeneis.impl.MultiTestWrapper.test(Lorg/echeneis/TestListener;)V+12
j org.echeneis.impl.ClassLoaderWrapper.test(Lorg/echeneis/TestListener;)V+53
j org.echeneis.impl.Configurator$1.test(Lorg/echeneis/TestListener;)V+12
j org.echeneis.impl.ClassLoaderWrapper.test(Lorg/echeneis/TestListener;)V+53
j org.echeneis.remote.RemoteRunner$SlaveContext.run(Lorg/echeneis/TestConfigurator;Lorg/echeneis/TestListener;Lorg/echeneis/TestListener;)V+37
j org.echeneis.remote.RemoteRunner$SlaveContext.doTest(Lorg/echeneis/TestListener;)V+116