Crash in the MallocTracker::record_free

David Holmes david.holmes at oracle.com
Mon Aug 15 05:18:11 UTC 2022


I'm getting the below crash:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f3e3e24b417, pid=4537, tid=4538
#
# JRE version: Java(TM) SE Runtime Environment (20.0) (fastdebug build 
20-internal-2022-06-10-0001400.daholme...)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 
20-internal-2022-06-10-0001400.daholme..., mixed mode, sharing, tiered, 
compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x174b417]  outputStream::print_cr(char const*, ...)+0x67

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

Current thread (0x00007f3e38029890):  Thread "Unknown thread" [stack: 
0x00007f3e3f8a9000,0x00007f3e3f9aa000] [id=4538]

Stack: [0x00007f3e3f8a9000,0x00007f3e3f9aa000],  sp=0x00007f3e3f9a84b0, 
free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, 
C=native code)
V  [libjvm.so+0x174b417]  outputStream::print_cr(char const*, ...)+0x67
V  [libjvm.so+0x157d708] 
MallocHeader::print_block_on_error(outputStream*, unsigned char*) const+0x38
V  [libjvm.so+0x157f2ef]  MallocHeader::assert_block_integrity() const+0x10f
V  [libjvm.so+0x157eb6b]  MallocTracker::record_free(void*)+0x3b
V  [libjvm.so+0x172d3ef]  os::free(void*)+0xbf
V  [libjvm.so+0x1a6d77a]  Thread::~Thread()+0x8a
V  [libjvm.so+0x1060292]  JavaThread::~JavaThread()+0x12
V  [libjvm.so+0x1a8b174]  Threads::destroy_vm()+0x264

Any tips on trying to figure out what is going wrong?

Thanks,
David


More information about the hotspot-runtime-dev mailing list