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

JFR: fatal error: refcount has gone to zero

XMLWordPrintable

    • jfr

      Stress test crashes with
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (c:\sb\prod\1693840994\workspace\open\src\hotspot\share\oops\symbol.cpp:317), pid=1476, tid=38628
      # fatal error: refcount has gone to zero
      #
      # JRE version: Java(TM) SE Runtime Environment (22.0+14) (fastdebug build 22-ea+14-1002)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 22-ea+14-1002, mixed mode, sharing, tiered, compressed class ptrs, z gc, windows-amd64)
      # Core dump will be written. Default location: C:\sb\prod\1694182672\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink7D_java\scratch\0\hs_err_pid1476.mdmp
      #
      # JFR recording file will be written. Location: C:\sb\prod\1694182672\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink7D_java\scratch\0\hs_err_pid1476.jfr
      #
      # 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:C:\sb\prod\1694182672\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink7D_java\scratch\0\wb.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Djava.security.manager=allow -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\20\36\bundles\windows-x64\jdk-20_windows-x64_bin.zip\jdk-20 -Djava.io.tmpdir=c:\sb\prod\1694182672\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink7D_java\tmp -XX:+CreateCoredumpOnCrash -XX:+UseZGC -XX:MaxRAMPercentage=50 -XX:MaxMetaspaceSize=512m -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 --enable-preview --add-exports=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-exports=java.base/jdk.internal.org.objectweb.asm=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=C:\sb\prod\1694182672\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink7D_java\scratch\0/java.io.tmpdir -Duser.home=C:\sb\prod\1694182672\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink7D_java\scratch\0/user.home -agentpath:c:\ade\mesos\work_dir\jib-master\install\jdk-22+14-1002\windows-x64-debug.test\hotspot\jtreg\native\JvmtiStressModule.dll -XX:NativeMemoryTracking=detail -Djdk.test.lib.random.seed=-1953753881415736653 applications.kitchensink.process.stress.Main C:\sb\prod\1694182672\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_kitchensink_Kitchensink7D_java\scratch\0\kitchensink.final.properties

      Host: win2022-x64-154089, AMD EPYC 7J13 64-Core Processor , 12 cores, 23G, Windows Server 2022 , 64 bit Build 20348 (10.0.20348.1668)
      Time: Thu Sep 14 01:31:15 2023 /GM elapsed time: 468637.740251 seconds (5d 10h 10m 37s)

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

      Current thread (0x0000028c2f18e530): JavaThread "JFR Recorder Thread" daemon [_thread_in_vm, id=38628, stack(0x00000090dd700000,0x00000090dd800000) (1024K)]

      Stack: [0x00000090dd700000,0x00000090dd800000]
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xc76981] os::win32::platform_print_native_stack+0x101 (os_windows_x86.cpp:236)
      V [jvm.dll+0xf1801f] VMError::report+0x147f (vmError.cpp:1000)
      V [jvm.dll+0xf1a485] VMError::report_and_die+0x645 (vmError.cpp:1814)
      V [jvm.dll+0x54b1fe] report_fatal+0x7e (debug.cpp:212)
      V [jvm.dll+0xe305f9] Symbol::increment_refcount+0x79 (symbol.cpp:317)
      V [jvm.dll+0x853883] HashTableHost<Symbol const *,unsigned __int64,ListEntry,JfrSymbolTable,1009>::put+0x123 (jfrHashtable.hpp:208)
      V [jvm.dll+0x8534b6] JfrSymbolTable::mark+0xb6 (jfrSymbolTable.cpp:203)
      V [jvm.dll+0x8532f5] JfrSymbolTable::mark+0x195 (jfrSymbolTable.cpp:298)
      V [jvm.dll+0x867ee7] write_klass+0xe7 (jfrTypeSet.cpp:220)
      V [jvm.dll+0x86622d] JfrArtifactCallbackHost<Klass const *,CompositeFunctor<Klass const *,JfrTypeWriterHost<JfrPredicatedTypeWriterImplHost<Klass const *,SerializePredicate<Klass const *>,&write__klass>,180>,KlassArtifactRegistrator> >::do_artifact+0x2d (jfrTypeSetUtils.hpp:73)
      V [jvm.dll+0x85e3f3] EpochDispatchOp<JfrEpochQueue<JfrEpochQueueKlassPolicy>::ElementDispatch<KlassFunctor> >::dispatch+0x133 (jfrStorageUtils.inline.hpp:171)
      V [jvm.dll+0x85dc66] JfrLinkedList<JfrBuffer,JfrCHeapObj>::iterate<EpochDispatchOp<JfrEpochQueue<JfrEpochQueueKlassPolicy>::ElementDispatch<KlassFunctor> > >+0x76 (jfrLinkedList.inline.hpp:83)
      V [jvm.dll+0x85dd99] JfrEpochQueue<JfrEpochQueueKlassPolicy>::iterate<KlassFunctor>+0xd9 (jfrEpochQueue.inline.hpp:113)
      V [jvm.dll+0x85eb51] JfrTraceIdKlassQueue::iterate+0x41 (jfrTraceIdKlassQueue.cpp:269)
      V [jvm.dll+0x8668c3] do_klasses+0x33 (jfrTypeSet.cpp:360)
      V [jvm.dll+0x868131] write_klasses+0x141 (jfrTypeSet.cpp:398)
      V [jvm.dll+0x86760e] JfrTypeSet::serialize+0x5e (jfrTypeSet.cpp:1071)
      V [jvm.dll+0x801102] flush_type_set+0x92 (jfrCheckpointManager.cpp:610)
      V [jvm.dll+0x8011ed] JfrCheckpointManager::flush_type_set+0x5d (jfrCheckpointManager.cpp:621)
      V [jvm.dll+0x844c5b] JfrRecorderService::flush+0x24b (jfrRecorderService.cpp:650)
      V [jvm.dll+0x844fc7] JfrRecorderService::invoke_flush+0x147 (jfrRecorderService.cpp:664)
      V [jvm.dll+0x844dfe] JfrRecorderService::flushpoint+0x4e (jfrRecorderService.cpp:675)
      V [jvm.dll+0x846b9c] recorderthread_entry+0x1bc (jfrRecorderThreadLoop.cpp:85)
      V [jvm.dll+0x7f8f19] JavaThread::thread_main_inner+0x279 (javaThread.cpp:721)
      V [jvm.dll+0xe8220d] Thread::call_run+0x1cd (thread.cpp:225)
      V [jvm.dll+0xc747b2] os::win32::thread_native_entry+0xa2 (os_windows.cpp:545)
      C [ucrtbase.dll+0x26b4c] (no source info available)
      C [KERNEL32.DLL+0x14dd0] (no source info available)
      C [ntdll.dll+0x7e3db] (no source info available)

            Unassigned Unassigned
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: