Test vmTestbase/vm/mlvm/indy/func/jdi/breakpoint/Test.java hangs during VM exit

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 26
    • Component/s: core-svc

      The test reports that it passed and timed out:

      [10:3:18.738] ### TRACE 1: Breakpoint for method indyWrapper was hit 1 times. OK.
      [10:3:18.738] ### TRACE 1: Breakpoint for method bootstrap was hit 1 times. OK.
      [10:3:18.738] ### TRACE 1: Breakpoint for method target was hit 1 times. OK.
      [10:3:18.738] ### TRACE 1: Breakpoint for method stop was hit 1 times. OK.
      [10:3:18.773] debugee.stdout> [10:3:18.753] ### TRACE 1: DEBUGGEE PASSED
      [10:11:15.733] Timeout signalled after 480 seconds
      [10:11:19.519] debugee.stdout> [482.680s][warning][gc,alloc] Attach Listener: Stall for VM-Shutdown timed out; allocation may fail with OOME
      [10:11:29.793] debugee.stdout> [492.954s][warning][gc,alloc] Attach Listener: Stall for VM-Shutdown timed out; allocation may fail with OOME
      [10:11:35.378] debugee.stdout> [498.539s][warning][gc,alloc] Attach Listener: Stall for VM-Shutdown timed out; allocation may fail with OOME
      [10:11:38.201] debugee.stdout> [501.362s][warning][gc,alloc] Attach Listener: Stall for VM-Shutdown timed out; allocation may fail with OOME
      [10:11:41.190] debugee.stdout> [504.351s][warning][gc,alloc] Attach Listener: Stall for VM-Shutdown timed out; allocation may fail with OOME
      [10:11:44.171] debugee.stdout> [507.332s][warning][gc,alloc] Attach Listener: Stall for VM-Shutdown timed out; allocation may fail with OOME
      [10:11:47.168] debugee.stdout> [510.329s][warning][gc,alloc] Attach Listener: Stall for VM-Shutdown timed out; allocation may fail with OOME
      [10:11:50.165] debugee.stdout> [513.326s][warning][gc,alloc] Attach Listener: Stall for VM-Shutdown timed out; allocation may fail with OOME
      [10:11:53.142] debugee.stdout> [516.303s][warning][gc,alloc] Attach Listener: Stall for VM-Shutdown timed out; allocation may fail with OOME
      [10:11:55.955] debugee.stdout> [519.116s][warning][gc,alloc] Attach Listener: Stall for VM-Shutdown timed out; allocation may fail with OOME
      [10:12:40.945] ### TRACE 1: TEST PASSED

      The native stackdump shows an apparent self-suspend during the exit process:

      "main" #3 prio=5 tid=0x0000ffff8002efa0 nid=1476856 runnable [0x0000ffff86a5c000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_blocked
      0x0000ffff88e01c34 __pthread_cond_wait + 0x16c
      0x0000ffff8809679c PlatformMonitor::wait(unsigned long) + 0x1b8
      0x0000ffff87fdd654 Monitor::wait_without_safepoint_check(unsigned long) + 0x90
      0x0000ffff883314e0 SuspendResumeManager::do_owner_suspend() + 0x60
      0x0000ffff883321a0 ThreadSelfSuspensionHandshakeClosure::do_thread(Thread*) + 0xa0
      0x0000ffff879272d0 HandshakeOperation::do_handshake(JavaThread*) + 0x150
      0x0000ffff87927a80 HandshakeState::process_by_self(bool, bool) + 0x300
      0x0000ffff881e86c4 SafepointMechanism::process(JavaThread*, bool, bool) + 0xd8
      0x0000ffff87537078 ThreadStateTransition::transition_from_native(JavaThread*, JavaThreadState, bool) + 0xb8
      0x0000ffff87d6c8a0 JvmtiRawMonitor::raw_wait(long, Thread*) + 0xd0
      0x0000ffff87d2c3d8 JvmtiEnv::RawMonitorWait(JvmtiRawMonitor*, long) + 0x48
      0x0000ffff867eb45c debugMonitorWait + 0x3c
      0x0000ffff867da79c enqueueCommand + 0x15c
      0x0000ffff867dba00 eventHelper_reportEvents + 0x100
      0x0000ffff867d5150 reportEvents.part.0 + 0x90
      0x0000ffff867d56b0 event_callback + 0x304
      0x0000ffff867d6dd0 cbThreadEnd + 0xf0
      0x0000ffff87d51f64 JvmtiExport::post_thread_end(JavaThread*) + 0x424
      0x0000ffff879fa400 before_exit(JavaThread*, bool) + 0x520
      0x0000ffff87b9d56c JVM_Halt + 0x8c
      0x0000ffff6f90afac * java.lang.Shutdown.halt0(int) bci:0 (Interpreted frame)
      0x0000ffff6f904614 * java.lang.Shutdown.halt(int) bci:7 line:149 (Interpreted frame)
      0x0000ffff6f904614 * java.lang.Shutdown.exit(int) bci:22 line:170 (Interpreted frame)
      0x0000ffff6f904614 * java.lang.Runtime.exit(int) bci:1 line:177 (Interpreted frame)
      0x0000ffff6f904614 * java.lang.System.exit(int) bci:4 line:1540 (Interpreted frame)
      0x0000ffff6f904614 * vm.mlvm.share.MlvmTestExecutor.launch(java.lang.Class, java.lang.Object[]) bci:96 line:261 (Interpreted frame)
      0x0000ffff6f904614 * vm.mlvm.share.MlvmTestExecutor.launch(java.lang.Object[]) bci:20 line:190 (Interpreted frame)
      0x0000ffff6f904614 * vm.mlvm.share.MlvmTestExecutor.launch(nsk.share.ArgumentParser, java.lang.Object[]) bci:5 line:115 (Interpreted frame)
      0x0000ffff6f904614 * vm.mlvm.share.MlvmTestExecutor.launch(nsk.share.ArgumentParser) bci:2 line:90 (Interpreted frame)
      0x0000ffff6f904614 * vm.mlvm.share.MlvmTest.launch(nsk.share.ArgumentParser) bci:1 line:317 (Interpreted frame)
      0x0000ffff6f904614 * vm.mlvm.share.jdi.IndyDebuggee.main(java.lang.String[]) bci:8 line:30 (Interpreted frame)
      0x0000ffff6f8ff49c <StubRoutines (initial stubs)>
      0x0000ffff879fe67c JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*) + 0x46c
      0x0000ffff87b65240 jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, JavaThread*) [clone .constprop.1] + 0x2a0
      0x0000ffff87b686f0 jni_CallStaticVoidMethod + 0x190
      0x0000ffff89004cbc invokeStaticMainWithArgs + 0x58
      0x0000ffff89005d24 JavaMain + 0xe44
      0x0000ffff89008b94 ThreadJavaMain + 0xc
      0x0000ffff88dfb950 start_thread + 0x190

            Assignee:
            Unassigned
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: