Skip to content

Instantly share code, notes, and snippets.

@TimOliver
Created October 17, 2015 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TimOliver/640f6dc4e33c3329643e to your computer and use it in GitHub Desktop.
Save TimOliver/640f6dc4e33c3329643e to your computer and use it in GitHub Desktop.
Thread : Crashed: com.apple.main-thread
0 OpenGLES 0x0000000187b03930 +[EAGLContext setCurrentContext:] + 84
1 OpenGLES 0x0000000187b0391c +[EAGLContext setCurrentContext:] + 64
2 CoreImage 0x0000000184c28600 __is_gpu_A9_or_higher_block_invoke + 188
3 libdispatch.dylib 0x000000019999d770 _dispatch_client_callout + 16
4 libdispatch.dylib 0x000000019999e5b4 dispatch_once_f + 80
5 CoreImage 0x0000000184c28540 is_gpu_A9_or_higher + 60
6 CoreImage 0x0000000184c08ad8 CI::GLContext::surface_rowbytes_alignment_for_output(CI::PixelFormat) const + 24
7 CoreImage 0x0000000184c1be18 CI::_get_bitmap(CI::Context*, CI::Image*, CGRect, CGColorSpace*, CI::Bitmap*) + 140
8 CoreImage 0x0000000184c1bcdc CI::image_get_bitmap(CI::Context*, CI::Image*, CGRect, CGColorSpace*, CI::Bitmap*, unsigned long) + 732
9 CoreImage 0x0000000184be1308 -[CIContext render:toBitmap:rowBytes:bounds:format:colorSpace:] + 760
10 CoreUI 0x000000018d46f768 -[CUIShapeEffectStack newFlattenedImageFromShapeCGImage:withScale:ciContext:] + 384
11 CoreUI 0x000000018d474cb4 -[CUICatalog imageByStylingImage:stylePresetName:styleConfiguration:foregroundColor:scale:] + 116
12 UIKit 0x0000000189e11af0 -[UIImage _imageWithStylePresets:withTintColor:] + 628
13 UIKit 0x0000000189b42924 -[UIImageView _setImageViewContents:] + 1316
14 UIKit 0x0000000189b42028 -[UIImageView _updateState] + 616
15 UIKit 0x0000000189b414d8 -[UIImageView _setViewGeometry:forMetric:] + 380
16 UIKit 0x0000000189b3df44 -[UIView(Geometry) sizeToFit] + 224
17 UIKit 0x0000000189e5b5a4 -[UINavigationBar _intrinsicContentSizeInvalidatedForChildView:] + 60
18 UIKit 0x000000018a35d738 -[UIView(AdditionalLayoutSupport) _invalidateIntrinsicContentSizeNeedingLayout:] + 128
19 UIKit 0x0000000189ecee20 -[UIImageView _updateImageViewForOldImage:newImage:] + 456
20 UIKit 0x0000000189b41734 -[UIImageView setImage:] + 356
21 UIKit 0x0000000189becdf0 -[UINavigationBar _updateBackIndicatorImage] + 480
22 UIKit 0x0000000189bccbf8 -[UINavigationBar layoutSubviews] + 2192
23 UIKit 0x0000000189b2eff0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 644
24 QuartzCore 0x0000000189335f14 -[CALayer layoutSublayers] + 148
25 QuartzCore 0x0000000189330b20 CA::Layer::layout_if_needed(CA::Transaction*) + 292
26 UIKit 0x0000000189b45790 -[UIView(Hierarchy) layoutBelowIfNeeded] + 884
27 UIKit 0x0000000189b41da4 +[UIView(Animation) performWithoutAnimation:] + 80
28 UIKit 0x0000000189bcbc00 -[UINavigationController _positionNavigationBarHidden:edge:initialOffset:] + 656
29 UIKit 0x0000000189bcb8e0 -[UINavigationController _positionNavigationBarHidden:edge:] + 280
30 UIKit 0x0000000189bcaf84 -[UINavigationController setNavigationBar:] + 892
31 UIKit 0x0000000189eb8f70 -[UINavigationController _navigationBarHiddenByDefault:] + 132
32 UIKit 0x0000000189bc7c10 -[UINavigationController loadView] + 208
33 UIKit 0x0000000189b3323c -[UIViewController loadViewIfRequired] + 144
34 UIKit 0x0000000189b33194 -[UIViewController view] + 28
35 UIKit 0x0000000189bc74d8 -[UINavigationController pushViewController:transition:forceImmediate:] + 620
36 UIKit 0x0000000189bc721c -[UINavigationController pushViewController:animated:] + 648
37 UIKit 0x0000000189c29fd4 -[UINavigationController initWithRootViewController:] + 144
38 iComics 0x00000001001d9878 -[ICRootViewController viewDidLoad] (ICRootViewController.m:65)
39 UIKit 0x0000000189b33610 -[UIViewController loadViewIfRequired] + 1124
40 UIKit 0x0000000189b33194 -[UIViewController view] + 28
41 UIKit 0x0000000189b39f70 -[UIWindow addRootViewControllerViewIfPossible] + 76
42 UIKit 0x0000000189b37454 -[UIWindow _setHidden:forced:] + 264
43 UIKit 0x0000000189bab75c -[UIWindow makeKeyAndVisible] + 48
44 iComics 0x000000010009cf8c -[ICAppDelegate setUpAndDisplayWindow] (ICAppDelegate.m:164)
45 iComics 0x000000010009c604 -[ICAppDelegate application:didFinishLaunchingWithOptions:] (ICAppDelegate.m:43)
46 UIKit 0x0000000189ba7184 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 400
47 UIKit 0x0000000189dcfe60 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2904
48 UIKit 0x0000000189dd41a4 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1660
49 UIKit 0x0000000189dd12e4 -[UIApplication workspaceDidEndTransaction:] + 168
50 FrontBoardServices 0x000000018e1777ec -[FBSSerialQueue _performNext] + 184
51 FrontBoardServices 0x000000018e177b6c -[FBSSerialQueue _performNextFromRunLoopSource] + 56
52 CoreFoundation 0x00000001845945a4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
53 CoreFoundation 0x0000000184594038 __CFRunLoopDoSources0 + 540
54 CoreFoundation 0x0000000184591d38 __CFRunLoopRun + 724
55 CoreFoundation 0x00000001844c0dc0 CFRunLoopRunSpecific + 384
56 UIKit 0x0000000189ba00ac -[UIApplication _run] + 460
57 UIKit 0x0000000189b9af44 UIApplicationMain + 204
58 iComics 0x00000001000b98a4 main (main.m:15)
59 libdyld.dylib 0x00000001999ce8b8 start + 4
@skyezju
Copy link

skyezju commented Aug 1, 2016

Hi, I met the same crash as you noted. Have you found a solution for it?

@GuoZhiQiang
Copy link

It's because UINavigationBar attempting to create a GL surface while it is in the background. But my crash happens on iOS8 device only. I see your system is 9.0. It's confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment