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

VM crashes with assert(_pool->cache() == NULL) failed: constant pool cache must not be set yet

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      generic

      Description

      Starting from HS19 b05 runThese starts crash VM with next hs_err below. Also it happens in nighty.

      ;;Using jvm: "/export/local/common/jdk/baseline/linux-amd64/jre/lib/amd64/server/libjvm.so"
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/tmp/jprt/P1/B/061816.et151817/source/src/share/vm/interpreter/rewriter.cpp:322), pid=21511, tid=1143986496
      # assert(_pool->cache() == NULL) failed: constant pool cache must not be set yet
      #
      # JRE version: 7.0
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b05-201007300618.et151817.hs19b05-fastdebug compiled mode linux-amd64 compressed oops)
      # 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 (0x00002aaab4c72800): JavaThread "$TESTBASE/jck/jck-15a/JCK/javatest.jar;$TESTBASE/jck/jck-15a/JCK/classes javasoft.sqe.tests.api.javax.crypto.SealedObject.getObject1Tests -TestCaseID ALL" [_thread_in_vm, id=29518, stack(0x00000000441fd000,0x00000000442fe000)]

      Stack: [0x00000000441fd000,0x00000000442fe000], sp=0x00000000442fad30, free space=3f70000000000000018k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xa82c3c];; VMError::report(outputStream*)+0x116c
      V [libjvm.so+0xa8300a];; VMError::report_and_die()+0x2da
      V [libjvm.so+0x4abca4];; report_vm_error(char const*, int, char const*, char const*)+0x84
      V [libjvm.so+0x959853];; Rewriter::Rewriter(instanceKlassHandle, constantPoolHandle, objArrayHandle, Thread*)+0xe3
      V [libjvm.so+0x95ab47];; Rewriter::rewrite(instanceKlassHandle, Thread*)+0x1e7
      V [libjvm.so+0x5dc774];; instanceKlass::rewrite_class(Thread*)+0xb4
      V [libjvm.so+0x5e2f00];; instanceKlass::link_class_impl(instanceKlassHandle, bool, Thread*)+0x5c0
      V [libjvm.so+0x5e3087];; instanceKlass::link_class(Thread*)+0x47
      V [libjvm.so+0x5e719e];; instanceKlass::initialize_impl(instanceKlassHandle, Thread*)+0x3e
      V [libjvm.so+0x5e780b];; instanceKlass::initialize(Thread*)+0x8b
      V [libjvm.so+0x7a3c93];; LinkResolver::resolve_static_call(CallInfo&, KlassHandle&, symbolHandle, symbolHandle, KlassHandle, bool, bool, Thread*)+0x153
      V [libjvm.so+0x7a3d79];; LinkResolver::resolve_invokestatic(CallInfo&, constantPoolHandle, int, Thread*)+0xa9
      V [libjvm.so+0x610151];; InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code)+0x231
      j javasoft.sqe.jck.lib.javax.jce.CryptoUtil.SPICheck(ILjava/lang/String;)Z+15
      j javasoft.sqe.tests.api.javax.crypto.SealedObject.getObject1Tests.getObject1Tests002()Ljavasoft/sqe/javatest/Status;+22
      v ~StubRoutines::call_stub
      V [libjvm.so+0x61f927];; JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x567
      V [libjvm.so+0x61d78b];; JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x6b
      V [libjvm.so+0x941d67];; Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0x5c7
      V [libjvm.so+0x942bf3];; Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x173
      V [libjvm.so+0x6b8019];; JVM_InvokeMethod+0x1d9
      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;
      j javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)Ljavasoft/sqe/javatest/Status;+152
      j javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintStream;Ljava/io/PrintStream;)Ljavasoft/sqe/javatest/Status;+40
      j javasoft.sqe.tests.api.javax.crypto.SealedObject.getObject1Tests.main([Ljava/lang/String;)V+16
      v ~StubRoutines::call_stub
      V [libjvm.so+0x61f927];; JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x567
      V [libjvm.so+0x61d78b];; JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x6b
      V [libjvm.so+0x941d67];; Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0x5c7
      V [libjvm.so+0x942bf3];; Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x173
      V [libjvm.so+0x6b8019];; JVM_InvokeMethod+0x1d9
      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+0x61f927];; JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x567
      V [libjvm.so+0x61d78b];; JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x6b
      V [libjvm.so+0x61ed60];; JavaCalls::call_virtual(JavaValue*, KlassHandle, symbolHandle, symbolHandle, JavaCallArguments*, Thread*)+0x280
      V [libjvm.so+0x61efa6];; JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, symbolHandle, symbolHandle, Thread*)+0x56
      V [libjvm.so+0x69e0e9];; thread_entry(JavaThread*, Thread*)+0xc9
      V [libjvm.so+0xa29a66];; JavaThread::thread_main_inner()+0xf6
      V [libjvm.so+0x89f150];; java_start(Thread*)+0xf0

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j javasoft.sqe.jck.lib.javax.jce.CryptoUtil.SPICheck(ILjava/lang/String;)Z+15
      j javasoft.sqe.tests.api.javax.crypto.SealedObject.getObject1Tests.getObject1Tests002()Ljavasoft/sqe/javatest/Status;+22
      v ~StubRoutines::call_stub
      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;
      J sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
      J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
      j javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(Ljava/lang/reflect/Method;)Ljavasoft/sqe/javatest/Status;+8
      j javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)Ljavasoft/sqe/javatest/Status;+152
      j javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintStream;Ljava/io/PrintStream;)Ljavasoft/sqe/javatest/Status;+40
      j javasoft.sqe.tests.api.javax.crypto.SealedObject.getObject1Tests.main([Ljava/lang/String;)V+16
      v ~StubRoutines::call_stub
      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;
      J sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
      J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
      J runThese$TestRunner$1.run()V
      v ~StubRoutines::call_stub

        Attachments

          Activity

            People

            Assignee:
            coleenp Coleen Phillimore
            Reporter:
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: