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

NMT crashes: multiple assertion failures

XMLWordPrintable

    • 24

      Multiple tests affected (anything that runs with NMT potentially).

      Crash 1:
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (c:\sb\prod\1730199483\workspace\open\src\hotspot\share\nmt/virtualMemoryTracker.hpp:226), pid=49364, tid=49800
      # assert(addr == base() || addr + sz == end()) failed: Can not exclude from middle
      #
      # JRE version: Java(TM) SE Runtime Environment (24.0+22) (fastdebug build 24-ea+22-2598)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-ea+22-2598, mixed mode, sharing, tiered, compressed class ptrs, z gc, windows-amd64)
      # Core dump will be written. Default location: C:\sb\prod\1730206173\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_gc\scratch\1_1\hs_err_pid49364.mdmp
      #
      # 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: -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\23\37\bundles\windows-x64\jdk-23_windows-x64_bin.zip\jdk-23 -Djava.io.tmpdir=c:\sb\prod\1730206173\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_gc\tmp -XX:+CreateCoredumpOnCrash -XX:+UseZGC -XX:+UseZGC -XX:-ZGenerational -Xlog:gc,gc+init,gc+reloc,gc+heap -Xmx8M gc.x.TestSmallHeap$Test

      Host: AMD EPYC 7J13 64-Core Processor , 12 cores, 23G, Windows Server 2019 , 64 bit Build 17763 (10.0.17763.4974)
      Time: Tue Oct 29 13:53:53 2024 /GM elapsed time: 0.271092 seconds (0d 0h 0m 0s)

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

      Current thread (0x00000185126d5d30): ConcurrentGCThread "XUnmapper" [id=49800, stack(0x0000008217d00000,0x0000008217e00000) (1024K)]

      Stack: [0x0000008217d00000,0x0000008217e00000]
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xd11221] os::win32::platform_print_native_stack+0x101 (os_windows_x86.cpp:235)
      V [jvm.dll+0xfdbcf2] VMError::report+0x14b2 (vmError.cpp:1015)
      V [jvm.dll+0xfde36d] VMError::report_and_die+0x80d (vmError.cpp:1850)
      V [jvm.dll+0xfdea74] VMError::report_and_die+0x64 (vmError.cpp:1615)
      V [jvm.dll+0x5a534b] report_vm_error+0x5b (debug.cpp:193)
      V [jvm.dll+0xfd0bf6] VirtualMemoryRegion::exclude_region+0xc6 (virtualMemoryTracker.hpp:226)
      V [jvm.dll+0xfd1ce8] ReservedMemoryRegion::remove_uncommitted_region+0x138 (virtualMemoryTracker.cpp:178)
      V [jvm.dll+0xfd1f9e] ReservedMemoryRegion::remove_uncommitted_region+0x1ae (virtualMemoryTracker.cpp:233)
      V [jvm.dll+0xfd21f8] VirtualMemoryTracker::remove_uncommitted_region+0x148 (virtualMemoryTracker.cpp:463)
      V [jvm.dll+0x1067c2b] XPhysicalMemoryManager::unmap+0x6b (xPhysicalMemory.cpp:411)
      V [jvm.dll+0x107a339] XUnmapper::do_unmap_and_destroy_page+0x79 (xUnmapper.cpp:106)
      V [jvm.dll+0x107a67a] XUnmapper::run_service+0x13a (xUnmapper.cpp:121)
      V [jvm.dll+0x560fc5] ConcurrentGCThread::run+0x25 (concurrentGCThread.cpp:51)
      V [jvm.dll+0xf3be64] Thread::call_run+0x1b4 (thread.cpp:239)
      V [jvm.dll+0xd0f887] thread_native_entry+0xd7 (os_windows.cpp:554)


      Crash 2:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (c:\sb\prod\1730199483\workspace\open\src\hotspot\share\nmt\virtualMemoryTracker.cpp:192), pid=21528, tid=40912
      # assert(high_node == nullptr || node->next() == high_node) failed: Should be right after
      #
      # JRE version: Java(TM) SE Runtime Environment (24.0+22) (fastdebug build 24-ea+22-2598)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-ea+22-2598, mixed mode, sharing, tiered, compressed class ptrs, z gc, windows-amd64)
      # Core dump will be written. Default location: C:\sb\prod\1730215943\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_runtime\scratch\3\hs_err_pid21528.mdmp
      #
      # 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: -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\23\37\bundles\windows-x64\jdk-23_windows-x64_bin.zip\jdk-23 -Djava.io.tmpdir=c:\sb\prod\1730215943\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_runtime\tmp -XX:+CreateCoredumpOnCrash -XX:+UseZGC -XX:-ZGenerational -Xshare:on -XX:SharedArchiveFile=C:\sb\prod\1730215943\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_runtime\scratch\3\appcds-15h38m59s225.jsa -Xlog:cds -Xmx64m -Xms32m LotsUnloadApp

      Host: AMD EPYC 7J13 64-Core Processor , 12 cores, 23G, Windows Server 2019 , 64 bit Build 17763 (10.0.17763.4974)
      Time: Tue Oct 29 16:39:05 2024 /GM elapsed time: 2.341762 seconds (0d 0h 0m 2s)

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

      Current thread (0x0000023574176530): ConcurrentGCThread "XUnmapper" [id=40912, stack(0x000000e2fb800000,0x000000e2fb900000) (1024K)]

      Stack: [0x000000e2fb800000,0x000000e2fb900000]
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xd11221] os::win32::platform_print_native_stack+0x101 (os_windows_x86.cpp:235)
      V [jvm.dll+0xfdbcf2] VMError::report+0x14b2 (vmError.cpp:1015)
      V [jvm.dll+0xfde36d] VMError::report_and_die+0x80d (vmError.cpp:1850)
      V [jvm.dll+0xfdea74] VMError::report_and_die+0x64 (vmError.cpp:1615)
      V [jvm.dll+0x5a534b] report_vm_error+0x5b (debug.cpp:193)
      V [jvm.dll+0xfd1de4] ReservedMemoryRegion::remove_uncommitted_region+0x234 (virtualMemoryTracker.cpp:192)
      V [jvm.dll+0xfd1f9e] ReservedMemoryRegion::remove_uncommitted_region+0x1ae (virtualMemoryTracker.cpp:233)
      V [jvm.dll+0xfd21f8] VirtualMemoryTracker::remove_uncommitted_region+0x148 (virtualMemoryTracker.cpp:463)
      V [jvm.dll+0x1067c2b] XPhysicalMemoryManager::unmap+0x6b (xPhysicalMemory.cpp:411)
      V [jvm.dll+0x107a339] XUnmapper::do_unmap_and_destroy_page+0x79 (xUnmapper.cpp:106)
      V [jvm.dll+0x107a67a] XUnmapper::run_service+0x13a (xUnmapper.cpp:121)
      V [jvm.dll+0x560fc5] ConcurrentGCThread::run+0x25 (concurrentGCThread.cpp:51)
      V [jvm.dll+0xf3be64] Thread::call_run+0x1b4 (thread.cpp:239)
      V [jvm.dll+0xd0f887] thread_native_entry+0xd7 (os_windows.cpp:554)

      Possibly related to JDK-8304824

            jsjolen Johan Sjölen
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: