-
Bug
-
Resolution: Unresolved
-
P4
-
25
-
aarch64
-
linux
The following test crashed with SIGSEGV in javac in the JDK25 CI:
javax/management/query/SupportedQueryTypesTest.java
TO BE CLEAR: This failure happened during javac compilation
and NOT during test execution.
Here's a snippet from the log file:
#section:compile
----------messages:(8/407)----------
command: compile /opt/mach5/mesos/work_dir/jib-master/install/jdk-25+35-3487/src.full/open/test/jdk/javax/management/query/TestQuery.java
reason: User specified action: run compile TestQuery.java
started: Wed Aug 06 19:49:31 UTC 2025
Additional options from @modules: --add-modules java.management.rmi
Mode: othervm
Process id: 1498395
finished: Wed Aug 06 19:49:41 UTC 2025
elapsed time (seconds): 10.239
----------configuration:(6/654)----------
javac compilation environment
add modules: java.management.rmi
source path: /opt/mach5/mesos/work_dir/jib-master/install/jdk-25+35-3487/src.full/open/test/jdk/javax/management/query
class path: /opt/mach5/mesos/work_dir/jib-master/install/jdk-25+35-3487/src.full/open/test/jdk/javax/management/query
/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221099/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/45618e70-9dac-4fc4-86db-7d0edfea29fb/runs/84638598-0e03-4406-9164-772083ef9f8f/testoutput/test-support/jtreg_open_test_jdk_jdk_jmx/classes/0/javax/management/query/SupportedQueryTypesTest.d
----------rerun:(40/5949)*----------
<snip>
----------System.out:(18/1409)----------
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000000d0019be0, pid=1498395, tid=1498400
#
# JRE version: Java(TM) SE Runtime Environment (25.0+35) (fastdebug build 25-ea+35-LTS-3487)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-ea+35-LTS-3487, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# C 0x00000000d0019be0
#
# Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221099/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/45618e70-9dac-4fc4-86db-7d0edfea29fb/runs/84638598-0e03-4406-9164-772083ef9f8f/testoutput/test-support/jtreg_open_test_jdk_jdk_jmx/javax/management/query/SupportedQueryTypesTest/core.1498395)
#
# An error report file with more information is saved as:
# /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221099/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/45618e70-9dac-4fc4-86db-7d0edfea29fb/runs/84638598-0e03-4406-9164-772083ef9f8f/testoutput/test-support/jtreg_open_test_jdk_jdk_jmx/javax/management/query/SupportedQueryTypesTest/hs_err_pid1498395.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(0/0)----------
result: Error. unexpected exit code from javac: 134
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x0000ffff90031190): JavaThread "main" [_thread_in_vm, id=1498400, stack(0x0000ffff9424e000,0x0000ffff9444c000) (2040K)]
Stack: [0x0000ffff9424e000,0x0000ffff9444c000], sp=0x0000ffff94446370, free space=2016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x00000000d0019be0
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.tools.javac.comp.Flow.analyzeTree(Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/tree/TreeMaker;)V+13 jdk.compiler@25-ea
j com.sun.tools.javac.main.JavaCompiler.flow(Lcom/sun/tools/javac/comp/Env;Ljava/util/Queue;)V+171 jdk.compiler@25-ea
j com.sun.tools.javac.main.JavaCompiler.flow(Lcom/sun/tools/javac/comp/Env;)Ljava/util/Queue;+11 jdk.compiler@25-ea
j com.sun.tools.javac.main.JavaCompiler.compile(Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Iterable;Ljava/util/Collection;)V+408 jdk.compiler@25-ea
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/Main$Result;+622 jdk.compiler@25-ea
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result;+15 jdk.compiler@25-ea
j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12 jdk.compiler@25-ea
j com.sun.tools.javac.Main.main([Ljava/lang/String;)V+1 jdk.compiler@25-ea
v ~StubRoutines::call_stub 0x0000ffff7fb9219c
siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x00000000d0019be0
The crashing VM was only up for ~5 seconds:
Time: Wed Aug 6 19:49:36 2025 UTC elapsed time: 4.766387 seconds (0d 0h 0m 4s)
The crashing frame is native code:
C 0x00000000d0019be0
and the Java frames are all interpreted:
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.tools.javac.comp.Flow.analyzeTree(Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/tree/TreeMaker;)V+13 jdk.compiler@25-ea
j com.sun.tools.javac.main.JavaCompiler.flow(Lcom/sun/tools/javac/comp/Env;Ljava/util/Queue;)V+171 jdk.compiler@25-ea
j com.sun.tools.javac.main.JavaCompiler.flow(Lcom/sun/tools/javac/comp/Env;)Ljava/util/Queue;+11 jdk.compiler@25-ea
j com.sun.tools.javac.main.JavaCompiler.compile(Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Iterable;Ljava/util/Collection;)V+408 jdk.compiler@25-ea
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/Main$Result;+622 jdk.compiler@25-ea
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result;+15 jdk.compiler@25-ea
j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12 jdk.compiler@25-ea
j com.sun.tools.javac.Main.main([Ljava/lang/String;)V+1 jdk.compiler@25-ea
v ~StubRoutines::call_stub 0x0000ffff7fb9219c
I'm going to start this issue in tools/javac for initial triage. Has the
'javac' team seen more weird crashed like this one? I tried JBS
searches, but I didn't get any obvious hits.
javax/management/query/SupportedQueryTypesTest.java
TO BE CLEAR: This failure happened during javac compilation
and NOT during test execution.
Here's a snippet from the log file:
#section:compile
----------messages:(8/407)----------
command: compile /opt/mach5/mesos/work_dir/jib-master/install/jdk-25+35-3487/src.full/open/test/jdk/javax/management/query/TestQuery.java
reason: User specified action: run compile TestQuery.java
started: Wed Aug 06 19:49:31 UTC 2025
Additional options from @modules: --add-modules java.management.rmi
Mode: othervm
Process id: 1498395
finished: Wed Aug 06 19:49:41 UTC 2025
elapsed time (seconds): 10.239
----------configuration:(6/654)----------
javac compilation environment
add modules: java.management.rmi
source path: /opt/mach5/mesos/work_dir/jib-master/install/jdk-25+35-3487/src.full/open/test/jdk/javax/management/query
class path: /opt/mach5/mesos/work_dir/jib-master/install/jdk-25+35-3487/src.full/open/test/jdk/javax/management/query
/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221099/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/45618e70-9dac-4fc4-86db-7d0edfea29fb/runs/84638598-0e03-4406-9164-772083ef9f8f/testoutput/test-support/jtreg_open_test_jdk_jdk_jmx/classes/0/javax/management/query/SupportedQueryTypesTest.d
----------rerun:(40/5949)*----------
<snip>
----------System.out:(18/1409)----------
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00000000d0019be0, pid=1498395, tid=1498400
#
# JRE version: Java(TM) SE Runtime Environment (25.0+35) (fastdebug build 25-ea+35-LTS-3487)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-ea+35-LTS-3487, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# C 0x00000000d0019be0
#
# Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221099/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/45618e70-9dac-4fc4-86db-7d0edfea29fb/runs/84638598-0e03-4406-9164-772083ef9f8f/testoutput/test-support/jtreg_open_test_jdk_jdk_jmx/javax/management/query/SupportedQueryTypesTest/core.1498395)
#
# An error report file with more information is saved as:
# /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221099/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/45618e70-9dac-4fc4-86db-7d0edfea29fb/runs/84638598-0e03-4406-9164-772083ef9f8f/testoutput/test-support/jtreg_open_test_jdk_jdk_jmx/javax/management/query/SupportedQueryTypesTest/hs_err_pid1498395.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(0/0)----------
result: Error. unexpected exit code from javac: 134
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x0000ffff90031190): JavaThread "main" [_thread_in_vm, id=1498400, stack(0x0000ffff9424e000,0x0000ffff9444c000) (2040K)]
Stack: [0x0000ffff9424e000,0x0000ffff9444c000], sp=0x0000ffff94446370, free space=2016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x00000000d0019be0
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.tools.javac.comp.Flow.analyzeTree(Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/tree/TreeMaker;)V+13 jdk.compiler@25-ea
j com.sun.tools.javac.main.JavaCompiler.flow(Lcom/sun/tools/javac/comp/Env;Ljava/util/Queue;)V+171 jdk.compiler@25-ea
j com.sun.tools.javac.main.JavaCompiler.flow(Lcom/sun/tools/javac/comp/Env;)Ljava/util/Queue;+11 jdk.compiler@25-ea
j com.sun.tools.javac.main.JavaCompiler.compile(Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Iterable;Ljava/util/Collection;)V+408 jdk.compiler@25-ea
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/Main$Result;+622 jdk.compiler@25-ea
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result;+15 jdk.compiler@25-ea
j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12 jdk.compiler@25-ea
j com.sun.tools.javac.Main.main([Ljava/lang/String;)V+1 jdk.compiler@25-ea
v ~StubRoutines::call_stub 0x0000ffff7fb9219c
siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x00000000d0019be0
The crashing VM was only up for ~5 seconds:
Time: Wed Aug 6 19:49:36 2025 UTC elapsed time: 4.766387 seconds (0d 0h 0m 4s)
The crashing frame is native code:
C 0x00000000d0019be0
and the Java frames are all interpreted:
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.tools.javac.comp.Flow.analyzeTree(Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/tree/TreeMaker;)V+13 jdk.compiler@25-ea
j com.sun.tools.javac.main.JavaCompiler.flow(Lcom/sun/tools/javac/comp/Env;Ljava/util/Queue;)V+171 jdk.compiler@25-ea
j com.sun.tools.javac.main.JavaCompiler.flow(Lcom/sun/tools/javac/comp/Env;)Ljava/util/Queue;+11 jdk.compiler@25-ea
j com.sun.tools.javac.main.JavaCompiler.compile(Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Iterable;Ljava/util/Collection;)V+408 jdk.compiler@25-ea
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/Main$Result;+622 jdk.compiler@25-ea
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result;+15 jdk.compiler@25-ea
j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12 jdk.compiler@25-ea
j com.sun.tools.javac.Main.main([Ljava/lang/String;)V+1 jdk.compiler@25-ea
v ~StubRoutines::call_stub 0x0000ffff7fb9219c
I'm going to start this issue in tools/javac for initial triage. Has the
'javac' team seen more weird crashed like this one? I tried JBS
searches, but I didn't get any obvious hits.