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

nsk/jdi/ReferenceType/failedToInitialize/failedToInitialize001 cause intermetent 1.4.2 JVM crash

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      nsk/jdi/ReferenceType/failedToInitialize/failedToInitialize001 cause intermetent 1.4.2 JVM crash. This is not regression.

      #
      [2010-03-16T16:15:10.65] export CLASSPATH
      [2010-03-16T16:15:10.65] export PERL
      [2010-03-16T16:15:10.65] export PATH
      [2010-03-16T16:15:10.65] export TESTLIST
      [2010-03-16T16:15:10.65] export HOME
      [2010-03-16T16:15:10.65] export DISPLAY
      [2010-03-16T16:15:10.65] export LD_LIBRARY_PATH
      [2010-03-16T16:15:10.65] TEST_DEST_DIR="failedToInitialize001"
      [2010-03-16T16:15:18.90] # Actual: TEST_DEST_DIR=failedToInitialize001
      [2010-03-16T16:15:18.90] TESTNAME="${test_case_name}"
      [2010-03-16T16:15:18.90] # Actual: TESTNAME=failedToInitialize001
      [2010-03-16T16:15:18.90] testName="nsk/jdi/ReferenceType/failedToInitialize//failedToInitialize001"
      [2010-03-16T16:15:18.90] # Actual: testName=nsk/jdi/ReferenceType/failedToInitialize//failedToInitialize001
      [2010-03-16T16:15:18.90] TESTDIR="${test_work_dir}"
      [2010-03-16T16:15:18.90] # Actual: TESTDIR=/export/local/51536.STT.JDK142.PROMOTION.VM+solaris10-x64-64_vm.full.testlist/results/stt-robot.SunOS.x86/failedToInitialize001
      [2010-03-16T16:15:18.90] testWorkDir="${test_work_dir}/"
      [2010-03-16T16:15:18.90] # Actual: testWorkDir=/export/local/51536.STT.JDK142.PROMOTION.VM+solaris10-x64-64_vm.full.testlist/results/stt-robot.SunOS.x86/failedToInitialize001/
      [2010-03-16T16:15:18.90] export testWorkDir
      [2010-03-16T16:15:18.90] tlogOutFile="${test_work_dir}/${test_name}.tlog"
      [2010-03-16T16:15:18.90] # Actual: tlogOutFile=/export/local/51536.STT.JDK142.PROMOTION.VM+solaris10-x64-64_vm.full.testlist/results/stt-robot.SunOS.x86/failedToInitialize001/failedToInitialize001.tlog
      [2010-03-16T16:15:18.90] testErrFile="${test_work_dir}/${test_name}.err"
      [2010-03-16T16:15:18.90] # Actual: testErrFile=/export/local/51536.STT.JDK142.PROMOTION.VM+solaris10-x64-64_vm.full.testlist/results/stt-robot.SunOS.x86/failedToInitialize001/failedToInitialize001.err
      [2010-03-16T16:15:18.90] EXECUTE_CLASS="${test_name}"
      [2010-03-16T16:15:18.90] # Actual: EXECUTE_CLASS=failedToInitialize001
      [2010-03-16T16:15:18.90] EXECUTE_CLASS="nsk.jdi.ReferenceType.failedToInitialize.failedToInitialize001"
      [2010-03-16T16:15:18.90] # Actual: EXECUTE_CLASS=nsk.jdi.ReferenceType.failedToInitialize.failedToInitialize001
      [2010-03-16T16:15:18.90] TEST_ARGS="${JDI_TEST_KEYS} -debugee.vmkeys=${JDI_DEBUGEE_VM_KEYS}"
      [2010-03-16T16:15:18.90] # Actual: TEST_ARGS=-arch=solarisamd64 -waittime=2 -debugee.vmkind=java "-debugee.vmkeys=-d64 -XX:+UseConcMarkSweepGC"
      [2010-03-16T16:15:18.90] APPLICATION_TIMEOUT="${TIMEOUT}"
      [2010-03-16T16:15:18.90] # Actual: APPLICATION_TIMEOUT=30
      [2010-03-16T16:15:18.90] CLASSPATH="${test_work_dir}${PS}${CLASSPATH}"
      [2010-03-16T16:15:18.90] # Actual: CLASSPATH=/export/local/51536.STT.JDK142.PROMOTION.VM+solaris10-x64-64_vm.full.testlist/results/stt-robot.SunOS.x86/failedToInitialize001:/net/stt-13/export/home0/dtf/dtf_ws/suites/142_Suites/vm/src/classes::/export/jdk/j2sdk1.4.2_26/lib/tools.jar:/net/stt-13/export/home0/dtf/dtf_ws/suites/142_Suites/share/harness/tonga/tonga.jar:/net/stt-13/export/home0/dtf/dtf_ws/suites/142_Suites/share/harness/javatest/javatest.jar
      [2010-03-16T16:15:18.90] export CLASSPATH
      [2010-03-16T16:15:18.90] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} -arch=solarisamd64 -waittime=2 -debugee.vmkind=java "-debugee.vmkeys=-d64 -XX:+UseConcMarkSweepGC"
      [2010-03-16T16:15:18.90] # Actual: /export/jdk/j2sdk1.4.2_26/bin/java -d64 -XX:+UseConcMarkSweepGC nsk.jdi.ReferenceType.failedToInitialize.failedToInitialize001 -arch=solarisamd64 -waittime=2 -debugee.vmkind=java "-debugee.vmkeys=-d64 -XX:+UseConcMarkSweepGC"
      [2010-03-16T16:15:18.90] #>
      [2010-03-16T16:15:26.57] #> WARNING: switching log stream to stderr,
      [2010-03-16T16:15:26.57] #> because no output stream is assigned
      [2010-03-16T16:15:26.57] #>
      [2010-03-16T16:15:26.57] debugee.stdout> #
      [2010-03-16T16:15:26.57] debugee.stdout> # An unexpected error has been detected by HotSpot Virtual Machine:
      [2010-03-16T16:15:26.57] debugee.stdout> #
      [2010-03-16T16:15:26.57] debugee.stdout> # SIGSEGV (0xb) at pc=0xfffffd7ffeb8b800, pid=7478, tid=16
      [2010-03-16T16:15:26.57] debugee.stdout> #
      [2010-03-16T16:15:26.57] debugee.stdout> # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.4.2_26-b03 mixed mode)
      [2010-03-16T16:15:26.57] debugee.stdout> # Problematic frame:
      [2010-03-16T16:15:26.57] debugee.stdout> # V [libjvm.so+0x38b800]
      [2010-03-16T16:15:26.57] debugee.stdout> #
      [2010-03-16T16:15:26.57] debugee.stdout> # An error report file with more information is saved as hs_err_pid7478.log
      [2010-03-16T16:15:26.57] debugee.stdout> #
      [2010-03-16T16:15:26.57] debugee.stdout> # If you would like to submit a bug report, please visit:
      [2010-03-16T16:15:26.57] debugee.stdout> # http://java.sun.com/webapps/bugreport/crash.jsp
      [2010-03-16T16:15:26.57] debugee.stdout> #
      [2010-03-16T16:15:26.57] Exception in thread "main" java.lang.NullPointerException
      [2010-03-16T16:15:26.57] at java.lang.Throwable.printStackTrace(Throwable.java:460)
      [2010-03-16T16:15:26.57] at nsk.share.jpda.SocketConnection.readObject(SocketConnection.java:537)
      [2010-03-16T16:15:26.57] at nsk.share.jpda.IOPipe.readln(IOPipe.java:157)
      [2010-03-16T16:15:26.57] at nsk.jdi.Re==> nsk/jdi/ReferenceType/failedToInitialize/failedToInitialize001 test LOG:
      [2010-03-16T16:15:27.31] ==> test checks failedToInitialize() method of ReferenceType interface
      [2010-03-16T16:15:27.31] of the com.sun.jdi package for ClassType, InterfaceType
      [2010-03-16T16:15:27.31]
      [2010-03-16T16:15:27.31] ferenceType.failedToInitialize.failedToInitialize001.runThis(failedToInitialize001.java:108)
      [2010-03-16T16:15:27.31] at nsk.jdi.ReferenceType.failedToInitialize.failedToInitialize001.run(failedToInitialize001.java:64)
      [2010-03-16T16:15:27.31] at nsk.jdi.ReferenceType.failedToInitialize.failedToInitialize001.main(failedToInitialize001.java:53)
      [2010-03-16T16:15:27.31] # Test level exit status: 1
      [2010-03-16T16:15:28.33]
      Here are some useful snippets from the hs_err_pid file:

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

      Current thread (0x000000000042a820): JavaThread "CompilerThread1" daemon [_thread_in_native, id=16]

      siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x0000000000814cb0;;
      ;; si_signo=11 SIGSEGV
      ;; si_code=1 SEGV_MAPERR /* Address not mapped to object. */

      Registers:
      RAX=0x0000000000000000, RBX=0xfffffd7fff217a00, RCX=0x0000000000000000, RDX=0xfffffd7fff00c6d8
      RSP=0xfffffd7fec3fde60, RBP=0xfffffd7fec3fde70, RSI=0x0000000000000000, RDI=0x0000000000814cb0
      , R8=0x0000000000000000, R9=0x0000000000814cb0, R10=0x0000000000000000, R11=0x00000000005c4cf0, R12=0x00000000005ac030, R13=0x00000000005ac030, R14=0xfffffd7fec3fe690, R15=0x00000000005ac418
      RIP=0xfffffd7ffeb8b800, RFLAGS=0x0000000000010202

      Top of Stack: (sp=0xfffffd7fec3fde60)
      0xfffffd7fec3fde60: 00000000005ac030 00000000005ac030
      0xfffffd7fec3fde70: fffffd7fec3fde90 fffffd7ffeb8b838
      0xfffffd7fec3fde80: 00000000005ac040 fffffd7ffebf6a02
      0xfffffd7fec3fde90: fffffd7fec3fe310 fffffd7ffebc7154
      0xfffffd7fec3fdea0: fffffd7fec3fe5d0 fffffd7fec3fe690
      0xfffffd7fec3fdeb0: fffffd7fec3ff508 fffffd7fec3fe368
      0xfffffd7fec3fdec0: 000000000054f9b0 0000000000630910
      0xfffffd7fec3fded0: 00000000005abc40 00000000005abc40
      0xfffffd7fec3fdee0: fffffd7fec3fdef0 00000000005ac030
      0xfffffd7fec3fdef0: 0000000000607f10 000000000060d200
      0xfffffd7fec3fdf00: 000000000060fef8 0000000000000001
      0xfffffd7fec3fdf10: 0000000000630910 0000000000630910
      0xfffffd7fec3fdf20: fffffd7fff217a00 000000000000000c
      0xfffffd7fec3fdf30: fffffd7fec3ff508 00000000006a2080
      0xfffffd7fec3fdf40: 00000000005fa9b0 0000000000607f20
      0xfffffd7fec3fdf50: 0000000000608c40 000000000061d590
      0xfffffd7fec3fdf60: fffffd7fec3fe5d0 fffffd7fec3fe758
      0xfffffd7fec3fdf70: 00000000000002d1 fffffd7fec3fdee8
      0xfffffd7fec3fdf80: fffffd7f0000000d fffffd7fec3ff508
      0xfffffd7fec3fdf90: 0000000000814cc0 fffffd7f00000000
      0xfffffd7fec3fdfa0: 00000000006d9d00 fffffd7f000002d1
      0xfffffd7fec3fdfb0: fffffd7fec3fdee8 00000000005ac040
      0xfffffd7fec3fdfc0: 0000000000000000 0000000000000001
      0xfffffd7fec3fdfd0: 0000000000000000 000000000078f550
      0xfffffd7fec3fdfe0: 0000000000000000 0000000000790028
      0xfffffd7fec3fdff0: 0000000000421510 0000000000000000
      0xfffffd7fec3fe000: 0000000000000000 000000000078f550
      0xfffffd7fec3fe010: fffffd7fec3fe050 fffffd7ffeb8bafa
      0xfffffd7fec3fe020: fffffd7fec3fe050 fffffd7ffede69b8
      0xfffffd7fec3fe030: 00000000006675e0 00000000006261b8
      0xfffffd7fec3fe040: 0000000000000006 00000000006261b0
      0xfffffd7fec3fe050: fffffd7ffeff3f98 fffffd7f0000000e

      Instructions: (pc=0xfffffd7ffeb8b800)
      0xfffffd7ffeb8b7f0: 55 48 8b ec 48 83 ec 08 41 54 48 85 ff 74 13 90
      0xfffffd7ffeb8b800: 4c 8b 27 33 c0 e8 c6 fe ff ff 49 8b fc 4d 85 e4
      ;; fffffd7ffeb8b7f0 55 push %rbp
      ;; fffffd7ffeb8b7f1 48 8b ec mov %rsp,%rbp
      ;; fffffd7ffeb8b7f4 48 83 ec 08 sub $0x8,%rsp
      ;; fffffd7ffeb8b7f8 41 54 push %r12
      ;; fffffd7ffeb8b7fa 48 85 ff test %rdi,%rdi
      ;; fffffd7ffeb8b7fd 74 13 je 0xfffffffffeb8b812
      ;; fffffd7ffeb8b7ff 90 nop
      ;; ---------------
      ;; fffffd7ffeb8b800 4c 8b 27 mov (%rdi),%r12
      ;; fffffd7ffeb8b803 33 c0 xor %eax,%eax
      ;; fffffd7ffeb8b805 e8 c6 fe ff ff callq 0xfffffffffeb8b6d0
      ;; fffffd7ffeb8b80a 49 8b fc mov %r12,%rdi
      ;; fffffd7ffeb8b80d 4d 85 e4 test %r12,%r12
      ;;
      Stack: [0xfffffd7fec000000,0xfffffd7fec400000), sp=0xfffffd7fec3fde60, free space=4087k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x38b800];; __1cFChunkEchop6M_v_+0x10
      V [libjvm.so+0x38b838];; __1cFChunkJnext_chop6M_v_+0x18
      V [libjvm.so+0x3c7154];; __1cMPhaseChaitinRRegister_Allocate6M_v_+0x5c4
      V [libjvm.so+0x409e21];; __1cHCompileICode_Gen6M_v_+0x291
      V [libjvm.so+0x40738a];; __1cHCompile2t6MpnFciEnv_pnHciScope_pnIciMethod_iii_v_+0xa8a
      V [libjvm.so+0x3b5da8];; __1cKC2CompilerOcompile_method6MpnFciEnv_pnHciScope_pnIciMethod_ii_v_+0xa8
      V [libjvm.so+0x40ec83];; __1cNCompileBrokerZinvoke_compiler_on_method6FpnLCompileTask__v_+0x533
      V [libjvm.so+0x40e2df];; __1cNCompileBrokerUcompiler_thread_loop6F_v_+0x33f
      V [libjvm.so+0x6ab53b];; __1cVcompiler_thread_entry6FpnKJavaThread_pnGThread__v_+0xb
      V [libjvm.so+0x6a8471];; __1cKJavaThreadRthread_main_inner6M_v_+0x51
      V [libjvm.so+0x6a840a];; __1cKJavaThreadDrun6M_v_+0xda
      V [libjvm.so+0x5f270e];; java_start+0xae
      C [libc.so.1+0xdb9ab] _thr_slot_offset+0x31b;; _thr_setup+0x5b
      C [libc.so.1+0xdbbd0] _thr_slot_offset+0x540;; _lwp_start+0x0


      Current CompileTask:
      opto: 3 s java.util.Properties.load(Ljava/io/InputStream;)V (433 bytes)


      Based on the crashing thread name (CompilerThread1) and the stack
      trace, this crash should be routed to the Server Compiler folks.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rkapshevsunw Roman Kapshevich (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: