Crash: Maven 2.0-rc10, OS X 10.7.5, Java 7u10, ATI Radeon HD 5750

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

Crash: Maven 2.0-rc10, OS X 10.7.5, Java 7u10, ATI Radeon HD 5750

alterscape
I'm receiving the following error when running my JOGL app on an iMac with the Radeon HD 5750 GPU:

2012-10-16 13:23:20.905 java[70111:1c03] invalid drawable
2012-10-16 13:23:20.907 java[70111:1c03] -[NSView CGLPBufferObj]: unrecognized selector sent to instance 0x10cfee610
2012-10-16 13:23:20.908 java[70111:1c03] Apple AWT Internal Exception: -[NSView CGLPBufferObj]: unrecognized selector sent to instance 0x10cfee610
2012-10-16 13:23:20.909 java[70111:1c03] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSView CGLPBufferObj]: unrecognized selector sent to instance 0x10cfee610'
*** First throw call stack:
(
        0   CoreFoundation                      0x00007fff89c7bf56 __exceptionPreprocess + 198
        1   libobjc.A.dylib                     0x00007fff8f3a9d5e objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff89d081be -[NSObject doesNotRecognizeSelector:] + 190
        3   CoreFoundation                      0x00007fff89c68e23 ___forwarding___ + 371
        4   CoreFoundation                      0x00007fff89c68c38 _CF_forwarding_prep_0 + 232
        5   AppKit                              0x00007fff8750d256 -[NSOpenGLContext setPixelBuffer:cubeMapFace:mipMapLevel:currentVirtualScreen:] + 49
        6   libjogl_desktop.jnilib              0x000000011d8028cb setContextPBuffer + 203
        7   libjogl_desktop.jnilib              0x000000011d86628b Java_jogamp_opengl_macosx_cgl_CGL_setContextPBuffer__JJ + 43
        8   ???                                 0x000000010dc3fdb1 0x0 + 4525915569
)
terminate called throwing an exceptionJava Result: 134

The same code/pom builds and runs fine on my Macbook Pro laptop, which is running 10.8.2 and has an NVidia 330M GPU. In both cases, the code is built and executed by JDK 7u10 (Developer preview). I'm not sure if this is related to the OS version, the GPU, or both.  On my MBP, I always get three "invalid drawable" errors before the app successfully starts; here I get one and then the error dump.  Currently trying to track down exactly where that comes from.

Any thoughts?
Reply | Threaded
Open this post in threaded view
|

Re: Crash: Maven 2.0-rc10, OS X 10.7.5, Java 7u10, ATI Radeon HD 5750

gouessej
Administrator
Hi

Please use at least the latest pre-RC11 aggregated build. Does the iMac with which you get this exception use Mac OS X 10.8.2 too?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Crash: Maven 2.0-rc10, OS X 10.7.5, Java 7u10, ATI Radeon HD 5750

alterscape
Looks like RC11 isn't available in Maven yet (just checked the jogamp servers myself), which is a blocker because my build process relies on Maven. If I have to, I'll set up a fakey Maven repo on my localhost and give that a shot.  The iMac is 10.7.5, not 10.8.2.
Reply | Threaded
Open this post in threaded view
|

Re: Crash: Maven 2.0-rc10, OS X 10.7.5, Java 7u10, ATI Radeon HD 5750

gouessej
Administrator
Please can you use this one?
http://jogamp.org/deployment/archive/master/gluegen_600-joal_366-jogl_833-jocl_691/archive/

Edit.: It's one o'clock in France, I'm falling asleep...
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Crash: Maven 2.0-rc10, OS X 10.7.5, Java 7u10, ATI Radeon HD 5750

alterscape
That fixed it! I had to manually create a Maven repository on my localhost containing properly-named versions of those files, and then it lit off alright!

Apparently my "textures don't load on ATI cards" bug is still alive, though.

Any timetable on a 2.0rc11 release (including to Maven)?  Once I get my primary machine back alive I should be able to build Maven versions myself, but it would be nicest to be able to use the official jogamp repo.
Reply | Threaded
Open this post in threaded view
|

Re: Crash: Maven 2.0-rc10, OS X 10.7.5, Java 7u10, ATI Radeon HD 5750

gouessej
Administrator
Your bug probably comes from your driver or you do something wrong in your source code.

Only Sven can answer about the timetable on JOGL 2.0 RC11.
Julien Gouesse | Personal blog | Website