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

DynamicProbes01 fails with "assert(DTraceAllocProbes) failed: wrong call"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • tbd
    • hs21, 7
    • hotspot
    • svc
    • b06
    • generic
    • generic

      dtrace/hotspot/DynamicProbes/DynamicProbes01

      This test has been intermittently failing in nightly testing.

      Running on solaris-sparc -client -Xcomp

      ;; Using jvm: "/export/local/common/jdk/baseline/solaris-sparc/jre/lib/sparc/client/libjvm.so"
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/tmp/jprt/P2/B/112551.sl241435/source/src/share/vm/runtime/sharedRuntime.cpp:880), pid=29515, tid=2
      # assert(DTraceAllocProbes) failed: wrong call
      #
      # JRE version: 7.0-b120
      # Java VM: OpenJDK Client VM (20.0-b03-internal-201012071125.sl241435.hotspot-rt-push-fastdebug compiled mode, sharing solaris-sparc )
      # 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 (0x0005c000): JavaThread "main" [_thread_in_Java, id=2, stack(0xfd800000,0xfd880000)]

      Stack: [0xfd800000,0xfd880000], sp=0xfd87f668, free space=509k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xdd65f4];; void VMError::report_and_die()+0x77c
      V [libjvm.so+0x4eb928];; void report_vm_error(const char*,int,const char*,const char*)+0x74
      V [libjvm.so+0xc1b544];; int SharedRuntime::dtrace_object_alloc_base(Thread*,oopDesc*)+0x4c
      v ~RuntimeStub::dtrace_object_alloc Runtime1 stub
      J java.lang.Integer.toString(I)Ljava/lang/String;
      J dtrace.hotspot.DynamicProbes.DynamicProbes01.DynamicProbes01.main([Ljava/lang/String;)V
      v ~StubRoutines::call_stub
      V [libjvm.so+0x6af3d4];; void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0x998
      V [libjvm.so+0x6f2bfc];; void jni_invoke_static(JNIEnv_*,JavaValue*,_jobject*,JNICallType,_jmethodID*,JNI_ArgumentPusher*,Thread*)+0x133c
      V [libjvm.so+0x72b0dc];; jni_CallStaticVoidMethod+0x6e8
      C [libjli.so+0x2528] JavaMain+0x4e8;; JavaMain+0x4e8
      Another failure mode, the rest of the stack is the same.

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/tmp/jprt/P1/B/070014.dh198349/source/src/share/vm/oops/oop.inline.hpp:482), pid=10564, tid=2
      # assert(s> 0) failed: Bad size calculated
      #
      # JRE version: 7.0-b137
      # Java VM: Java HotSpot(TM) Server VM (21.0-b05-internal-201104120700.dh198349.hotspot-fastdebug compiled mode solaris-sparc )
      # Core dump written. Default location: /export/local/47437.JDK7.NIGHTLY.VM+solaris-sparc_vm_server_comp_vm.dtrace.testlist/results/ResultDir/DynamicProbes01/core or core.10564
      #
      # 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 (0x0003e000): JavaThread "main" [_thread_in_vm, id=2, stack(0xfd380000,0xfd400000)]

      Stack: [0xfd380000,0xfd400000], sp=0xfd3fd010, free space=500k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x10f0344] void VMError::report_and_die()+0x7d0;; void VMError::report_and_die()+0x7d0
      V [libjvm.so+0x68cd38] void report_vm_error(const char*,int,const char*,const char*)+0x74;; void report_vm_error(const char*,int,const char*,const char*)+0x74
      V [libjvm.so+0x2bdb00] int oopDesc::size_given_klass(Klass*)+0x5d8;; int oopDesc::size_given_klass(Klass*)+0x5d8
      V [libjvm.so+0xf100d0] int SharedRuntime::dtrace_object_alloc_base(Thread*,oopDesc*)+0x100;; int SharedRuntime::dtrace
      Full stack trace:

      Stack: [0xfffffd7ffec1f000,0xfffffd7ffed1f000], sp=0xfffffd7ffed1b1c0, free space=1008k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x270eb8c] void VMError::report(outputStream*)+0x8c8
      V [libjvm.so+0x270fccd] void VMError::report_and_die()+0x4fd
      V [libjvm.so+0xe82753] void report_vm_error(const char*,int,const char*,const char*)+0x55f
      V [libjvm.so+0x23f0855] int SharedRuntime::dtrace_object_alloc(oopDesc*)+0xcc1
      V [libjvm.so+0x139e312] instanceOop instanceMirrorKlass::allocate_instance(KlassHandle,Thread*)+0x3dca
      V [libjvm.so+0x1507994] oop java_lang_Class::create_basic_type_mirror(const char*,BasicType,Thread*)+0x4f8
      V [libjvm.so+0x2663a69] void Universe::initialize_basic_type_mirrors(Thread*)+0x59
      V [libjvm.so+0x254b2b8] void SystemDictionary::initialize(Thread*)+0x194
      V [libjvm.so+0x265d28c] void Universe::genesis(Thread*)+0xdd4
      V [libjvm.so+0x2669e3e] void universe2_init()+0x36
      V [libjvm.so+0x11f78cb] int init_globals()+0xcf
      V [libjvm.so+0x25dd498] int Threads::create_vm(JavaVMInitArgs*,bool*)+0x1b8
      V [libjvm.so+0x16b5808] JNI_CreateJavaVM+0x78
      C [libjli.so+0x7295] InitializeJVM+0x109
      C [libjli.so+0x518f] JavaMain+0x4f
      C [libc.so.1+0x114b24] _thrp_setup+0xbc
      C [libc.so.1+0x114df0] _lwp_start+0x0
      The second issues is unrelated and I've filed 7098528 for it.

      In looking at the original bug I think these asserts are just wrong. DTraceAllocProbes can change its value at any time.

            Unassigned Unassigned
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: