-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
17
-
aarch64
-
os_x
The following test failed in the JDK17 CI:
applications/ctw/modules/java_xml.java
Here's a snippet from the log file:
----------System.out:(12/11766)----------
Compiling 2134 classes (of 2134 total classes) starting at 0 and ending at 2134
For random generator using seed: -3185523023241188284
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-3185523023241188284" to command line.
Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/macosx-aarch64-debug.jdk/jdk-17/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/testlibrary/ctw/src:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -Djava.awt.headless=true @/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/scratch/1/modules_java_xml_0.cmd ]
modules_java_xml_0 40415708ms START : [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/macosx-aarch64-debug.jdk/jdk-17/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/testlibrary/ctw/src:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -Djava.awt.headless=true @/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/scratch/1/modules_java_xml_0.cmd]
cout/cerr are redirected to modules_java_xml_0
modules_java_xml_0 40428675ms END : exit code = 134
Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/macosx-aarch64-debug.jdk/jdk-17/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/testlibrary/ctw/src:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -Djava.awt.headless=true @/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/scratch/1/modules_java_xml_254.cmd ]
modules_java_xml_254 40428695ms START : [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/macosx-aarch64-debug.jdk/jdk-17/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/testlibrary/ctw/src:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -Djava.awt.headless=true @/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/scratch/1/modules_java_xml_254.cmd]
cout/cerr are redirected to modules_java_xml_254
modules_java_xml_254 40558653ms END : exit code = 0
Executed CTW for all 2134 classes in modules:java.xml(at /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/macosx-aarch64-debug.jdk/jdk-17/fastdebug/lib/modules)
----------System.err:(25/1766)----------
There were 1 errors:[
java.lang.Error: modules_java_xml_0: failed during compilation of class #253 : com/sun/org/apache/bcel/internal/generic/InstructionConst
at sun.hotspot.tools.ctw.CtwRunner.startCtwforAllClasses(CtwRunner.java:215)
at sun.hotspot.tools.ctw.CtwRunner.run(CtwRunner.java:119)
at sun.hotspot.tools.ctw.CtwRunner.main(CtwRunner.java:65)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:833)
java.lang.AssertionError: There were 1 errors:[{modules_java_xml_0: failed during compilation of class #253 : com/sun/org/apache/bcel/internal/generic/InstructionConst}]
at sun.hotspot.tools.ctw.CtwRunner.run(CtwRunner.java:134)
at sun.hotspot.tools.ctw.CtwRunner.main(CtwRunner.java:65)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:833)
JavaTest Message: Test threw exception: java.lang.AssertionError
Here's snippets from the hs_err_pid file:
# SIGSEGV (0xb) at pc=0x000000018c52bdc0, pid=63682, tid=23043
#
# JRE version: Java(TM) SE Runtime Environment (17.0+30) (fastdebug build 17-ea+30-LTS-2623)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+30-LTS-2623, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# C [libsystem_malloc.dylib+0xadc0] medium_free_list_remove_ptr_no_clear+0x130
<snip>
--------------- T H R E A D ---------------
Current thread (0x000000012d80a020): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=23043, stack(0x000000016f570000,0x000000016f773000)]
Current CompileTask:
C2: 12869 8709 b 4 com.sun.org.apache.bcel.internal.generic.InstructionConst::<clinit> (2223 bytes)
Stack: [0x000000016f570000,0x000000016f773000], sp=0x000000016f76eca0, free space=2043k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libsystem_malloc.dylib+0xadc0] medium_free_list_remove_ptr_no_clear+0x130
C [libsystem_malloc.dylib+0x1f07c] medium_free_detach_region+0x88
C [libsystem_malloc.dylib+0xa2d0] free_medium+0xb04
V [libjvm.dylib+0x284ad0] Chunk::operator delete(void*)+0xb0
V [libjvm.dylib+0x284cd0] Chunk::next_chop()+0x30
V [libjvm.dylib+0x54cd0c] ResourceArea::rollback_to(ResourceArea::SavedState const&)+0xac
V [libjvm.dylib+0x403168] PhaseChaitin::Register_Allocate()+0x294
V [libjvm.dylib+0x4c3210] Compile::Code_Gen()+0x3e4
V [libjvm.dylib+0x4c0c08] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, bool, DirectiveSet*)+0x14ec
V [libjvm.dylib+0x3ca880] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x134
V [libjvm.dylib+0x4db29c] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x604
V [libjvm.dylib+0x4daa98] CompileBroker::compiler_thread_loop()+0x2c0
V [libjvm.dylib+0xf0c690] JavaThread::thread_main_inner()+0x284
V [libjvm.dylib+0xf09af4] Thread::call_run()+0x21c
V [libjvm.dylib+0xcdf934] thread_native_entry(Thread*)+0x160
C [libsystem_pthread.dylib+0x706c] _pthread_start+0x140
siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x0000000000000011
applications/ctw/modules/java_xml.java
Here's a snippet from the log file:
----------System.out:(12/11766)----------
Compiling 2134 classes (of 2134 total classes) starting at 0 and ending at 2134
For random generator using seed: -3185523023241188284
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-3185523023241188284" to command line.
Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/macosx-aarch64-debug.jdk/jdk-17/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/testlibrary/ctw/src:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -Djava.awt.headless=true @/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/scratch/1/modules_java_xml_0.cmd ]
modules_java_xml_0 40415708ms START : [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/macosx-aarch64-debug.jdk/jdk-17/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/testlibrary/ctw/src:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -Djava.awt.headless=true @/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/scratch/1/modules_java_xml_0.cmd]
cout/cerr are redirected to modules_java_xml_0
modules_java_xml_0 40428675ms END : exit code = 134
Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/macosx-aarch64-debug.jdk/jdk-17/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/testlibrary/ctw/src:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -Djava.awt.headless=true @/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/scratch/1/modules_java_xml_254.cmd ]
modules_java_xml_254 40428695ms START : [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/macosx-aarch64-debug.jdk/jdk-17/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/src.full/open/test/hotspot/jtreg/applications/ctw/modules:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/classes/2/testlibrary/ctw/src:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/junit.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/hamcrest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/tmp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -Djava.awt.headless=true @/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S116036/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/73517063-05f0-4f70-a83e-b17385b4c4d1/runs/df55f710-0324-4395-983e-e4b0bcaa64a3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_ctw_3/scratch/1/modules_java_xml_254.cmd]
cout/cerr are redirected to modules_java_xml_254
modules_java_xml_254 40558653ms END : exit code = 0
Executed CTW for all 2134 classes in modules:java.xml(at /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+30-2623/macosx-aarch64-debug.jdk/jdk-17/fastdebug/lib/modules)
----------System.err:(25/1766)----------
There were 1 errors:[
java.lang.Error: modules_java_xml_0: failed during compilation of class #253 : com/sun/org/apache/bcel/internal/generic/InstructionConst
at sun.hotspot.tools.ctw.CtwRunner.startCtwforAllClasses(CtwRunner.java:215)
at sun.hotspot.tools.ctw.CtwRunner.run(CtwRunner.java:119)
at sun.hotspot.tools.ctw.CtwRunner.main(CtwRunner.java:65)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:833)
java.lang.AssertionError: There were 1 errors:[{modules_java_xml_0: failed during compilation of class #253 : com/sun/org/apache/bcel/internal/generic/InstructionConst}]
at sun.hotspot.tools.ctw.CtwRunner.run(CtwRunner.java:134)
at sun.hotspot.tools.ctw.CtwRunner.main(CtwRunner.java:65)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:833)
JavaTest Message: Test threw exception: java.lang.AssertionError
Here's snippets from the hs_err_pid file:
# SIGSEGV (0xb) at pc=0x000000018c52bdc0, pid=63682, tid=23043
#
# JRE version: Java(TM) SE Runtime Environment (17.0+30) (fastdebug build 17-ea+30-LTS-2623)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+30-LTS-2623, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# C [libsystem_malloc.dylib+0xadc0] medium_free_list_remove_ptr_no_clear+0x130
<snip>
--------------- T H R E A D ---------------
Current thread (0x000000012d80a020): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=23043, stack(0x000000016f570000,0x000000016f773000)]
Current CompileTask:
C2: 12869 8709 b 4 com.sun.org.apache.bcel.internal.generic.InstructionConst::<clinit> (2223 bytes)
Stack: [0x000000016f570000,0x000000016f773000], sp=0x000000016f76eca0, free space=2043k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libsystem_malloc.dylib+0xadc0] medium_free_list_remove_ptr_no_clear+0x130
C [libsystem_malloc.dylib+0x1f07c] medium_free_detach_region+0x88
C [libsystem_malloc.dylib+0xa2d0] free_medium+0xb04
V [libjvm.dylib+0x284ad0] Chunk::operator delete(void*)+0xb0
V [libjvm.dylib+0x284cd0] Chunk::next_chop()+0x30
V [libjvm.dylib+0x54cd0c] ResourceArea::rollback_to(ResourceArea::SavedState const&)+0xac
V [libjvm.dylib+0x403168] PhaseChaitin::Register_Allocate()+0x294
V [libjvm.dylib+0x4c3210] Compile::Code_Gen()+0x3e4
V [libjvm.dylib+0x4c0c08] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, bool, DirectiveSet*)+0x14ec
V [libjvm.dylib+0x3ca880] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x134
V [libjvm.dylib+0x4db29c] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x604
V [libjvm.dylib+0x4daa98] CompileBroker::compiler_thread_loop()+0x2c0
V [libjvm.dylib+0xf0c690] JavaThread::thread_main_inner()+0x284
V [libjvm.dylib+0xf09af4] Thread::call_run()+0x21c
V [libjvm.dylib+0xcdf934] thread_native_entry(Thread*)+0x160
C [libsystem_pthread.dylib+0x706c] _pthread_start+0x140
siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x0000000000000011
- relates to
-
JDK-8302595 use-after-free related to GraphKit::clone_map
- Resolved
-
JDK-8302594 use-after-free in Node::destruct
- Resolved
-
JDK-8271952 applications/ctw/modules/java_xml.java fails with "modules_java_xml_0: failed during compilation of class #255 : com/sun/org/apache/bcel/internal/generic/InstructionFactory"
- Closed