Source: openjdk-17
Severity: normal

Multiple Java games fail to launch when trying to run them with Debian builds 
of OpenJDK, including:
- Blocks That Matter
- Gathering Sky
- Lenna's Inception
- Slay the Spire
- The Count Lucanor
- Urtuk: The Desolation

All of these games fail to run with OpenJDK > 8, throwing the following error:

Inconsistency detected by ld.so: dl-lookup.c: 107: check_match: Assertion 
`version->filename == NULL || ! _dl_name_match_p (version->filename, map)' 
failed!

Due to the similarities with bug report #982443 
(https://bugs.debian.org/982443), we gave a try to the proposed workaround:

DEB_LDFLAGS_SET='-Wl,-z,relro,--no-as-needed' DEB_BUILD_OPTIONS=nocheck debuild 
--no-sign -b -j4

Using this build of OpenJDK, the listed games work nicely.

More details can be found on ./play.it forge, where we did the original 
investigation:
https://forge.dotslashplay.it/play.it/games/-/issues/880

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'stable-debug'), (500, 'oldstable-debug'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to