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

assert(has_cp_cache(i)) failed: oob

    Details

    • Subcomponent:
    • Resolved In Build:
      b15
    • CPU:
      generic, x86
    • OS:
      generic, linux_ubuntu
    • Verification:
      Not verified

      Backports

        Description

        Application crashes with assert (JDK 7 b136, HS 21 b06, -server -d64 -XX:-UseCompressedOops -XX:+UseParallelGC -XX:+UseParallelOldGC -Xcomp -XX:CompileThreshold=1 -XX:+UseCodeCacheFlushing)

        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/export/HUDSON/workspace/jdk7-2-build-solaris-amd64-product/jdk7/hotspot/src/share/vm/interpreter/rewriter.hpp:50), pid=3699, tid=250
        # assert(has_cp_cache(i)) failed: oob
        #
        # JRE version: 7.0-b136
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (21.0-b06-fastdebug compiled mode solaris-amd64 )

        Current thread (0x00000000045e7000): JavaThread "Thread-26" [_thread_in_vm, id=250, stack(0xfffffd7ffb774000,0xfffffd7ffb874000)]

        Stack: [0xfffffd7ffb774000,0xfffffd7ffb874000], sp=0xfffffd7ffb86df70, free space=999k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x25e8c9e] void VMError::report(outputStream*)+0x8c6;; void VMError::report(outputStream*)+0x8c6
        V [libjvm.so+0x25e9ddd] void VMError::report_and_die()+0x4fd;; void VMError::report_and_die()+0x4fd
        V [libjvm.so+0xe2f723] void report_vm_error(const char*,int,const char*,const char*)+0x55f;; void report_vm_error(const char*,int,const char*,const char*)+0x55f
        V [libjvm.so+0x226bb3d] void Rewriter::scan_method(methodOop)+0xdc5;; void Rewriter::scan_method(methodOop)+0xdc5
        V [libjvm.so+0x226df24] Rewriter::Rewriter #Nvariant 1(instanceKlassHandle,constantPoolHandle,objArrayHandle,Thread*)+0xe50;; Rewriter::Rewriter(instanceKlassHandle,constantPoolHandle,objArrayHandle,Thread*)+0xe50
        V [libjvm.so+0x226cc14] void Rewriter::rewrite(instanceKlassHandle,Thread*)+0x940;; void Rewriter::rewrite(instanceKlassHandle,Thread*)+0x940
        V [libjvm.so+0x11896c4] void instanceKlass::rewrite_class(Thread*)+0x54c;; void instanceKlass::rewrite_class(Thread*)+0x54c
        V [libjvm.so+0x1188468] bool instanceKlass::link_class_impl(instanceKlassHandle,bool,Thread*)+0x19c4;; bool instanceKlass::link_class_impl(instanceKlassHandle,bool,Thread*)+0x19c4
        V [libjvm.so+0x11864a9] void instanceKlass::link_class(Thread*)+0x375;; void instanceKlass::link_class(Thread*)+0x375
        V [libjvm.so+0x11899d0] void instanceKlass::initialize_impl(instanceKlassHandle,Thread*)+0xec;; void instanceKlass::initialize_impl(instanceKlassHandle,Thread*)+0xec
        V [libjvm.so+0x1185eac] void instanceKlass::initialize(Thread*)+0x38c;; void instanceKlass::initialize(Thread*)+0x38c
        V [libjvm.so+0xf6919c] Handle Exceptions::new_exception(Thread*,Symbol*,Symbol*,JavaCallArguments*,Handle,Handle,Handle)+0x588;; Handle Exceptions::new_exception(Thread*,Symbol*,Symbol*,JavaCallArguments*,Handle,Handle,Handle)+0x588
        V [libjvm.so+0xf67397] void Exceptions::_throw_args(Thread*,const char*,int,Symbol*,Symbol*,JavaCallArguments*)+0x92b;; void Exceptions::_throw_args(Thread*,const char*,int,Symbol*,Symbol*,JavaCallArguments*)+0x92b
        V [libjvm.so+0x221911c] oop Reflection::invoke(instanceKlassHandle,methodHandle,Handle,bool,objArrayHandle,BasicType,objArrayHandle,bool,Thread*)+0x31f4;; oop Reflection::invoke(instanceKlassHandle,methodHandle,Handle,bool,objArrayHandle,BasicType,objArrayHandle,bool,Thread*)+0x31f4
        V [libjvm.so+0x2230e01] oop Reflection::invoke_method(oop,Handle,objArrayHandle,Thread*)+0xdd5;; oop Reflection::invoke_method(oop,Handle,objArrayHandle,Thread*)+0xdd5
        V [libjvm.so+0x17a87be] JVM_InvokeMethod+0xae2;; JVM_InvokeMethod+0xae2
        C [libjava.so+0x1ae16] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x12;; Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x12
        J sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

        Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
        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 bigapps.dacapo.DacapoRunner$BenchmarkRunner.run()V
        J java.lang.Thread.run()V
        v ~StubRoutines::call_stub
        -

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  coleenp Coleen Phillimore
                  Reporter:
                  nhaustov Nicolay Haustov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: