我在iOS 8上收到了很多关于这个堆栈跟踪的崩溃报告:
Date/Time: 2014-09-17T20:26:15Z
OS Version: iPhone OS 8.0 (12A365)
Report Version: 104
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x1
Crashed Thread: 0
Thread 0 Crashed:
0 libGPUSupportMercury.dylib 0x2a4f88fe gldGetBufferAllocationIdentifiers + 194
1 libGPUSupportMercury.dylib 0x2a4f93cb gpusSubmitDataBuffers + 108
2 libGPUSupportMercury.dylib 0x2a4f9249 gldCreateContext + 206
3 GLEngine 0x2613c93b gliCreateContextWithShared + 600
4 OpenGLES 0x26218ab3 glGetFramebufferParameteriAPPLE + 776
5 CoreImage 0x23e88b8b 0x23dea000 + 650123
6 libdispatch.dylib 0x314558b7 0x31454000 + 6327
7 libdispatch.dylib 0x314564fb dispatch_once_f + 60
8 CoreImage 0x23e88afb 0x23dea000 + …Run Code Online (Sandbox Code Playgroud) 我写了一个模糊图像的功能,但是100个用户中有1个遇到了这种崩溃.我无法复制它,无法调试它.
这是崩溃日志:
Thread : Crashed: com.apple.root.background-qos
0 libGPUSupportMercury.dylib 0x296fb8fe gpus_ReturnNotPermittedKillClient
1 libGPUSupportMercury.dylib 0x296fc3cb gpusSubmitDataBuffers
2 libGPUSupportMercury.dylib 0x296fc249 gldCreateContext
3 GLEngine 0x252ff93b gliCreateContextWithShared
4 OpenGLES 0x253dbab3 -[EAGLContext initWithAPI:properties:] + 406
5 CoreImage 0x2303ba8b ___ZN2CI11can_use_gpuEv_block_invoke + 142
6 libdispatch.dylib 0x307107a7 _dispatch_client_callout + 22
7 libdispatch.dylib 0x307113eb dispatch_once_f + 62
8 CoreImage 0x2303b9fb CI::can_use_gpu() + 98
9 CoreImage 0x22fb9b79 +[CIContext contextWithOptions:] + 188
10 Test 0x0016121b
-[NewRestaurantViewController blur:]
12 libdispatch.dylib 0x307107bb _dispatch_call_block_and_release + 10
13 libdispatch.dylib 0x30719dab _dispatch_root_queue_drain + 866
14 libdispatch.dylib 0x3071acd7 …Run Code Online (Sandbox Code Playgroud)