JDK-8255661 : TestHeapDumpOnOutOfMemoryError fails with EOFException
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc-agent
  • Affected Version: 16,17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-10-30
  • Updated: 2025-01-24
  • Resolved: 2021-05-17
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 17
17 b23Fixed
Related Reports
Relates :  
Relates :  
Description
----------System.err:(20/1261)----------
java.io.EOFException
	at java.base/java.io.DataInputStream.readFully(DataInputStream.java:202)
	at java.base/java.io.DataInputStream.readLong(DataInputStream.java:421)
	at jdk.test.lib.hprof.parser.HprofReader.readID(HprofReader.java:548)
	at jdk.test.lib.hprof.parser.HprofReader.read(HprofReader.java:226)
	at jdk.test.lib.hprof.parser.Reader.readFile(Reader.java:92)
	at jdk.test.lib.hprof.HprofParser.parse(HprofParser.java:85)
	at jdk.test.lib.hprof.HprofParser.parse(HprofParser.java:54)
	at TestHeapDumpOnOutOfMemoryError.test(TestHeapDumpOnOutOfMemoryError.java:92)
	at TestHeapDumpOnOutOfMemoryError.main(TestHeapDumpOnOutOfMemoryError.java:64)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.base/java.lang.Thread.run(Thread.java:832)

JavaTest Message: Test threw exception: java.io.EOFException
JavaTest Message: shutting down test
Comments
Changeset: a29612ea Author: Ralf Schmelter <rschmelter@openjdk.org> Date: 2021-05-17 11:47:35 +0000 URL: https://git.openjdk.java.net/jdk/commit/a29612ea9998a8e45f25add7ae30bfbc62ce3756
17-05-2021

I can reliably reproduce the issue by adding some sleep() statements to specific points in the code, so I think I know the what the problem is. I have also locally made a small change which fixes it. I will test it some more and then open a PR. The problem itself is that we have 2 pieces of code in the compression backend, which checks if the number of additional worker threads is 0 (under lock protection) and then runs code which still assumes this. But it has to unlock the mutex to run this code, which sometimes lead to having additional worker threads running when we don't expect it. The easiest fix is just to wait for all the additional worker threads to be registered, before the VM thread starts with the compression work. Thanks to [~lmesnik] for the backtraces, which made it really easy to me to pinpoint the issue.
21-04-2021

Although the initial failure was with runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java, all the ones since have been with runtime/ErrorHandling/TestHeapDumpPath.java.
21-04-2021

[~rschmelter] Can you have a look at this and let us know if it might be due to JDK-8237354? It's only reproduced 8 times so far. Thanks.
21-04-2021

Seems it might be related to the compression backend?
21-04-2021

