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

VM crashes with "assert(method() != NULL) failed: must have set method"

XMLWordPrintable

    • b55
    • Not verified

        Today's nightlies failed with the following crash on linux-x86:

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/opt/jprt/T/P1/142755.thomas/s/src/share/vm/oops/klassVtable.cpp:1113), pid=19371, tid=3023231856
        # assert(method() != NULL) failed: must have set method
        #
        # JRE version: Java(TM) SE Runtime Environment (8.0-b106) (build 1.8.0-ea-fastdebug-b106)
        # Java VM: Java HotSpot(TM) Client VM (25.0-b50-internal-201309111427.thomas.src-fastdebug mixed mode, sharing linux-x86 )
        # 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://bugreport.sun.com/bugreport/crash.jsp
        #

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

        Current thread (0xb4434000): JavaThread "Service Thread" daemon [_thread_in_vm, id=19426, stack(0xb42dd000,0xb432e000)]

        Stack: [0xb42dd000,0xb432e000], sp=0xb432c330, free space=316k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x895485] VMError::report_and_die()+0x185;; VMError::report_and_die()+0x185
        V [libjvm.so+0x33a258] report_vm_error(char const*, int, char const*, char const*)+0x68;; report_vm_error(char const*, int, char const*, char const*)+0x68
        V [libjvm.so+0x636b31] vtableEntry::verify(klassVtable*, outputStream*)+0x111;; vtableEntry::verify(klassVtable*, outputStream*)+0x111
        V [libjvm.so+0x636bb8] klassVtable::verify(outputStream*, bool)+0x78;; klassVtable::verify(outputStream*, bool)+0x78
        V [libjvm.so+0x44044e] InstanceKlass::link_class_impl(instanceKlassHandle, bool, Thread*)+0x56e;; InstanceKlass::link_class_impl(instanceKlassHandle, bool, Thread*)+0x56e
        V [libjvm.so+0x44059d] InstanceKlass::link_class(Thread*)+0x7d;; InstanceKlass::link_class(Thread*)+0x7d
        V [libjvm.so+0x4405c9] InstanceKlass::initialize_impl(instanceKlassHandle, Thread*)+0x19;; InstanceKlass::initialize_impl(instanceKlassHandle, Thread*)+0x19
        V [libjvm.so+0x440bd6] InstanceKlass::initialize(Thread*)+0x76;; InstanceKlass::initialize(Thread*)+0x76
        V [libjvm.so+0x6400dd] LinkResolver::resolve_static_call(CallInfo&, KlassHandle&, Symbol*, Symbol*, KlassHandle, bool, bool, Thread*)+0xed;; LinkResolver::resolve_static_call(CallInfo&, KlassHandle&, Symbol*, Symbol*, KlassHandle, bool, bool, Thread*)+0xed
        V [libjvm.so+0x6427de] LinkResolver::resolve_invoke(CallInfo&, Handle, constantPoolHandle, int, Bytecodes::Code, Thread*)+0x24e;; .L1224+0x6e
        V [libjvm.so+0x47394e] InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code)+0x40e;; InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code)+0x40e
        j sun.management.MemoryImpl.createNotification(Ljava/lang/String;Ljava/lang/String;Ljava/lang/management/MemoryUsage;J)V+64
        j sun.management.MemoryPoolImpl$CollectionSensor.triggerAction(Ljava/lang/management/MemoryUsage;)V+20
        j sun.management.Sensor.trigger(ILjava/lang/management/MemoryUsage;)V+37
        v ~StubRoutines::call_stub
        V [libjvm.so+0x47e227] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x17e7;; .L543+0x328
        V [libjvm.so+0x706c59] 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+0x47e8fb] JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x4eb;; JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x4eb
        V [libjvm.so+0x646963] SensorInfo::trigger(int, Thread*)+0x183;; SensorInfo::trigger(int, Thread*)+0x183
        V [libjvm.so+0x6471f6] LowMemoryDetector::process_sensor_changes(Thread*)+0xb6;; LowMemoryDetector::process_sensor_changes(Thread*)+0xb6
        V [libjvm.so+0x79e004] ServiceThread::service_thread_entry(JavaThread*, Thread*)+0x394;; ServiceThread::service_thread_entry(JavaThread*, Thread*)+0x394
        V [libjvm.so+0x841c69] JavaThread::thread_main_inner()+0x1b9;; JavaThread::thread_main_inner()+0x1b9
        V [libjvm.so+0x841f78] JavaThread::run()+0x268;; JavaThread::run()+0x268
        V [libjvm.so+0x70fa19] java_start(Thread*)+0x119;; java_start(Thread*)+0x119
        C [libpthread.so.0+0x6a09] start_thread+0xc9

        ILW: crash, low, no workaround -> p2 - please re-evaluate

              hseigel Harold Seigel (Inactive)
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: