You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to generate core dump when a native library crash in a java service
I have a java service which is running in a Kubernetes cluster, uses a cpp native library via JNI and when there occurs a segmentation fault in native library, it was unable to generate the core dump, the logs are as follows,
> > #
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007efde450e688, pid=1, tid=103
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.13+11 (17.0.13+11) (build 17.0.13+11)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.13+11 (17.0.13+11, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc,
linux-amd64)
# Problematic frame:
# C [lib.Converter.so.1.0+0xee688] SetConverterMode+0xc8
#
# Core dump will be written. Default location: //core.1
#
# JFR recording file will be written. Location: //hs_err_pid1.jfr
#
# An error report file with more information is saved as:
# /nfs/my-folder/core_dump_%t.log
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
[error occurred during error reporting (), id 0xb, SIGSEGV (0xb) at
pc=0x00007eff17d249a2]
Java version:
Picked up JAVA_TOOL_OPTIONS: -Xms1024m -Xmx4096m
openjdk version "17.0.13" 2024-10-15
OpenJDK Runtime Environment Temurin-17.0.13+11 (build 17.0.13+11)
OpenJDK 64-Bit Server VM Temurin-17.0.13+11 (build 17.0.13+11, mixed mode, sharing)
Your operating system and platform:
OS: linux (amd64)
OS Image: Amazon Linux 2
Kernel version: 5.10.230-223.885.amzn2.x86_64
The text was updated successfully, but these errors were encountered:
How to generate core dump when a native library crash in a java service
I have a java service which is running in a Kubernetes cluster, uses a cpp native library via JNI and when there occurs a segmentation fault in native library, it was unable to generate the core dump, the logs are as follows,
Java version:
Picked up JAVA_TOOL_OPTIONS: -Xms1024m -Xmx4096m
openjdk version "17.0.13" 2024-10-15
OpenJDK Runtime Environment Temurin-17.0.13+11 (build 17.0.13+11)
OpenJDK 64-Bit Server VM Temurin-17.0.13+11 (build 17.0.13+11, mixed mode, sharing)
Your operating system and platform:
OS: linux (amd64)
OS Image: Amazon Linux 2
Kernel version: 5.10.230-223.885.amzn2.x86_64
The text was updated successfully, but these errors were encountered: