HiveMQ does not start with OpenJDK 11.0.10+9
Expected behaviour
HiveMQ launches without error
Observed behaviour
When attempting to launch HiveMQ with OpenJDK 11.0.10+9 an error similar to the following will occur and prevent HiveMQ’s launch
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f13e73c7958, pid=2075, tid=2099
#
# JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.10+9) (build 11.0.10+9)
# Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK (11.0.10+9, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libc.so.6+0xb4958]
[error occurred during error reporting (printing problematic frame), id 0xb, SIGSEGV (0xb) at pc=0x00007f13e7394980]
Reason
This is an error in the mentioned AdoptOpenJDK version, possibly linked to Oshi.
Affected Version
This affects all HiveMQ versions when launched with OpenJDK 11.0.10+9.
Solution / Workaround
Until further notice, do not update to OpenJDK version 11.0.10+9.
Remaining with OpenJDK 11.0.9 is a viable workaround.