Login  Register

Re: OSX Lion issues (PBuffers)

Posted by Lukasz on Jul 26, 2012; 1:51pm
URL: https://forum.jogamp.org/OSX-Lion-issues-PBuffers-tp4021385p4025657.html

After installing OSX 10.8, my (OSX 10.7 previously working) program crashes at launch with:

2012-07-26 23:47:22.769 java[2510:12a07] -[NSViewAWT CGLPBufferObj]: unrecognized selector sent to instance 0x7fd1e3cb0510
2012-07-26 23:47:22.769 java[2510:12a07] An uncaught exception was raised
2012-07-26 23:47:22.770 java[2510:12a07] -[NSViewAWT CGLPBufferObj]: unrecognized selector sent to instance 0x7fd1e3cb0510
2012-07-26 23:47:22.770 java[2510:12a07] (
        0   CoreFoundation                      0x00007fff95627716 __exceptionPreprocess + 198
        1   libobjc.A.dylib                     0x00007fff900c6470 objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff956bdd5a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
        3   CoreFoundation                      0x00007fff95615c3e ___forwarding___ + 414
        4   CoreFoundation                      0x00007fff95615a28 _CF_forwarding_prep_0 + 232
        5   AppKit                              0x00007fff8b553b3e -[NSOpenGLContext setPixelBuffer:cubeMapFace:mipMapLevel:currentVirtualScreen:] + 59
        6   libjogl_desktop.jnilib              0x000000011910b89b setContextPBuffer + 203
        7   libjogl_desktop.jnilib              0x000000011916f29b Java_jogamp_opengl_macosx_cgl_CGL_setContextPBuffer__JJ + 43
        8   ???                                 0x00000001052f3d6e 0x0 + 4381949294
        9   ???                                 0x00000001052e885a 0x0 + 4381902938
        10  ???                                 0x00000001052e8e03 0x0 + 4381904387
        11  ???                                 0x00000001052e8929 0x0 + 4381903145
)
2012-07-26 23:47:22.771 java[2510:12a07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSViewAWT CGLPBufferObj]: unrecognized selector sent to instance 0x7fd1e3cb0510'
*** First throw call stack:
(
        0   CoreFoundation                      0x00007fff95627716 __exceptionPreprocess + 198
        1   libobjc.A.dylib                     0x00007fff900c6470 objc_exception_throw + 43
        2   CoreFoundation                      0x00007fff956bdd5a -[NSObject(NSObject) doesNotRecognizeSelector:] + 186
        3   CoreFoundation                      0x00007fff95615c3e ___forwarding___ + 414
        4   CoreFoundation                      0x00007fff95615a28 _CF_forwarding_prep_0 + 232
        5   AppKit                              0x00007fff8b553b3e -[NSOpenGLContext setPixelBuffer:cubeMapFace:mipMapLevel:currentVirtualScreen:] + 59
        6   libjogl_desktop.jnilib              0x000000011910b89b setContextPBuffer + 203
        7   libjogl_desktop.jnilib              0x000000011916f29b Java_jogamp_opengl_macosx_cgl_CGL_setContextPBuffer__JJ + 43
        8   ???                                 0x00000001052f3d6e 0x0 + 4381949294
        9   ???                                 0x00000001052e885a 0x0 + 4381902938
        10  ???                                 0x00000001052e8e03 0x0 + 4381904387
        11  ???                                 0x00000001052e8929 0x0 + 4381903145
)
libc++abi.dylib: terminate called throwing an exception

Tried setting pbuffer to false explicitly in the capabilities given to the GLCanvas constructor, to no avail.