2014-09-20 26 views
21

Sto riscontrando nuovi arresti anomali specifici per l'app in esecuzione su iOS 8. Non è possibile capire quale sia il problema, non è stato possibile riprodurre il problema. Accade all'avvio dell'app e l'app non chiama direttamente le funzioni OpenGL ES.L'app si arresta in modo anomalo a gpus_ReturnNotPermittedKillClient

InitialViewControllerviewDidAppear metodo integrale # 92 I avviare un segue da storyboard: [self performSegueWithIdentifier:segueIdentifier sender:self]; dove self è InitialViewController classe.

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 

Per favore qualcuno può aiutarmi a trovare ciò che la causa principale di questo problema è.

+0

Simile a questo http://stackoverflow.com/questions/25919665/mysterious-crash-on-ios-8. Non esattamente lo stesso backtrace, però. Entrambi avvengono durante 'gldCreateContext()'. –

+0

Questo assomiglia allo stesso backtrace, almeno i primi frame: http://stackoverflow.com/questions/25135185/google-maps-api-opengles-crash. –

+0

Ho lo stesso problema. – kokluch

risposta

7

L'applicazione verrà interrotta se tenta di eseguire i comandi OpenGL ES in background.

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

+3

Come ho accennato nella mia domanda, "L'app non chiama direttamente le funzioni OpenGL ES". – 0x8badf00d

+0

quindi deve essere un tipo di libreria che stai utilizzando? –

+6

Probabilmente AdMob o qualcosa in una Webview che utilizza WebGL – jjxtra

Problemi correlati