Summary: | Uncaught exception with Mac OS X Mountain Lion | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Gene <gene.ressler> |
Component: | macosx | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED INVALID | ||
Severity: | critical | ||
Priority: | --- | ||
Version: | 2 | ||
Hardware: | All | ||
OS: | macosx | ||
Type: | --- | SCM Refs: | |
Workaround: | --- | ||
Attachments: |
test.sh script output
New test.sh run with gluegen_598-joal_364-jogl_825-jocl_687-signed Logger result running app with debug flags on. |
The version RC10 you were using doesn't support FBO or OSX 10.6.8 properly Pls retest w/ <http://jogamp.org/deployment/archive/master/gluegen_598-joal_364-jogl_825-jocl_687-signed/> <http://jogamp.org/deployment/archive/master/gluegen_598-joal_364-jogl_825-jocl_687-signed/archive/jogamp-all-platforms.7z> Also pls set property "-Djogl.debug=all" (commandline) ~Sven Created attachment 372 [details]
New test.sh run with gluegen_598-joal_364-jogl_825-jocl_687-signed
Created attachment 373 [details]
Logger result running app with debug flags on.
(In reply to comment #3) > Created attachment 373 [details] > Logger result running app with debug flags on. So all is fine I assume ? (In reply to comment #1) > The version RC10 you were using doesn't support FBO or OSX 10.6.8 properly > > Pls retest w/ > > <http://jogamp.org/deployment/archive/master/gluegen_598-joal_364-jogl_825-jocl_687-signed/archive/jogamp-all-platforms.7z> Okay. That fixed it. Thanks very much for the help. Three things: * Maybe you want to put a note on the "Current" link at jogamp.org that it doesn't work on ML. * Texture maps are coming out upside down -- viewport y-axis inverted from normal. I'll look at this. Could it even be a JOGL problem? * The test.sh script still refers to jogl.all.jar rather than jogl-all.jar. (In reply to comment #5) > (In reply to comment #1) > > The version RC10 you were using doesn't support FBO or OSX 10.6.8 properly > > > > Pls retest w/ > > > > <http://jogamp.org/deployment/archive/master/gluegen_598-joal_364-jogl_825-jocl_687-signed/archive/jogamp-all-platforms.7z> > > Okay. That fixed it. Thanks very much for the help. > > Three things: > > * Maybe you want to put a note on the "Current" link at jogamp.org that it > doesn't work on ML. Well, will be solved by delivering RC11. > > * Texture maps are coming out upside down -- viewport y-axis inverted from > normal. I'll look at this. Could it even be a JOGL problem? See Bug 605. > > * The test.sh script still refers to jogl.all.jar rather than jogl-all.jar. Thank you! |
Created attachment 371 [details] test.sh script output Mountain Lion crashes if caps.setDepthBits(24) is set when initializing GLCanvas. Crash disappears if caps.setFBO(tree) is called, but canvas remains blank; no drawing occurs. Shortest possible code (will attached JOGL debug output as soon as I can get it): import java.awt.*; import javax.media.opengl.*; import javax.media.opengl.awt.GLCanvas; import javax.swing.*; public class Test extends JFrame implements GLEventListener { public Test() { GLProfile glp = GLProfile.get(GLProfile.GL2); GLCapabilities caps = new GLCapabilities(glp); caps.setDepthBits(24); // NO CRASH IF THIS IS COMMENTED OUT. GLCanvas canvas = new GLCanvas(caps); canvas.addGLEventListener(this); add(canvas, BorderLayout.CENTER); pack(); } public static void main(String[] args) { new Test().setVisible(true); } public void init(GLAutoDrawable drawable) {} public void display(GLAutoDrawable drawable) {} public void reshape(GLAutoDrawable drawable, int x, int y, int w, int h) {} public void dispose(GLAutoDrawable drawable) {} } Hardware: Model Name: MacBook Pro Model Identifier: MacBookPro5,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.8 GHz Number of Processors: 1 Total Number of Cores: 2 L2 Cache: 6 MB Memory: 4 GB Bus Speed: 1.07 GHz Boot ROM Version: MBP51.007E.B06 SMC Version (system): 1.33f8 NVIDIA GeForce 9400M: Chipset Model: NVIDIA GeForce 9400M Type: GPU Bus: PCI VRAM (Total): 256 MB Vendor: NVIDIA (0x10de) Device ID: 0x0863 Revision ID: 0x00b1 ROM Revision: 3437 gMux Version: 1.7.3 Uncaught exception dump: Process: java [12342] Path: /usr/bin/java Identifier: com.apple.javajdk16.cmd Version: 1.0 (1.0) Code Type: X86-64 (Native) Parent Process: java [11514] User ID: 501 PlugIn Path: /var/folders/*/libjogl_desktop.jnilib PlugIn Identifier: libjogl_desktop.jnilib PlugIn Version: ??? (0) Date/Time: 2012-10-07 21:40:26.166 -0400 OS Version: Mac OS X 10.8.2 (12C54) Report Version: 10 Interval Since Last Report: 15714 sec Crashes Since Last Report: 11 Per-App Interval Since Last Report: 584 sec Per-App Crashes Since Last Report: 11 Anonymous UUID: 9D722369-981A-CFA7-0438-0C6F62BE4D2D Crashed Thread: 22 Java: AWT-EventQueue-0 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 0x7ffc3b1e5d70' terminate called throwing an exception abort() called Application Specific Backtrace 1: 0 CoreFoundation 0x00007fff8511b0a6 __exceptionPreprocess + 198 1 libobjc.A.dylib 0x00007fff894033f0 objc_exception_throw + 43 2 CoreFoundation 0x00007fff851b16ea -[NSObject(NSObject) doesNotRecognizeSelector:] + 186 3 CoreFoundation 0x00007fff851095ce ___forwarding___ + 414 4 CoreFoundation 0x00007fff851093b8 _CF_forwarding_prep_0 + 232 5 AppKit 0x00007fff8ddf85be -[NSOpenGLContext setPixelBuffer:cubeMapFace:mipMapLevel:currentVirtualScreen:] + 59 6 libjogl_desktop.jnilib 0x00000001126208cb setContextPBuffer + 203 7 libjogl_desktop.jnilib 0x000000011268428b Java_jogamp_opengl_macosx_cgl_CGL_setContextPBuffer__JJ + 43 8 ??? 0x0000000106377eee 0x0 + 4399267566 9 ??? 0x000000010636c85a 0x0 + 4399220826 10 ??? 0x000000010636ce03 0x0 + 4399222275 11 ??? 0x000000010636c929 0x0 + 4399221033 Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff86066686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff86065c42 mach_msg + 70 2 com.apple.CoreFoundation 0x00007fff850b7803 __CFRunLoopServiceMachPort + 195 3 com.apple.CoreFoundation 0x00007fff850bcee6 __CFRunLoopRun + 1078 4 com.apple.CoreFoundation 0x00007fff850bc6b2 CFRunLoopRunSpecific + 290 5 com.apple.HIToolbox 0x00007fff891170a4 RunCurrentEventLoopInMode + 209 6 com.apple.HIToolbox 0x00007fff89116e42 ReceiveNextEventCommon + 356 7 com.apple.HIToolbox 0x00007fff89116cd3 BlockUntilNextEventMatchingListInMode + 62 8 com.apple.AppKit 0x00007fff8d9b6613 _DPSNextEvent + 685 9 com.apple.AppKit 0x00007fff8d9b5ed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 10 libawt.jnilib 0x000000010d602fe3 -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124 11 com.apple.AppKit 0x00007fff8d9ad283 -[NSApplication run] + 517 12 libawt.jnilib 0x000000010d601694 +[AWTStarter startAWT:] + 1495 13 libawt.jnilib 0x000000010d60100e -[CPerformer perform] + 93 14 com.apple.Foundation 0x00007fff81688677 __NSThreadPerformPerform + 225 15 com.apple.CoreFoundation 0x00007fff8509a101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 16 com.apple.CoreFoundation 0x00007fff85099a25 __CFRunLoopDoSources0 + 245 17 com.apple.CoreFoundation 0x00007fff850bcdc5 __CFRunLoopRun + 789 18 com.apple.CoreFoundation 0x00007fff850bc6b2 CFRunLoopRunSpecific + 290 19 java 0x0000000105854843 0x105850000 + 18499 20 java 0x000000010585429a 0x105850000 + 17050 21 java 0x0000000105851a98 0x105850000 + 6808 Thread 1: 0 libsystem_kernel.dylib 0x00007fff86066686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff86065c42 mach_msg + 70 2 libclient64.dylib 0x00000001059794af 0x1058ba000 + 783535 3 libclient64.dylib 0x00000001058cda80 0x1058ba000 + 80512 4 libclient64.dylib 0x000000010597945a 0x1058ba000 + 783450 5 libclient64.dylib 0x0000000105979369 0x1058ba000 + 783209 6 libclient64.dylib 0x00000001058cd60e 0x1058ba000 + 79374 7 libclient64.dylib 0x00000001059741dc 0x1058ba000 + 762332 8 libclient64.dylib 0x0000000105973d3f 0x1058ba000 + 761151 9 java 0x0000000105853286 0x105850000 + 12934 10 libsystem_c.dylib 0x00007fff8bb68742 _pthread_start + 327 11 libsystem_c.dylib 0x00007fff8bb55181 thread_start + 13 Thread 2:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff86068d16 kevent + 10 1 libdispatch.dylib 0x00007fff8670adea _dispatch_mgr_invoke + 883 2 libdispatch.dylib 0x00007fff8670a9ee _dispatch_mgr_thread + 54 Thread 3:: Java: Exception Handler Thread 0 libsystem_kernel.dylib 0x00007fff86066686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff86065c42 mach_msg + 70 2 libsystem_kernel.dylib 0x00007fff86066405 mach_msg_server + 289 3 libclient64.dylib 0x00000001058ce3c9 0x1058ba000 + 82889 4 libclient64.dylib 0x00000001058ce38b 0x1058ba000 + 82827 5 libclient64.dylib 0x00000001058cd4fa 0x1058ba000 + 79098 6 libsystem_c.dylib 0x00007fff8bb68742 _pthread_start + 327 7 libsystem_c.dylib 0x00007fff8bb55181 thread_start + 13 Thread 4:: Java: Gang worker#0 (Parallel GC Threads) 0 libsystem_kernel.dylib 0x00007fff86066686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff86065c42 mach_msg + 70 2 libclient64.dylib 0x00000001059794af 0x1058ba000 + 783535 3 libclient64.dylib 0x00000001058cda80 0x1058ba000 + 80512 4 libclient64.dylib 0x000000010597945a 0x1058ba000 + 783450 5 libclient64.dylib 0x0000000105979369 0x1058ba000 + 783209 6 libclient64.dylib 0x00000001058cd68f 0x1058ba000 + 79503 7 libclient64.dylib 0x0000000105d30cbe 0x1058ba000 + 4680894 8 libclient64.dylib 0x00000001058cd4fa 0x1058ba000 + 79098 9 libsystem_c.dylib 0x00007fff8bb68742 _pthread_start + 327 10 libsystem_c.dylib 0x00007fff8bb55181 thread_start + 13 Thread 5:: Java: Gang worker#1 (Parallel GC Threads) 0 libsystem_kernel.dylib 0x00007fff86066686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff86065c42 mach_msg + 70 2 libclient64.dylib 0x00000001059794af 0x1058ba000 + 783535 3 libclient64.dylib 0x00000001058cda80 0x1058ba000 + 80512 4 libclient64.dylib 0x000000010597945a 0x1058ba000 + 783450 5 libclient64.dylib 0x0000000105979369 0x1058ba000 + 783209 6 libclient64.dylib 0x00000001058cd68f 0x1058ba000 + 79503 7 libclient64.dylib 0x0000000105d30cbe 0x1058ba000 + 4680894 8 libclient64.dylib 0x00000001058cd4fa 0x1058ba000 + 79098 9 libsystem_c.dylib 0x00007fff8bb68742 _pthread_start + 327 10 libsystem_c.dylib 0x00007fff8bb55181 thread_start + 13 Thread 6:: Java: Concurrent Mark-Sweep GC Thread 0 libsystem_kernel.dylib 0x00007fff86066686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff86065c42 mach_msg + 70 2 libclient64.dylib 0x0000000105979541 0x1058ba000 + 783681 3 libclient64.dylib 0x000000010598ed96 0x1058ba000 + 871830 4 libclient64.dylib 0x0000000105979369 0x1058ba000 + 783209 5 libclient64.dylib 0x00000001058cd68f 0x1058ba000 + 79503 6 libclient64.dylib 0x0000000105bbb773 0x1058ba000 + 3151731 7 libclient64.dylib 0x0000000105bbba11 0x1058ba000 + 3152401 8 libclient64.dylib 0x0000000105bbb601 0x1058ba000 + 3151361 9 libclient64.dylib 0x00000001058cd4fa 0x1058ba000 + 79098 10 libsystem_c.dylib 0x00007fff8bb68742 _pthread_start + 327 11 libsystem_c.dylib 0x00007fff8bb55181 thread_start + 13 Thread 7:: Java: VM Thread 0 libsystem_kernel.dylib 0x00007fff86066686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff86065c42 mach_msg + 70 2 libclient64.dylib 0x0000000105979541 0x1058ba000 + 783681 3 libclient64.dylib 0x000000010598ed96 0x1058ba000 + 871830 4 libclient64.dylib 0x0000000105979369 0x1058ba000 + 783209 5 libclient64.dylib 0x00000001058cd68f 0x1058ba000 + 79503 6 libclient64.dylib 0x000000010594fdcc 0x1058ba000 + 613836 7 libclient64.dylib 0x000000010594fb0b 0x1058ba000 + 613131 8 libclient64.dylib 0x00000001058cd4fa 0x1058ba000 + 79098 9 libsystem_c.dylib 0x00007fff8bb68742 _pthread_start + 327 10 libsystem_c.dylib 0x00007fff8bb55181 thread_start + 13 Thread 8:: Java: Reference Handler 0 libsystem_kernel.dylib 0x00007fff86066686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff86065c42 mach_msg + 70 2 libclient64.dylib 0x00000001059794af 0x1058ba000 + 783535 3 libclient64.dylib 0x00000001058cda80 0x1058ba000 + 80512 4 libclient64.dylib 0x000000010598f183 0x1058ba000 + 872835 5 libclient64.dylib 0x000000010598eed4 0x1058ba000 + 872148 6 libclient64.dylib 0x000000010595d488 JVM_MonitorWait + 154 7 libjvmlinkage.dylib 0x0000000105fbab0b JVM_MonitorWait + 59 8 ??? 0x0000000106377eee 0 + 4399267566 9 ??? 0x000000010636c85a 0 + 4399220826 10 ??? 0x000000010636c85a 0 + 4399220826 11 ??? 0x0000000106367438 0 + 4399199288 12 libclient64.dylib 0x0000000105950f8e 0x1058ba000 + 618382 13 libclient64.dylib 0x000000010595d018 0x1058ba000 + 667672 14 libclient64.dylib 0x000000010595cf0e 0x1058ba000 + 667406 15 libclient64.dylib 0x000000010595ceae 0x1058ba000 + 667310 16 libclient64.dylib 0x000000010595cd50 0x1058ba000 + 666960 17 libclient64.dylib 0x000000010595cb65 0x1058ba000 + 666469 18 libclient64.dylib 0x00000001058cd4fa 0x1058ba000 + 79098 19 libsystem_c.dylib 0x00007fff8bb68742 _pthread_start + 327 20 libsystem_c.dylib 0x00007fff8bb55181 thread_start + 13 Thread 9:: Java: Finalizer 0 libsystem_kernel.dylib 0x00007fff86066686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff86065c42 mach_msg + 70 2 libclient64.dylib 0x00000001059794af 0x1058ba000 + 783535 3 libclient64.dylib 0x00000001058cda80 0x1058ba000 + 80512 4 libclient64.dylib 0x000000010598f183 0x1058ba000 + 872835 5 libclient64.dylib 0x000000010598eed4 0x1058ba000 + 872148 6 libclient64.dylib 0x000000010595d488 JVM_MonitorWait + 154 7 libjvmlinkage.dylib 0x0000000105fbab0b JVM_MonitorWait + 59 8 ??? 0x0000000106377eee 0 + 4399267566 9 ??? 0x000000010636c85a 0 + 4399220826 10 ??? 0x000000010636c9b3 0 + 4399221171 11 ??? 0x000000010636c9b3 0 + 4399221171 12 ??? 0x0000000106367438 0 + 4399199288 13 libclient64.dylib 0x0000000105950f8e 0x1058ba000 + 618382 14 libclient64.dylib 0x000000010595d018 0x1058ba000 + 667672 15 libclient64.dylib 0x000000010595cf0e 0x1058ba000 + 667406 16 libclient64.dylib 0x000000010595ceae 0x1058ba000 + 667310 17 libclient64.dylib 0x000000010595cd50 0x1058ba000 + 666960 18 libclient64.dylib 0x000000010595cb65 0x1058ba000 + 666469 19 libclient64.dylib 0x00000001058cd4fa 0x1058ba000 + 79098 20 libsystem_c.dylib 0