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

assert failure from virtualMemoryTracker.hpp, assert(_committed >= sz) failed: Negative amount

XMLWordPrintable

      Failure in jdk-14+26-1189-tier7 CI build testing -

      test - applications/runthese/RunThese30M.java

      Exception: java.lang.NoSuchMethodError: 'void java.lang.SecurityManager.checkMemberAccess(java.lang.Class, int)'
      ExitCode: 1
      TestCase: [Class2150] Test case throws exception: java.lang.NoSuchMethodError: 'void java.lang.SecurityManager.checkMemberAccess(java.lang.Class, int)'
      TestCase: [Class2151] Test case throws exception: java.lang.NoSuchMethodError: 'void java.lang.SecurityManager.checkMemberAccess(java.lang.Class, int)'
      TestCase: [Class0201] Test case throws exception: java.lang.NoSuchMethodError: 'void java.lang.SecurityManager.checkMemberAccess(java.lang.Class, int)'
      Crash: Internal Error ...virtualMemoryTracker.hpp...assert(_committed >= sz) failed: Negative amount


      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (t:\workspace\open\src\hotspot\share\services/virtualMemoryTracker.hpp:62), pid=5724, tid=32064
      # assert(_committed >= sz) failed: Negative amount
      #
      # JRE version: Java(TM) SE Runtime Environment (14.0+26) (fastdebug build 14-ea+26-1189)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-ea+26-1189, compiled mode, g1 gc, windows-amd64)
      # Core dump will be written. Default location: T:\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java\scratch\0\hs_err_pid5724.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: -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPercentage=6 -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:-TieredCompilation -XX:-UseBiasedLocking -XX:MaxRAMPercentage=50 -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=T:\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java\scratch\0/java.io.tmpdir -Duser.home=T:\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java\scratch\0/user.home -agentpath:c:\ade\mesos\work_dir\jib-master\install\jdk-14+26-1189\windows-x64-debug.test\hotspot\jtreg\native\JvmtiStressModule.dll -XX:NativeMemoryTracking=detail applications.kitchensink.process.stress.Main T:\testoutput\test-support\jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java\scratch\0\kitchensink.final.properties

      Host: inst-mbusn-Win2, Intel(R) Xeon(R) Platinum 8167M CPU @ 2.00GHz, 8 cores, 59G, Windows Server 2012 R2 , 64 bit Build 9600 (6.3.9600.19358)
      Time: Fri Nov 29 13:26:32 2019 Etc elapsed time: 2136 seconds (0d 0h 35m 36s)

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

      Current thread (0x00000093f518d3c0): JavaThread "C:\ade\mesos\work_dir\jib-master\install\com\oracle\jpg\bigapps\jck\9.0\jck-9.0-20170922.165600-1.tar.gz\JCK-runtime-9\classes javasoft.sqe.tests.api.java.lang.Class.repanno.GetDeclaredAnnotationTests " daemon [_thread_in_vm, id=32064, stack(0x00000093e7d80000,0x00000093e7e80000)]

      Stack: [0x00000093e7d80000,0x00000093e7e80000]
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xa98001] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:369)
      V [jvm.dll+0xc95bdb] VMError::report+0xf0b (vmerror.cpp:725)
      V [jvm.dll+0xc9748e] VMError::report_and_die+0x8ae (vmerror.cpp:1533)
      V [jvm.dll+0xc97b84] VMError::report_and_die+0x64 (vmerror.cpp:1317)
      V [jvm.dll+0x4b74d2] report_vm_error+0x102 (debug.cpp:264)
      V [jvm.dll+0xc8d143] ReservedMemoryRegion::set_flag+0x1a3 (virtualmemorytracker.cpp:294)
      V [jvm.dll+0xc8d2f8] VirtualMemoryTracker::set_reserved_region_type+0x128 (virtualmemorytracker.cpp:407)
      V [jvm.dll+0xc8ed02] metaspace::VirtualSpaceNode::VirtualSpaceNode+0x322 (virtualspacenode.cpp:75)
      V [jvm.dll+0xc8dafb] metaspace::VirtualSpaceList::create_new_virtual_space+0x14b (virtualspacelist.cpp:225)
      V [jvm.dll+0xc8de43] metaspace::VirtualSpaceList::expand_by+0x283 (virtualspacelist.cpp:321)
      V [jvm.dll+0xc8e066] metaspace::VirtualSpaceList::get_new_chunk+0x96 (virtualspacelist.cpp:379)
      V [jvm.dll+0xb70805] metaspace::SpaceManager::grow_and_allocate+0x2e5 (spacemanager.cpp:197)
      V [jvm.dll+0xb70096] metaspace::SpaceManager::allocate+0xd6 (spacemanager.cpp:421)
      V [jvm.dll+0xa055aa] Metaspace::allocate+0x13a (metaspace.cpp:1284)
      V [jvm.dll+0x4a55a1] ConstantPool::allocate+0x131 (constantpool.cpp:65)
      V [jvm.dll+0x438764] ClassFileParser::parse_stream+0x464 (classfileparser.cpp:5999)
      V [jvm.dll+0x429883] ClassFileParser::ClassFileParser+0x4f3 (classfileparser.cpp:5872)
      V [jvm.dll+0x8c44f3] KlassFactory::create_from_stream+0x1d3 (klassfactory.cpp:204)
      V [jvm.dll+0xbf397b] SystemDictionary::resolve_from_stream+0x21b (systemdictionary.cpp:1116)
      V [jvm.dll+0x7633e2] jvm_define_class_common+0x252 (jvm.cpp:973)
      V [jvm.dll+0x76c4c8] JVM_DefineClassWithSource+0x198 (jvm.cpp:997)
      C [java.dll+0x1970] Java_java_lang_ClassLoader_defineClass1+0x140 (classloader.c:133)
      C 0x0000009388ac6767

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      J 1938 java.lang.ClassLoader.defineClass1(Ljava/lang/ClassLoader;Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class; java.base@14-ea (0 bytes) @ 0x0000009388ac66c7 [0x0000009388ac65e0+0x00000000000000e7]
      J 208630 c2 java.net.URLClassLoader$1.run()Ljava/lang/Object; java.base@14-ea (5 bytes) @ 0x0000009389c0dc98 [0x0000009389c0ba20+0x0000000000002278]
      J 208628 c2 java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class; java.base@14-ea (47 bytes) @ 0x0000009388c67fdc [0x0000009388c67ec0+0x000000000000011c]
      j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+70 java.base@14-ea
      J 206708 c2 java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class; java.base@14-ea (7 bytes) @ 0x0000009388b45dd8 [0x0000009388b45da0+0x0000000000000038]
      v ~StubRoutines::call_stub
      v ~RuntimeStub::resolve_virtual_call
      J 227322 c2 com.oracle.tck.lib.autd2.AUTD2Utils.wiselyAddNewProcessorToTheListOfExisting(Lcom/oracle/tck/lib/autd2/processors/Processor;Lcom/oracle/tck/lib/autd2/LifePhase;Ljava/util/List;)V (130 bytes) @ 0x000000938955df50 [0x000000938955dee0+0x0000000000000070]
      J 227330 c2 com.oracle.tck.lib.autd2.AUTD2Utils.mapToLifePhases(Ljava/util/Map;Lcom/oracle/tck/lib/autd2/processors/Processor;)V (80 bytes) @ 0x000000938a641774 [0x000000938a6416a0+0x00000000000000d4]
      J 227266 c2 com.oracle.tck.lib.autd2.TestRunner.lambda$performRun$1(Ljava/util/HashMap;Lcom/oracle/tck/lib/autd2/processors/Processor;)V (16 bytes) @ 0x0000009389d95e74 [0x0000009389d95e40+0x0000000000000034]
      j com.oracle.tck.lib.autd2.TestRunner$$Lambda$3147.accept(Ljava/lang/Object;)V+8
      J 206905 c2 java.util.HashMap$Values.forEach(Ljava/util/function/Consumer;)V java.base@14-ea (119 bytes) @ 0x000000938a7d781c [0x000000938a7d7720+0x00000000000000fc]
      j com.oracle.tck.lib.autd2.TestRunner.performRun(Lcom/oracle/tck/lib/autd2/TestGroupContext;Ljava/util/Map;)V+180
      j com.oracle.tck.lib.autd2.TestRunner.run(Ljava/lang/Object;Ljava/io/PrintWriter;Ljava/io/PrintWriter;Ljava/util/Map;[Ljava/lang/String;)Lcom/oracle/tck/lib/autd2/TestResult;+80
      j com.oracle.tck.lib.autd2.AUTD2.run(Ljava/lang/Object;Ljava/io/PrintWriter;Ljava/io/PrintWriter;[Ljava/lang/String;)Ljavasoft/sqe/javatest/Status;+70
      j com.oracle.tck.lib.autd2.AUTD2.run(Ljava/lang/Object;[Ljava/lang/String;)Ljavasoft/sqe/javatest/Status;+28
      j javasoft.sqe.tests.api.java.lang.Class.repanno.GetDeclaredAnnotationTests.main([Ljava/lang/String;)V+8
      v ~StubRoutines::call_stub
      J 2321 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@14-ea (0 bytes) @ 0x0000009388b8900b [0x0000009388b88f60+0x00000000000000ab]
      J 206626 c2 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@14-ea (104 bytes) @ 0x0000009388a6e3b8 [0x0000009388a6dee0+0x00000000000004d8]
      J 206615 c2 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@14-ea (10 bytes) @ 0x000000938a721fdc [0x000000938a721fa0+0x000000000000003c]
      J 207976 c2 applications.kitchensink.process.stress.modules.JckStressModule$TestRunner$1.run()V (127 bytes) @ 0x00000093892074c0 [0x0000009389207440+0x0000000000000080]
      v ~StubRoutines::call_stub
      ........................

            Unassigned Unassigned
            rraghavan Rahul Raghavan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: