#1088021 pdfsam: PDFSam crashes on start up

#1088021#5
Date:
2024-11-22 03:00:25 UTC
From:
To:
prosfilaes@asimov:/home/oldhome/Books$ pdfsam
WARNING: A restricted method in java.lang.System has been called
WARNING: java.lang.System::load has been called by com.sun.glass.utils.NativeLibLoader in an unnamed module (file:/usr/share/java/javafx-graphics-11.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
WARNING: Restricted methods will be blocked in a future release unless native access is enabled

Gtk-Message: 20:57:53.994: Failed to load module "canberra-gtk-module"
Gtk-Message: 20:57:53.998: Failed to load module "canberra-gtk-module"
INFO  20:57:54.033 o.p.PdfsamApp[JavaFX-Launcher] Starting PDFsam
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f9ff8021ff3, pid=2092358, tid=2092409
#
# JRE version: OpenJDK Runtime Environment (24.0+22) (build 24-ea+22-Debian-1)
# Java VM: OpenJDK 64-Bit Server VM (24-ea+22-Debian-1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libfontconfig.so.1+0x15ff3]
#
# 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:
# /home/oldhome/Books/hs_err_pid2092358.log
[1.174s][warning][os] Loading hsdis library failed
#
# If you would like to submit a bug report, please visit:
#   https://bugs.debian.org/openjdk-24
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted
prosfilaes@asimov:/home/oldhome/Books$ dpkg -l openjdk-24-*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version      Architecture Description
+++-=============================-============-============-==================================================
un  openjdk-24-demo               <none>       <none>       (no description available)
ii  openjdk-24-jdk:amd64          24~22ea-1    amd64        OpenJDK Development Kit (JDK)
ii  openjdk-24-jdk-headless:amd64 24~22ea-1    amd64        OpenJDK Development Kit (JDK) (headless)
ii  openjdk-24-jre:amd64          24~22ea-1    amd64        OpenJDK Java runtime, using Hotspot JIT
ii  openjdk-24-jre-headless:amd64 24~22ea-1    amd64        OpenJDK Java runtime, using Hotspot JIT (headless)
un  openjdk-24-source             <none>       <none>       (no description available)

#1088021#10
Date:
2025-01-21 14:20:17 UTC
From:
To:
I can confirm this happens, but it might be a dependency issue. Uninstalling pdfsam from Debian repos and installing it - as .deb or the generic .tar.xz - from the official repo in the latest version works without issues. I accidentally opened a bug report on their Git as I didn't notice that the installation of their .deb failed without uninstalling the version from Debian repos first. It also contains the detailed log file created when pdfsam fails to start: https://github.com/torakiki/pdfsam/issues/675