Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Window manager crashes when I run the program I'm making. How do I debug?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="god0fgod" data-source="post: 1094075" data-attributes="member: 59324"><p>Hello, I'm making a program which uses OpenGL, Python and Cocoa with PyObjC. I've made an additional part to my program which uses the same graphical code as everything else. When using it, the window manager crashes. It happens at two places. At one place, the fps drops rapidly before the crash happens. The other place has no fps drop noticeable; it simply crashes the window manager.</p><p></p><p>I have no idea how to debug this because all I have is an error report.</p><p></p><p>Can anyone make sense of the error report? (Same on each occasion) I believe it's a common problem in Snow Leopard 10.6.4 but nowhere I go explains what causes it and hence how to avoid it.</p><p></p><p>Thank you.</p><p></p><p>One of the error reports (Removed end to fit into post).</p><p></p><p>[CODE]Process: WindowServer [1009]</p><p>Path: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/WindowServer</p><p>Identifier: WindowServer</p><p>Version: ??? (???)</p><p>Code Type: X86-64 (Native)</p><p>Parent Process: launchd [1]</p><p></p><p>Date/Time: 2010-08-04 16:45:14.185 +0100</p><p>OS Version: Mac OS X 10.6.4 (10F569)</p><p>Report Version: 6</p><p></p><p>Exception Type: EXC_BAD_ACCESS (SIGSEGV)</p><p>Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000</p><p>Crashed Thread: 0 Dispatch queue: com.apple.main-thread</p><p></p><p>Thread 0 Crashed: Dispatch queue: com.apple.main-thread</p><p>0 com.apple.GeForceGLDriver 0x00000002000119a4 gldAttachDrawable + 2388</p><p>1 com.apple.GeForceGLDriver 0x00000002000ce0c5 gldUpdateDispatch + 14581</p><p>2 com.apple.GeForceGLDriver 0x00000002000ce1b6 gldUpdateDispatch + 14822</p><p>3 GLEngine 0x000000011291f146 glFlush_Exec + 133</p><p>4 com.apple.CoreGraphics 0x00007fff802bc177 CGXGLAccelFinish + 154</p><p>5 com.apple.CoreGraphics 0x00007fff802bb2e0 CGXReleaseDisplayDeviceSurface + 232</p><p>6 com.apple.CoreGraphics 0x00007fff80469c02 CGXRedrawSpecifiedWindowsToDisplayAndRegion + 3663</p><p>7 com.apple.CoreGraphics 0x00007fff802afb42 CGXUpdateMagicMirror + 641</p><p>8 com.apple.CoreGraphics 0x00007fff8029092e CGXUpdateDisplay + 1308</p><p>9 com.apple.CoreGraphics 0x00007fff8045cbc2 CGXFlushSurface + 732</p><p>10 com.apple.CoreGraphics 0x00007fff8048440d _CGXFlushSurfaceInline + 231</p><p>11 com.apple.CoreGraphics 0x00007fff803f366c _XFlushSurfaceInline + 205</p><p>12 com.apple.CoreGraphics 0x00007fff802c31cd CGXServices_server + 108</p><p>13 com.apple.CoreGraphics 0x00007fff802c2e8a connectionHandler + 220</p><p>14 com.apple.CoreGraphics 0x00007fff802a4f2d CGXPostPortData + 175</p><p>15 com.apple.CoreGraphics 0x00007fff802a4d37 CGXRunOneServerPass + 451</p><p>16 com.apple.CoreGraphics 0x00007fff802a1e4d CGXRunOneServicesPass + 672</p><p>17 com.apple.CoreGraphics 0x00007fff802aad4a CGXServerLoop + 139</p><p>18 com.apple.CoreGraphics 0x00007fff80275856 CGXGetRootAdminCredentials + 0</p><p>19 WindowServer 0x0000000100000f29 main + 9</p><p>20 WindowServer 0x0000000100000f18 start + 52</p><p></p><p>Thread 1: Dispatch queue: com.apple.libdispatch-manager</p><p>0 libSystem.B.dylib 0x00007fff88c7408a kevent + 10</p><p>1 libSystem.B.dylib 0x00007fff88c75f5d _dispatch_mgr_invoke + 154</p><p>2 libSystem.B.dylib 0x00007fff88c75c34 _dispatch_queue_invoke + 185</p><p>3 libSystem.B.dylib 0x00007fff88c7575e _dispatch_worker_thread2 + 252</p><p>4 libSystem.B.dylib 0x00007fff88c75088 _pthread_wqthread + 353</p><p>5 libSystem.B.dylib 0x00007fff88c74f25 start_wqthread + 13</p><p></p><p>Thread 2:</p><p>0 libSystem.B.dylib 0x00007fff88c5b2fa mach_msg_trap + 10</p><p>1 libSystem.B.dylib 0x00007fff88c5b96d mach_msg + 59</p><p>2 com.apple.CoreFoundation 0x00007fff846173c2 __CFRunLoopRun + 1698</p><p>3 com.apple.CoreFoundation 0x00007fff8461684f CFRunLoopRunSpecific + 575</p><p>4 com.apple.CoreFoundation 0x00007fff846165d6 CFRunLoopRun + 70</p><p>5 com.apple.CoreGraphics 0x00007fff8028773e eventThread + 470</p><p>6 libSystem.B.dylib 0x00007fff88c94456 _pthread_start + 331</p><p>7 libSystem.B.dylib 0x00007fff88c94309 thread_start + 13</p><p></p><p>Thread 3:</p><p>0 libSystem.B.dylib 0x00007fff88c5b2fa mach_msg_trap + 10</p><p>1 libSystem.B.dylib 0x00007fff88c5b96d mach_msg + 59</p><p>2 com.apple.QuartzCore 0x00007fff8317abe2 CA::Render::Server::server_thread(void*) + 177</p><p>3 com.apple.QuartzCore 0x00007fff8317ab22 thread_fun + 34</p><p>4 libSystem.B.dylib 0x00007fff88c94456 _pthread_start + 331</p><p>5 libSystem.B.dylib 0x00007fff88c94309 thread_start + 13</p><p></p><p>Thread 4:</p><p>0 libSystem.B.dylib 0x00007fff88c95eb6 __semwait_signal + 10</p><p>1 libSystem.B.dylib 0x00007fff88c99cd1 _pthread_cond_wait + 1286</p><p>2 com.apple.CoreGraphics 0x00007fff8036082a layer_blit_work_queue_thread + 714</p><p>3 com.apple.CoreGraphics 0x00007fff80360a9c layer_blit_work_queue_server + 156</p><p>4 libSystem.B.dylib 0x00007fff88c94456 _pthread_start + 331</p><p>5 libSystem.B.dylib 0x00007fff88c94309 thread_start + 13</p><p></p><p>Thread 5:</p><p>0 libSystem.B.dylib 0x00007fff88c74eaa __workq_kernreturn + 10</p><p>1 libSystem.B.dylib 0x00007fff88c752bc _pthread_wqthread + 917</p><p>2 libSystem.B.dylib 0x00007fff88c74f25 start_wqthread + 13</p><p></p><p>Thread 0 crashed with X86 Thread State (64-bit):</p><p> rax: 0x00000000e00002c2 rbx: 0x0000000112f65000 rcx: 0x00007fff88c5b2fa rdx: 0x0000000012fa8000</p><p> rdi: 0x00007fff5fbed310 rsi: 0x00007fff711475c0 rbp: 0x00007fff5fbee4a0 rsp: 0x00007fff5fbee4a0</p><p> r8: 0x0000000000000e03 r9: 0x0000000000000000 r10: 0x00000000000010bc r11: 0x0000000000000206</p><p> r12: 0x0000000112fa8000 r13: 0x0000000000000003 r14: 0x00007fff5fbee4d0 r15: 0x00000001003f48d0</p><p> rip: 0x00000002000119a4 rfl: 0x0000000000010246 cr2: 0x0000000000000000</p><p> [/CODE]</p></blockquote><p></p>
[QUOTE="god0fgod, post: 1094075, member: 59324"] Hello, I'm making a program which uses OpenGL, Python and Cocoa with PyObjC. I've made an additional part to my program which uses the same graphical code as everything else. When using it, the window manager crashes. It happens at two places. At one place, the fps drops rapidly before the crash happens. The other place has no fps drop noticeable; it simply crashes the window manager. I have no idea how to debug this because all I have is an error report. Can anyone make sense of the error report? (Same on each occasion) I believe it's a common problem in Snow Leopard 10.6.4 but nowhere I go explains what causes it and hence how to avoid it. Thank you. One of the error reports (Removed end to fit into post). [CODE]Process: WindowServer [1009] Path: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/WindowServer Identifier: WindowServer Version: ??? (???) Code Type: X86-64 (Native) Parent Process: launchd [1] Date/Time: 2010-08-04 16:45:14.185 +0100 OS Version: Mac OS X 10.6.4 (10F569) Report Version: 6 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 com.apple.GeForceGLDriver 0x00000002000119a4 gldAttachDrawable + 2388 1 com.apple.GeForceGLDriver 0x00000002000ce0c5 gldUpdateDispatch + 14581 2 com.apple.GeForceGLDriver 0x00000002000ce1b6 gldUpdateDispatch + 14822 3 GLEngine 0x000000011291f146 glFlush_Exec + 133 4 com.apple.CoreGraphics 0x00007fff802bc177 CGXGLAccelFinish + 154 5 com.apple.CoreGraphics 0x00007fff802bb2e0 CGXReleaseDisplayDeviceSurface + 232 6 com.apple.CoreGraphics 0x00007fff80469c02 CGXRedrawSpecifiedWindowsToDisplayAndRegion + 3663 7 com.apple.CoreGraphics 0x00007fff802afb42 CGXUpdateMagicMirror + 641 8 com.apple.CoreGraphics 0x00007fff8029092e CGXUpdateDisplay + 1308 9 com.apple.CoreGraphics 0x00007fff8045cbc2 CGXFlushSurface + 732 10 com.apple.CoreGraphics 0x00007fff8048440d _CGXFlushSurfaceInline + 231 11 com.apple.CoreGraphics 0x00007fff803f366c _XFlushSurfaceInline + 205 12 com.apple.CoreGraphics 0x00007fff802c31cd CGXServices_server + 108 13 com.apple.CoreGraphics 0x00007fff802c2e8a connectionHandler + 220 14 com.apple.CoreGraphics 0x00007fff802a4f2d CGXPostPortData + 175 15 com.apple.CoreGraphics 0x00007fff802a4d37 CGXRunOneServerPass + 451 16 com.apple.CoreGraphics 0x00007fff802a1e4d CGXRunOneServicesPass + 672 17 com.apple.CoreGraphics 0x00007fff802aad4a CGXServerLoop + 139 18 com.apple.CoreGraphics 0x00007fff80275856 CGXGetRootAdminCredentials + 0 19 WindowServer 0x0000000100000f29 main + 9 20 WindowServer 0x0000000100000f18 start + 52 Thread 1: Dispatch queue: com.apple.libdispatch-manager 0 libSystem.B.dylib 0x00007fff88c7408a kevent + 10 1 libSystem.B.dylib 0x00007fff88c75f5d _dispatch_mgr_invoke + 154 2 libSystem.B.dylib 0x00007fff88c75c34 _dispatch_queue_invoke + 185 3 libSystem.B.dylib 0x00007fff88c7575e _dispatch_worker_thread2 + 252 4 libSystem.B.dylib 0x00007fff88c75088 _pthread_wqthread + 353 5 libSystem.B.dylib 0x00007fff88c74f25 start_wqthread + 13 Thread 2: 0 libSystem.B.dylib 0x00007fff88c5b2fa mach_msg_trap + 10 1 libSystem.B.dylib 0x00007fff88c5b96d mach_msg + 59 2 com.apple.CoreFoundation 0x00007fff846173c2 __CFRunLoopRun + 1698 3 com.apple.CoreFoundation 0x00007fff8461684f CFRunLoopRunSpecific + 575 4 com.apple.CoreFoundation 0x00007fff846165d6 CFRunLoopRun + 70 5 com.apple.CoreGraphics 0x00007fff8028773e eventThread + 470 6 libSystem.B.dylib 0x00007fff88c94456 _pthread_start + 331 7 libSystem.B.dylib 0x00007fff88c94309 thread_start + 13 Thread 3: 0 libSystem.B.dylib 0x00007fff88c5b2fa mach_msg_trap + 10 1 libSystem.B.dylib 0x00007fff88c5b96d mach_msg + 59 2 com.apple.QuartzCore 0x00007fff8317abe2 CA::Render::Server::server_thread(void*) + 177 3 com.apple.QuartzCore 0x00007fff8317ab22 thread_fun + 34 4 libSystem.B.dylib 0x00007fff88c94456 _pthread_start + 331 5 libSystem.B.dylib 0x00007fff88c94309 thread_start + 13 Thread 4: 0 libSystem.B.dylib 0x00007fff88c95eb6 __semwait_signal + 10 1 libSystem.B.dylib 0x00007fff88c99cd1 _pthread_cond_wait + 1286 2 com.apple.CoreGraphics 0x00007fff8036082a layer_blit_work_queue_thread + 714 3 com.apple.CoreGraphics 0x00007fff80360a9c layer_blit_work_queue_server + 156 4 libSystem.B.dylib 0x00007fff88c94456 _pthread_start + 331 5 libSystem.B.dylib 0x00007fff88c94309 thread_start + 13 Thread 5: 0 libSystem.B.dylib 0x00007fff88c74eaa __workq_kernreturn + 10 1 libSystem.B.dylib 0x00007fff88c752bc _pthread_wqthread + 917 2 libSystem.B.dylib 0x00007fff88c74f25 start_wqthread + 13 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x00000000e00002c2 rbx: 0x0000000112f65000 rcx: 0x00007fff88c5b2fa rdx: 0x0000000012fa8000 rdi: 0x00007fff5fbed310 rsi: 0x00007fff711475c0 rbp: 0x00007fff5fbee4a0 rsp: 0x00007fff5fbee4a0 r8: 0x0000000000000e03 r9: 0x0000000000000000 r10: 0x00000000000010bc r11: 0x0000000000000206 r12: 0x0000000112fa8000 r13: 0x0000000000000003 r14: 0x00007fff5fbee4d0 r15: 0x00000001003f48d0 rip: 0x00000002000119a4 rfl: 0x0000000000010246 cr2: 0x0000000000000000 [/CODE] [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Window manager crashes when I run the program I'm making. How do I debug?
Top