Bug 254539 - java/openjdk11: jhsdb jmap crashes with SIGSEGV
Summary: java/openjdk11: jhsdb jmap crashes with SIGSEGV
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-java (Nobody)
Depends on:
Reported: 2021-03-25 08:57 UTC by Ari Suutari
Modified: 2021-03-25 08:57 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (java)

Error report file that was produced (43.85 KB, text/plain)
2021-03-25 08:57 UTC, Ari Suutari
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.