Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [RESOLVED] [OpenRC / Java / Crash] All Java apps is crashing, even in containers (Read 498 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[RESOLVED] [OpenRC / Java / Crash] All Java apps is crashing, even in containers

Heyo,

I got some weird problem with Java in any type of version nor working environment.
Basically, I'll getting error:
Code: [Select]
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f724cebd778, pid=21385, tid=21386
#
# JRE version: OpenJDK Runtime Environment (19.0.1+10) (build 19.0.1+10)
# Java VM: OpenJDK 64-Bit Server VM (19.0.1+10, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  0x00007f724cebd778
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /test/hs_err_pid21385.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#
Aborted

The file
Quote
hs_err_pid21385.log
is in attachments.

I have tried to run i.e. PaperMC 1.19.2. Same error happens with ElasticSearch in ArchLinux Podman container or any other.
Although if I use Java 18 OpenJ9 from IBM, PaperMC starts, but at some point getting JIT error. ElasticSearch doesn't work with OpenJ9.

On the other workstation both ElasticSearch & PaperMC works (yes, on the same Java version).
What could cause Java errors?

Re: [OpenRC / Java / Crash] All Java apps is crashing, even in containers.

Reply #1
Also here's with `ulimit -c unlimited`: <in attachments>
CoreDump has over 600 MB, so I can't upload that.

Re: [OpenRC / Java / Crash] All Java apps is crashing, even in containers.

Reply #2
Problem was related to the memory type (misconfiguration with DDR3 / DDR3L memory sticks).

Re: [OpenRC / Java / Crash] All Java apps is crashing, even in containers.

Reply #3
Thanks for reporting back, glad you resolved it.

Re: [RESOLVED] [OpenRC / Java / Crash] All Java apps is crashing, even in containers

Reply #4
Also a quick note: If BIOS / UEFI is having issues to boot, Java apps may suffer from running correctly.