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

Failed assert in virtualMemoryTracker.cpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2 P2
    • None
    • 25
    • hotspot
    • aarch64
    • linux

      runtime/cds/appcds/dynamicArchive/VerifyObjArrayCloneTest.java test failed

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (.../workspace/open/src/hotspot/share/nmt/virtualMemoryTracker.cpp:386), pid=751230, tid=751298
      # assert(reserved_rgn->contain_region(base_addr, size)) failed: Reserved CDS region should contain this mapping region
      #
      # JRE version: Java(TM) SE Runtime Environment (25.0+21) (fastdebug build 25-ea+21-LTS-2526)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-ea+21-LTS-2526, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x18446b8] VirtualMemoryTracker::add_reserved_region(unsigned char*, unsigned long, NativeCallStack const&, MemTag)+0x6cc
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to .../testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/scratch/0/core.751230)
      #
      # 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=6.25 -Dtest.boot.jdk=.../jdk-24 -Djava.io.tmpdir=.../testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/tmp -XX:ArchiveClassesAtExit=.../testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_tier2_runtime/scratch/0/top-21h48m04s253.jsa -Xshare:auto VerifyObjArrayCloneTestApp

      Host: ..., AArch64, 8 cores, 31G, Oracle Linux Server release 8.10
      Time: Wed Apr 30 21:48:05 2025 UTC elapsed time: 0.952842 seconds (0d 0h 0m 0s)

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

      Current thread (0x0000ffff205a1f70): JavaThread "C2 CompilerThread1" daemon [_thread_new, id=751298, stack(0x0000fffed7bf2000,0x0000fffed7df0000) (2040K)]

      Stack: [0x0000fffed7bf2000,0x0000fffed7df0000], sp=0x0000fffed7dee7f0, free space=2033k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x18446b8] VirtualMemoryTracker::add_reserved_region(unsigned char*, unsigned long, NativeCallStack const&, MemTag)+0x6cc (virtualMemoryTracker.cpp:386)
      V [libjvm.so+0x178bfd4] ThreadStackTracker::new_thread_stack(void*, unsigned long, NativeCallStack const&)+0xb0 (threadStackTracker.cpp:55)
      V [libjvm.so+0x17751f0] Thread::register_thread_stack_with_NMT()+0x6c (memTracker.hpp:241)
      V [libjvm.so+0x17764d4] Thread::call_run()+0x34 (thread.cpp:216)
      V [libjvm.so+0x146ef7c] thread_native_entry(Thread*)+0x12c (os_linux.cpp:870)
      C [libpthread.so.0+0x7950] start_thread+0x190

            matsaave Matias Saavedra Silva
            ccheung Calvin Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: