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

JFR: assert(klass != __null) failed: invariant in ObjectSampleCheckpoint::add_to_leakp_set

    Details

    • Subcomponent:
      jfr
    • Resolved In Build:
      b35
    • Verification:
      Verified

      Backports

        Description

        Stress test crashed with
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (open/src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp:123), pid=7787, tid=7943
        # assert(klass != __null) failed: invariant
        #
        # JRE version: Java(TM) SE Runtime Environment (14.0) (fastdebug build 14-internal+0-2020-01-07-2124408.leonid.mesnik.jdk14)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-internal+0-2020-01-07-2124408.leonid.mesnik.jdk14, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0x128f23c] ObjectSampleCheckpoint::add_to_leakp_set(Method const*, unsigned long)+0x34c
        #
        # 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/d65fa3d4-10de-46aa-a2db-52cc9981537a-S789/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/9d52e96f-a2c4-4092-93b4-9412534447ec/runs/94952704-dc41-4005-ab99-243d348f6e9b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/core.7787)
        #
        # If you would like to submit a bug report, please visit:
        # https://bugreport.java.com/bugreport/crash.jsp
        #

        --------------- S U M M A R Y ------------

        Command Line: -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=6 -XX:MaxRAMPercentage=50 -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError -Djava.net.preferIPv6Addresses=false -XX:+DisplayVMOutputToStderr -Xlog:gc*,gc+heap=debug:gc.log:uptime,timemillis,level,tags -XX:+DisableExplicitGC -XX:+StartAttachListener --add-exports=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xerces.internal.parsers=ALL-UNNAMED --add-exports=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/d65fa3d4-10de-46aa-a2db-52cc9981537a-S789/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/9d52e96f-a2c4-4092-93b4-9412534447ec/runs/94952704-dc41-4005-ab99-243d348f6e9b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/java.io.tmpdir -Duser.home=/opt/mach5/mesos/work_dir/slaves/d65fa3d4-10de-46aa-a2db-52cc9981537a-S789/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/9d52e96f-a2c4-4092-93b4-9412534447ec/runs/94952704-dc41-4005-ab99-243d348f6e9b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/user.home -agentpath:/opt/mach5/mesos/work_dir/jib-master/install/2020-01-07-2124408.leonid.mesnik.jdk14/linux-x64-debug.test/hotspot/jtreg/native/libJvmtiStressModule.so -Xverify:all -javaagent:redefineagent.jar -XX:NativeMemoryTracking=detail applications.kitchensink.process.stress.Main /opt/mach5/mesos/work_dir/slaves/d65fa3d4-10de-46aa-a2db-52cc9981537a-S789/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/9d52e96f-a2c4-4092-93b4-9412534447ec/runs/94952704-dc41-4005-ab99-243d348f6e9b/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink_java/scratch/0/kitchensink.final.properties

        Host: ol7-build-test-5549, Intel(R) Xeon(R) Platinum 8167M CPU @ 2.00GHz, 8 cores, 58G, Oracle Linux Server release 7.7
        Time: Tue Jan 7 22:26:34 2020 UTC elapsed time: 1749 seconds (0d 0h 29m 9s)

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

        Current thread (0x00007fb92c0df800): JavaThread "JFR Recorder Thread" daemon [_thread_in_vm, id=7943, stack(0x00007fb886ced000,0x00007fb886dee000)]

        Stack: [0x00007fb886ced000,0x00007fb886dee000], sp=0x00007fb886dec9d0, free space=1022k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x128f23c] ObjectSampleCheckpoint::add_to_leakp_set(Method const*, unsigned long)+0x34c
        V [libjvm.so+0x128f40e] ObjectSampleCheckpoint::write_stacktrace(JfrStackTrace const*, JfrCheckpointWriter&)+0xfe
        V [libjvm.so+0x1290098] StackTraceBlobInstaller::install(ObjectSample*)+0x1e8
        V [libjvm.so+0x1290604] ObjectSampleCheckpoint::on_rotation(ObjectSampler const*, JfrStackTraceRepository&)+0xf4
        V [libjvm.so+0xd352a4] JfrRecorderService::pre_safepoint_write()+0x114
        V [libjvm.so+0xd357a2] JfrRecorderService::write()+0xd2
        V [libjvm.so+0xd35a9f] JfrRecorderService::finalize_current_chunk()+0x3f
        V [libjvm.so+0xd396d1] JfrRecorderService::rotate(int)+0x121
        V [libjvm.so+0xd3b7ba] recorderthread_entry(JavaThread*, Thread*)+0x15a
        V [libjvm.so+0x15a14a6] JavaThread::thread_main_inner()+0x226
        V [libjvm.so+0x15a66d6] Thread::call_run()+0xf6
        V [libjvm.so+0x12d5db6] thread_native_entry(Thread*)+0x116

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mgronlun Markus Grönlund
                  Reporter:
                  lmesnik Leonid Mesnik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: