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

assert(obj == NULL || Universe::heap()->is_in(obj)) failed: sanity check

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The following VM/NSK JDI test fails an assertion intermittently
      in nightly testing:

          nsk/jdi/ThreadReference/forceEarlyReturn/forceEarlyReturn010

      Here is a snippet from the hs_err_pid file:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/tmp/jprt/P1/B/192617.zg131198/source/src/cpu/x86/vm/frame_x86.cpp:620), pid=14683, tid=18
      # assert(obj == NULL || Universe::heap()->is_in(obj)) failed: sanity check
      #
      # JRE version: 7.0
      # Java VM: Java HotSpot(TM) Server VM (20.0-b01-201009301926.zg131198.hotspot-fastdebug mixed mode solaris-x86 )
      # 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 (0x08375400): JavaThread "forceEarlyReturn009aTestThreadWithSingleFrame" [_thread_in_vm, id=18, stack(0xd35af000,0xd35ff000)]

      Stack: [0xd35af000,0xd35ff000], sp=0xd35fde30, free space=315k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1cda626];; __1cHVMErrorGreport6MpnMoutputStream__v_+0x6f6
      V [libjvm.so+0x1cdb775];; __1cHVMErrorOreport_and_die6M_v_+0x555
      V [libjvm.so+0xaf0e4c];; __1cPreport_vm_error6Fpkci11_v_+0x534
      V [libjvm.so+0xc2839a];; __1cFframeYinterpreter_frame_result6MpnDoop_pnGjvalue__nJBasicType__+0x3aa
      V [libjvm.so+0x12ad441];; __1cLJvmtiExportQpost_method_exit6FpnKJavaThread_nJmethodOop_nFframe__v_+0xab1
      V [libjvm.so+0xeb9fca];; __1cSInterpreterRuntimeQpost_method_exit6FpnKJavaThread__v_+0x42e
      j nsk.jdi.ThreadReference.forceEarlyReturn.forceEarlyReturn009.forceEarlyReturn009a$ThreadWithSingleFrame.inlinedMethodReturningObject()Ljava/lang/Object;+0
      j nsk.jdi.ThreadReference.forceEarlyReturn.forceEarlyReturn009.forceEarlyReturn009a$ThreadWithSingleFrame.run()V+80
      v ~StubRoutines::call_stub
      V [libjvm.so+0xece805];; __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_+0x84d
      V [libjvm.so+0x1824690];; __1cCosUos_exception_wrapper6FpFpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v2468_v_+0x18
      V [libjvm.so+0xecc49c];; __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_+0x458
      V [libjvm.so+0x11287c5];; __1cMthread_entry6FpnKJavaThread_pnGThread__v_+0x26d
      V [libjvm.so+0x1bc50c9];; __1cKJavaThreadRthread_main_inner6M_v_+0x179
      V [libjvm.so+0x1bc4d79];; __1cKJavaThreadDrun6M_v_+0x619
      V [libjvm.so+0x18148e1];; java_start+0x711
      C [libc.so.1+0xbd793] _thrp_setup+0x9b;; _thrp_setup+0x9b
      C [libc.so.1+0xbda40] _lwp_start+0x0;; _lwp_start+0x0

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j nsk.jdi.ThreadReference.forceEarlyReturn.forceEarlyReturn009.forceEarlyReturn009a$ThreadWithSingleFrame.inlinedMethodReturningObject()Ljava/lang/Object;+0
      j nsk.jdi.ThreadReference.forceEarlyReturn.forceEarlyReturn009.forceEarlyReturn009a$ThreadWithSingleFrame.run()V+80
      v ~StubRoutines::call_stub
      Here is another instance of this failure mode on Solaris SPARC-V9:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/tmp/jprt/P1/B/230657.kk1971/source/src/cpu/sparc/vm/frame_sparc.cpp:768), pid=23292, tid=16
      # assert(obj == NULL || Universe::heap()->is_in(obj)) failed: sanity check
      #
      # JRE version: 7.0
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.0-b01-201010192306.kk1971.hotspot-fastdebug mixed mode solaris-sparc compressed oops)

      Here is the URL for the failing config:

      http://sqeweb.sfbay.sun.com/nfs/tools/gtee/results/JDK7/NIGHTLY/VM/2010-10-19/RT_Baseline/vm/solaris-sparcv9/server/mixed/solaris-sparcv9_vm_server_mixed_nsk.quick-jdi.testlist/analysis.html

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: