JNLP apps crash on OS X 10.8 (Mountain Lion)

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

JNLP apps crash on OS X 10.8 (Mountain Lion)

Ralph Elliott
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?


--

Reply | Threaded
Open this post in threaded view
|

Re: JNLP apps crash on OS X 10.8 (Mountain Lion)

gouessej
Administrator
Hi

Do you still reproduce this bug? Someone else recently tried to run my game (using Java Web Start) under Mac OS X 10.8.2 with Oracle JDK 1.7 and got a crash.

@Sven Do you have an access to this version of Mac OS X?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: JNLP apps crash on OS X 10.8 (Mountain Lion)

Sven Gothel
Administrator
On 10/29/2012 11:29 AM, gouessej [via jogamp] wrote:
> Hi
>
> Do you still reproduce this bug? Someone else recently tried to run my game
> (using Java Web Start) under Mac OS X 10.8.2 with Oracle JDK 1.7 and got a crash.
>
> @Sven Do you have an access to this version of Mac OS X?

No, sorry - only 10.7.5 here.

But it should work w/ OSX 10.8 and latest JOGL aggregation
_if_ not using a GL3 context.

I currently work on a fix for the latter (GL3 & CALayer).

~Sven



signature.asc (907 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: JNLP apps crash on OS X 10.8 (Mountain Lion)

gouessej
Administrator
Don't be sorry, you already do your best. I use GLProfile.getMaxFixedFunc(true). I use a more recent build. I will ask him to send me the logs. I'm worried as I use NEWT, I thought I wouldn't be bothered under Mac.

Please can you just confirm it runs under your Mac?

http://tuer.sourceforge.net/very_experimental/tuer.jnlp
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: JNLP apps crash on OS X 10.8 (Mountain Lion)

gouessej
Administrator
This post was updated on .
In reply to this post by Sven Gothel
Apple and Oracle are just becoming paranoid, you have to select “Allow applications downloaded from: Anywhere” to make it work. I don't want to buy a certificate yet.

Oracle is going to kill Java Web Start. I can't use trusted certificates because of a bug under Windows and I must use a trusted certificate under Mac because of a change in the policy.

Edit.: Apple introduced Gatekeeper in Mac OS X 10.8.
Julien Gouesse | Personal blog | Website