<div dir="ltr">Hi David,<div><br></div><div>NMT detected a heap corruption or the pointer to be freed is invalid. And then the reporter itself crashed while printing the report. That is strange, since the reporter should be resilient against crashes. It uses os::print_hex_dump, which should use SafeFetch to check if the to-be-dumped info is accessible.</div><div><br></div><div>Any more information?</div><div><br></div><div>Cheers, Thomas</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 15, 2022 at 7:18 AM David Holmes <<a href="mailto:david.holmes@oracle.com">david.holmes@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm getting the below crash:<br>
<br>
#<br>
# A fatal error has been detected by the Java Runtime Environment:<br>
#<br>
#  SIGSEGV (0xb) at pc=0x00007f3e3e24b417, pid=4537, tid=4538<br>
#<br>
# JRE version: Java(TM) SE Runtime Environment (20.0) (fastdebug build <br>
20-internal-2022-06-10-0001400.daholme...)<br>
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug <br>
20-internal-2022-06-10-0001400.daholme..., mixed mode, sharing, tiered, <br>
compressed oops, compressed class ptrs, g1 gc, linux-amd64)<br>
# Problematic frame:<br>
# V  [libjvm.so+0x174b417]  outputStream::print_cr(char const*, ...)+0x67<br>
<br>
---------------  T H R E A D  ---------------<br>
<br>
Current thread (0x00007f3e38029890):  Thread "Unknown thread" [stack: <br>
0x00007f3e3f8a9000,0x00007f3e3f9aa000] [id=4538]<br>
<br>
Stack: [0x00007f3e3f8a9000,0x00007f3e3f9aa000],  sp=0x00007f3e3f9a84b0, <br>
free space=1021k<br>
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, <br>
C=native code)<br>
V  [libjvm.so+0x174b417]  outputStream::print_cr(char const*, ...)+0x67<br>
V  [libjvm.so+0x157d708] <br>
MallocHeader::print_block_on_error(outputStream*, unsigned char*) const+0x38<br>
V  [libjvm.so+0x157f2ef]  MallocHeader::assert_block_integrity() const+0x10f<br>
V  [libjvm.so+0x157eb6b]  MallocTracker::record_free(void*)+0x3b<br>
V  [libjvm.so+0x172d3ef]  os::free(void*)+0xbf<br>
V  [libjvm.so+0x1a6d77a]  Thread::~Thread()+0x8a<br>
V  [libjvm.so+0x1060292]  JavaThread::~JavaThread()+0x12<br>
V  [libjvm.so+0x1a8b174]  Threads::destroy_vm()+0x264<br>
<br>
Any tips on trying to figure out what is going wrong?<br>
<br>
Thanks,<br>
David<br>
</blockquote></div>