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

intermittent SIGSEGV crash in MethodInvocation002

    XMLWordPrintable

Details

    • generic
    • os_x, solaris

    Description

      The following test failed in the 2012.08.13 RT_Baseline nightly:

          dtrace/hotspot/MethodInvocation/MethodInvocation002

      with a SIGSEGV.

      Here is the failing config info:

      Host: jtg-x4100-03, AMD x86 2393 MHz, 4 cores, 4G, Solaris / Solaris 10, i86pc
      JDK: Java(TM) SE Runtime Environment 1.7.0_06 b24 (1.7.0_06-fastdebug-b24)
      VM: Java HotSpot(TM) 64-Bit Server VM 24.0 b20 (24.0-b20-internal-201208110624.ddaugher.7190512_for_hsx24-fastdebug)
      Options: -d64 -server -Xmixed -XX:DefaultMaxRAMFraction=8 -XX:ReservedCodeCacheSize=256M

      This failure only happened in one config so I'm considering it
      to be intermittent.

      Here is a snippet from the hs_err_pid file:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xfffffd7ffe011666, pid=17444, tid=2
      #
      # JRE version: Java(TM) SE Runtime Environment (7.0_06-b24)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.0-b20-internal-201208110624.ddaugher.7190512_for_hsx24-fastdebug mixed mode solaris-amd64 compressed oops)
      # Problematic frame:
      # V [libjvm.so+0x2211666] Symbol*methodOopDesc::klass_name()const+0x2e
      #
      # Core dump written. Default location: /export/local/87403.JAVASE.NIGHTLY.VM.RT_Baseline.2012-08-13.solaris-amd64_vm__server_mixed_vm.dtrace.testlist.runTests/results/ResultDir/MethodInvocation002/core or core.17444
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp

      <snip>

      Stack: [0xfffffd7ffbacf000,0xfffffd7ffbbcf000], sp=0xfffffd7ffbbce190, free space=1020k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x2211666] Symbol*methodOopDesc::klass_name()const+0x2e;; __1cNmethodOopDescKklass_name6kM_pnGSymbol__+0x2e
      V [libjvm.so+0x268016e] int SharedRuntime::dtrace_method_exit(JavaThread*,methodOopDesc*)+0x18e;; __1cNSharedRuntimeSdtrace_method_exit6FpnKJavaThread_pnNmethodOopDesc__i_+0x18e
      J sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
      v ~StubRoutines::call_stub
      V [libjvm.so+0x1686f22] void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0xa5a;; __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_+0xa5a
      V [libjvm.so+0x1686484] void JavaCalls::call(JavaValue*,methodHandle,JavaCallArguments*,Thread*)+0x44;; __1cJJavaCallsEcall6FpnJJavaValue_nMmethodHandle_pnRJavaCallArguments_pnGThread__v_+0x44
      V [libjvm.so+0x179a491] void jni_invoke_static(JNIEnv_*,JavaValue*,_jobject*,JNICallType,_jmethodID*,JNI_ArgumentPusher*,Thread*)+0x130d;; __1cRjni_invoke_static6FpnHJNIEnv__pnJJavaValue_pnI_jobject_nLJNICallType_pnK_jmethodID_pnSJNI_ArgumentPusher_pnGThread__v_+0x130d
      V [libjvm.so+0x180d619] jni_CallStaticVoidMethod+0xad9;; jni_CallStaticVoidMethod+0xad9
      C [libjli.so+0x5a1d] JavaMain+0x275;; JavaMain+0x275
      C [libc.so.1+0xdbfbb] _thr_setup+0x5b;; _thr_setup+0x5b
      C [libc.so.1+0xdc1e0] ht_pause+0x10;; _lwp_start+0x0
      Another SIGSEGV failure on a different platform with a different
      call trace.

      Here is the failing config info:

      Host: bur398-217, Sun Sparcv9 2848 MHz, 64 cores, 64G, Solaris / Solaris 10, sun4v
      JDK: Java(TM) SE Runtime Environment 1.7.0_06 b24 (1.7.0_06-fastdebug-b24)
      VM: Java HotSpot(TM) Server VM 24.0 b20 (24.0-b20-internal-201208110624.ddaugher.7190512_for_hsx24-fastdebug)
      Options: -server -Xmixed -XX:DefaultMaxRAMFraction=8 -XX:ReservedCodeCacheSize=256M


      Here is a snippet from the hs_err_pid file:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xfe45325c, pid=29765, tid=2
      #
      # JRE version: Java(TM) SE Runtime Environment (7.0_06-b24)
      # Java VM: Java HotSpot(TM) Server VM (24.0-b20-internal-201208110624.ddaugher.7190512_for_hsx24-fastdebug mixed mode solaris-sparc )
      # Problematic frame:
      # V [libjvm.so+0x105325c] unsigned char*SharedRuntime::raw_exception_handler_for_return_address(JavaThread*,unsigned char*)+0x6c
      #
      # Core dump written. Default location: /export/home/local/87403.JAVASE.NIGHTLY.VM.RT_Baseline.2012-08-13.solaris-sparc_vm__server_mixed_vm.dtrace.testlist.runTests/results/ResultDir/MethodInvocation002/core or core.29765
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp

      <snip>

      Stack: [0xfd300000,0xfd380000], sp=0xfd37f728, free space=509k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x105325c] unsigned char*SharedRuntime::raw_exception_handler_for_return_address(JavaThread*,unsigned char*)+0x6c;; __1cNSharedRuntimebOraw_exception_handler_for_return_address6FpnKJavaThread_pC_3_+0x6c
      V [libjvm.so+0x1053704] unsigned char*SharedRuntime::exception_handler_for_return_address(JavaThread*,unsigned char*)+0x110;; __1cNSharedRuntimebKexception_handler_for_return_address6FpnKJavaThread_pC_3_+0x110
      v ~RuntimeStub::unwind_exception Runtime1 stub
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+57
      j dtrace.hotspot.MethodInvocation.MethodInvocation001.MethodInvocation001.main([Ljava/lang/String;)V+182
      v ~StubRoutines::call_stub
      V [libjvm.so+0x9abe18] void JavaCalls::call_helper(JavaValue*,methodHandle*,JavaCallArguments*,Thread*)+0xa1c;; __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_+0xa1c
      V [libjvm.so+0x9f3650] void jni_invoke_static(JNIEnv_*,JavaValue*,_jobject*,JNICallType,_jmethodID*,JNI_ArgumentPusher*,Thread*)+0x7d0;; __1cRjni_invoke_static6FpnHJNIEnv__pnJJavaValue_pnI_jobject_nLJNICallType_pnK_jmethodID_pnSJNI_ArgumentPusher_pnGThread__v_+0x7d0
      V [libjvm.so+0xa358ac] jni_CallStaticVoidMethod+0x93c;; jni_CallStaticVoidMethod+0x93c
      C [libjli.so+0x2924] JavaMain+0x568;; JavaMain+0x568

      Attachments

        Issue Links

          Activity

            People

              iveresov Igor Veresov
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: