JDK-8339159 : api/java_rmi/Naming/Rebind.html crashes with SEGV from UTF8::quoted_ascii_length call
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 17,24
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux_oracle_8
  • CPU: x86_64
  • Submitted: 2024-08-28
  • Updated: 2024-09-16
  • Resolved: 2024-09-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 24
24 b15Fixed
Related Reports
Relates :  
Description
tier 10 JCK test failure

---------------  S U M M A R Y ------------

Command Line: --enable-preview -Djava.awt.headless=true -Xlog:all=trace:file=vm-%p.log::filecount=1,filesize=1M -XX:+EnableDynamicAgentLoading -Djdk.attach.allowAttachSelf=true -Djava.security.properties=/opt/mach5/mesos/work_dir/jib-master/install/jck/24/b01/extra/bundles/JCK-extra-24.zip/JCK-extra-24/extra.security.properties -XX:MaxRAMPercentage=4.16667 -Djava.security.policy=/opt/mach5/mesos/work_dir/jib-master/install/jck/24/b01/bundles/JCK-runtime-24.jar/JCK-runtime-24/lib/jck.policy -Djava.security.manager=allow javasoft.sqe.tests.api.java.rmi.Naming.RebindTests -timeoutFactor 1.0 -network.tcpPortRange 0

Host: ol8-x64-223739, AMD EPYC 7J13 64-Core Processor, 12 cores, 23G, Oracle Linux Server release 8.9
Time: Tue Aug 27 04:24:41 2024 UTC elapsed time: 4.360200 seconds (0d 0h 0m 4s)

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

Current thread (0x00007f5544031fa0):  JavaThread "main"             [_thread_in_vm, id=2343614, stack(0x00007f554b6b2000,0x00007f554b7b3000) (1028K)]

