-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
25
-
aarch64
-
linux
The following test failed in the JDK25 CI:
vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses031/TestDescription.java
Here's a snippet from the log file:
#section:driver
----------messages:(8/425)----------
command: driver nsk.share.ExtraClassesBuilder -g:lines,source,vars newclass01 newclass02 newclass03 newclass04 newclass05
reason: User specified action: run driver nsk.share.ExtraClassesBuilder -g:lines,source,vars newclass01 newclass02 newclass03 newclass04 newclass05
started: Fri Aug 08 11:34:28 UTC 2025
Mode: agentvm
Agent id: 60
Process id: 1812507
finished: Fri Aug 08 11:34:37 UTC 2025
elapsed time (seconds): 8.392
----------configuration:(15/2062)----------
<snip>
----------System.out:(24/3470)----------
Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-25+35-3488/linux-aarch64-debug.jdk/jdk-25/fastdebug/bin/javac -d /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/scratch/2/bin/newclass01 -cp /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/3/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses031/TestDescription.d:/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/3/vmTestbase:/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/3/test/lib -g:lines,source,vars /opt/mach5/mesos/work_dir/jib-master/install/jdk-25+35-3488/src.full/open/test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses031/newclass01/redefineclasses031a.java]
[2025-08-08T11:34:28.891992076Z] Gathering output for process 1818318
[2025-08-08T11:34:28.912519749Z] Waiting for completion for process 1818318
[2025-08-08T11:34:37.035227015Z] Waiting for completion finished for process 1818318
Output and diagnostic info for process 1818318 was saved into 'pid-1818318-output.log'
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000ffffba136e1c, pid=1818318, tid=1818319
#
# JRE version: Java(TM) SE Runtime Environment (25.0+35) (fastdebug build 25+35-LTS-3488)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25+35-LTS-3488, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0x16cbe1c] ConcurrentHashTable<StringTableConfig, (MemTag)11>::get_bucket(unsigned long) const+0x1c
#
# 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-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/scratch/2/core.1818318)
#
# An error report file with more information is saved as:
# /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/scratch/2/hs_err_pid1818318.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(45/3187)----------
stdout: [#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000ffffba136e1c, pid=1818318, tid=1818319
#
# JRE version: Java(TM) SE Runtime Environment (25.0+35) (fastdebug build 25+35-LTS-3488)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25+35-LTS-3488, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0x16cbe1c] ConcurrentHashTable<StringTableConfig, (MemTag)11>::get_bucket(unsigned long) const+0x1c
#
# 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-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/scratch/2/core.1818318)
#
# An error report file with more information is saved as:
# /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/scratch/2/hs_err_pid1818318.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
];
stderr: []
exitValue = 134
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
at nsk.share.ExtraClassesBuilder.executeTool(ExtraClassesBuilder.java:89)
at nsk.share.ExtraClassesBuilder.compile(ExtraClassesBuilder.java:82)
at nsk.share.ExtraClassesBuilder.lambda$main$3(ExtraClassesBuilder.java:45)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:186)
at java.base/java.util.stream.WhileOps$1Op$1OpSink.accept(WhileOps.java:382)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:153)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:176)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:632)
at nsk.share.ExtraClassesBuilder.main(ExtraClassesBuilder.java:45)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1474)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x0000ffffb402eb50): JavaThread "main" [_thread_in_vm, id=1818319, stack(0x0000ffffb878b000,0x0000ffffb8989000) (2040K)]
Stack: [0x0000ffffb878b000,0x0000ffffb8989000], sp=0x0000ffffb8984c10, free space=2023k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x16cbe1c] ConcurrentHashTable<StringTableConfig, (MemTag)11>::get_bucket(unsigned long) const+0x1c (atomic_linux_aarch64.hpp:203)
V [libjvm.so+0x16c9c9c] StringTable::intern(StringWrapperInternal const&, JavaThread*)+0x23c (stringTable.cpp:531)
V [libjvm.so+0x16c9d88] StringTable::intern(Symbol*, JavaThread*)+0x48 (stringTable.cpp:491)
V [libjvm.so+0x9b6264] ConstantPool::string_at_impl(constantPoolHandle const&, int, int, JavaThread*)+0xe4 (constantPool.cpp:1383)
V [libjvm.so+0x9be52c] ConstantPool::resolve_constant_at_impl(constantPoolHandle const&, int, int, bool*, JavaThread*)+0x24c (constantPool.cpp:1201)
V [libjvm.so+0x6770a8] Bytecode_loadconstant::resolve_constant(JavaThread*) const+0xbc (constantPool.hpp:711)
V [libjvm.so+0xe158f0] InterpreterRuntime::resolve_ldc(JavaThread*, Bytecodes::Code)+0x210 (interpreterRuntime.cpp:181)
j com.sun.tools.javac.code.Kinds$Kind$Category.<clinit>()V+4 jdk.compiler@25
v ~StubRoutines::call_stub 0x0000ffffa3b9219c
V [libjvm.so+0xe3457c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x45c (javaCalls.cpp:415)
V [libjvm.so+0xdda910] InstanceKlass::call_class_initializer(JavaThread*)+0x2f0 (instanceKlass.cpp:1713)
V [libjvm.so+0xde0e18] InstanceKlass::initialize_impl(JavaThread*)+0x818 (instanceKlass.cpp:1321)
V [libjvm.so+0xde12b0] InstanceKlass::initialize(JavaThread*)+0x70 (instanceKlass.cpp:819)
V [libjvm.so+0x123f7ac] LinkResolver::resolve_field(fieldDescriptor&, LinkInfo const&, Bytecodes::Code, bool, JavaThread*)+0x38c (linkResolver.cpp:1081)
V [libjvm.so+0x123fee4] LinkResolver::resolve_field_access(fieldDescriptor&, constantPoolHandle const&, int, methodHandle const&, Bytecodes::Code, bool, JavaThread*)+0x1f4 (linkResolver.cpp:991)
V [libjvm.so+0xe0ff28] InterpreterRuntime::resolve_get_put(Bytecodes::Code, int, methodHandle&, constantPoolHandle&, bool, JavaThread*)+0xa8 (interpreterRuntime.cpp:664)
V [libjvm.so+0xe18fa8] InterpreterRuntime::resolve_get_put(JavaThread*, Bytecodes::Code)+0x168 (interpreterRuntime.cpp:650)
V [libjvm.so+0xe19b30] InterpreterRuntime::resolve_from_cache(JavaThread*, Bytecodes::Code)+0x170 (interpreterRuntime.cpp:995)
j com.sun.tools.javac.code.Kinds$Kind.<clinit>()V+7 jdk.compiler@25
v ~StubRoutines::call_stub 0x0000ffffa3b9219c
V [libjvm.so+0xe3457c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x45c (javaCalls.cpp:415)
V [libjvm.so+0xdda910] InstanceKlass::call_class_initializer(JavaThread*)+0x2f0 (instanceKlass.cpp:1713)
V [libjvm.so+0xde0e18] InstanceKlass::initialize_impl(JavaThread*)+0x818 (instanceKlass.cpp:1321)
V [libjvm.so+0xde12b0] InstanceKlass::initialize(JavaThread*)+0x70 (instanceKlass.cpp:819)
V [libjvm.so+0x123f7ac] LinkResolver::resolve_field(fieldDescriptor&, LinkInfo const&, Bytecodes::Code, bool, JavaThread*)+0x38c (linkResolver.cpp:1081)
V [libjvm.so+0x123fee4] LinkResolver::resolve_field_access(fieldDescriptor&, constantPoolHandle const&, int, methodHandle const&, Bytecodes::Code, bool, JavaThread*)+0x1f4 (linkResolver.cpp:991)
V [libjvm.so+0xe0ff28] InterpreterRuntime::resolve_get_put(Bytecodes::Code, int, methodHandle&, constantPoolHandle&, bool, JavaThread*)+0xa8 (interpreterRuntime.cpp:664)
V [libjvm.so+0xe18fa8] InterpreterRuntime::resolve_get_put(JavaThread*, Bytecodes::Code)+0x168 (interpreterRuntime.cpp:650)
V [libjvm.so+0xe19b30] InterpreterRuntime::resolve_from_cache(JavaThread*, Bytecodes::Code)+0x170 (interpreterRuntime.cpp:995)
j com.sun.tools.javac.code.Symbol$PackageSymbol.<init>(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Type;Lcom/sun/tools/javac/code/Symbol;)V+1 jdk.compiler@25
j com.sun.tools.javac.code.Symbol$PackageSymbol.<init>(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol;)V+4 jdk.compiler@25
j com.sun.tools.javac.code.Symbol$RootPackageSymbol.<init>(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol;Lcom/sun/tools/javac/code/MissingInfoHandler;Z)V+3 jdk.compiler@25
j com.sun.tools.javac.code.Symtab.<init>(Lcom/sun/tools/javac/util/Context;)V+262 jdk.compiler@25
j com.sun.tools.javac.code.Symtab.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/code/Symtab;+20 jdk.compiler@25
j com.sun.tools.javac.comp.Attr.<init>(Lcom/sun/tools/javac/util/Context;)V+78 jdk.compiler@25
j com.sun.tools.javac.comp.Attr.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/comp/Attr;+20 jdk.compiler@25
j com.sun.tools.javac.comp.Annotate.<init>(Lcom/sun/tools/javac/util/Context;)V+80 jdk.compiler@25
j com.sun.tools.javac.comp.Annotate.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/comp/Annotate;+20 jdk.compiler@25
j com.sun.tools.javac.jvm.ClassReader.<init>(Lcom/sun/tools/javac/util/Context;)V+152 jdk.compiler@25
j com.sun.tools.javac.jvm.ClassReader.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/jvm/ClassReader;+20 jdk.compiler@25
j com.sun.tools.javac.code.ClassFinder.<init>(Lcom/sun/tools/javac/util/Context;)V+46 jdk.compiler@25
j com.sun.tools.javac.code.ClassFinder.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/code/ClassFinder;+20 jdk.compiler@25
j com.sun.tools.javac.main.JavaCompiler.<init>(Lcom/sun/tools/javac/util/Context;)V+130 jdk.compiler@25
j com.sun.tools.javac.main.JavaCompiler.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/JavaCompiler;+20 jdk.compiler@25
j com.sun.tools.javac.processing.JavacProcessingEnvironment.<init>(Lcom/sun/tools/javac/util/Context;)V+119 jdk.compiler@25
j com.sun.tools.javac.processing.JavacProcessingEnvironment.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/processing/JavacProcessingEnvironment;+19 jdk.compiler@25
j com.sun.tools.javac.api.BasicJavacTask.initPlugins(Ljava/util/Set;)V+148 jdk.compiler@25
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/Main$Result;+475 jdk.compiler@25
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result;+15 jdk.compiler@25
j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12 jdk.compiler@25
j com.sun.tools.javac.Main.main([Ljava/lang/String;)V+1 jdk.compiler@25
v ~StubRoutines::call_stub 0x0000ffffa3b9219c
V [libjvm.so+0xe3457c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x45c (javaCalls.cpp:415)
V [libjvm.so+0xf98360] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, JavaThread*) [clone .constprop.1]+0x2a0 (jni.cpp:883)
V [libjvm.so+0xf9b4f8] jni_CallStaticVoidMethod+0x168 (jni.cpp:1712)
C [libjli.so+0x3c3c] invokeStaticMainWithArgs+0x58 (java.c:392)
C [libjli.so+0x4ca4] JavaMain+0xe44 (java.c:640)
C [libjli.so+0x7b14] ThreadJavaMain+0xc (java_md.c:646)
C [libpthread.so.0+0x7950] start_thread+0x190
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.tools.javac.code.Kinds$Kind$Category.<clinit>()V+4 jdk.compiler@25
v ~StubRoutines::call_stub 0x0000ffffa3b9219c
j com.sun.tools.javac.code.Kinds$Kind.<clinit>()V+7 jdk.compiler@25
v ~StubRoutines::call_stub 0x0000ffffa3b9219c
j com.sun.tools.javac.code.Symbol$PackageSymbol.<init>(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Type;Lcom/sun/tools/javac/code/Symbol;)V+1 jdk.compiler@25
j com.sun.tools.javac.code.Symbol$PackageSymbol.<init>(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol;)V+4 jdk.compiler@25
j com.sun.tools.javac.code.Symbol$RootPackageSymbol.<init>(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol;Lcom/sun/tools/javac/code/MissingInfoHandler;Z)V+3 jdk.compiler@25
j com.sun.tools.javac.code.Symtab.<init>(Lcom/sun/tools/javac/util/Context;)V+262 jdk.compiler@25
j com.sun.tools.javac.code.Symtab.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/code/Symtab;+20 jdk.compiler@25
j com.sun.tools.javac.comp.Attr.<init>(Lcom/sun/tools/javac/util/Context;)V+78 jdk.compiler@25
j com.sun.tools.javac.comp.Attr.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/comp/Attr;+20 jdk.compiler@25
j com.sun.tools.javac.comp.Annotate.<init>(Lcom/sun/tools/javac/util/Context;)V+80 jdk.compiler@25
j com.sun.tools.javac.comp.Annotate.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/comp/Annotate;+20 jdk.compiler@25
j com.sun.tools.javac.jvm.ClassReader.<init>(Lcom/sun/tools/javac/util/Context;)V+152 jdk.compiler@25
j com.sun.tools.javac.jvm.ClassReader.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/jvm/ClassReader;+20 jdk.compiler@25
j com.sun.tools.javac.code.ClassFinder.<init>(Lcom/sun/tools/javac/util/Context;)V+46 jdk.compiler@25
j com.sun.tools.javac.code.ClassFinder.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/code/ClassFinder;+20 jdk.compiler@25
j com.sun.tools.javac.main.JavaCompiler.<init>(Lcom/sun/tools/javac/util/Context;)V+130 jdk.compiler@25
j com.sun.tools.javac.main.JavaCompiler.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/JavaCompiler;+20 jdk.compiler@25
j com.sun.tools.javac.processing.JavacProcessingEnvironment.<init>(Lcom/sun/tools/javac/util/Context;)V+119 jdk.compiler@25
j com.sun.tools.javac.processing.JavacProcessingEnvironment.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/processing/JavacProcessingEnvironment;+19 jdk.compiler@25
j com.sun.tools.javac.api.BasicJavacTask.initPlugins(Ljava/util/Set;)V+148 jdk.compiler@25
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/Main$Result;+475 jdk.compiler@25
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result;+15 jdk.compiler@25
j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12 jdk.compiler@25
j com.sun.tools.javac.Main.main([Ljava/lang/String;)V+1 jdk.compiler@25
v ~StubRoutines::call_stub 0x0000ffffa3b9219c
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00088f87baa4c130
Since this crash comes via the interpreter, constant pool code, string table
code and finally ConcurrentHashTable code, I'm starting this issue off in
hotspot/runtime for initial triage.
vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses031/TestDescription.java
Here's a snippet from the log file:
#section:driver
----------messages:(8/425)----------
command: driver nsk.share.ExtraClassesBuilder -g:lines,source,vars newclass01 newclass02 newclass03 newclass04 newclass05
reason: User specified action: run driver nsk.share.ExtraClassesBuilder -g:lines,source,vars newclass01 newclass02 newclass03 newclass04 newclass05
started: Fri Aug 08 11:34:28 UTC 2025
Mode: agentvm
Agent id: 60
Process id: 1812507
finished: Fri Aug 08 11:34:37 UTC 2025
elapsed time (seconds): 8.392
----------configuration:(15/2062)----------
<snip>
----------System.out:(24/3470)----------
Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-25+35-3488/linux-aarch64-debug.jdk/jdk-25/fastdebug/bin/javac -d /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/scratch/2/bin/newclass01 -cp /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/3/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses031/TestDescription.d:/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/3/vmTestbase:/opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/classes/3/test/lib -g:lines,source,vars /opt/mach5/mesos/work_dir/jib-master/install/jdk-25+35-3488/src.full/open/test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/redefineClasses/redefineclasses031/newclass01/redefineclasses031a.java]
[2025-08-08T11:34:28.891992076Z] Gathering output for process 1818318
[2025-08-08T11:34:28.912519749Z] Waiting for completion for process 1818318
[2025-08-08T11:34:37.035227015Z] Waiting for completion finished for process 1818318
Output and diagnostic info for process 1818318 was saved into 'pid-1818318-output.log'
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000ffffba136e1c, pid=1818318, tid=1818319
#
# JRE version: Java(TM) SE Runtime Environment (25.0+35) (fastdebug build 25+35-LTS-3488)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25+35-LTS-3488, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0x16cbe1c] ConcurrentHashTable<StringTableConfig, (MemTag)11>::get_bucket(unsigned long) const+0x1c
#
# 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-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/scratch/2/core.1818318)
#
# An error report file with more information is saved as:
# /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/scratch/2/hs_err_pid1818318.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(45/3187)----------
stdout: [#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000ffffba136e1c, pid=1818318, tid=1818319
#
# JRE version: Java(TM) SE Runtime Environment (25.0+35) (fastdebug build 25+35-LTS-3488)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25+35-LTS-3488, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# V [libjvm.so+0x16cbe1c] ConcurrentHashTable<StringTableConfig, (MemTag)11>::get_bucket(unsigned long) const+0x1c
#
# 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-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/scratch/2/core.1818318)
#
# An error report file with more information is saved as:
# /opt/mach5/mesos/work_dir/slaves/f7f8bd65-a387-4a2b-b519-702f2fefaf87-S221118/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/401e4d66-3e45-4ca4-88cb-c31ea0ca8479/runs/b11e71f8-52eb-4c1b-bae0-88fbb3d169cc/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jdi/scratch/2/hs_err_pid1818318.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
];
stderr: []
exitValue = 134
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
at nsk.share.ExtraClassesBuilder.executeTool(ExtraClassesBuilder.java:89)
at nsk.share.ExtraClassesBuilder.compile(ExtraClassesBuilder.java:82)
at nsk.share.ExtraClassesBuilder.lambda$main$3(ExtraClassesBuilder.java:45)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:186)
at java.base/java.util.stream.WhileOps$1Op$1OpSink.accept(WhileOps.java:382)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:153)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:176)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:632)
at nsk.share.ExtraClassesBuilder.main(ExtraClassesBuilder.java:45)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1474)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x0000ffffb402eb50): JavaThread "main" [_thread_in_vm, id=1818319, stack(0x0000ffffb878b000,0x0000ffffb8989000) (2040K)]
Stack: [0x0000ffffb878b000,0x0000ffffb8989000], sp=0x0000ffffb8984c10, free space=2023k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x16cbe1c] ConcurrentHashTable<StringTableConfig, (MemTag)11>::get_bucket(unsigned long) const+0x1c (atomic_linux_aarch64.hpp:203)
V [libjvm.so+0x16c9c9c] StringTable::intern(StringWrapperInternal const&, JavaThread*)+0x23c (stringTable.cpp:531)
V [libjvm.so+0x16c9d88] StringTable::intern(Symbol*, JavaThread*)+0x48 (stringTable.cpp:491)
V [libjvm.so+0x9b6264] ConstantPool::string_at_impl(constantPoolHandle const&, int, int, JavaThread*)+0xe4 (constantPool.cpp:1383)
V [libjvm.so+0x9be52c] ConstantPool::resolve_constant_at_impl(constantPoolHandle const&, int, int, bool*, JavaThread*)+0x24c (constantPool.cpp:1201)
V [libjvm.so+0x6770a8] Bytecode_loadconstant::resolve_constant(JavaThread*) const+0xbc (constantPool.hpp:711)
V [libjvm.so+0xe158f0] InterpreterRuntime::resolve_ldc(JavaThread*, Bytecodes::Code)+0x210 (interpreterRuntime.cpp:181)
j com.sun.tools.javac.code.Kinds$Kind$Category.<clinit>()V+4 jdk.compiler@25
v ~StubRoutines::call_stub 0x0000ffffa3b9219c
V [libjvm.so+0xe3457c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x45c (javaCalls.cpp:415)
V [libjvm.so+0xdda910] InstanceKlass::call_class_initializer(JavaThread*)+0x2f0 (instanceKlass.cpp:1713)
V [libjvm.so+0xde0e18] InstanceKlass::initialize_impl(JavaThread*)+0x818 (instanceKlass.cpp:1321)
V [libjvm.so+0xde12b0] InstanceKlass::initialize(JavaThread*)+0x70 (instanceKlass.cpp:819)
V [libjvm.so+0x123f7ac] LinkResolver::resolve_field(fieldDescriptor&, LinkInfo const&, Bytecodes::Code, bool, JavaThread*)+0x38c (linkResolver.cpp:1081)
V [libjvm.so+0x123fee4] LinkResolver::resolve_field_access(fieldDescriptor&, constantPoolHandle const&, int, methodHandle const&, Bytecodes::Code, bool, JavaThread*)+0x1f4 (linkResolver.cpp:991)
V [libjvm.so+0xe0ff28] InterpreterRuntime::resolve_get_put(Bytecodes::Code, int, methodHandle&, constantPoolHandle&, bool, JavaThread*)+0xa8 (interpreterRuntime.cpp:664)
V [libjvm.so+0xe18fa8] InterpreterRuntime::resolve_get_put(JavaThread*, Bytecodes::Code)+0x168 (interpreterRuntime.cpp:650)
V [libjvm.so+0xe19b30] InterpreterRuntime::resolve_from_cache(JavaThread*, Bytecodes::Code)+0x170 (interpreterRuntime.cpp:995)
j com.sun.tools.javac.code.Kinds$Kind.<clinit>()V+7 jdk.compiler@25
v ~StubRoutines::call_stub 0x0000ffffa3b9219c
V [libjvm.so+0xe3457c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x45c (javaCalls.cpp:415)
V [libjvm.so+0xdda910] InstanceKlass::call_class_initializer(JavaThread*)+0x2f0 (instanceKlass.cpp:1713)
V [libjvm.so+0xde0e18] InstanceKlass::initialize_impl(JavaThread*)+0x818 (instanceKlass.cpp:1321)
V [libjvm.so+0xde12b0] InstanceKlass::initialize(JavaThread*)+0x70 (instanceKlass.cpp:819)
V [libjvm.so+0x123f7ac] LinkResolver::resolve_field(fieldDescriptor&, LinkInfo const&, Bytecodes::Code, bool, JavaThread*)+0x38c (linkResolver.cpp:1081)
V [libjvm.so+0x123fee4] LinkResolver::resolve_field_access(fieldDescriptor&, constantPoolHandle const&, int, methodHandle const&, Bytecodes::Code, bool, JavaThread*)+0x1f4 (linkResolver.cpp:991)
V [libjvm.so+0xe0ff28] InterpreterRuntime::resolve_get_put(Bytecodes::Code, int, methodHandle&, constantPoolHandle&, bool, JavaThread*)+0xa8 (interpreterRuntime.cpp:664)
V [libjvm.so+0xe18fa8] InterpreterRuntime::resolve_get_put(JavaThread*, Bytecodes::Code)+0x168 (interpreterRuntime.cpp:650)
V [libjvm.so+0xe19b30] InterpreterRuntime::resolve_from_cache(JavaThread*, Bytecodes::Code)+0x170 (interpreterRuntime.cpp:995)
j com.sun.tools.javac.code.Symbol$PackageSymbol.<init>(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Type;Lcom/sun/tools/javac/code/Symbol;)V+1 jdk.compiler@25
j com.sun.tools.javac.code.Symbol$PackageSymbol.<init>(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol;)V+4 jdk.compiler@25
j com.sun.tools.javac.code.Symbol$RootPackageSymbol.<init>(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol;Lcom/sun/tools/javac/code/MissingInfoHandler;Z)V+3 jdk.compiler@25
j com.sun.tools.javac.code.Symtab.<init>(Lcom/sun/tools/javac/util/Context;)V+262 jdk.compiler@25
j com.sun.tools.javac.code.Symtab.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/code/Symtab;+20 jdk.compiler@25
j com.sun.tools.javac.comp.Attr.<init>(Lcom/sun/tools/javac/util/Context;)V+78 jdk.compiler@25
j com.sun.tools.javac.comp.Attr.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/comp/Attr;+20 jdk.compiler@25
j com.sun.tools.javac.comp.Annotate.<init>(Lcom/sun/tools/javac/util/Context;)V+80 jdk.compiler@25
j com.sun.tools.javac.comp.Annotate.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/comp/Annotate;+20 jdk.compiler@25
j com.sun.tools.javac.jvm.ClassReader.<init>(Lcom/sun/tools/javac/util/Context;)V+152 jdk.compiler@25
j com.sun.tools.javac.jvm.ClassReader.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/jvm/ClassReader;+20 jdk.compiler@25
j com.sun.tools.javac.code.ClassFinder.<init>(Lcom/sun/tools/javac/util/Context;)V+46 jdk.compiler@25
j com.sun.tools.javac.code.ClassFinder.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/code/ClassFinder;+20 jdk.compiler@25
j com.sun.tools.javac.main.JavaCompiler.<init>(Lcom/sun/tools/javac/util/Context;)V+130 jdk.compiler@25
j com.sun.tools.javac.main.JavaCompiler.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/JavaCompiler;+20 jdk.compiler@25
j com.sun.tools.javac.processing.JavacProcessingEnvironment.<init>(Lcom/sun/tools/javac/util/Context;)V+119 jdk.compiler@25
j com.sun.tools.javac.processing.JavacProcessingEnvironment.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/processing/JavacProcessingEnvironment;+19 jdk.compiler@25
j com.sun.tools.javac.api.BasicJavacTask.initPlugins(Ljava/util/Set;)V+148 jdk.compiler@25
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/Main$Result;+475 jdk.compiler@25
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result;+15 jdk.compiler@25
j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12 jdk.compiler@25
j com.sun.tools.javac.Main.main([Ljava/lang/String;)V+1 jdk.compiler@25
v ~StubRoutines::call_stub 0x0000ffffa3b9219c
V [libjvm.so+0xe3457c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x45c (javaCalls.cpp:415)
V [libjvm.so+0xf98360] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, JavaThread*) [clone .constprop.1]+0x2a0 (jni.cpp:883)
V [libjvm.so+0xf9b4f8] jni_CallStaticVoidMethod+0x168 (jni.cpp:1712)
C [libjli.so+0x3c3c] invokeStaticMainWithArgs+0x58 (java.c:392)
C [libjli.so+0x4ca4] JavaMain+0xe44 (java.c:640)
C [libjli.so+0x7b14] ThreadJavaMain+0xc (java_md.c:646)
C [libpthread.so.0+0x7950] start_thread+0x190
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.tools.javac.code.Kinds$Kind$Category.<clinit>()V+4 jdk.compiler@25
v ~StubRoutines::call_stub 0x0000ffffa3b9219c
j com.sun.tools.javac.code.Kinds$Kind.<clinit>()V+7 jdk.compiler@25
v ~StubRoutines::call_stub 0x0000ffffa3b9219c
j com.sun.tools.javac.code.Symbol$PackageSymbol.<init>(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Type;Lcom/sun/tools/javac/code/Symbol;)V+1 jdk.compiler@25
j com.sun.tools.javac.code.Symbol$PackageSymbol.<init>(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol;)V+4 jdk.compiler@25
j com.sun.tools.javac.code.Symbol$RootPackageSymbol.<init>(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol;Lcom/sun/tools/javac/code/MissingInfoHandler;Z)V+3 jdk.compiler@25
j com.sun.tools.javac.code.Symtab.<init>(Lcom/sun/tools/javac/util/Context;)V+262 jdk.compiler@25
j com.sun.tools.javac.code.Symtab.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/code/Symtab;+20 jdk.compiler@25
j com.sun.tools.javac.comp.Attr.<init>(Lcom/sun/tools/javac/util/Context;)V+78 jdk.compiler@25
j com.sun.tools.javac.comp.Attr.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/comp/Attr;+20 jdk.compiler@25
j com.sun.tools.javac.comp.Annotate.<init>(Lcom/sun/tools/javac/util/Context;)V+80 jdk.compiler@25
j com.sun.tools.javac.comp.Annotate.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/comp/Annotate;+20 jdk.compiler@25
j com.sun.tools.javac.jvm.ClassReader.<init>(Lcom/sun/tools/javac/util/Context;)V+152 jdk.compiler@25
j com.sun.tools.javac.jvm.ClassReader.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/jvm/ClassReader;+20 jdk.compiler@25
j com.sun.tools.javac.code.ClassFinder.<init>(Lcom/sun/tools/javac/util/Context;)V+46 jdk.compiler@25
j com.sun.tools.javac.code.ClassFinder.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/code/ClassFinder;+20 jdk.compiler@25
j com.sun.tools.javac.main.JavaCompiler.<init>(Lcom/sun/tools/javac/util/Context;)V+130 jdk.compiler@25
j com.sun.tools.javac.main.JavaCompiler.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/JavaCompiler;+20 jdk.compiler@25
j com.sun.tools.javac.processing.JavacProcessingEnvironment.<init>(Lcom/sun/tools/javac/util/Context;)V+119 jdk.compiler@25
j com.sun.tools.javac.processing.JavacProcessingEnvironment.instance(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/processing/JavacProcessingEnvironment;+19 jdk.compiler@25
j com.sun.tools.javac.api.BasicJavacTask.initPlugins(Ljava/util/Set;)V+148 jdk.compiler@25
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/Main$Result;+475 jdk.compiler@25
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result;+15 jdk.compiler@25
j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12 jdk.compiler@25
j com.sun.tools.javac.Main.main([Ljava/lang/String;)V+1 jdk.compiler@25
v ~StubRoutines::call_stub 0x0000ffffa3b9219c
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00088f87baa4c130
Since this crash comes via the interpreter, constant pool code, string table
code and finally ConcurrentHashTable code, I'm starting this issue off in
hotspot/runtime for initial triage.