Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: gameplayer on 19 December 2022, 09:25:26

Title: [RESOLVED] [OpenRC / Java / Crash] All Java apps is crashing, even in containers
Post by: gameplayer on 19 December 2022, 09:25:26
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?
Title: Re: [OpenRC / Java / Crash] All Java apps is crashing, even in containers.
Post by: gameplayer on 19 December 2022, 14:26:38
Also here's with `ulimit -c unlimited`: <in attachments>
CoreDump has over 600 MB, so I can't upload that.
Title: Re: [OpenRC / Java / Crash] All Java apps is crashing, even in containers.
Post by: gameplayer on 10 January 2023, 10:42:11
Problem was related to the memory type (misconfiguration with DDR3 / DDR3L memory sticks).
Title: Re: [OpenRC / Java / Crash] All Java apps is crashing, even in containers.
Post by: nous on 10 January 2023, 14:25:14
Thanks for reporting back, glad you resolved it.
Title: Re: [RESOLVED] [OpenRC / Java / Crash] All Java apps is crashing, even in containers
Post by: gameplayer on 12 January 2023, 22:08:57
Also a quick note: If BIOS / UEFI is having issues to boot, Java apps may suffer from running correctly.