Bug 1046 - Crash (jvm segfault) when using a one-jar
Summary: Crash (jvm segfault) when using a one-jar
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
Depends on:
Reported: 2014-08-16 13:28 CEST by Mark Raynsford
Modified: 2014-09-01 16:38 CEST (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
Workaround: ---

Output of java -Djogamp.debug=true (425.47 KB, text/plain)
2014-08-16 13:33 CEST, Mark Raynsford

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Raynsford 2014-08-16 13:28:10 CEST
The following jar will crash the jvm:


The jar is produced using the maven-dependencies plugin, that packs all dependencies into a single jar.

Filing this here so that it doesn't get lost: Not sure if it's JOGL/GlueGen's fault or not.
Comment 1 Mark Raynsford 2014-08-16 13:33:19 CEST
Created attachment 621 [details]
Output of java -Djogamp.debug=true

The debug log shows that the crash occurs just after attempting to load libGL.so.1.
Comment 2 Mark Raynsford 2014-08-16 14:31:20 CEST
Discussion started here:

Comment 3 Sven Gothel 2014-09-01 16:38:13 CEST

The provided test jar file does not comply w/ our
supported models .. (separate, fat, 'tagged').

it loads some native libs from the jar file 'root' folder,
which fail for some reason.