Full stack is: ---------------------------------------- [2021-01-22 13:28:01] [/bin/gdb, --pid=28042, -batch, -ex, thread apply all backtrace] timeout=20000 ---------------------------------------- Missing separate debuginfo for /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/bin/java Missing separate debuginfo for /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/bin/../lib/libjli.so [New LWP 28065] [New LWP 28064] [New LWP 28063] [New LWP 28062] [New LWP 28061] [New LWP 28060] [New LWP 28059] [New LWP 28058] [New LWP 28057] [New LWP 28056] [New LWP 28055] [New LWP 28054] [New LWP 28051] [New LWP 28050] [New LWP 28049] [New LWP 28048] [New LWP 28047] [New LWP 28043] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Missing separate debuginfo for /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so Missing separate debuginfo for /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/libjimage.so Missing separate debuginfo for /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/libjava.so 0x00007f0083b71017 in pthread_join () from /lib64/libpthread.so.0 Thread 19 (Thread 0x7f0084196700 (LWP 28043)): #0 0x00007f0083b73a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0082a6f6f0 in os::PlatformMonitor::wait(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f00829c44a8 in Monitor::wait(long, bool) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f0082e8f046 in VMThread::wait_until_executed(VM_Operation*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f0082e90489 in VMThread::execute(VM_Operation*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f00822a44dc in HeapDumper::dump(char const*, outputStream*, int) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f00822a4a23 in HeapDumper::dump_heap(bool) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0081f9ff00 in report_java_out_of_memory(char const*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #8 0x00007f008271cffc in Klass::check_array_allocation_length(int, int, Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #9 0x00007f0082332ce9 in InstanceKlass::allocate_objArray(int, int, Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #10 0x00007f0082a3a938 in oopFactory::new_objArray(Klass*, int, Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #11 0x00007f008236d5ad in InterpreterRuntime::anewarray(JavaThread*, ConstantPool*, int, int) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #12 0x00007f0065812f91 in ?? () #13 0x00007f0065812f02 in ?? () #14 0x00007f00841958f8 in ?? () #15 0x00007f00558007f0 in ?? () #16 0x00007f0084195958 in ?? () #17 0x00007f0055800a88 in ?? () #18 0x0000000000000000 in ?? () Thread 18 (Thread 0x7f0080226700 (LWP 28047)): #0 0x00007f0083b73a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0082a6f6f0 in os::PlatformMonitor::wait(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f00829c301a in Monitor::wait_without_safepoint_check(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f00822a97bf in CompressionBackend::get_work() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f00822a9e12 in CompressionBackend::thread_loop(bool) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0082ed26c4 in GangWorker::run_task(WorkData) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f0082ed2804 in GangWorker::loop() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #8 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #9 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #10 0x00007f008369496d in clone () from /lib64/libc.so.6 Thread 17 (Thread 0x7f0080124700 (LWP 28048)): #0 0x00007f0083b73a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0082a6f6f0 in os::PlatformMonitor::wait(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f00829c301a in Monitor::wait_without_safepoint_check(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f00821688e7 in G1ConcurrentMarkThread::wait_for_next_cycle() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f008216b120 in G1ConcurrentMarkThread::run_service() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0081f7631d in ConcurrentGCThread::run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #8 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #9 0x00007f008369496d in clone () from /lib64/libc.so.6 Thread 16 (Thread 0x7f00657ed700 (LWP 28049)): #0 0x00007f0083b75b3b in do_futex_wait.constprop.1 () from /lib64/libpthread.so.0 #1 0x00007f0083b75bcf in __new_sem_wait_slow.constprop.0 () from /lib64/libpthread.so.0 #2 0x00007f0083b75c6b in sem_wait@@GLIBC_2.2.5 () from /lib64/libpthread.so.0 #3 0x00007f0082bd1636 in PosixSemaphore::wait() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f0082ed27e9 in GangWorker::loop() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #8 0x00007f008369496d in clone () from /lib64/libc.so.6 Thread 15 (Thread 0x7f0064ee3700 (LWP 28050)): #0 0x00007f0083b75b3b in do_futex_wait.constprop.1 () from /lib64/libpthread.so.0 #1 0x00007f0083b75bcf in __new_sem_wait_slow.constprop.0 () from /lib64/libpthread.so.0 #2 0x00007f0083b75c6b in sem_wait@@GLIBC_2.2.5 () from /lib64/libpthread.so.0 #3 0x00007f0082bd1636 in PosixSemaphore::wait() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f008216db88 in G1ConcurrentRefineThread::run_service() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0081f7631d in ConcurrentGCThread::run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #8 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #9 0x00007f008369496d in clone () from /lib64/libc.so.6 Thread 14 (Thread 0x7f0064de1700 (LWP 28051)): #0 0x00007f0083b73a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0082a6f6f0 in os::PlatformMonitor::wait(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f00829c301a in Monitor::wait_without_safepoint_check(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f0082cdca77 in SuspendibleThreadSet::join() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f00821e3f68 in G1RemSetSamplingTask::execute() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f008220abed in G1ServiceThread::run_task(G1ServiceTask*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f008220ac8f in G1ServiceThread::run_service() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0081f7631d in ConcurrentGCThread::run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #8 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #9 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #10 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #11 0x00007f008369496d in clone () from /lib64/libc.so.6 Thread 13 (Thread 0x7f0064bc2700 (LWP 28054)): #0 0x00007f0083b73a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0082a6f6f0 in os::PlatformMonitor::wait(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f00829c301a in Monitor::wait_without_safepoint_check(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f00822a97bf in CompressionBackend::get_work() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f00822aa174 in CompressionBackend::get_new_buffer(char**, unsigned long*, unsigned long*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0082298be2 in DumpWriter::write_raw(void*, unsigned long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f0082298dc5 in DumpWriter::write_u4(unsigned int) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f00822991f2 in SymbolTableDumper::do_symbol(Symbol**) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #8 0x00007f0082ce6fed in SymbolTable::symbols_do(SymbolClosure*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #9 0x00007f008229e597 in VM_HeapDumper::work(unsigned int) [clone .part.0] () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #10 0x00007f0082ed2b8e in WorkGang::run_task(AbstractGangTask*, unsigned int, bool) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #11 0x00007f00822987ec in VM_HeapDumper::doit() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #12 0x00007f0082e6bb2a in VM_Operation::evaluate() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #13 0x00007f0082e8f283 in VMThread::evaluate_operation(VM_Operation*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #14 0x00007f0082e8fef8 in VMThread::inner_execute(VM_Operation*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #15 0x00007f0082e90135 in VMThread::loop() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #16 0x00007f0082e9026a in VMThread::run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #17 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #18 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #19 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #20 0x00007f008369496d in clone () from /lib64/libc.so.6 Thread 12 (Thread 0x7f0064ac0700 (LWP 28055)): #0 0x00007f0083b73a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0082a6f6f0 in os::PlatformMonitor::wait(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f00829c44a8 in Monitor::wait(long, bool) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f00824f9fd1 in JVM_WaitForReferencePendingList () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f00657fe109 in ?? () #5 0x00007f00657fdbb7 in ?? () #6 0x00007f0064abf868 in ?? () #7 0x0000000800b22c58 in ?? () #8 0x00007f0064abf8c8 in ?? () #9 0x00000008003f8668 in ?? () #10 0x0000000000000000 in ?? () Thread 11 (Thread 0x7f00649bf700 (LWP 28056)): #0 0x00007f0083b73a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0082a6e27b in os::PlatformEvent::park() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f0082a1b055 in ObjectMonitor::wait(long, bool, Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f0082cfe3e5 in ObjectSynchronizer::wait(Handle, long, Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f00824ecc81 in JVM_MonitorWait () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f00657fe109 in ?? () #6 0x00007f00649be7f0 in ?? () #7 0x00007f008287412a in Thread::current() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #8 0x00007f00657f73f2 in ?? () #9 0x0000000000000000 in ?? () Thread 10 (Thread 0x7f00648be700 (LWP 28057)): #0 0x00007f008368ec89 in syscall () from /lib64/libc.so.6 #1 0x00007f0082ea6123 in LinuxWaitBarrier::wait(int) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f0082bbb117 in SafepointSynchronize::block(JavaThread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f0082bc6be5 in SafepointMechanism::process_if_requested_slow(JavaThread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f0082c0778b in os::signal_wait() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0082a4cb9d in signal_thread_entry(JavaThread*, Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f0082d72176 in JavaThread::thread_main_inner() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #8 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #9 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #10 0x00007f008369496d in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7f00647bd700 (LWP 28058)): #0 0x00007f0083b73a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0082a6f6f0 in os::PlatformMonitor::wait(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f00829c301a in Monitor::wait_without_safepoint_check(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f0082bd2bef in ServiceThread::service_thread_entry(JavaThread*, Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f0082d72176 in JavaThread::thread_main_inner() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #8 0x00007f008369496d in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7f00646bc700 (LWP 28059)): #0 0x00007f0083b73de2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0082a6f639 in os::PlatformMonitor::wait(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f00829c301a in Monitor::wait_without_safepoint_check(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f008299ddb5 in MonitorDeflationThread::monitor_deflation_thread_entry(JavaThread*, Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f0082d72176 in JavaThread::thread_main_inner() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #8 0x00007f008369496d in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7f00645bb700 (LWP 28060)): #0 0x00007f008368ec89 in syscall () from /lib64/libc.so.6 #1 0x00007f0082ea6123 in LinuxWaitBarrier::wait(int) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f0082bbb117 in SafepointSynchronize::block(JavaThread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f0082bc6be5 in SafepointMechanism::process_if_requested_slow(JavaThread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f00829c4748 in Monitor::wait(long, bool) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0081f47d0b in CompileQueue::get() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f0081f4bda5 in CompileBroker::compiler_thread_loop() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0082d72176 in JavaThread::thread_main_inner() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #8 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #9 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #10 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #11 0x00007f008369496d in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7f00644ba700 (LWP 28061)): #0 0x00007f008368ec89 in syscall () from /lib64/libc.so.6 #1 0x00007f0082ea6123 in LinuxWaitBarrier::wait(int) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f0082bbb117 in SafepointSynchronize::block(JavaThread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f0082bc6be5 in SafepointMechanism::process_if_requested_slow(JavaThread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f00829c4748 in Monitor::wait(long, bool) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0081f47d0b in CompileQueue::get() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f0081f4bda5 in CompileBroker::compiler_thread_loop() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0082d72176 in JavaThread::thread_main_inner() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #8 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #9 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #10 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #11 0x00007f008369496d in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7f00643b9700 (LWP 28062)): #0 0x00007f0083b73de2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0082a6f639 in os::PlatformMonitor::wait(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f00829c301a in Monitor::wait_without_safepoint_check(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f0082ce16aa in NMethodSweeper::sweeper_loop() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f0082d72176 in JavaThread::thread_main_inner() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #8 0x00007f008369496d in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f00642b8700 (LWP 28063)): #0 0x00007f0083b73a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0082a6f6f0 in os::PlatformMonitor::wait(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f00829c301a in Monitor::wait_without_safepoint_check(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f00829fcfb7 in NotificationThread::notification_thread_entry(JavaThread*, Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f0082d72176 in JavaThread::thread_main_inner() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #8 0x00007f008369496d in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f00641b7700 (LWP 28064)): #0 0x00007f0083b73de2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0082a6f639 in os::PlatformMonitor::wait(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f00829c301a in Monitor::wait_without_safepoint_check(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f0082d6f62c in WatcherThread::sleep() const () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f0082d6f74c in WatcherThread::run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #8 0x00007f008369496d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f0055fff700 (LWP 28065)): #0 0x00007f008368ec89 in syscall () from /lib64/libc.so.6 #1 0x00007f0082ea6123 in LinuxWaitBarrier::wait(int) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f0082bbb117 in SafepointSynchronize::block(JavaThread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f0082bc6be5 in SafepointMechanism::process_if_requested_slow(JavaThread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f0082a1a39d in ObjectMonitor::wait(long, bool, Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0082cfe3e5 in ObjectSynchronizer::wait(Handle, long, Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f00824ecc81 in JVM_MonitorWait () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f00657fe109 in ?? () #8 0x00007f0055ffe740 in ?? () #9 0x00007f00834a96e8 in vtable for NoHandleMark () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #10 0x00133f66d452218a in ?? () #11 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f0084197740 (LWP 28042)): #0 0x00007f0083b71017 in pthread_join () from /lib64/libpthread.so.0 #1 0x00007f00841a389a in CallJavaMainInNewThread () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/bin/../lib/libjli.so #2 0x00007f00841a07ed in ContinueInNewThread () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/bin/../lib/libjli.so #3 0x00007f00841a1f5a in JLI_Launch () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/bin/../lib/libjli.so #4 0x0000564e48c4cafc in main () [Inferior 1 (process 28042) detached] ---------------------------------------- [2021-01-22 13:28:02] exit code: 0 time: 813 ms ----------------------------------------
21-04-2021

