Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8081004

vm/mlvm/indy/func/jvmti/mergeCP_indy2same_b fails with assert(resolved_references->obj_at(appendix_index) == __null) failed: init just once

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc

      Description

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/jprt/T/P1/162153.rwestrel/s/hotspot/src/share/vm/oops/cpCache.cpp:343), pid=590, tid=0x00007fed881bc700
      # assert(resolved_references->obj_at(appendix_index) == __null) failed: init just once
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0) (build 1.9.0-internal-fastdebug-20150521162153.rwestrel.8060036-b00)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-internal-fastdebug-20150521162153.rwestrel.8060036-b00 compiled mode linux-amd64 compressed oops)
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e" (or dumping to /export/local/aurora/sandbox/results/ResultDir/mergeCP_indy2same_b/core.590)
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      --------------- T H R E A D ---------------

      Current thread (0x00007fed8400b380): JavaThread "main" [_thread_in_vm, id=598, stack(0x00007fed880bc000,0x00007fed881bd000)]

      Stack: [0x00007fed880bc000,0x00007fed881bd000], sp=0x00007fed881ba470, free space=1017k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x10da8af] VMError::report_and_die()+0x14f;; VMError::report_and_die()+0x14f
      V [libjvm.so+0x7d093b] report_vm_error(char const*, int, char const*, char const*)+0x7b;; report_vm_error(char const*, int, char const*, char const*)+0x7b
      V [libjvm.so+0x7ce886] ConstantPoolCacheEntry::set_method_handle_common(constantPoolHandle, Bytecodes::Code, CallInfo const&)+0x866;; ConstantPoolCacheEntry::set_method_handle_common(constantPoolHandle, Bytecodes::Code, CallInfo const&)+0x866
      V [libjvm.so+0x7cf2c1] ConstantPoolCacheEntry::set_dynamic_call(constantPoolHandle, CallInfo const&)+0x111;; ConstantPoolCacheEntry::set_dynamic_call(constantPoolHandle, CallInfo const&)+0x111
      V [libjvm.so+0xa3b8bc] InterpreterRuntime::resolve_invokedynamic(JavaThread*)+0x52c;; InterpreterRuntime::resolve_invokedynamic(JavaThread*)+0x52c
      V [libjvm.so+0xa47d3f] InterpreterRuntime::resolve_from_cache(JavaThread*, Bytecodes::Code)+0x19f;; InterpreterRuntime::resolve_from_cache(JavaThread*, Bytecodes::Code)+0x19f
      j vm.mlvm.indy.func.jvmti.mergeCP_indy2same_b.INDIFY_Dummy0.invokeTarget0()Z+18
      j vm.mlvm.indy.func.jvmti.mergeCP_indy2same_b.INDIFY_Dummy0.invokeTarget()Z+0
      v ~StubRoutines::call_stub
      V [libjvm.so+0xa61ce7] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0xf37;; JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0xf37
      V [libjvm.so+0xf1a731] Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0xc21;; Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0xc21
      V [libjvm.so+0xf1b4de] Reflection::invoke_method(oop, Handle, objArrayHandle, Thread*)+0x33e;; Reflection::invoke_method(oop, Handle, objArrayHandle, Thread*)+0x33e
      V [libjvm.so+0xb658ad] JVM_InvokeMethod+0x27d;; JVM_InvokeMethod+0x27d
      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;+100
      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;+56
      j vm.mlvm.indy.func.jvmti.share.IndyRedefineTest.run()Z+65
      j vm.mlvm.share.MlvmTestExecutor.runMlvmTestInstance(Lvm/mlvm/share/MlvmTest;)Z+116
      j vm.mlvm.share.MlvmTestExecutor.runMlvmTest(Ljava/lang/Class;[Ljava/lang/Object;)Z+21
      j vm.mlvm.share.MlvmTestExecutor.launch(Ljava/lang/Class;[Ljava/lang/Object;)V+41
      j vm.mlvm.share.MlvmTestExecutor.launch([Ljava/lang/Object;)V+20
      j vm.mlvm.share.MlvmTestExecutor.launch([Ljava/lang/String;[Ljava/lang/Object;)V+5
      j vm.mlvm.share.MlvmTest.launch([Ljava/lang/String;)V+2
      j vm.mlvm.indy.func.jvmti.share.IndyRedefineTest.main([Ljava/lang/String;)V+1
      v ~StubRoutines::call_stub
      V [libjvm.so+0xa61ce7] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0xf37;; JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0xf37
      V [libjvm.so+0xac993b] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) [clone .isra.244] [clone .constprop.266]+0x45b;; _ZL17jni_invoke_staticP7JNIEnv_P9JavaValueP8_jobject11JNICallTypeP10_jmethodIDP18JNI_ArgumentPusherP6Thread.isra.244.constprop.266+0x45b
      V [libjvm.so+0xae95dd] jni_CallStaticVoidMethod+0x1cd;; jni_CallStaticVoidMethod+0x1cd
      C [libjli.so+0x6d43] JavaMain+0x713;; JavaMain+0x713
      C [libpthread.so.0+0x7851]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j vm.mlvm.indy.func.jvmti.mergeCP_indy2same_b.INDIFY_Dummy0.invokeTarget0()Z+18
      j vm.mlvm.indy.func.jvmti.mergeCP_indy2same_b.INDIFY_Dummy0.invokeTarget()Z+0
      v ~StubRoutines::call_stub
      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;+100
      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;+56
      j vm.mlvm.indy.func.jvmti.share.IndyRedefineTest.run()Z+65
      j vm.mlvm.share.MlvmTestExecutor.runMlvmTestInstance(Lvm/mlvm/share/MlvmTest;)Z+116
      j vm.mlvm.share.MlvmTestExecutor.runMlvmTest(Ljava/lang/Class;[Ljava/lang/Object;)Z+21
      j vm.mlvm.share.MlvmTestExecutor.launch(Ljava/lang/Class;[Ljava/lang/Object;)V+41
      j vm.mlvm.share.MlvmTestExecutor.launch([Ljava/lang/Object;)V+20
      j vm.mlvm.share.MlvmTestExecutor.launch([Ljava/lang/String;[Ljava/lang/Object;)V+5
      j vm.mlvm.share.MlvmTest.launch([Ljava/lang/String;)V+2
      j vm.mlvm.indy.func.jvmti.share.IndyRedefineTest.main([Ljava/lang/String;)V+1
      v ~StubRoutines::call_stub

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vlivanov Vladimir Ivanov
                Reporter:
                thartmann Tobias Hartmann
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: