Fatal SIGSEGV crash in JCEF DBus initialization on ARM64 headless (v2.3.2238)
Describe the bug
In the latest release v2.3.2238, Suwayomi-Server.jar crashes with a fatal SIGSEGV during JVM startup on ARM64 Linux systems running in a headless environment (using xvfb-run).
The crash occurs inside getenv when libcef.so attempts to initialize DBus. It appears the newly bundled JCEF/Chromium embedded framework in this release has a severe bug on ARM64 where it attempts to interact with dbus and causes the JVM to segfault instantly.
To Reproduce Steps to reproduce the behavior:
- Run
Suwayomi-Server.jarv2.3.2238 on an Ubuntu ARM64 (aarch64) machine usingxvfb-run -a java -jar Suwayomi-Server.jar. - The server instantly crashes.
- Check the generated
hs_err_pid*.logfile.
Expected behavior
The server should start normally without crashing the JVM, as it did in the previous v2.3.2232 release.
Workaround
Adding Environment=DBUS_SESSION_BUS_ADDRESS=/dev/null to the systemd service file bypasses the crash successfully.
Crash Log / Stack Trace
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000f13add15c6ec, pid=1757633, tid=1757715
#
# JRE version: OpenJDK Runtime Environment (21.0.9+10) (build 21.0.9+10-Ubuntu-122.04)
# Java VM: OpenJDK 64-Bit Server VM (21.0.9+10-Ubuntu-122.04, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# C [libc.so.6+0x3c6ec] getenv+0x9c
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libc.so.6+0x3c6ec] getenv+0x9c
C [libdbus-1.so.3+0x14380]
C [libcef.so+0x7ebbdd4]
C [libcef.so+0x7eccf5c]
C [libcef.so+0x7ecce10]
C [libcef.so+0x2bd8db4]
...System Info:
- OS: Ubuntu 22.04.5 LTS (AArch64)
- Java Version: OpenJDK 21.0.9
- Suwayomi Version: v2.3.2238
Source: Suwayomi/Suwayomi-Server