Bug 254539

Summary: java/openjdk11: jhsdb jmap crashes with SIGSEGV
Product: Ports & Packages Reporter: Ari Suutari <ari>
Component: Individual Port(s)Assignee: freebsd-java (Nobody) <java>
Status: New ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (java)
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   
Description Flags
Error report file that was produced none

Description Ari Suutari 2021-03-25 08:57:55 UTC
Created attachment 223561 [details]
Error report file that was produced

While trying to produce a heap dump from JVM with:

jhsdb jmap --pid 18369 --binaryheap --dumpfile dump.hpro

After running for a while, it fails with SIGSEGV:

Attaching to process ID 18369, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 11.0.10+9-1
# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x00000008011543b9, pid=18729, tid=101203
# JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-1)
# Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-1, mixed mode, tiered, compressed oops, serial gc, bsd-amd64)
# Problematic frame:
# C  [libc.so.7+0x913b9]  signed char+0x49

I'll attach the error report file.