Bug 1046

Summary: Crash (jvm segfault) when using a one-jar
Product: [JogAmp] Jogl Reporter: Mark Raynsford <org.jogamp>
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED INVALID    
Severity: enhancement CC: sgothel
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
Workaround: ---
Attachments: Output of java -Djogamp.debug=true

Description Mark Raynsford 2014-08-16 13:28:10 CEST
The following jar will crash the jvm:

https://www.dropbox.com/s/hnh4zwrlazlpqx2/uber-project-1.0-SNAPSHOT.jar

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:

http://jogamp.org/log/irc/jogamp_20140816050529.html#l19
Comment 3 Sven Gothel 2014-09-01 16:38:13 CEST
http://jogamp.org/wiki/index.php/JogAmp_JAR_File_Handling#Fat-Jar

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.