Stack: [0x00007f554b6b2000,0x00007f554b7b3000],  sp=0x00007f554b7afc88,  free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x18483c5]  UTF8::quoted_ascii_length(char const*, int)+0x15
V  [libjvm.so+0x1773192]  log_trace_symboltable_helper(Symbol*, char const*)+0x62
V  [libjvm.so+0x1776554]  SymbolTable::do_add_if_needed(char const*, int, unsigned long, bool)+0xd44
V  [libjvm.so+0x1777388]  SymbolTable::new_symbols(ClassLoaderData*, constantPoolHandle const&, int, char const**, int*, int*, unsigned int*)+0x78
V  [libjvm.so+0x96328c]  ClassFileParser::parse_constant_pool_entries(ClassFileStream const*, ConstantPool*, int, JavaThread*)+0xcdc
V  [libjvm.so+0x963951]  ClassFileParser::parse_constant_pool(ClassFileStream const*, ConstantPool*, int, JavaThread*)+0x41
V  [libjvm.so+0x964fd0]  ClassFileParser::parse_stream(ClassFileStream const*, JavaThread*)+0x250
V  [libjvm.so+0x965d13]  ClassFileParser::ClassFileParser(ClassFileStream*, Symbol*, ClassLoaderData*, ClassLoadInfo const*, ClassFileParser::Publicity, JavaThread*)+0x223
V  [libjvm.so+0x11f0146]  KlassFactory::create_from_stream(ClassFileStream*, Symbol*, ClassLoaderData*, ClassLoadInfo const&, JavaThread*)+0xd6
V  [libjvm.so+0x978a56]  ClassLoader::load_class(Symbol*, PackageEntry*, bool, JavaThread*)+0x176
V  [libjvm.so+0x1791988]  SystemDictionary::load_instance_class_impl(Symbol*, Handle, JavaThread*)+0x478
V  [libjvm.so+0x178f8dc]  SystemDictionary::load_instance_class(Symbol*, Handle, JavaThread*)+0x1c
V  [libjvm.so+0x17902f4]  SystemDictionary::resolve_instance_class_or_null(Symbol*, Handle, Handle, JavaThread*)+0x8b4
V  [libjvm.so+0x1790a22]  SystemDictionary::resolve_or_fail(Symbol*, Handle, Handle, bool, JavaThread*)+0x22
V  [libjvm.so+0xa3de8f]  ConstantPool::klass_at_impl(constantPoolHandle const&, int, JavaThread*)+0x18f
V  [libjvm.so+0xe67a56]  InterpreterRuntime::_new(JavaThread*, ConstantPool*, int)+0x86
j  sun.rmi.transport.tcp.TCPChannel.createConnection()Lsun/rmi/transport/Connection;+19 java.rmi@24-ea
j  sun.rmi.transport.tcp.TCPChannel.newConnection()Lsun/rmi/transport/Connection;+101 java.rmi@24-ea
j  sun.rmi.server.UnicastRef.newCall(Ljava/rmi/server/RemoteObject;[Ljava/rmi/server/Operation;IJ)Ljava/rmi/server/RemoteCall;+19 java.rmi@24-ea
j  sun.rmi.registry.RegistryImpl_Stub.rebind(Ljava/lang/String;Ljava/rmi/Remote;)V+12 java.rmi@24-ea
j  java.rmi.Naming.rebind(Ljava/lang/String;Ljava/rmi/Remote;)V+30 java.rmi@24-ea
j  javasoft.sqe.tests.api.java.rmi.Naming.RebindTests$1.run()Ljavasoft/sqe/javatest/Status;+25
j  javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(Ljavasoft/sqe/jck/lib/SecurityTestRunner$RT;Ljavasoft/sqe/jck/lib/TCKSecurityPolicy;ZZ)Ljavasoft/sqe/javatest/Status;+17
j  javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(Ljavasoft/sqe/jck/lib/SecurityTestRunner$RT;Ljava/security/Permissions;Ljava/io/PrintWriter;Z)Ljavasoft/sqe/javatest/Status;+47
j  javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(Ljavasoft/sqe/jck/lib/SecurityTestRunner$RT;Ljava/security/Permissions;Ljava/io/PrintWriter;ZZ)Ljavasoft/sqe/javatest/Status;+4
j  javasoft.sqe.jck.lib.AllPermissionSM.testRun(Ljavasoft/sqe/jck/lib/SecurityTestRunner$RT;Ljava/security/Permissions;Ljava/io/PrintWriter;ZZ)Ljavasoft/sqe/javatest/Status;+6
j  javasoft.sqe.jck.lib.AllPermissionSM.testRun(Ljavasoft/sqe/jck/lib/SecurityTestRunner$RT;Ljava/security/Permissions;Ljava/io/PrintWriter;Z)Ljavasoft/sqe/javatest/Status;+5
j  javasoft.sqe.tests.api.java.rmi.Naming.RebindTests.Rebind0001()Ljavasoft/sqe/javatest/Status;+19
j  java.lang.invoke.DirectMethodHandle$Holder.invokeVirtual(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+10 java.base@24-ea
j  java.lang.invoke.LambdaForm$MH+0x00007f54cb005400.invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+31 java.base@24-ea
j  java.lang.invoke.Invokers$Holder.invokeExact_MT(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+19 java.base@24-ea
j  jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+41 java.base@24-ea
j  jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+23 java.base@24-ea
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+102 java.base@24-ea
j  javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(Ljava/lang/reflect/Method;)Ljavasoft/sqe/javatest/Status;+8
j  javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)Ljavasoft/sqe/javatest/Status;+139
j  javasoft.sqe.jck.lib.RegistryTest.run([Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)Ljavasoft/sqe/javatest/Status;+10
j  javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintStream;Ljava/io/PrintStream;)Ljavasoft/sqe/javatest/Status;+46
j  javasoft.sqe.tests.api.java.rmi.Naming.RebindTests.main([Ljava/lang/String;)V+16
v  ~StubRoutines::call_stub 0x00007f5533d6cd01
V  [libjvm.so+0xe800cc]  JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x48c
V  [libjvm.so+0xfb86c0]  jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, JavaThread*) [clone .constprop.1]+0x360
V  [libjvm.so+0xfbbdc3]  jni_CallStaticVoidMethod+0x193
C  [libjli.so+0x39ca]  invokeStaticMainWithArgs+0x4a
C  [libjli.so+0x5151]  JavaMain+0xeb1
C  [libjli.so+0x7cc9]  ThreadJavaMain+0x9
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.rmi.transport.tcp.TCPChannel.createConnection()Lsun/rmi/transport/Connection;+19 java.rmi@24-ea
j  sun.rmi.transport.tcp.TCPChannel.newConnection()Lsun/rmi/transport/Connection;+101 java.rmi@24-ea
j  sun.rmi.server.UnicastRef.newCall(Ljava/rmi/server/RemoteObject;[Ljava/rmi/server/Operation;IJ)Ljava/rmi/server/RemoteCall;+19 java.rmi@24-ea
j  sun.rmi.registry.RegistryImpl_Stub.rebind(Ljava/lang/String;Ljava/rmi/Remote;)V+12 java.rmi@24-ea
j  java.rmi.Naming.rebind(Ljava/lang/String;Ljava/rmi/Remote;)V+30 java.rmi@24-ea
j  javasoft.sqe.tests.api.java.rmi.Naming.RebindTests$1.run()Ljavasoft/sqe/javatest/Status;+25
j  javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(Ljavasoft/sqe/jck/lib/SecurityTestRunner$RT;Ljavasoft/sqe/jck/lib/TCKSecurityPolicy;ZZ)Ljavasoft/sqe/javatest/Status;+17
j  javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(Ljavasoft/sqe/jck/lib/SecurityTestRunner$RT;Ljava/security/Permissions;Ljava/io/PrintWriter;Z)Ljavasoft/sqe/javatest/Status;+47
j  javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(Ljavasoft/sqe/jck/lib/SecurityTestRunner$RT;Ljava/security/Permissions;Ljava/io/PrintWriter;ZZ)Ljavasoft/sqe/javatest/Status;+4
j  javasoft.sqe.jck.lib.AllPermissionSM.testRun(Ljavasoft/sqe/jck/lib/SecurityTestRunner$RT;Ljava/security/Permissions;Ljava/io/PrintWriter;ZZ)Ljavasoft/sqe/javatest/Status;+6
j  javasoft.sqe.jck.lib.AllPermissionSM.testRun(Ljavasoft/sqe/jck/lib/SecurityTestRunner$RT;Ljava/security/Permissions;Ljava/io/PrintWriter;Z)Ljavasoft/sqe/javatest/Status;+5
j  javasoft.sqe.tests.api.java.rmi.Naming.RebindTests.Rebind0001()Ljavasoft/sqe/javatest/Status;+19
j  java.lang.invoke.DirectMethodHandle$Holder.invokeVirtual(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+10 java.base@24-ea
j  java.lang.invoke.LambdaForm$MH+0x00007f54cb005400.invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+31 java.base@24-ea
j  java.lang.invoke.Invokers$Holder.invokeExact_MT(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+19 java.base@24-ea
j  jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+41 java.base@24-ea
j  jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+23 java.base@24-ea
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+102 java.base@24-ea
j  javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(Ljava/lang/reflect/Method;)Ljavasoft/sqe/javatest/Status;+8
j  javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)Ljavasoft/sqe/javatest/Status;+139
j  javasoft.sqe.jck.lib.RegistryTest.run([Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)Ljavasoft/sqe/javatest/Status;+10
j  javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintStream;Ljava/io/PrintStream;)Ljavasoft/sqe/javatest/Status;+46
j  javasoft.sqe.tests.api.java.rmi.Naming.RebindTests.main([Ljava/lang/String;)V+16
v  ~StubRoutines::call_stub 0x00007f5533d6cd01

siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x00007f55480a4000
Comments
Changeset: cfbf74fc Branch: master Author: David Holmes <dholmes@openjdk.org> Date: 2024-09-12 06:14:06 +0000 URL: https://git.openjdk.org/jdk/commit/cfbf74fca493515495212d48a12ed109785eccc4
12-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/20865 Date: 2024-09-05 05:44:47 +0000
05-09-2024

The faulty logging was introduced by JDK-8195100 when the SymbolTable was converted to use ConcurrentHashTable.
05-09-2024

Note we are seeing this problem now because our CI task that executes these tests now adds -Xlog:all=trace, which enables the buggy tracing code.
05-09-2024

The crash occurs within this call path: if (!SymbolTable::arena()->Afree(memory, alloc_size)) { log_trace_symboltable_helper(&value, "Leaked permanent symbol"); <= crash in here } so we failed to free the symbol memory and are now logging that fact. Looking at Afree: // Fast delete in area. Common case is: NOP (except for storage reclaimed) bool Afree(void *ptr, size_t size) { if (ptr == nullptr) { return true; // as with free(3), freeing null is a noop. } #ifdef ASSERT if (ZapResourceArea) memset(ptr, badResourceValue, size); // zap freed memory #endif if (((char*)ptr) + size == _hwm) { _hwm = (char*)ptr; return true; } else { // Unable to fast free, so we just drop it. return false; } } We can see that in a debug build we will zap the memory being freed, by writing 0xAB into it. And indeed in gdb I can see that the utf8_str value being processed is ABABAB...F1F1F1... And therein lies the problem. `free_node` is called via the ConcurrnetHashtable as // Destroys a node. static void destroy_node(void* context, Node* node) { CONFIG::free_node(context, (void*)node, node->_value); } so the memory being freed, and zapped, includes the Symbol that was part of the node. But log_trace_symboltable_helper does: static inline void log_trace_symboltable_helper(Symbol* sym, const char* msg) { #ifndef PRODUCT ResourceMark rm; log_trace(symboltable)("%s [%s]", msg, sym->as_quoted_ascii()); #endif // PRODUCT } so we are trying to print the symbol as quoted ascii, but we already zapped it!
05-09-2024

This part is still not correct: #8 UTF8::next<unsigned short> (value=<synthetic pointer>, str=0x7f55480a4000 "") at src/hotspot/share/utilities/utf8.cpp:204 #9 UTF8::quoted_ascii_length ( utf8_str=utf8_str@entry=0x7f554809b4a6 '\253' <repeats 97 times>, '\361' <repeats 102 times>, <incomplete sequence \361>..., utf8_length=<optimized out>) at src/hotspot/share/utilities/utf8.cpp:204 #10 0x00007f554a180c1e in Symbol::as_quoted_ascii (this=this@entry=0x7f554809b4a0) at src/hotspot/share/oops/symbol.hpp:195 as_quoted_ascii does not call quoted_ascii_length, nor is it in symbol.hpp. symbol.hpp line 195 is: int utf8_length() const { return length(); } where length() is "return _length" which is set when the symbol is created.
05-09-2024

Stack from gdb: #1 0x00007f554abc4ea5 in abort () from core.2343611.solibs/lib64/libc.so.6 #2 0x00007f5548d086cd in os::abort (dump_core=true, siginfo=<optimized out>, context=<optimized out>) at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/os/posix/os_posix.cpp:2126 #3 0x00007f554a2d6d06 in VMError::report_and_die (id=<optimized out>, message=message@entry=0x0, detail_fmt=0x7f554a4aae6d "%s", detail_args=detail_args@entry=0x7f554b7aeea8, thread=thread@entry=0x7f5544031fa0, pc=pc@entry=0x7f554a25a3c5 <UTF8::quoted_ascii_length(char const*, int)+21> "\017\266\020\211\321\300\351\004\200\371\016t^\200\371\017tI\200\371\vv<\017\266H\001A\211\310A\203\340\300A\200\370\200u3\203\342\037\203\341?\301\342\006\001?\002", siginfo=0x7f554b7af1b0, context=0x7f554b7af080, filename=0x0, lineno=0, size=0) at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/share/utilities/vmError.cpp:1946 #4 0x00007f554a2d73bb in VMError::report_and_die (thread=thread@entry=0x7f5544031fa0, sig=sig@entry=11, pc=pc@entry=0x7f554a25a3c5 <UTF8::quoted_ascii_length(char const*, int)+21> "\017\266\020\211\321\300\351\004\200\371\016t^\200\371\017tI\200\371\vv<\017\266H\001A\211\310A\203\340\300A\200\370\200u3\203\342\037\203\341?\301\342\006\001?\002", siginfo=siginfo@entry=0x7f554b7af1b0, context=context@entry=0x7f554b7af080, detail_fmt=detail_fmt@entry=0x7f554a4aae6d "%s") at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/share/utilities/vmError.cpp:1591 #5 0x00007f554a2d73de in VMError::report_and_die (thread=thread@entry=0x7f5544031fa0, sig=sig@entry=11, pc=pc@entry=0x7f554a25a3c5 <UTF8::quoted_ascii_length(char const*, int)+21> "\017\266\020\211\321\300\351\004\200\371\016t^\200\371\017tI\200\371\vv<\017\266H\001A\211\310A\203\340\300A\200\370\200u3\203\342\037\203\341?\301\342\006\001?\002", siginfo=siginfo@entry=0x7f554b7af1b0, context=context@entry=0x7f554b7af080) at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/share/utilities/vmError.cpp:1605 #6 0x00007f554a082c20 in JVM_handle_linux_signal (sig=11, info=0x7f554b7af1b0, ucVoid=0x7f554b7af080, abort_if_unrecognized=1) at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/os/posix/signals_posix.cpp:649 #7 <signal handler called> #8 UTF8::next<unsigned short> (value=<synthetic pointer>, str=0x7f55480a4000 "") at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/share/utilities/utf8.cpp:204 #9 UTF8::quoted_ascii_length ( utf8_str=utf8_str@entry=0x7f554809b4a6 '\253' <repeats 97 times>, '\361' <repeats 102 times>, <incomplete sequence \361>..., utf8_length=<optimized out>) at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/share/utilities/utf8.cpp:204 #10 0x00007f554a180c1e in Symbol::as_quoted_ascii (this=this@entry=0x7f554809b4a0) at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/share/oops/symbol.hpp:195 #11 0x00007f554a185192 in log_trace_symboltable_helper (sym=sym@entry=0x7f554809b4a0, msg=msg@entry=0x7f554a5068ed "Leaked permanent symbol") at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/share/logging/logOutputList.hpp:77 #12 0x00007f554a188554 in SymbolTableConfig::free_node (context=<optimized out>, value=..., memory=<optimized out>) at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/share/classfile/symbolTable.cpp:177 #13 ConcurrentHashTable<SymbolTableConfig, (MEMFLAGS)11>::Node::destroy_node (node=<optimized out>, context=<optimized out>) at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/share/utilities/concurrentHashTable.hpp:94 #14 ConcurrentHashTable<SymbolTableConfig, (MEMFLAGS)11>::internal_insert_get<SymbolTableLookup, ConcurrentHashTable<SymbolTableConfig, (MEMFLAGS)11>::insert<SymbolTableLookup>(Thread*, SymbolTableLookup&, Symbol const&, bool*, bool*)::NOP>(Thread*, SymbolTableLookup&, Symbol const&, ConcurrentHashTable<SymbolTableConfig, (MEMFLAGS)11>::insert<SymbolTableLookup>(Thread*, SymbolTableLookup&, Symbol const&, bool*, bool*)::NOP&, bool*, bool*) (foundf=<synthetic pointer>..., clean_hint=<synthetic pointer>, grow_hint=<synthetic pointer>, value=..., lookup_f=..., thread=<optimized out>, this=<optimized out>) at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/share/utilities/concurrentHashTable.inline.hpp:932 #15 ConcurrentHashTable<SymbolTableConfig, (MEMFLAGS)11>::insert<SymbolTableLookup> (clean_hint=<synthetic pointer>, grow_hint=<synthetic pointer>, value=..., lookup_f=..., thread=<optimized out>, this=<optimized out>) at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/share/utilities/concurrentHashTable.hpp:468 #16 SymbolTable::do_add_if_needed (name=<optimized out>, len=<optimized out>, hash=<optimized out>, is_permanent=is_permanent@entry=true) at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/share/classfile/symbolTable.cpp:528 #17 0x00007f554a189388 in SymbolTable::new_symbols (loader_data=<optimized out>, cp=..., names_count=names_count@entry=8, names=names@entry=0x7f554b7affc0, lengths=lengths@entry=0x7f554b7aff30, cp_indices=cp_indices@entry=0x7f554b7aff50, hashValues=0x7f554b7aff70) at /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S12579/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4374cc0d-9f8e-4d60-bda3-4431641f7366/runs/5652fb24-e6cb-431e-9872-af7d002cbdf6/workspace/open/src/hotspot/share/classfile/symbolTable.cpp:506
05-09-2024

This stack is unfortunately not quite right: V [libjvm.so+0x18483c5] UTF8::quoted_ascii_length(char const*, int)+0x15 V [libjvm.so+0x1773192] log_trace_symboltable_helper(Symbol*, char const*)+0x62 V [libjvm.so+0x1776554] SymbolTable::do_add_if_needed(char const*, int, unsigned long, bool)+0xd44 V [libjvm.so+0x1777388] SymbolTable::new_symbols(ClassLoaderData*, constantPoolHandle const&, int, char const**, int*, int*, unsigned int*)+0x78 SymbolTable::do_add_if_needed does not call log_trace_symboltable_helper.
29-08-2024