Native crash when loading certain native libraries
Task Info (Flyspray) | |
---|---|
Opened By | Lucas S (sailsman63) |
Task ID | 63429 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Extra |
Version | None |
OS | x86_64 |
Opened | 2019-08-11 01:44:03 UTC |
Status | Assigned |
Assignee | Levente Polyak (anthraxx) |
Details
Description:
Attempting to run a java program that uses jogl (jogamp.org) will crash out the JVM with the following error:
Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!
Removing the jogl native packages from the program classpath (forcing a fallback to a non-jogl option) allows the program to run normally.
This is new behavior. It is not seen in jre10-openjdk or jre8-openjdk, and was not seen in jre-openjdk 12.0.1.u12-1.
Additional info:
- jre-openjdk 12.0.2.u10-1
- Current glibc version: 2.29-4
- This issue has also been observed with lwjgl3. See https://hub.jmonkeyengine.org/t/solved-jme-does-not-work-at-all-on-modern-java-due-to-a-regression/42112.
Steps to reproduce:
- Launch a java application that uses the indicated libraries.
- Watch the terminal output.
- Observe that removing the jogl and gluegen natives libraries prevents this bug. (by stopping the system from attempting the load that crashes)
The application that I'm working from is: https://sourceforge.net/projects/aoi/files/ArtOfIllusion/3.1.0/Art%20Of%20Illusion%203.1.0%20Generic%20No-Install.zip
(I'm one of the maintainers of that application. Sorry, not duplicated with an Arch package at this time.)
The included jogl libraries are copied directly from jogamp.org's current stable deployment. (https://jogamp.org/deployment/jogamp-current/)