We are seeing a JVM running on ignite cluster crashes with seg-fault, the error trace taking us to org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.write0
Below is full stack-trace of error.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f47f27d563a, pid=40132, tid=0x00007f4716cac700
#
# JRE version: OpenJDK Runtime Environment (8.0_222-b10) (build
1.8.0_222-b10)
# Java VM: OpenJDK 64-Bit Server VM (25.222-b10 mixed mode linux-amd64
compressed oops)
# Problematic frame:
# J 58563 C2
org.apache.ignite.internal.binary.BinaryFieldAccessor$DefaultFinalClassAccessor.write0(Ljava/lang/Object;Lorg/apache/ignite/internal/binary/BinaryWriterExImpl;)V
(761 bytes) @ 0x00007f47f27d563a [0x00007f47f27d5500+0x13a]
#
# Failed to write core dump. Core dumps have been disabled. To enable core
dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
While trying to google around JVM crash reasons I found this https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/crashes001.html From this it look crash category: "5.1.2 Crash in Compiled Code" as we are seeing problematic frame is a java frame : "J"
We are running ignite 2.7.0 with openjdk 1.8 on RHEL machines. We got the basic OS/Hardware level check done by respective team.
Can someone please check and suggest what could be the underlying cause ? Is there any Unsafe/Native API access with this api which might lead to crash or any bug with this version or any openjdk bug for such crashes ?
I can add the full error log file (hs_err_pid) if needed.
Update: Adding the hs_error log file here, Please download from link. hs_err_pid file
Thanks, Tarun