Duplicate :
|
java/dyn/MethodHandlesTest.java crashed VM on linux-i586 in jdk7 b135 with either -XX:+UseG1GC or -XX:+AggressiveOpts: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xb56d701c, pid=11438, tid=3032296336 # # JRE version: 7.0-b135 # Java VM: Java HotSpot(TM) Client VM (21.0-b05 compiled mode, sharing linux-x86 ) # Problematic frame: # J sun.dyn.FromGeneric$A1.invoke_I1(Ljava/lang/Object;)Ljava/lang/Object; Stack: [0xb4b82000,0xb4bd3000], sp=0xb4bd0c50, free space=315k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) J sun.dyn.FromGeneric$A1.invoke_I1(Ljava/lang/Object;)Ljava/lang/Object; V [libjvm.so+0x254bed] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x2fd;; .L214+0x105 V [libjvm.so+0x366be9] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19;; os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19 V [libjvm.so+0x253a1f] JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x2f;; JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x2f V [libjvm.so+0x3a1f46] Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0x3c6;; Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0x3c6 V [libjvm.so+0x3a2c6a] Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x15a;; Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x15a V [libjvm.so+0x2a11d3] JVM_InvokeMethod+0x233;; JVM_InvokeMethod+0x233 C [libjava.so+0x152a2] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x32;; Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x32 J sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; J sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; V [libjvm.so+0x254bed] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x2fd;; .L214+0x105 V [libjvm.so+0x366be9] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19;; os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19 V [libjvm.so+0x253a1f] JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x2f;; JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x2f V [libjvm.so+0x3a1f46] Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0x3c6;; Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0x3c6 V [libjvm.so+0x3a2c6a] Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x15a;; Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x15a V [libjvm.so+0x2a11d3] JVM_InvokeMethod+0x233;; JVM_InvokeMethod+0x233 C [libjava.so+0x152a2] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x32;; Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x32 J sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; J sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; V [libjvm.so+0x254bed] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x2fd;; .L214+0x105 V [libjvm.so+0x366be9] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19;; os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19 V [libjvm.so+0x253a1f] JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x2f;; JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x2f V [libjvm.so+0x254da2] JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*)+0x122;; JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*)+0x122 V [libjvm.so+0x298579] thread_entry(JavaThread*, Thread*)+0xd9;; _ZL12thread_entryP10JavaThreadP6Thread+0xd9 V [libjvm.so+0x421f58] JavaThread::run()+0x178;; JavaThread::run()+0x178 V [libjvm.so+0x36d761] java_start(Thread*)+0x111;; _ZL10java_startP6Thread+0x111 C [libpthread.so.0+0x573b] start_thread+0xcb