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

Fatal error due to illegal safepoint state when compiler thread is writing hs_err-file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3
    • 12
    • 11
    • hotspot

    Description

      #0 0x00007ffff71f41c7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
      #1 0x00007ffff71f5e2a in __GI_abort () at abort.c:89
      #2 0x00007ffff5fd636d in os::abort (dump_core=true, siginfo=0x7fffbd401470, context=0x7fffbd401340) at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/os/linux/os_linux.cpp:1413
      #3 0x00007ffff62311cc in VMError::report_and_die (id=-536870912, message=0x7ffff64c5a59 "fatal error", detail_fmt=0x7ffff68d33ec "LEAF method calling lock?", detail_args=0x7fffbd400ae8,
          thread=0x7ffff01b68e0, pc=0x0, siginfo=0x0, context=0x0, filename=0x7ffff68d2be0 "/home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/runtime/thread.cpp", lineno=966, size=0)
          at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/utilities/vmError.cpp:1505
      #4 0x00007ffff623068a in VMError::report_and_die (thread=0x7ffff01b68e0, filename=0x7ffff68d2be0 "/home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/runtime/thread.cpp", lineno=966,
          message=0x7ffff64c5a59 "fatal error", detail_fmt=0x7ffff68d33ec "LEAF method calling lock?", detail_args=0x7fffbd400ae8)
          at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/utilities/vmError.cpp:1245
      #5 0x00007ffff58abe85 in report_fatal (file=0x7ffff68d2be0 "/home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/runtime/thread.cpp", line=966, detail_fmt=0x7ffff68d33ec "LEAF method calling lock?")
          at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/utilities/debug.cpp:229
      #6 0x00007ffff61afa8d in Thread::check_for_valid_safepoint_state (this=0x7ffff01b68e0, potential_vm_operation=false) at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/runtime/thread.cpp:966
      #7 0x00007ffff61c0f45 in ThreadsSMRSupport::acquire_stable_list (self=0x7ffff01b68e0, is_ThreadsListSetter=false) at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/runtime/threadSMR.cpp:558
      #8 0x00007ffff61c0ba1 in ThreadsListHandle::ThreadsListHandle (this=0x7fffbd400c78, self=0x7ffff01b68e0) at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/runtime/threadSMR.cpp:470
      #9 0x00007ffff559d1c7 in JavaThreadIteratorWithHandle::JavaThreadIteratorWithHandle (this=0x7fffbd400c70) at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/runtime/threadSMR.hpp:302
      #10 0x00007ffff5fcdbed in os::print_location (st=0x7ffff71a1c40 <VMError::log>, x=-140735142018274, verbose=false) at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/runtime/os.cpp:1113
      #11 0x00007ffff5fe35f5 in os::print_register_info (st=0x7ffff71a1c40 <VMError::log>, context=0x7fffbd401340) at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp:784
      #12 0x00007ffff622f00d in VMError::report (st=0x7ffff71a1c40 <VMError::log>, _verbose=true) at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/utilities/vmError.cpp:749
      #13 0x00007ffff6230c7b in VMError::report_and_die (id=11, message=0x0, detail_fmt=0x7ffff690d241 "%s", detail_args=0x7fffbd401078, thread=0x7ffff01b68e0,
          pc=0x7ffff53a0b44 <Node::in(unsigned int) const+140> "H\213", siginfo=0x7fffbd401470, context=0x7fffbd401340, filename=0x0, lineno=0, size=0)
          at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/utilities/vmError.cpp:1406
      #14 0x00007ffff62304e3 in VMError::report_and_die (thread=0x7ffff01b68e0, sig=11, pc=0x7ffff53a0b44 <Node::in(unsigned int) const+140> "H\213", siginfo=0x7fffbd401470, context=0x7fffbd401340,
          detail_fmt=0x7ffff690d241 "%s") at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/utilities/vmError.cpp:1220
      #15 0x00007ffff6230538 in VMError::report_and_die (thread=0x7ffff01b68e0, sig=11, pc=0x7ffff53a0b44 <Node::in(unsigned int) const+140> "H\213", siginfo=0x7fffbd401470, context=0x7fffbd401340)
          at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/share/utilities/vmError.cpp:1226
      #16 0x00007ffff5fe30e2 in JVM_handle_linux_signal (sig=11, info=0x7fffbd401470, ucVoid=0x7fffbd401340, abort_if_unrecognized=1)
          at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp:612
      #17 0x00007ffff5fdcca1 in signalHandler (sig=11, info=0x7fffbd401470, uc=0x7fffbd401340) at /home/neliasso/repos/zgc/zgc2/open/src/hotspot/os/linux/os_linux.cpp:4395
      #18 <signal handler called>
      .... compiler crash here.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              neliasso Nils Eliasson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: