应用程序崩溃在gpus_ReturnNotPermittedKillClient [英] App crashes at gpus_ReturnNotPermittedKillClient

查看:1368
本文介绍了应用程序崩溃在gpus_ReturnNotPermittedKillClient的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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



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



Stacktrace:

 线程:未知名称(崩溃)
0 libGPUSupportMercury.dylib 0x28c5c8fe gpus_ReturnNotPermittedKillClient + 10
1 libGPUSupportMercury。 dylib 0x28c5d249 gldCreateContext + 206
2 GLEngine 0x248a093b gliCreateContextWithShared + 600
3 OpenGLES 0x2497cab3 - [EAGLContext initWithAPI:属性:] + 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的(层次)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



有人可以帮我找到这个问题的根本原因。

解决方案

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



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


I am seeing new crashes specific to app running on iOS 8. Couldn't figure out what the issue is, couldn't reproduce the issue. Happens at App StartUp, and App doesn't call OpenGL ES functions directly.

InitialViewController viewDidAppear method line # 92 I initiate a segue from storyboard by: [self performSegueWithIdentifier:segueIdentifier sender:self]; where self is InitialViewController class.

Stacktrace:

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

Can someone please help me find what the root cause for this issue is.

解决方案

Application will be terminated if it attempts to execute OpenGL ES commands in the background.

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

这篇关于应用程序崩溃在gpus_ReturnNotPermittedKillClient的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