应用程序在gpus_ReturnNotPermittedKillClient崩溃

我看到特定于在iOS 8上运行的应用程序的新崩溃。无法确定问题是什么,无法重现问题。 发生在App StartUp上,而App不直接调用OpenGL ES函数。

InitialViewController viewDidAppear方法第92行我从storyboard启动一个segue: [self performSegueWithIdentifier:segueIdentifier sender:self]; selfInitialViewController类。

堆栈跟踪:

 Thread: Unknown Name (Crashed) 0 libGPUSupportMercury.dylib 0x28c5c8fe gpus_ReturnNotPermittedKillClient + 10 1 libGPUSupportMercury.dylib 0x28c5d249 gldCreateContext + 206 2 GLEngine 0x248a093b gliCreateContextWithShared + 600 3 OpenGLES 0x2497cab3 -[EAGLContext initWithAPI:properties:] + 404 4 CoreImage 0x225ecb8b ___ZN2CI11can_use_gpuEv_block_invoke + 140 5 libdispatch.dylib 0x2fbb98b7 _dispatch_client_callout + 20 6 libdispatch.dylib 0x2fbba4fb dispatch_once_f + 60 7 CoreImage 0x225ecafb _ZN2CI11can_use_gpuEv + 96 8 CoreImage 0x2256ac79 +[CIContext contextWithOptions:] + 186 9 CoreUI 0x27bdc837 CreateSharedCIContext + 76 10 libsystem_pthread.dylib 0x2fd1ddcf __pthread_once_handler + 48 11 libsystem_platform.dylib 0x2fd16867 _os_once + 40 12 libsystem_pthread.dylib 0x2fd1bf8b pthread_once + 48 13 CoreUI 0x27bdc7d9 +[CUIShapeEffectStack sharedCIContext] + 26 14 CoreUI 0x27be3af7 -[CUICatalog imageByStylingImage:stylePresetName:styleConfiguration:foregroundColor:scale:] + 80 15 UIKit 0x256c89db -[UIImage _imageWithStylePresets:withTintColor:] + 540 16 UIKit 0x25456875 -[UIImageView _setImageViewContents:] + 1074 17 UIKit 0x25455fb5 +[UIView(Animation) performWithoutAnimation:] + 70 18 UIKit 0x25747db9 -[UIImageView _updateImageViewForOldImage:newImage:] + 674 19 UIKit 0x254559c7 -[UIImageView setImage:] + 264 20 UIKit 0x254f01b1 -[UINavigationBar _updateBackIndicatorImage] + 346 21 UIKit 0x254d4143 -[UINavigationBar layoutSubviews] + 2480 22 UIKit 0x25446b37 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 512 23 QuartzCore 0x24e6eccd -[CALayer layoutSublayers] + 134 24 QuartzCore 0x24e6a6b5 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 358 25 UIKit 0x25459183 -[UIView(Hierarchy) layoutBelowIfNeeded] + 136 26 UIKit 0x25455fb5 +[UIView(Animation) performWithoutAnimation:] + 70 27 UIKit 0x254d2fc5 -[UINavigationController _positionNavigationBarHidden:edge:initialOffset:] + 786 28 UIKit 0x254d2c63 -[UINavigationController _positionNavigationBarHidden:edge:] + 200 29 UIKit 0x254cf875 -[UINavigationController loadView] + 246 30 UIKit 0x254493d9 -[UIViewController loadViewIfRequired] + 66 31 UIKit 0x2544935d -[UIViewController view] + 22 32 UIKit 0x254f1faf -[UIViewController shouldAutorotate] + 24 33 UIKit 0x2552bbd7 -[UIViewController _preferredInterfaceOrientationForPresentationInWindow:fromInterfaceOrientation:] + 248 34 UIKit 0x2552a2b9 -[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:animation:] + 2118 35 UIKit 0x2572be1f -[UIViewController _windowControllerBasedPresentViewController:withTransition:completion:] + 4896 36 UIKit 0x2572c4ab __62-[UIViewController presentViewController:animated:completion:]_block_invoke + 256 37 UIKit 0x25529243 -[UIViewController presentViewController:animated:completion:] + 192 38 UIKit 0x2572c63f -[UIViewController presentModalViewController:animated:] + 28 39 MyAppName 0x00082901 -[InitialViewController viewDidAppear:] (InitialViewController.m:92) 40 UIKit 0x2545ed5f -[UIViewController _setViewAppearState:isAnimating:] + 500 41 UIKit 0x254c322f -[UIViewController _executeAfterAppearanceBlock] + 52 42 UIKit 0x254c31bd _applyBlockToCFArrayCopiedToStack + 306 43 UIKit 0x2543f127 _afterCACommitHandler + 484 44 CoreFoundation 0x21f725cd __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18 45 CoreFoundation 0x21f6fc8b __CFRunLoopDoObservers + 276 46 CoreFoundation 0x21f70093 __CFRunLoopRun + 912 47 CoreFoundation 0x21ebe621 CFRunLoopRunSpecific + 474 48 CoreFoundation 0x21ebe433 CFRunLoopRunInMode + 104 49 GraphicsServices 0x2926c0a9 GSEventRunModal + 134 50 UIKit 0x254a8809 UIApplicationMain + 1438 51 MyAppName 0x00074329 main (main.m:36) 52 libdyld.dylib 0x2fbd9aaf start + 0 

有人可以帮我find这个问题的根源是什么。

如果它试图在后台执行OpenGL ES命令,应用程序将被终止。

https://developer.apple.com/library/ios/qa/qa1766/_index.html