UIPageVIewController sendChildViewAppearAnimated crash - ios

[UIPageViewController _sendChildViewWill:appear:animated:] + 290
There's nothing in the stack trace from my app. What's causing this crash?
0
libobjc.A.dylib
objc_msgSend + 5
countByEnumeratingWithState:objects:count:
1
UIKit
-[UIPageViewController _sendChildViewWill:appear:animated:] + 290
2
UIKit
-[UIPageViewController viewDidAppear:] + 68
3
UIKit
-[UIViewController _setViewAppearState:isAnimating:] + 410
4
CoreFoundation
__53-[__NSArrayI enumerateObjectsWithOptions:usingBlock:]_block_invoke + 52
5
CoreFoundation
-[__NSArrayI enumerateObjectsWithOptions:usingBlock:] + 220
6
UIKit
-[UIViewController _setViewAppearState:isAnimating:] + 724
7
UIKit
-[UIViewController _endAppearanceTransition:] + 264
8
UIKit
-[UIWindowController transitionViewDidComplete:fromView:toView:removeFromView:] + 1714
9
UIKit
__101-[UIWindowController transition:fromViewController:toViewController:target:didEndSelector:animation:]_block_invoke293 + 170
10
UIKit
-[_UIViewControllerTransitionContext completeTransition:] + 74
11
UIKit
-[UITransitionView notifyDidCompleteTransition:] + 288
12
UIKit
-[UITransitionView _didCompleteTransition:] + 944
13
UIKit
-[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 178
14
UIKit
-[UIViewAnimationState animationDidStop:finished:] + 70
15
QuartzCore
CA::Layer::run_animation_callbacks(void*) + 232
16 libdispatch.dylib
_dispatch_client_callout + 22
23 UIKit
UIApplicationMain + 1136
24
main.m line 14

Related

migrated project from xcode 8 to xcode 9 crash on launcher screen

Everything was working fine on xcode 7.3.1, Than I have to add braintree 3ds sdk which is supported on xcode 8. So, I migrated the code to xcode 8 and than xcode 9. Now, build working fine on below IOS 11 but on ios 11 and above app is crashing before opening new main screen. I am new to Ios please help.
it's crashing on this line :
let vc = storyboard?.instantiateViewController(withIdentifier: "KbNav") as! KabNavigationController
2018-08-30 12:25:52.730641+0500 Kab[2970:32711] *** Assertion failure in
-[_UINavigationBarVisualProviderModernIOS _contentViewFittingHeight],
/BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-
3698.33.6/_UINavigationBarVisualProviderModernIOS.m:569
2018-08-30 12:25:52.769549+0500 Kab[2970:32711] *** Terminating app due
to uncaught exception 'NSInternalInconsistencyException', reason: 'Sigh.
Contentview size is zero.'
*** First throw call stack:
(
0 CoreFoundation 0x0000000115da712b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000114d50f41 objc_exception_throw + 48
2 CoreFoundation 0x0000000115dac2f2 +[NSException raise:format:arguments:] + 98
3 Foundation 0x00000001147f1d69 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 193
4 UIKit 0x00000001131382f5 -[_UINavigationBarVisualProviderModernIOS _contentViewFittingHeight] + 265
5 UIKit 0x0000000112eb65e0 -[UINavigationItem _desiredHeightForBarMetrics:defaultHeightBlock:] + 90
6 UIKit 0x000000011313afa1 -[_UINavigationBarVisualProviderModernIOS heightRangeFittingWidth:] + 412
7 UIKit 0x000000011264a0ed -[UINavigationBar _heightRangeForNavigationItem:fittingWidth:] + 210
8 UIKit 0x0000000112726a98 -[UINavigationController _intrinsicNavigationBarHeightRangeForViewController:] + 187
9 UIKit 0x00000001127269b6 -[UINavigationController _preferredHeightForHidingNavigationBarForViewController:] + 628
10 UIKit 0x000000011271688f -[UINavigationController _positionNavigationBarHidden:edge:initialOffset:] + 356
11 UIKit 0x0000000112716cf8 -[UINavigationController _positionNavigationBarHidden:edge:] + 388
12 UIKit 0x000000011271e555 -[UINavigationController loadView] + 243
13 UIKit 0x00000001126e105c -[UIViewController loadViewIfRequired] + 195
14 UIKit 0x00000001126e18b9 -[UIViewController view] + 27
15 Kab 0x000000010f00faea -[SlideNavigationController setEnableShadow:] + 74
16 Kab 0x000000010f00d494 -[SlideNavigationController setup] + 244
17 Kab 0x000000010f00d1d1 -[SlideNavigationController initWithCoder:] + 145
18 Kab 0x000000010f20e1d6 _T08Kab0A20NavigationControllerCACSgSo7NSCoderC5coder_tcfc + 214
19 Kab 0x000000010f20e29f _T08Kab0A20NavigationControllerCACSgSo7NSCoderC5coder_tcfcTo + 47
20 UIKit 0x00000001129ca4c8 -[UIClassSwapper initWithCoder:] + 246
21 UIKit 0x0000000112c1f109 UINibDecoderDecodeObjectForValue + 704
22 UIKit 0x0000000112c1ee3e -[UINibDecoder decodeObjectForKey:] + 89
23 UIKit 0x000000011264675a -[UINavigationBar initWithCoder:] + 753
24 UIKit 0x0000000112c1f109 UINibDecoderDecodeObjectForValue + 704
25 UIKit 0x0000000112c1ee3e -[UINibDecoder decodeObjectForKey:] + 89
26 UIKit 0x0000000112eb15f2 -[UINavigationItem initWithCoder:] + 1018
27 UIKit 0x0000000112c1f109 UINibDecoderDecodeObjectForValue + 704
28 UIKit 0x0000000112c1ee3e -[UINibDecoder decodeObjectForKey:] + 89
29 UIKit 0x00000001126dc053 -[UIViewController initWithCoder:] + 432
30 Kab 0x000000010f29a6a8 _T08Kab18HomeViewControllerCACSgSo7NSCoderC5coder_tcfc + 7704
31 Kab 0x000000010f29a77f _T08Kab18HomeViewControllerCACSgSo7NSCoderC5coder_tcfcTo + 47
32 UIKit 0x00000001129ca4c8 -[UIClassSwapper initWithCoder:] + 246
33 UIKit 0x0000000112c1f109 UINibDecoderDecodeObjectForValue + 704
34 UIKit 0x0000000112c1ee3e -[UINibDecoder decodeObjectForKey:] + 89
35 UIKit 0x00000001129ca194 -[UIRuntimeConnection initWithCoder:] + 178
36 UIKit 0x00000001129ca8d0 -[UIRuntimeEventConnection initWithCoder:] + 59
37 UIKit 0x0000000112c1f109 UINibDecoderDecodeObjectForValue + 704
38 UIKit 0x0000000112c1f2a7 UINibDecoderDecodeObjectForValue + 1118
39 UIKit 0x0000000112c1ee3e -[UINibDecoder decodeObjectForKey:] + 89
40 UIKit 0x00000001129c9391 -[UINib instantiateWithOwner:options:] + 1262
41 UIKit 0x0000000112e59fc2 -[UIStoryboard instantiateViewControllerWithIdentifier:] + 181
42 Kab 0x000000010f135a7b _T08Kabr24LaunchTourViewControllerC4skipyyXlF + 219
43 Kab 0x000000010f136118 _T08Kab24LaunchTourViewControllerC4skipyyXlFTo + 56
44 UIKit 0x000000011253a972 -[UIApplication sendAction:to:from:forEvent:] + 83
45 UIKit 0x00000001126b9c3c -[UIControl sendAction:to:forEvent:] + 67
46 UIKit 0x00000001126b9f59 -[UIControl _sendActionsForEvents:withEvent:] + 450
47 UIKit 0x00000001126b8e86 -[UIControl touchesEnded:withEvent:] + 618
48 UIKit 0x00000001125b0807 -[UIWindow _sendTouchesForEvent:] + 2807
49 UIKit 0x00000001125b1f2a -[UIWindow sendEvent:] + 4124
50 UIKit 0x0000000112555365 -[UIApplication sendEvent:] + 352
51 UIKit 0x0000000112ea1a1d __dispatchPreprocessedEventFromEventQueue + 2809
52 UIKit 0x0000000112ea4672 __handleEventQueueInternal + 5957
53 CoreFoundation 0x0000000115d4a101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
54 CoreFoundation 0x0000000115de9f71 __CFRunLoopDoSource0 + 81
55 CoreFoundation 0x0000000115d2ea19 __CFRunLoopDoSources0 + 185
56 CoreFoundation 0x0000000115d2dfff __CFRunLoopRun + 1279
57 CoreFoundation 0x0000000115d2d889 CFRunLoopRunSpecific + 409
58 GraphicsServices 0x0000000118d049c6 GSEventRunModal + 62
59 UIKit 0x00000001125395d6 UIApplicationMain + 159
60 Kab 0x000000010f191137 main + 55
61 libdyld.dylib 0x0000000117112d81 start + 1
62 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
KbNavigationController
class KabNavigationController: SlideNavigationController {
var menuItems: [(id: String, image: String, text: String)] = []
override func viewDidLoad() {
self.leftMenu = self.storyboard?.instantiateViewController(withIdentifier: "MenuViewController")
navigationBar.barTintColor = Theme.DarkGray
navigationBar.tintColor = Theme.White
navigationBar.barStyle = UIBarStyle.black
// Popup Navigation Bar
STPopupNavigationBar.appearance().isHidden = true
}
}
I have searched and debug my code alot keep in mind always enable exception break points to trigger exactly which line causing the crash. You can learn it from this Exception Breakpoint in Xcode . I found my solution here https://github.com/aryaxt/iOS-Slide-Menu/issues/250.
move these two lines from setup function to viewWillLayoutSubviews of Slide Menu.
//moved this from the `setup` function:
self.enableShadow = YES;
self.enableSwipeGesture = YES;

Crashed Foundation EXC_BAD_ACCESS KERN_INVALID_ADDRESS

We are having a crash in Foundation, but we are unable to detect what could be the problem. We think that maybe an animation could trigger this problem.
Has anybody encounter this kind of crash? Here is the trace of the problem.
Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x1dfc44e6 objc_msgSend + 5
1 Foundation 0x1f7b0e77 -[_NSConcreteObservation dealloc] + 96
2 libobjc.A.dylib 0x1dfd1195 objc_object::sidetable_release(bool) + 238
3 Foundation 0x1f679e9d empty + 32
4 Foundation 0x1f5d4787 -[NSConcreteMapTable removeAllItems] + 76
5 UIKit 0x246e5259 -[UIView(AdditionalLayoutSupport) _clearLayoutVariableObservationsOnlyToSupportTAMICChange:] + 56
6 UIKit 0x23efaa0b __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke + 380
7 Foundation 0x1f5f7b03 -[NSISEngine withBehaviors:performModifications:] + 262
8 UIKit 0x23df6e8b -[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:] + 220
9 UIKit 0x23efab91 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke_2 + 170
10 UIKit 0x23efaaa7 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke + 536
11 Foundation 0x1f5f7b03 -[NSISEngine withBehaviors:performModifications:] + 262
12 UIKit 0x23df6e8b -[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:] + 220
13 UIKit 0x23efab91 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke_2 + 170
14 UIKit 0x23efaaa7 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke + 536
15 Foundation 0x1f5f7b03 -[NSISEngine withBehaviors:performModifications:] + 262
16 UIKit 0x23df6e8b -[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:] + 220
17 UIKit 0x23df6737 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 92
18 Foundation 0x1f5f7b03 -[NSISEngine withBehaviors:performModifications:] + 262
19 UIKit 0x23df6607 -[UIView(Hierarchy) _postMovedFromSuperview:] + 754
20 UIKit 0x240e8949 __UIViewWasRemovedFromSuperview + 154
21 UIKit 0x23df57a5 -[UIView(Hierarchy) removeFromSuperview] + 1188
22 UIKit 0x24768167 __46-[UIInputWindowController invalidateInputView]_block_invoke + 120
23 UIKit 0x241872b9 -[UIResponder _preserveResponderOverridesWhilePerforming:] + 108
24 UIKit 0x247680eb -[UIInputWindowController invalidateInputView] + 108
25 UIKit 0x24768a17 -[UIInputWindowController changeToInputViewSet:] + 240
26 UIKit 0x24769d91 __43-[UIInputWindowController setInputViewSet:]_block_invoke.1331 + 26
27 UIKit 0x2476382d __77-[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]_block_invoke.932 + 404
28 UIKit 0x23e3363b -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 440
29 UIKit 0x23e33109 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 214
30 UIKit 0x23e32f91 -[UIViewAnimationState animationDidStop:finished:] + 128
31 QuartzCore 0x21c06ee7 CA::Layer::run_animation_callbacks(void*) + 252
32 libdispatch.dylib 0x1e3fa083 _dispatch_client_callout + 22
33 libdispatch.dylib 0x1e3fe5fd _dispatch_main_queue_callback_4CF + 890
34 CoreFoundation 0x1ed104a7 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
35 CoreFoundation 0x1ed0e78f __CFRunLoopRun + 1422
36 CoreFoundation 0x1ec5d533 CFRunLoopRunSpecific + 486
37 CoreFoundation 0x1ec5d341 CFRunLoopRunInMode + 104
38 GraphicsServices 0x20434bfd GSEventRunModal + 156
39 UIKit 0x23e65e67 -[UIApplication _run] + 574
40 UIKit 0x23e60591 UIApplicationMain + 150
41 App 0xb3c158 main (AppDelegate.swift:22)
42 libdispatch.dylib 0x1e42750b (Missing)

SIGSEGV SEGV_MAPERR crash, only iOS 9.2.1

my app crash only iOS 9.2.1
The rest of devices okay. Crash in arbitrary places. Please help me =) I use crittercism. I am new to programming, tell me the right way please. Name SIGSEGV Reason SEGV_MAPERR
0 libobjc.A.dylib 0x0000000180d09bdc objc_msgSend + 24
1 UIKit 0x000000018696a654 -[UINibStringIDTable lookupKey:identifier:] + 128
2 UIKit 0x000000018696614c -[UINibDecoder containsValueForKey:] + 44
3 UIKit 0x0000000186698a8c -[UIScrollView initWithCoder:] + 1396
4 UIKit 0x0000000186b99b00 -[UICollectionView initWithCoder:] + 72
5 UIKit 0x000000018696667c UINibDecoderDecodeObjectForValue + 668
6 UIKit 0x00000001869663c4 -[UINibDecoder decodeObjectForKey:] + 332
7 UIKit 0x000000018684615c -[UIRuntimeConnection initWithCoder:] + 184
8 UIKit 0x000000018696667c UINibDecoderDecodeObjectForValue + 668
9 UIKit 0x00000001869667f4 UINibDecoderDecodeObjectForValue + 1044
10 UIKit 0x00000001869663c4 -[UINibDecoder decodeObjectForKey:] + 332
11 UIKit 0x0000000186845490 -[UINib instantiateWithOwner:options:] + 1216
12 UIKit 0x00000001866ef33c -[UIViewController _loadViewFromNibNamed:bundle:] + 372
13 UIKit 0x00000001864b8250 -[UIViewController loadView] + 172
14 UIKit 0x000000018637bd6c -[UIViewController loadViewIfRequired] + 140
15 UIKit 0x000000018643bda8 -[UINavigationController _layoutViewController:] + 68
16 UIKit 0x000000018643bc80 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 412
17 UIKit 0x000000018643aec8 -[UINavigationController _startTransition:fromViewController:toViewController:] + 140
18 UIKit 0x000000018643aa6c -[UINavigationController _startDeferredTransitionIfNeeded:] + 864
19 UIKit 0x000000018643a694 -[UINavigationController __viewWillLayoutSubviews] + 56
20 UIKit 0x000000018643a5fc -[UILayoutContainerView layoutSubviews] + 204
21 UIKit 0x0000000186377778 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 652
22 QuartzCore 0x0000000183d86b2c -[CALayer layoutSublayers] + 144
23 QuartzCore 0x0000000183d81738 CA::Layer::layout_if_needed() + 288
24 QuartzCore 0x0000000183d815f8 CA::Layer::layout_and_display_if_needed() + 28
25 QuartzCore 0x0000000183d80c94 CA::Context::commit_transaction() + 248
26 QuartzCore 0x0000000183d809dc CA::Transaction::commit() + 508
27 QuartzCore 0x0000000183d7a0cc CA::Transaction::observer_callback() + 76
28 CoreFoundation 0x0000000181640588 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 28
29 CoreFoundation 0x000000018163e32c __CFRunLoopDoObservers + 368
30 CoreFoundation 0x000000018163e75c __CFRunLoopRun + 924
31 CoreFoundation 0x000000018156d680 CFRunLoopRunSpecific + 380
32 GraphicsServices 0x0000000182a7c088 GSEventRunModal + 176
33 UIKit 0x00000001863e4d90 UIApplicationMain + 200
! 34 keep-app 0x0000000100060350 main (main.m:14)
35 libdyld.dylib 0x000000018110e8b8 start + 0
Name SIGSEGV Reason SEGV_MAPERR
0 libobjc.A.dylib 0x0000000180d09bdc objc_msgSend + 24
1 libcache.dylib 0x0000000181062b5c _entry_get_optionally_checking_collisions + 48
2 libcache.dylib 0x0000000181060dd0 _entry_table_resize + 304
3 libcache.dylib 0x0000000181061a9c cache_set_and_retain + 848
4 CoreFoundation 0x00000001815bb470 -[NSCache setObject:forKey:cost:] + 264
5 CoreUI 0x00000001861a2854 -[CUIStructuredThemeStore _canGetRenditionWithKey:isFPO:lookForSubstitutions:] + 856
6 CoreUI 0x00000001861c4d5c -[CUICatalog _resolvedRenditionKeyFromThemeRef:withBaseKey:scaleFactor:deviceIdiom:deviceSubtype:sizeClassHorizontal:sizeClassVertical:memoryClass:graphicsClass:graphicsFallBackOrder:] + 920
7 CoreUI 0x00000001861c40fc -[CUICatalog namedLookupWithName:scaleFactor:deviceIdiom:deviceSubtype:sizeClassHorizontal:sizeClassVertical:] + 144
8 UIKit 0x0000000186bd9994 __98-[_UIAssetManager imageNamed:scale:idiom:subtype:cachingOptions:sizeClassPair:attachCatalogImage:]_block_invoke + 420
9 UIKit 0x0000000186bd9734 -[_UIAssetManager imageNamed:scale:idiom:subtype:cachingOptions:sizeClassPair:attachCatalogImage:] + 208
10 UIKit 0x0000000186bd9f18 -[_UIAssetManager imageNamed:withTrait:] + 524
11 UIKit 0x0000000186773c5c _UIImageWithNameAndTraitCollection + 92
12 UIKit 0x0000000186396220 _UIImageWithName + 44
13 UIKit 0x00000001865d7650 -[UISlider createThumbViewNeue] + 160
14 UIKit 0x00000001865d6dec -[UISlider _initSubviews] + 68
15 UIKit 0x00000001865d69c8 -[UISlider layoutSubviews] + 136
16 UIKit 0x0000000186377778 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 652
17 QuartzCore 0x0000000183d86b2c -[CALayer layoutSublayers] + 144
18 QuartzCore 0x0000000183d81738 CA::Layer::layout_if_needed() + 288
19 UIKit 0x000000018638e454 -[UIView(Hierarchy) layoutBelowIfNeeded] + 920
20 UIKit 0x000000018643c20c -[UINavigationController _layoutViewController:] + 1192
21 UIKit 0x0000000186439be4 -[UINavigationController _layoutTopViewController] + 224
22 UIKit 0x00000001864527dc -[UINavigationController navigationTransitionView:didEndTransition:fromView:toView:] + 724
23 UIKit 0x00000001864524c8 -[UINavigationTransitionView _notifyDelegateTransitionDidStopWithContext:] + 412
24 UIKit 0x00000001864521d0 -[UINavigationTransitionView _cleanupTransition] + 740
25 UIKit 0x00000001863b6e90 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 308
26 UIKit 0x00000001863b510c +[UIViewAnimationState popAnimationState] + 320
27 UIKit 0x0000000186445cec -[UINavigationTransitionView transition:fromView:toView:] + 1788
28 UIKit 0x000000018643b8c0 -[UINavigationController _startTransition:fromViewController:toViewController:] + 2692
29 UIKit 0x000000018643aa6c -[UINavigationController _startDeferredTransitionIfNeeded:] + 864
30 UIKit 0x000000018643a694 -[UINavigationController __viewWillLayoutSubviews] + 56
31 UIKit 0x000000018643a5fc -[UILayoutContainerView layoutSubviews] + 204
32 UIKit 0x0000000186377778 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 652
33 QuartzCore 0x0000000183d86b2c -[CALayer layoutSublayers] + 144
34 QuartzCore 0x0000000183d81738 CA::Layer::layout_if_needed() + 288
35 QuartzCore 0x0000000183d815f8 CA::Layer::layout_and_display_if_needed() + 28
36 QuartzCore 0x0000000183d80c94 CA::Context::commit_transaction() + 248
37 QuartzCore 0x0000000183d809dc CA::Transaction::commit() + 508
38 QuartzCore 0x0000000183d7a0cc CA::Transaction::observer_callback() + 76
39 CoreFoundation 0x0000000181640588 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 28
40 CoreFoundation 0x000000018163e32c __CFRunLoopDoObservers + 368
41 CoreFoundation 0x000000018163e75c __CFRunLoopRun + 924
42 CoreFoundation 0x000000018156d680 CFRunLoopRunSpecific + 380
43 GraphicsServices 0x0000000182a7c088 GSEventRunModal + 176
44 UIKit 0x00000001863e4d90 UIApplicationMain + 200
! 45 keep-app 0x00000001000b4350 main (main.m:14)
46 libdyld.dylib 0x000000018110e8b8 start + 0
Name SIGSEGV Reason SEGV_MAPERR
0 libsystem_malloc.dylib 0x0000000181257be8 szone_free + 2940
1 CoreFoundation 0x00000001815699a4 CFRelease + 1084
2 CoreUI 0x00000001861a240c -[CUIStructuredThemeStore renditionWithKey:usingKeySignature:] + 1596
3 CoreUI 0x00000001861c435c -[CUICatalog _storageRefForRendition:representsODRContent:] + 100
4 CoreUI 0x00000001861c4124 -[CUICatalog namedLookupWithName:scaleFactor:deviceIdiom:deviceSubtype:sizeClassHorizontal:sizeClassVertical:] + 184
5 UIKit 0x0000000186bd9994 __98-[_UIAssetManager imageNamed:scale:idiom:subtype:cachingOptions:sizeClassPair:attachCatalogImage:]_block_invoke + 420
6 UIKit 0x0000000186bd9734 -[_UIAssetManager imageNamed:scale:idiom:subtype:cachingOptions:sizeClassPair:attachCatalogImage:] + 208
7 UIKit 0x0000000186cec584 -[UIImageAsset imageWithTraitCollection:] + 400
8 UIKit 0x000000018672b058 -[UIImageView _resolveImageForTrait:] + 456
9 UIKit 0x000000018672a928 -[UIImageView _didMoveFromWindow:toWindow:] + 208
10 UIKit 0x0000000186376d7c -[UIView(Internal) _didMoveFromWindow:toWindow:] + 756
11 UIKit 0x0000000186376310 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 148
12 Foundation 0x0000000181fa9500 -[NSISEngine withBehaviors:performModifications:] + 164
13 UIKit 0x0000000186376194 -[UIView(Hierarchy) _postMovedFromSuperview:] + 528
14 UIKit 0x0000000186383b80 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1780
15 UIKit 0x0000000186575600 -[_UIParallaxDimmingView didMoveToWindow] + 176
16 UIKit 0x000000018637705c -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1492
17 UIKit 0x0000000186376d7c -[UIView(Internal) _didMoveFromWindow:toWindow:] + 756
18 UIKit 0x0000000186376310 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 148
19 Foundation 0x0000000181fa9500 -[NSISEngine withBehaviors:performModifications:] + 164
20 UIKit 0x0000000186376194 -[UIView(Hierarchy) _postMovedFromSuperview:] + 528
21 UIKit 0x0000000186383b80 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1780
22 UIKit 0x0000000186615db4 __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke_2 + 1652
23 UIKit 0x000000018638a964 +[UIView(Animation) performWithoutAnimation:] + 76
24 UIKit 0x0000000186575118 __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke + 256
25 UIKit 0x0000000186690840 +[UIView(Internal) _performBlockDelayingTriggeringResponderEvents:] + 216
26 UIKit 0x0000000186574c90 -[_UINavigationParallaxTransition animateTransition:] + 1056
27 UIKit 0x000000018652e6a0 -[UINavigationController _startCustomTransition:] + 3540
28 UIKit 0x000000018643a9b8 -[UINavigationController _startDeferredTransitionIfNeeded:] + 684
29 UIKit 0x000000018643a694 -[UINavigationController __viewWillLayoutSubviews] + 56
30 UIKit 0x000000018643a5fc -[UILayoutContainerView layoutSubviews] + 204
31 UIKit 0x0000000186377778 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 652
32 QuartzCore 0x0000000183d86b2c -[CALayer layoutSublayers] + 144
33 QuartzCore 0x0000000183d81738 CA::Layer::layout_if_needed() + 288
34 QuartzCore 0x0000000183d815f8 CA::Layer::layout_and_display_if_needed() + 28
35 QuartzCore 0x0000000183d80c94 CA::Context::commit_transaction() + 248
36 QuartzCore 0x0000000183d809dc CA::Transaction::commit() + 508
37 QuartzCore 0x0000000183d7a0cc CA::Transaction::observer_callback() + 76
38 CoreFoundation 0x0000000181640588 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 28
39 CoreFoundation 0x000000018163e32c __CFRunLoopDoObservers + 368
40 CoreFoundation 0x000000018163e75c __CFRunLoopRun + 924
41 CoreFoundation 0x000000018156d680 CFRunLoopRunSpecific + 380
42 GraphicsServices 0x0000000182a7c088 GSEventRunModal + 176
43 UIKit 0x00000001863e4d90 UIApplicationMain + 200
! 44 keep-app 0x00000001000c0350 main (main.m:14)
45 libdyld.dylib 0x000000018110e8b8 start + 0
Unfortunately I do not have access to this device iOS 9.2.1. in the simulator and my device is working fine iOS 10.2
A SIGSEGV is an error / signal caused by an invalid memory reference or a segmentation fault. Seems like the app is trying to access an array element out of bounds or trying to use too much memory.
The way to fix this issue is to find out what the exception may be by making it happen on another device (or simulator), or getting the full console logs from that device. An easy way to do this might be to set exception breakpoints to see where the original exception that triggered the SIGSEGV is located.

iOS app crash on -[_UIViewAdditiveAnimationAction runActionForKey:object:arguments:]

iOS app crash on
-[_UIViewAdditiveAnimationAction runActionForKey:object:arguments:]
This is crash log is from Apple.
I am getting crash log as below:
Thread : Crashed: com.apple.main-thread
0 UIKit 0x0000000187fbb4d8 -[_UIViewAdditiveAnimationAction runActionForKey:object:arguments:] + 776
1 UIKit 0x0000000187fbb4c8 -[_UIViewAdditiveAnimationAction runActionForKey:object:arguments:] + 760
2 QuartzCore 0x00000001874c0014 CA::Layer::set_bounds(CA::Rect const&, bool) + 404
3 QuartzCore 0x00000001874bfde8 -[CALayer setBounds:] + 100
4 UIKit 0x0000000187e61438 -[_UISwitchInternalViewNeueStyle1 _transitionKnobToPressed:on:animated:] + 1104
5 UIKit 0x000000018815cff0 -[_UISwitchInternalViewNeueStyle1 setOnTintColor:] + 104
6 UIKit 0x000000018815e800 -[UISwitch initWithCoder:] + 292
7 UIKit 0x0000000188287bd4 UINibDecoderDecodeObjectForValue + 672
8 UIKit 0x000000018828791c -[UINibDecoder decodeObjectForKey:] + 336
9 UIKit 0x000000018817290c -[UIRuntimeConnection initWithCoder:] + 136
10 UIKit 0x00000001881730e0 -[UIRuntimeEventConnection initWithCoder:] + 68
11 UIKit 0x0000000188287bd4 UINibDecoderDecodeObjectForValue + 672
12 UIKit 0x0000000188287d4c UINibDecoderDecodeObjectForValue + 1048
13 UIKit 0x000000018828791c -[UINibDecoder decodeObjectForKey:] + 336
14 UIKit 0x0000000188171c74 -[UINib instantiateWithOwner:options:] + 1220
15 UIKit 0x000000018802ace0 -[UIViewController _loadViewFromNibNamed:bundle:] + 376
16 UIKit 0x0000000187dffe8c -[UIViewController loadView] + 176
17 UIKit 0x0000000187cc723c -[UIViewController loadViewIfRequired] + 144
18 UIKit 0x0000000187d847e8 -[UINavigationController _layoutViewController:] + 72
19 UIKit 0x0000000187d846cc -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 404
20 UIKit 0x0000000187d83920 -[UINavigationController _startTransition:fromViewController:toViewController:] + 132
21 UIKit 0x0000000187d834e4 -[UINavigationController _startDeferredTransitionIfNeeded:] + 868
22 UIKit 0x0000000187d8310c -[UINavigationController __viewWillLayoutSubviews] + 60
23 UIKit 0x0000000187d83074 -[UILayoutContainerView layoutSubviews] + 208
24 UIKit 0x0000000187cc2ff0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 644
25 QuartzCore 0x00000001874c9f14 -[CALayer layoutSublayers] + 148
26 QuartzCore 0x00000001874c4b20 CA::Layer::layout_if_needed(CA::Transaction*) + 292
27 QuartzCore 0x00000001874c49e0 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 32
28 QuartzCore 0x00000001874c407c CA::Context::commit_transaction(CA::Transaction*) + 252
29 QuartzCore 0x00000001874c3dd0 CA::Transaction::commit() + 516
30 UIKit 0x0000000187cc60c0 _UIApplicationHandleEventQueue + 5800
31 CoreFoundation 0x00000001827285a4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
32 CoreFoundation 0x0000000182728038 __CFRunLoopDoSources0 + 540
33 CoreFoundation 0x0000000182725d38 __CFRunLoopRun + 724
34 CoreFoundation 0x0000000182654dc0 CFRunLoopRunSpecific + 384
35 GraphicsServices 0x000000018d7a8088 GSEventRunModal + 180
36 UIKit 0x0000000187d2ef44 UIApplicationMain + 204
37 Instazz 0x0000000100151360 main (main.m:19)
38 libdyld.dylib 0x0000000197aa28b8 start + 4
Please help me with this.
Thanks in Advance.

App crashes at gpus_ReturnNotPermittedKillClient

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

Resources