JNLP apps crash on OS X 10.8 (Mountain Lion)
Posted by Ralph Elliott on Aug 02, 2012; 11:24am
URL: https://forum.jogamp.org/JNLP-apps-crash-on-OS-X-10-8-Mountain-Lion-tp4025732.html
I have a JOGL2 based JNLP applet, and a similar JNLP app. After upgrading my Mac to OS X 10.8 (Mountain Lion), I find that the applet still works fine, but the app crashes, apparently at the point where it sets up the JOGL canvas, in libjogl_desktop.jnilib.
Checking the standard gears demo app at jogamp.org/jogl-demos/www/, I find exactly the same problem:
--------------------------------
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSViewAWT CGLPBufferObj]: unrecognized selector sent to instance 0x7f9610ce9040'
terminate called throwing an exception
abort() called
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff8db31716 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff9900e470 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8dbc7d5a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
3 CoreFoundation 0x00007fff8db1fc3e ___forwarding___ + 414
4 CoreFoundation 0x00007fff8db1fa28 _CF_forwarding_prep_0 + 232
5 AppKit 0x00007fff8eae4b3e -[NSOpenGLContext setPixelBuffer:cubeMapFace:mipMapLevel:currentVirtualScreen:] + 59
6 libjogl_desktop.jnilib 0x000000010f4b289b setContextPBuffer + 203
7 libjogl_desktop.jnilib 0x000000010f51629b Java_jogamp_opengl_macosx_cgl_CGL_setContextPBuffer__JJ + 43
8 ??? 0x0000000103d80d6e 0x0 + 4359458158
--------------------------------
So this appears to be a general problem with JOGL2 apps on OS X 10.8 rather than anything specific to my app. Is this a known problem or do I need to file a bug report?
--