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

Dacapo24H with JFR failed "assert(_update_map) failed: updating map that does not need updating"

    XMLWordPrintable

    Details

    • Subcomponent:
      jfr
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following test failed in the JDK16 CI:

      applications/dacapo/Dacapo24H.java

      Here's a snippet from the log file:

      Stress process main method is started.
      [4646.581s][warning][gc] GC locker is held; pre-dump GC was skipped
      [22644.779s][warning][gc] GC locker is held; pre-dump GC was skipped
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S77114/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ca7236b6-4272-4af4-8993-b495b5935c2f/runs/f37bd861-167b-4484-a5f6-409e3367a562/workspace/open/src/hotspot/share/runtime/registerMap.hpp:106), pid=31403, tid=31502
      # assert(_update_map) failed: updating map that does not need updating
      #
      # JRE version: Java(TM) SE Runtime Environment (16.0+31) (fastdebug build 16-ea+31-2135)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 16-ea+31-2135, mixed mode, sharing, tiered, z gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xbd2f89] frame::update_map_with_saved_link(RegisterMap*, long**)+0x2a9
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S15052/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b854d46e-ea9e-4171-b861-8a169a222720/runs/54714e20-dde1-4775-9fdc-7e45c03b55d6/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo24H_java/scratch/0/core.31403)
      #
      # JFR recording file will be written. Location: /opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S15052/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b854d46e-ea9e-4171-b861-8a169a222720/runs/54714e20-dde1-4775-9fdc-7e45c03b55d6/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo24H_java/scratch/0/hs_err_pid31403.jfr
      #
      Unsupported internal testing APIs have been used.

      # An error report file with more information is saved as:
      # /opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S15052/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b854d46e-ea9e-4171-b861-8a169a222720/runs/54714e20-dde1-4775-9fdc-7e45c03b55d6/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_dacapo_Dacapo24H_java/scratch/0/hs_err_pid31403.log

      [error occurred during error reporting (), id 0xe0000000, Internal Error (/opt/mach5/mesos/work_dir/slaves/983c483a-6907-44e0-ad29-98c7183575e2-S77114/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ca7236b6-4272-4af4-8993-b495b5935c2f/runs/f37bd861-167b-4484-a5f6-409e3367a562/workspace/open/src/hotspot/share/runtime/thread.hpp:1999)]

      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      ----------System.err:(915/74025)----------


      Here's the crashing thread's stack:

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

      Current thread (0x00007f8151136360): Thread [stack: 0x00007f81a5427000,0x00007f81a5527000] [id=31502] _threads_hazard_ptr=0x00007f8114745950, _nested_threads_hazard_ptr_cnt=0

      Stack: [0x00007f81a5427000,0x00007f81a5527000], sp=0x00007f81a55244d0, free space=1013k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xbd2f89] frame::update_map_with_saved_link(RegisterMap*, long**)+0x2a9
      V [libjvm.so+0xbd32a3] frame::sender_for_entry_frame(RegisterMap*) const+0x123
      V [libjvm.so+0xbd3e48] frame::sender(RegisterMap*) const+0x1f8
      V [libjvm.so+0xf1e894] JfrStackTrace::record_thread(JavaThread&, frame&)+0x224
      V [libjvm.so+0xf3c07a] OSThreadSampler::protected_task(os::SuspendedThreadTaskContext const&)+0xfa
      V [libjvm.so+0x1751597] os::SuspendedThreadTask::internal_do_task()+0x47
      V [libjvm.so+0x1593351] os::SuspendedThreadTask::run()+0x11
      V [libjvm.so+0xf3c24c] JfrThreadSampleClosure::sample_thread_in_java(JavaThread*, JfrStackFrame*, unsigned int)+0x7c
      V [libjvm.so+0xf3ced3] JfrThreadSampleClosure::do_sample_thread(JavaThread*, JfrStackFrame*, unsigned int, JfrSampleType)+0x323
      V [libjvm.so+0xf40e22] JfrThreadSampler::task_stacktrace(JfrSampleType, JavaThread**) [clone .constprop.1]+0x2f2
      V [libjvm.so+0xf415ed] JfrThreadSampler::run()+0x25d
      V [libjvm.so+0x18c1c10] Thread::call_run()+0x100
      V [libjvm.so+0x15a3d06] thread_native_entry(Thread*)+0x116

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: