2014-09-20 27 views
21
ab

Ich sehe neue Abstürze speziell für die App unter iOS 8. Konnte nicht herausfinden, was das Problem ist, konnte das Problem nicht reproduzieren. Wird bei App StartUp angezeigt und App ruft OpenGL ES-Funktionen nicht direkt auf.App stürzt bei gpus_ReturnNotPermittedKillClient

InitialViewControllerviewDidAppear Methode line # 92i initiieren eine segue von Storyboard von: [self performSegueWithIdentifier:segueIdentifier sender:self]; wo selfInitialViewController Klasse ist.

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 

Kann jemand bitte helfen Sie mir zu finden, was die Ursache für dieses Problem ist.

+0

Ähnlich wie diese http://stackoverflow.com/questions/25919665/mysterious-crash-on-ios-8. Nicht genau das gleiche Backtrace. Beide treten während 'gldCreateContext()' auf. –

+0

Dieser sieht aus wie der gleiche Backtrace, zumindest die oberen paar Frames: http://StackOverflow.com/Questions/25135185/google-maps-api-opengles-crash. –

+0

Ich habe das gleiche Problem. – kokluch

Antwort

7

Die Anwendung wird beendet, wenn sie versucht, OpenGL ES-Befehle im Hintergrund auszuführen.

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

+3

Wie ich in meiner Frage erwähnt habe, "App ruft OpenGL ES Funktionen nicht direkt auf." – 0x8badf00d

+0

dann muss es eine Art von Bibliothek sein, die Sie verwenden? –

+6

Wahrscheinlich AdMob oder etwas in einem Webview mit WebGL – jjxtra