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

VM exit path throws fatal error: Thread holding lock at safepoint that vm can block on: BeforeExit_lock

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b107
    • OS:
      solaris_11

      Description

      test result: timed out!

      on shutdown path aborts.

      # A fatal error has been detected by the Java Runtime Environment:
      #
       BeforeExit_lock
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0) (build 9-internal+0-2015-12-25-003120.iignatye.8146205)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (9-internal+0-2015-12-25-003120.iignatye.8146205, mixed mode, tiered, compressed oops, g1 gc, solaris-sparc)
      it a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp

      call stack

      V [libjvm.so+0xb97910] void report_fatal(const char*,int,const char*,...)+0x80;; __1cMreport_fatal6Fpkci1E_v_+0x80
      V [libjvm.so+0x1716f94] void Thread::check_for_valid_safepoint_state(bool)+0x164;; __1cGThreadbFcheck_for_valid_safepoint_state6Mb_v_+0x164
      V [libjvm.so+0x18079a4] void VMThread::execute(VM_Operation*)+0x84;; __1cIVMThreadHexecute6FpnMVM_Operation__v_+0x84
      V [libjvm.so+0xe86e10] void vm_exit(int)+0xe0;; __1cHvm_exit6Fi_v_+0xe0
      V [libjvm.so+0xfdae1c] JVM_Halt+0x17c;; JVM_Halt+0x17c
      C [libjava.so+0x1342c] Java_java_lang_Shutdown_halt0+0xc;; Java_java_lang_Shutdown_halt0+0xc
      j java.lang.Shutdown.halt0(I)V+-1374538968
      j java.lang.Shutdown.halt0(I)V+0
      j java.lang.Shutdown.halt(I)V+7
      j java.lang.Shutdown.exit(I)V+59
      j java.lang.Terminator$1.handle(Lsun/misc/Signal;)V+8
      j sun.misc.Signal$1.run()V+8
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub

        Attachments

          Activity

            People

            • Assignee:
              dholmes David Holmes
              Reporter:
              jcm Jamsheed C M
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: