jdk9 on the mac, crash on load of jogl-all-natives-macosx-universal.jar, macos 10.12.2
Posted by Douglas Lyon on Nov 25, 2017; 1:56pm
URL: https://forum.jogamp.org/jdk9-on-the-mac-crash-on-load-of-jogl-all-natives-macosx-universal-jar-macos-10-12-2-tp4038323.html
Hi All,
I have been kicking the tires on jogl for macos 10.12.2 and jdk9. The problem
appears to be a single jar file:
jogl-all-natives-macosx-universal.jar
This contains a jnilib that will crash when loaded into the jvm under jdk9.
For example:
public static void main(String[] args) {
System.load("/Users/lyon/current/java/j4p/jars/j3d/foo/natives/macosx-universal/libnativewindow_awt.jnilib");
}
Emits:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000117a0a795, pid=65766, tid=6915
#
# JRE version: Java(TM) SE Runtime Environment (8.0_51-b16) (build 1.8.0_51-b16)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.51-b03 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C [libawt_lwawt.dylib+0x44795] JNI_OnLoad+0x91
Did I do something wrong?
Thanks!
- Doug