The stacktrace of hung process is: Thread 19 (Thread 0x7f0084196700 (LWP 28043)): #0 0x00007f0083b73a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0082a6f6f0 in os::PlatformMonitor::wait(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f00829c44a8 in Monitor::wait(long, bool) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f0082e8f046 in VMThread::wait_until_executed(VM_Operation*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f0082e90489 in VMThread::execute(VM_Operation*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f00822a44dc in HeapDumper::dump(char const*, outputStream*, int) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f00822a4a23 in HeapDumper::dump_heap(bool) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f0081f9ff00 in report_java_out_of_memory(char const*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #8 0x00007f008271cffc in Klass::check_array_allocation_length(int, int, Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #9 0x00007f0082332ce9 in InstanceKlass::allocate_objArray(int, int, Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #10 0x00007f0082a3a938 in oopFactory::new_objArray(Klass*, int, Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #11 0x00007f008236d5ad in InterpreterRuntime::anewarray(JavaThread*, ConstantPool*, int, int) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #12 0x00007f0065812f91 in ?? () #13 0x00007f0065812f02 in ?? () #14 0x00007f00841958f8 in ?? () #15 0x00007f00558007f0 in ?? () #16 0x00007f0084195958 in ?? () #17 0x00007f0055800a88 in ?? () #18 0x0000000000000000 in ?? () and VMThread: Thread 13 (Thread 0x7f0064bc2700 (LWP 28054)): #0 0x00007f0083b73a35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f0082a6f6f0 in os::PlatformMonitor::wait(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #2 0x00007f00829c301a in Monitor::wait_without_safepoint_check(long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #3 0x00007f00822a97bf in CompressionBackend::get_work() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #4 0x00007f00822aa174 in CompressionBackend::get_new_buffer(char**, unsigned long*, unsigned long*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #5 0x00007f0082298be2 in DumpWriter::write_raw(void*, unsigned long) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #6 0x00007f0082298dc5 in DumpWriter::write_u4(unsigned int) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #7 0x00007f00822991f2 in SymbolTableDumper::do_symbol(Symbol**) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #8 0x00007f0082ce6fed in SymbolTable::symbols_do(SymbolClosure*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #9 0x00007f008229e597 in VM_HeapDumper::work(unsigned int) [clone .part.0] () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #10 0x00007f0082ed2b8e in WorkGang::run_task(AbstractGangTask*, unsigned int, bool) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #11 0x00007f00822987ec in VM_HeapDumper::doit() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #12 0x00007f0082e6bb2a in VM_Operation::evaluate() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #13 0x00007f0082e8f283 in VMThread::evaluate_operation(VM_Operation*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #14 0x00007f0082e8fef8 in VMThread::inner_execute(VM_Operation*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #15 0x00007f0082e90135 in VMThread::loop() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #16 0x00007f0082e9026a in VMThread::run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #17 0x00007f0082d78b00 in Thread::call_run() () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #18 0x00007f0082a60e36 in thread_native_entry(Thread*) () from /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+7-383/linux-x64-debug.jdk/jdk-17/fastdebug/lib/server/libjvm.so #19 0x00007f0083b6fea5 in start_thread () from /lib64/libpthread.so.0 #20 0x00007f008369496d in clone () from /lib64/libc.so.6
21-04-2021

I see only timeouts. I suppose that EOF is caused by reading incomplete dump after dumping process was killed by jtreg killer.
21-04-2021

I believe this has a different root cause than JDK-8219405, which I have now closed as fixed (by a few other CRs now mentioned in JDK-8219405). This failure is could be due to and incomplete hprof file due to some failure during heap dumping that is not being detected, but I doubt that is the case since JDK-8231287 should make it so all failures result in an exception message being printed. Therefore I think the more likely issue is some sort of corruption while generating the hprof file. If this is a newly introduced issue, or at least is being newly triggered, and we continue to see it, then the test and/or jmap can be instrumented to narrow in on the problem.
03-11-2020

Might be related to JDK-8219405 or JDK-8251130.
30-10-2020