[opensource-dev] Mac viewer and Apple maintained opensource libraries
Geir Nøklebye
geir.noklebye at dayturn.com
Thu Feb 2 05:15:07 PST 2017
This is the typical anatomy of the crash that accompanies the GPU reset. It also crash even if you turn of shadows and ambient occlusion, but then with much lower frequency,
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.GeForceGLDriver 0x906aeb6c 0x9037e000 + 3345260
1 com.apple.GeForceGLDriver 0x905a9c99 gldGetQueryInfo + 77
2 GLEngine 0x981decd0 glGetQueryObject_Core + 311
3 GLEngine 0x981deda2 glGetQueryObjectuiv_Exec + 47
4 libGL.dylib 0x97590a00 glGetQueryObjectuivARB + 29
5 org.kokuaviewer.KokuaOS 0x01342ef7 LLOcclusionCullingGroup::checkOcclusion() + 2071
6 org.kokuaviewer.KokuaOS 0x015d3cf3 LLPipeline::stateSort(LLCamera&, LLCullResult&) + 1539
7 org.kokuaviewer.KokuaOS 0x015f85f1 LLPipeline::renderShadow(glh::ns_float::matrix4&, glh::ns_float::matrix4&, LLCamera&, LLCullResult&, bool, bool, unsigned int) + 705
8 org.kokuaviewer.KokuaOS 0x015ff3e6 LLPipeline::generateSunShadow(LLCamera&) + 17350
9 org.kokuaviewer.KokuaOS 0x011bf1c0 display(int, float, int, int) + 12304
10 org.kokuaviewer.KokuaOS 0x003055b3 LLAppViewer::mainLoop() + 9523
11 org.kokuaviewer.KokuaOS 0x00347edb runMainLoop() + 43
12 org.kokuaviewer.KokuaOS 0x002b4543 -[LLAppDelegate mainLoop] + 19
13 com.apple.Foundation 0x95e11796 __NSFireTimer + 97
14 com.apple.CoreFoundation 0x946bacc6 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
15 com.apple.CoreFoundation 0x946ba7dd __CFRunLoopDoTimer + 1213
16 com.apple.CoreFoundation 0x946ba27e __CFRunLoopDoTimers + 350
17 com.apple.CoreFoundation 0x946b1de0 __CFRunLoopRun + 2192
18 com.apple.CoreFoundation 0x946b12ea CFRunLoopRunSpecific + 506
19 com.apple.CoreFoundation 0x946b10db CFRunLoopRunInMode + 123
20 com.apple.HIToolbox 0x93db0d36 RunCurrentEventLoopInMode + 268
21 com.apple.HIToolbox 0x93db0b22 ReceiveNextEventCommon + 494
22 com.apple.HIToolbox 0x93db091b _BlockUntilNextEventMatchingListInModeWithFilter + 83
23 com.apple.AppKit 0x9257bfed _DPSNextEvent + 1227
24 com.apple.AppKit 0x92ce0274 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1742
25 com.apple.AppKit 0x92cdfb9e -[NSApplication(NSEvent) nextEventMatchingMask:untilDate:inMode:dequeue:] + 132
26 com.apple.AppKit 0x92570c88 -[NSApplication run] + 943
27 com.apple.AppKit 0x9253dc26 NSApplicationMain + 1368
28 libdyld.dylib 0x9f7883b5 start + 1
I forgot to mention I always build with RelWithDebInfo and -O3 optimization to get Apple’s crash reports. I have turned off as much of Breakpad as possible without ripping it completely out. To debug macOS applications without Xcode debugging and the system generated crash reports is almost impossible.
More information about the opensource-dev
mailing list