Decipher the iOS crashlog. The program crashes at layoutIfNeeded - ios

I've got crash logs for my app from App Store. I'm not able to reproduce the crash and having a hard time deciphering it.
Following is the log -
Incident Identifier: AEF0FFDD-77E4-460F-97E4-B97A32EAE36D
CrashReporter Key: 78177aeeda1175c67f4467d02c023a2a165d1a01
Hardware Model: iPhone7,1
Process: Visits [4558]
Path: /private/var/containers/Bundle/Application/81AC75BC-433C-43E7-887D-8FC6BF5B5703/Visits.app/Visits
Identifier: com.x.y
Version: 1.1.1 (1.1.1)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.x.y [1143]
Date/Time: 2018-07-20 22:30:36.6608 +0530
Launch Time: 2018-07-20 22:30:35.9017 +0530
OS Version: iPhone OS 11.4.1 (15G77)
Baseband Version: 6.80.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x184136d8c __exceptionPreprocess + 228 (NSException.m:166)
1 libobjc.A.dylib 0x1832f05ec objc_exception_throw + 56 (objc-exception.mm:521)
2 CoreFoundation 0x1840cfd80 -[__NSSingleObjectArrayI objectAtIndex:] + 128 (NSSingleObjectArray.m:16)
3 UIKit 0x18e6b0aa8 -[UITableViewDataSource tableView:cellForRowAtIndexPath:] + 172 (UITableViewDataSource.m:170)
4 UIKit 0x18e3c90f4 -[UITableViewController tableView:cellForRowAtIndexPath:] + 68 (UITableViewController.m:441)
5 UIKit 0x18de130cc -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 668 (UITableView.m:13463)
6 UIKit 0x18de12d84 -[UITableView _createPreparedCellForGlobalRow:willDisplay:] + 80 (UITableView.m:13514)
7 UIKit 0x18de11aa0 -[UITableView _updateVisibleCellsNow:isRecursive:] + 2280 (UITableView.m:2599)
8 UIKit 0x18de0d5ec -[UITableView layoutSubviews] + 140 (UITableView.m:8565)
9 UIKit 0x18dd4a6f4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1420 (UIView.m:15239)
10 QuartzCore 0x1882bfe54 -[CALayer layoutSublayers] + 184 (CALayer.mm:9357)
11 QuartzCore 0x1882c3fe4 CA::Layer::layout_if_needed(CA::Transaction*) + 324 (CALayer.mm:9237)
12 UIKit 0x18dd62bf4 -[UIView(Hierarchy) layoutBelowIfNeeded] + 548 (UIView.m:10438)
13 Visits 0x1007a8300 MainViewController.initialSetupForScreen() + 804 (MainViewController.swift:217)
14 Visits 0x1007a7ea4 MainViewController.viewDidLoad() + 924 (MainViewController.swift:175)
15 Visits 0x1007a8838 #objc MainViewController.viewDidLoad() + 28
16 UIKit 0x18dd51e64 -[UIViewController loadViewIfRequired] + 1020 (UIViewController.m:3192)
17 UIKit 0x18dd51a50 -[UIViewController view] + 28 (UIViewController.m:3214)
18 UIKit 0x18dd42ce4 -[UIWindow addRootViewControllerViewIfPossible] + 136 (UIWindow.m:1358)
19 UIKit 0x18dd41b18 -[UIWindow _setHidden:forced:] + 272 (UIWindow.m:1455)
20 UIKit 0x18ddcf62c -[UIWindow makeKeyAndVisible] + 48 (UIWindow.m:4883)
21 UIKit 0x18dd45274 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3660 (UIApplication.m:2210)
22 UIKit 0x18dd125e0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1680 (UIApplication.m:3491)
23 UIKit 0x18e342b1c __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 784 (_UICanvasLifecycleMonitor.m:175)
24 UIKit 0x18dd11dd0 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 160 (_UICanvas.m:591)
25 UIKit 0x18dd11c6c -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 240 (_UICanvasLifecycleMonitor.m:153)
26 UIKit 0x18dd10afc -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 724 (_UICanvasLifecycleMonitor.m:229)
27 UIKit 0x18e9a684c __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 296 (_UIApplicationCanvas.m:0)
28 UIKit 0x18dd101ec -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 432 (_UIApplicationCanvas.m:156)
29 UIKit 0x18e78bac8 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220 (_UICanvasLifecycleSettingsDiffAction.m:211)
30 UIKit 0x18e8d9bf8 _performActionsWithDelayForTransitionContext + 112 (_UICanvasSettingsDiffAction.m:34)
31 UIKit 0x18dd0fc0c -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 248 (_UICanvasLifecycleSettingsDiffAction.m:182)
32 UIKit 0x18dd0f5a8 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 368 (_UICanvas.m:517)
33 UIKit 0x18dd0c5e0 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 540 (UIApplication.m:3109)
34 UIKit 0x18dd0c330 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 364 (UIApplicationSceneClientAgent.m:41)
35 FrontBoardServices 0x186938470 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 364 (FBSSceneImpl.m:460)
36 FrontBoardServices 0x186940d6c __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 224 (FBSWorkspace.m:606)
37 libdispatch.dylib 0x183a28a60 _dispatch_client_callout + 16 (object.m:507)
38 libdispatch.dylib 0x183a30170 _dispatch_block_invoke_direct$VARIANT$mp + 224 (queue.c:3018)
39 FrontBoardServices 0x18696c878 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36 (FBSSerialQueue.m:164)
40 FrontBoardServices 0x18696c51c -[FBSSerialQueue _performNext] + 404 (FBSSerialQueue.m:196)
41 FrontBoardServices 0x18696cab8 -[FBSSerialQueue _performNextFromRunLoopSource] + 56 (FBSSerialQueue.m:232)
42 CoreFoundation 0x1840df404 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1982)
43 CoreFoundation 0x1840dec2c __CFRunLoopDoSources0 + 276 (CFRunLoop.c:2017)
44 CoreFoundation 0x1840dc79c __CFRunLoopRun + 1204 (CFRunLoop.c:2920)
45 CoreFoundation 0x183ffcda8 CFRunLoopRunSpecific + 552 (CFRunLoop.c:3245)
46 GraphicsServices 0x185fe2020 GSEventRunModal + 100 (GSEvent.c:2245)
47 UIKit 0x18e01c758 UIApplicationMain + 236 (UIApplication.m:3965)
48 Visits 0x1007a589c main + 56 (Location+CoreDataClass.swift:15)
49 libdyld.dylib 0x183a8dfc0 start + 4
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000183bbd2e0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000183d5e288 pthread_kill$VARIANT$mp + 376 (pthread.c:1484)
2 libsystem_c.dylib 0x0000000183b2bd0c abort + 140 (abort.c:91)
3 libc++abi.dylib 0x00000001832c72c8 abort_message + 132 (abort_message.cpp:75)
4 libc++abi.dylib 0x00000001832c7470 default_terminate_handler() + 304 (cxa_default_handlers.cpp:68)
5 libobjc.A.dylib 0x00000001832f08d4 _objc_terminate() + 124 (objc-exception.mm:657)
6 libc++abi.dylib 0x00000001832e137c std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:66)
7 libc++abi.dylib 0x00000001832e1400 std::terminate() + 84 (cxa_handlers.cpp:97)
8 libdispatch.dylib 0x0000000183a28a74 _dispatch_client_callout + 36 (object.m:510)
9 libdispatch.dylib 0x0000000183a30170 _dispatch_block_invoke_direct$VARIANT$mp + 224 (queue.c:3018)
10 FrontBoardServices 0x000000018696c878 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 36 (FBSSerialQueue.m:164)
11 FrontBoardServices 0x000000018696c51c -[FBSSerialQueue _performNext] + 404 (FBSSerialQueue.m:196)
12 FrontBoardServices 0x000000018696cab8 -[FBSSerialQueue _performNextFromRunLoopSource] + 56 (FBSSerialQueue.m:232)
13 CoreFoundation 0x00000001840df404 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 (CFRunLoop.c:1982)
14 CoreFoundation 0x00000001840dec2c __CFRunLoopDoSources0 + 276 (CFRunLoop.c:2017)
15 CoreFoundation 0x00000001840dc79c __CFRunLoopRun + 1204 (CFRunLoop.c:2920)
16 CoreFoundation 0x0000000183ffcda8 CFRunLoopRunSpecific + 552 (CFRunLoop.c:3245)
17 GraphicsServices 0x0000000185fe2020 GSEventRunModal + 100 (GSEvent.c:2245)
18 UIKit 0x000000018e01c758 UIApplicationMain + 236 (UIApplication.m:3965)
19 Visits 0x00000001007a589c main + 56 (Location+CoreDataClass.swift:15)
20 libdyld.dylib 0x0000000183a8dfc0 start + 4
Following is the code snippet where the program crashes. The crash happens at the self.view.layoutIfNeeded().
func initialSetupForScreen(){
let screenHeight = UIScreen.main.bounds.height
let statusBarHeight = UIApplication.shared.statusBarFrame.height
fullyOpenSheetTop = -(screenHeight - (statusBarHeight * 2))
partiallyOpenSheetTop = -((screenHeight * 0.50) - titleBarHeight)
closedSheetTop = -titleBarHeight
notVisibleSheetTop = 40 //(+40 for iphone X)
fullyOrPartiallyThreshold = (fullyOpenSheetTop + partiallyOpenSheetTop)/2
partiallyOrClosedThreshold = (partiallyOpenSheetTop + closedSheetTop)/2
// set primary & secondary sheet height //(+40 for iphone X) (-40 fixed for iphone X)
primarySheetViewHeightConstraint.constant = -fullyOpenSheetTop
secondarySheetViewHeightConstraint.constant = -fullyOpenSheetTop
// primary sheet is set to fully open state
primarySheetViewTopConstraint.constant = fullyOpenSheetTop
primarySheetCurrentState = .fullyOpen
// secondary sheet is set to not visible state
secondarySheetViewTopConstraint.constant = notVisibleSheetTop
secondarySheetCurrentState = .notVisible
// settings View move it out of screen
settingsViewTopConstraint.constant = notVisibleSheetTop
primarySheetController.configurePrimarySheetContentView()
self.view.layoutIfNeeded()
}
Earlier, I was calling this function inside my viewDidLoad. I thought it was too early to call layoutIfNeeded inside viewDidLoad. So I moved the function to viewWillAppear. However, the crashes still seem to be happening . What am I missing/overseeing?
The crash is happening across very few devices and I'm not able to reproduce it.

Related

iOS app crashed with error UISearchDisplayControllerNoLongerSupported

I have uploaded an iOS app on the app store. The development build is working perfectly fine and there was no error while debugging the same app in Xcode.
But when the app is live on the app store and the user installs the app from AppStore then the app crashes on tap on the search button.
Below is a screenshot of the crash log:
Launch Time: 2020-04-25 21:51:43.9128 +0530
OS Version: iPhone OS 13.3.1 (17D50)
Release Type: User
Baseband Version: 1.04.06
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x1aa46896c __exceptionPreprocess + 224
1 libobjc.A.dylib 0x1aa181028 objc_exception_throw + 59
2 CoreFoundation 0x1aa35814c +[NSException raise:format:] + 111
3 UIKitCore 0x1aded63f4 UISearchDisplayControllerNoLongerSupported + 215
4 UIKitCore 0x1aded66dc -[UISearchDisplayController initWithCoder:] + 87
5 UIFoundation 0x1adab024c UINibDecoderDecodeObjectForValue + 731
6 UIFoundation 0x1adab0480 UINibDecoderDecodeObjectForValue + 1295
7 UIFoundation 0x1ada4b00c -[UINibDecoder decodeObjectForKey:] + 319
8 UIKitCore 0x1adf1f73c -[UIViewController initWithCoder:] + 1039
9 Rmag.eu 0x102a1b420 0x102954000 + 816160
10 Rmag.eu 0x102a14eb0 0x102954000 + 790192
11 Rmag.eu 0x1029d8908 0x102954000 + 542984
12 Rmag.eu 0x1029d8638 0x102954000 + 542264
13 UIKitCore 0x1ae1f1818 -[UIClassSwapper initWithCoder:] + 2363
14 UIFoundation 0x1adab024c UINibDecoderDecodeObjectForValue + 731
15 UIFoundation 0x1ada4b00c -[UINibDecoder decodeObjectForKey:] + 319
16 UIKitCore 0x1ae1f59c4 -[UIRuntimeConnection initWithCoder:] + 131
17 UIFoundation 0x1adab024c UINibDecoderDecodeObjectForValue + 731
18 UIFoundation 0x1adab0480 UINibDecoderDecodeObjectForValue + 1295
19 UIFoundation 0x1ada4b00c -[UINibDecoder decodeObjectForKey:] + 319
20 UIKitCore 0x1ae1f08f0 -[NSCoder+ 7121136 (UIIBDependencyInjectionInternal) _decodeObjectsWithSourceSegueTemplate:creator:sender:forKey:] + 491
21 UIKitCore 0x1ae1f3528 -[UINib instantiateWithOwner:options:] + 1115
22 UIKitCore 0x1ae6c5cb0 -[UIStoryboard __reallyInstantiateViewControllerWithIdentifier:creator:storyboardSegueTemplate:sender:] + 291
23 Rmag.eu 0x102a1a320 0x102954000 + 811808
24 Rmag.eu 0x102a13d2c 0x102954000 + 785708
25 libobjc.A.dylib 0x1aa17ccc8 -[NSObject performSelector:withObject:withObject:] + 75
26 UIKitCore 0x1ae56a918 -[UIApplication sendAction:to:from:forEvent:] + 99
27 UIKitCore 0x1adf79380 -[UIControl sendAction:to:forEvent:] + 207
28 UIKitCore 0x1adf796f4 -[UIControl _sendActionsForEvents:withEvent:] + 411
29 UIKitCore 0x1adf78704 -[UIControl touchesEnded:withEvent:] + 523
30 UIKitCore 0x1ae5a578c -[UIWindow _sendTouchesForEvent:] + 2083
31 UIKitCore 0x1ae5a6a7c -[UIWindow sendEvent:] + 3335
32 UIKitCore 0x1ae582600 -[UIApplication sendEvent:] + 347
33 UIKitCore 0x1ae5fca58 __dispatchPreprocessedEventFromEventQueue + 5711
34 UIKitCore 0x1ae5ff010 __handleEventQueueInternal + 4927
35 UIKitCore 0x1ae5f8194 __handleHIDEventFetcherDrain + 111
36 CoreFoundation 0x1aa3e4108 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 27
37 CoreFoundation 0x1aa3e405c __CFRunLoopDoSource0 + 83
38 CoreFoundation 0x1aa3e37c8 __CFRunLoopDoSources0 + 183
39 CoreFoundation 0x1aa3de694 __CFRunLoopRun + 1067
40 CoreFoundation 0x1aa3ddf40 CFRunLoopRunSpecific + 479
41 GraphicsServices 0x1b466e534 GSEventRunModal + 107
42 UIKitCore 0x1ae569580 UIApplicationMain + 1939
43 Rmag.eu 0x102972a9c 0x102954000 + 125596
44 libdyld.dylib 0x1aa25ce18 start + 3
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001aa252efc __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001aa1728b8 pthread_kill + 228
2 libsystem_c.dylib 0x00000001aa102af4 __abort + 116
3 libsystem_c.dylib 0x00000001aa102a80 __abort + 0
4 libc++abi.dylib 0x00000001aa21a3c8 __cxa_bad_cast + 0
5 libc++abi.dylib 0x00000001aa21a5c0 demangling_unexpected_handler+ 5568 () + 0
6 libobjc.A.dylib 0x00000001aa181308 _objc_terminate+ 25352 () + 124
7 Rmag.eu 0x0000000102e95040 0x102954000 + 5509184
8 libc++abi.dylib 0x00000001aa227634 std::__terminate(void (*)+ 58932 ()) + 20
9 libc++abi.dylib 0x00000001aa2271ec __cxa_rethrow + 148
10 libobjc.A.dylib 0x00000001aa1811ec objc_exception_rethrow + 44
11 CoreFoundation 0x00000001aa3ddfb0 CFRunLoopRunSpecific + 592
12 GraphicsServices 0x00000001b466e534 GSEventRunModal + 108
13 UIKitCore 0x00000001ae569580 UIApplicationMain + 1940
14 Rmag.eu 0x0000000102972a9c 0x102954000 + 125596
15 libdyld.dylib 0x00000001aa25ce18 start + 4
According to me the app crashed because of error "UISearchDisplayControllerNoLongerSupported". But I am not using "UISearchDisplayController" anywhere in my app.
Below is a screenshot of the code
class SearchBarViewController: BaseViewController, UISearchBarDelegate{
var customTabBarView: CustomTabBar?
#IBOutlet weak var searchBar: UISearchBar!
var navController: UINavigationController?
Please help me to resolve the issue or how can I find the error in the code of the app.
Creating a new SearchBarViewController resolved the issue.
We have to remove the older SearchVar UIViewController from code.

iOS App Crash On PushViewController, but only in TestFlight

In my app, I have a TestFlight beta. It loads fine, and all the buttons and actions work, except for clicking on one section of the TableView, when I click that, it crashes every time. But, only in TestFlight beta installs. On Xcode Simulator it runs fine, if debugging on my phone by plugging into computer and running, it works fine. When I open the crash log in Xcode, I get the image below, but it doesn't really tell me anything. Here is the crash log:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x195260164 __exceptionPreprocess + 228 (NSException.m:199)
1 libobjc.A.dylib 0x194f74c1c objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreFoundation 0x19514fbb8 +[NSException raise:format:] + 112 (NSException.m:155)
3 UIKitCore 0x198cf0d14 -[UISearchDisplayController initWithCoder:] + 88 (UISearchDisplayController.m:350)
4 UIFoundation 0x1988c793c UINibDecoderDecodeObjectForValue + 728 (UINibDecoder.m:717)
5 UIFoundation 0x198862d50 -[UINibDecoder decodeObjectForKey:] + 312 (UINibDecoder.m:811)
6 UIKitCore 0x199029668 -[UIRuntimeConnection initWithCoder:] + 132 (UIRuntimeConnection.m:22)
7 UIFoundation 0x1988c793c UINibDecoderDecodeObjectForValue + 728 (UINibDecoder.m:717)
8 UIFoundation 0x1988c7b5c UINibDecoderDecodeObjectForValue + 1272 (UINibDecoder.m:611)
9 UIFoundation 0x198862d50 -[UINibDecoder decodeObjectForKey:] + 312 (UINibDecoder.m:811)
10 UIKitCore 0x199024638 -[NSCoder(UIIBDependencyInjectionInternal) _decodeObjectsWithSourceSegueTemplate:creator:sender:f... + 492 (UIClassSwapper.m:57)
11 UIKitCore 0x199027200 -[UINib instantiateWithOwner:options:] + 1068 (UINib.m:347)
12 UIKitCore 0x198d3dea4 -[UIViewController _loadViewFromNibNamed:bundle:] + 368 (UIViewController.m:3105)
13 UIKitCore 0x198d3e954 -[UIViewController loadView] + 180 (UIViewController.m:3247)
14 UIKitCore 0x198d3ec24 -[UIViewController loadViewIfRequired] + 188 (UIViewController.m:3346)
15 UIKitCore 0x198d3f30c -[UIViewController view] + 32 (UIViewController.m:3404)
16 UIKitCore 0x198c9afa4 -[UINavigationController _startCustomTransition:] + 1148 (UINavigationController.m:1893)
17 UIKitCore 0x198caf478 -[UINavigationController _startDeferredTransitionIfNeeded:] + 692 (UINavigationController.m:6719)
18 UIKitCore 0x198cb0818 -[UINavigationController __viewWillLayoutSubviews] + 176 (UINavigationController.m:6988)
19 UIKitCore 0x198c934fc -[UILayoutContainerView layoutSubviews] + 228 (UILayoutContainerView.m:86)
20 UIKitCore 0x1998766a0 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2168 (UIView.m:17176)
21 QuartzCore 0x19bec94a0 -[CALayer layoutSublayers] + 292 (CALayer.mm:9644)
22 QuartzCore 0x19bec98e0 CA::Layer::layout_if_needed(CA::Transaction*) + 472 (CALayer.mm:9518)
23 QuartzCore 0x19bedbdc4 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 144 (CALayer.mm:2468)
24 QuartzCore 0x19be20884 CA::Context::commit_transaction(CA::Transaction*, double) + 304 (CAContextInternal.mm:1992)
25 QuartzCore 0x19be4b3d0 CA::Transaction::commit() + 656 (CATransactionInternal.mm:438)
26 UIKitCore 0x1993d48cc _afterCACommitHandler + 144 (UIApplication.m:3120)
27 CoreFoundation 0x1951dac54 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36 (CFRunLoop.c:1758)
28 CoreFoundation 0x1951d58e4 __CFRunLoopDoObservers + 420 (CFRunLoop.c:1868)
29 CoreFoundation 0x1951d5d84 __CFRunLoopRun + 1020 (CFRunLoop.c:2910)
30 CoreFoundation 0x1951d5660 CFRunLoopRunSpecific + 480 (CFRunLoop.c:3192)
31 GraphicsServices 0x19f5e6604 GSEventRunModal + 164 (GSEvent.c:2246)
32 UIKitCore 0x1993aa15c UIApplicationMain + 1944 (UIApplication.m:4820)
33 Ministry League 0x104093b48 main + 76 (main.m:16)
34 libdyld.dylib 0x1950511ec start + 4
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000195046df0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000194f66930 pthread_kill + 228 (pthread.c:1458)
2 libsystem_c.dylib 0x0000000194ef48b4 abort + 104 (abort.c:110)
3 libc++abi.dylib 0x0000000195019f40 abort_message + 132 (abort_message.cpp:76)
4 libc++abi.dylib 0x000000019500b8c8 demangling_terminate_handler() + 308 (cxa_default_handlers.cpp:65)
5 libobjc.A.dylib 0x0000000194f74f0c _objc_terminate() + 132 (objc-exception.mm:701)
6 libc++abi.dylib 0x00000001950193cc std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
7 libc++abi.dylib 0x000000019501c154 __cxa_rethrow + 148 (cxa_exception.cpp:617)
8 libobjc.A.dylib 0x0000000194f74de8 objc_exception_rethrow + 44 (objc-exception.mm:604)
9 CoreFoundation 0x00000001951d56d0 CFRunLoopRunSpecific + 592 (CFRunLoop.c:3206)
10 GraphicsServices 0x000000019f5e6604 GSEventRunModal + 164 (GSEvent.c:2246)
11 UIKitCore 0x00000001993aa15c UIApplicationMain + 1944 (UIApplication.m:4820)
12 Ministry League 0x0000000104093b48 main + 76 (main.m:16)
13 libdyld.dylib 0x00000001950511ec start + 4
What this crash log tells me is that the app is loading a NIB that includes a UISearchDisplayController when it throws an exception. UISearchDisplayController is deprecated, and should be replaced with a UISearchController. The first thing I'd try is making that replacement.

Xamarin.Forms Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInternalInconsistencyException

Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Application windows are expected to have a root view controller at the end of application launch
Native stack trace:
0 CoreFoundation 0x0000000104e4d1e6 __exceptionPreprocess + 294
1 libobjc.A.dylib 0x0000000112c18031 objc_exception_throw + 48
2 CoreFoundation 0x0000000104e52472 +[NSException raise:format:arguments:] + 98
3 Foundation 0x0000000105a7d652 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 193
4 UIKit 0x0000000109bd4b96 -[UIApplication _runWithMainScene:transitionContext:completion:] + 3064
5 UIKit 0x0000000109f96e4a __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 866
6 UIKit 0x000000010a369909 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 153
7 UIKit 0x0000000109f96a86 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 236
8 UIKit 0x0000000109f972a7 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 675
9 UIKit 0x000000010a9084d4 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 299
10 UIKit 0x000000010a90836e -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 433
11 UIKit 0x000000010a5ec62d __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 221
12 UIKit 0x000000010a7e7387 _performActionsWithDelayForTransitionContext + 100
13 UIKit 0x000000010a5ec4f7 -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 223
14 UIKit 0x000000010a368fb0 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 392
15 UIKit 0x0000000109bd2f0c -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 515
16 UIKit 0x000000010a1a5a97 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 361
17 FrontBoardServices 0x0000000117f362f3 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 331
18 FrontBoardServices 0x0000000117f3ecfa __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 225
19 libdispatch.dylib 0x000000011356f779 _dispatch_client_callout + 8
20 libdispatch.dylib 0x0000000113574931 _dispatch_block_invoke_direct + 317
21 FrontBoardServices 0x0000000117f6a470 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 24
22 FrontBoardServices 0x0000000117f6a12e -[FBSSerialQueue _performNext] + 439
23 FrontBoardServices 0x0000000117f6a68e -[FBSSerialQueue _performNextFromRunLoopSource] + 45
24 CoreFoundation 0x0000000104defbb1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
25 CoreFoundation 0x0000000104dd44af __CFRunLoopDoSources0 + 271
26 CoreFoundation 0x0000000104dd3a6f __CFRunLoopRun + 1263
27 CoreFoundation 0x0000000104dd330b CFRunLoopRunSpecific + 635
28 GraphicsServices 0x00000001165faa73 GSEventRunModal + 62
29 UIKit 0x0000000109bd60b7 UIApplicationMain + 159
30 ??? 0x0000000133339607 0x0 + 5153986055
31 ??? 0x0000000133339373 0x0 + 5153985395
If you are having this error when using Xamarin Forms you should probably check if your initial page is properly constructed. This happens when XF fails to create your initial page and just continues running.

IOS iPhone app crash with [NSObject(NSObject) doesNotRecognizeSelector:] and _objc_msgSend_uncached

Here is the crash report not sure why
Incident Identifier: 8F69B0C7-F57D-40C7-B8E7-7A846EDCFE2E
CrashReporter Key: e18182a2b39e52acee70b63eb8a627bf2e6392ec
Hardware Model: iPad2,2
Process: androppo [1105]
Path: /private/var/mobile/Containers/Bundle/Application/EA41AE7C-D8E6-49E3-B124-6FDA7F51A4BD/androppo.app/androppo
Identifier: buzoo.jp.roppow
Version: 1.1 (1.1)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-10-22 12:36:38.195 +0700
Launch Time: 2014-10-22 12:36:37.387 +0700
OS Version: iOS 8.1 (12B410)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Last Exception Backtrace:
0 CoreFoundation 0x25d69d62 __exceptionPreprocess + 122
1 libobjc.A.dylib 0x33949c72 objc_exception_throw + 34
2 CoreFoundation 0x25d6f144 +[NSObject(NSObject) doesNotRecognizeSelector:] + 184
3 CoreFoundation 0x25d6d104 ___forwarding___ + 708
4 CoreFoundation 0x25c9e934 _CF_forwarding_prep_0 + 20
5 androppo 0x000def1c -[GADStatisticDictionary decrementNumberForKey:shouldNotifyDelegate:] + 68
6 androppo 0x000d3f30 -[GADApplication init] + 588
7 androppo 0x000d3cb8 __35+[GADApplication sharedApplication]_block_invoke + 40
8 libdispatch.dylib 0x33eaa40a _dispatch_client_callout + 18
9 libdispatch.dylib 0x33eb79e2 dispatch_once_f$VARIANT$mp + 58
10 androppo 0x000d3c88 +[GADApplication sharedApplication] + 148
11 androppo 0x000cf810 +[GADSlot initialize] + 72
12 libobjc.A.dylib 0x3394a4c0 _class_initialize + 532
13 libobjc.A.dylib 0x33950042 lookUpImpOrForward + 250
14 libobjc.A.dylib 0x3394ff3a _class_lookupMethodAndLoadCache3 + 30
15 libobjc.A.dylib 0x339561f4 _objc_msgSend_uncached + 20
16 androppo 0x000cd760 -[GADBannerView commonInitWithAdSize:] + 56
17 androppo 0x000cd9e0 -[GADBannerView initWithFrame:adSize:] + 164
18 androppo 0x000cdbbc -[GADBannerView initWithAdSize:] + 108
19 androppo 0x0007a9d8 -[MainPageVC addBannerOfAdmob] (MainPageVC.m:810)
20 androppo 0x00075bda -[MainPageVC viewDidLoad] (MainPageVC.m:105)
21 UIKit 0x2920e700 -[UIViewController loadViewIfRequired] + 596
22 UIKit 0x292b85a0 -[UINavigationController _layoutViewController:] + 28
23 UIKit 0x292b84c8 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 224
24 UIKit 0x292b7a4c -[UINavigationController _startTransition:fromViewController:toViewController:] + 60
25 UIKit 0x292b7786 -[UINavigationController _startDeferredTransitionIfNeeded:] + 574
26 UIKit 0x292b74ec -[UINavigationController __viewWillLayoutSubviews] + 40
27 UIKit 0x292b7484 -[UILayoutContainerView layoutSubviews] + 180
28 UIKit 0x2920bc1a -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 510
29 QuartzCore 0x28c36f60 -[CALayer layoutSublayers] + 132
30 QuartzCore 0x28c3294c CA::Layer::layout_if_needed(CA::Transaction*) + 356
31 QuartzCore 0x28c327d4 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 12
32 QuartzCore 0x28c321c2 CA::Context::commit_transaction(CA::Transaction*) + 218
33 QuartzCore 0x28c31fcc CA::Transaction::commit() + 320
34 UIKit 0x2946fa58 -[UIApplication _reportMainSceneUpdateFinished:] + 40
35 UIKit 0x294707f0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 2496
36 UIKit 0x2947ac34 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke + 32
37 UIKit 0x2946ec26 -[UIApplication workspaceDidEndTransaction:] + 126
38 FrontBoardServices 0x2c4920dc __31-[FBSSerialQueue performAsync:]_block_invoke + 8
39 CoreFoundation 0x25d30608 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 8
40 CoreFoundation 0x25d2f8cc __CFRunLoopDoBlocks + 212
41 CoreFoundation 0x25d2e086 __CFRunLoopRun + 782
42 CoreFoundation 0x25c7b97c CFRunLoopRunSpecific + 472
43 CoreFoundation 0x25c7b78e CFRunLoopRunInMode + 102
44 UIKit 0x29272b82 -[UIApplication _run] + 554
45 UIKit 0x2926d97c UIApplicationMain + 1436
46 androppo 0x0007479a main (main.m:16)
47 androppo 0x000746ac start + 36
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x33faadfc __pthread_kill + 8
1 libsystem_pthread.dylib 0x3402ad0e pthread_kill + 58
2 libsystem_c.dylib 0x33f4a934 abort + 72
3 libc++abi.dylib 0x33156bb8 abort_message + 84
4 libc++abi.dylib 0x3317066a default_terminate_handler() + 262
5 libobjc.A.dylib 0x33949f0e _objc_terminate() + 190
6 libc++abi.dylib 0x3316ddec std::__terminate(void (*)()) + 76
7 libc++abi.dylib 0x3316d5ac __cxa_throw + 108
8 libobjc.A.dylib 0x33949d46 objc_exception_throw + 246
9 CoreFoundation 0x25d6f144 +[NSObject(NSObject) doesNotRecognizeSelector:] + 184
10 CoreFoundation 0x25d6d104 ___forwarding___ + 708
11 CoreFoundation 0x25c9e934 _CF_forwarding_prep_0 + 20
12 androppo 0x000def1c -[GADStatisticDictionary decrementNumberForKey:shouldNotifyDelegate:] + 68
13 androppo 0x000d3f30 -[GADApplication init] + 588
14 androppo 0x000d3cb8 __35+[GADApplication sharedApplication]_block_invoke + 40
15 libdispatch.dylib 0x33eaa40c _dispatch_client_callout + 20
16 libdispatch.dylib 0x33eb79e2 dispatch_once_f$VARIANT$mp + 58
17 androppo 0x000d3c88 +[GADApplication sharedApplication] + 148
18 androppo 0x000cf810 +[GADSlot initialize] + 72
19 libobjc.A.dylib 0x3394a4c0 _class_initialize + 532
20 libobjc.A.dylib 0x33950042 lookUpImpOrForward + 250
21 libobjc.A.dylib 0x3394ff3a _class_lookupMethodAndLoadCache3 + 30
22 libobjc.A.dylib 0x339561f6 _objc_msgSend_uncached + 22
23 androppo 0x000cd760 -[GADBannerView commonInitWithAdSize:] + 56
24 androppo 0x000cd9e0 -[GADBannerView initWithFrame:adSize:] + 164
25 androppo 0x000cdbbc -[GADBannerView initWithAdSize:] + 108
26 androppo 0x0007a9d8 -[MainPageVC addBannerOfAdmob] (MainPageVC.m:810)
27 androppo 0x00075bda -[MainPageVC viewDidLoad] (MainPageVC.m:105)
28 UIKit 0x2920e700 -[UIViewController loadViewIfRequired] + 596
29 UIKit 0x292b85a0 -[UINavigationController _layoutViewController:] + 28
30 UIKit 0x292b84c8 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 224
31 UIKit 0x292b7a4c -[UINavigationController _startTransition:fromViewController:toViewController:] + 60
32 UIKit 0x292b7786 -[UINavigationController _startDeferredTransitionIfNeeded:] + 574
33 UIKit 0x292b74ec -[UINavigationController __viewWillLayoutSubviews] + 40
34 UIKit 0x292b7484 -[UILayoutContainerView layoutSubviews] + 180
35 UIKit 0x2920bc1a -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 510
36 QuartzCore 0x28c36f60 -[CALayer layoutSublayers] + 132
37 QuartzCore 0x28c3294c CA::Layer::layout_if_needed(CA::Transaction*) + 356
38 QuartzCore 0x28c327d4 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 12
39 QuartzCore 0x28c321c2 CA::Context::commit_transaction(CA::Transaction*) + 218
40 QuartzCore 0x28c31fcc CA::Transaction::commit() + 320
41 UIKit 0x2946fa58 -[UIApplication _reportMainSceneUpdateFinished:] + 40
42 UIKit 0x294707f0 -[UIApplication _runWithMainScene:transitionContext:completion:] + 2496
43 UIKit 0x2947ac34 __84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke + 32
44 UIKit 0x2946ec28 -[UIApplication workspaceDidEndTransaction:] + 128
45 FrontBoardServices 0x2c4920de __31-[FBSSerialQueue performAsync:]_block_invoke + 10
46 CoreFoundation 0x25d3060a __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 10
47 CoreFoundation 0x25d2f8cc __CFRunLoopDoBlocks + 212
48 CoreFoundation 0x25d2e086 __CFRunLoopRun + 782
49 CoreFoundation 0x25c7b97c CFRunLoopRunSpecific + 472
50 CoreFoundation 0x25c7b78e CFRunLoopRunInMode + 102
51 UIKit 0x29272b82 -[UIApplication _run] + 554
52 UIKit 0x2926d97c UIApplicationMain + 1436
53 androppo 0x0007479a main (main.m:16)
54 androppo 0x000746ac start + 36
This happened when I tried to run the app's .ipa through profile mode or window->devices, then drag the .ipa file to my device's app list. Yet It didn't happen if it ran in normal mode (cmd + r). I have no idea about the crash log and what caused the crash happened. Could someone help me out, I must fix the issues today and submit to Itunes Connect. I would really appreciate the help. Thanks.

Unable to find root cause of random crash on tabbar

I have a side panel view (like side drawer) in my iPad app which contains tabbar having 2 tabs. This view is beyond the ipad visible screen and become visible once we pull it from left side. This get initialize always on app launch. It crashes randomly on iOS 7.0.3 and 7.0.4 mostly on iPad 4 models. I can't reproduce it in debug mode while debugger is attached and reproducing frequency is 1% or less on release build.
It will not an iOS issue but any guess or anybody faced and solved similar problem?
Crash report:
Hardware Model: iPad3,4
Code Type: ARM (Native)
OS Version: iOS 7.0.4 (11B554a)
Crash report:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 12
Thread 0:
0 libsystem_kernel.dylib 0x38d7ebb4 syscall_thread_switch + 8
1 libsystem_platform.dylib 0x38df349c _os_lock_handoff_lock_slow + 48
2 libsystem_malloc.dylib 0x38db90f8 szone_free_definite_size + 328
3 libRIP.A.dylib 0x2e4ffb72 ripc_ReleaseClipState + 34
4 libRIP.A.dylib 0x2e503438 ripc_EndLayer + 80
5 CoreGraphics 0x2e1c25e8 CGContextEndTransparencyLayer + 36
6 UIKit 0x309e4d2a -[UIImage(TabBarItemImages) _tabBarItemImageWithTintColor:selected:metrics:style:forScreenScale:] + 902
7 UIKit 0x309e5070 -[UIImage(TabBarItemImages) _unselectedTabBarItemImageWithTintColor:metrics:style:forScreenScale:] + 36
8 UIKit 0x309e4748 -[UITabBarItem(Static) _updateImageWithTintColor:isSelected:getImageOffset:] + 552
9 UIKit 0x309e414c -[UITabBarItem(Static) _createViewForTabBar:showingBadge:withTint:idiom:] + 956
10 UIKit 0x309e3d82 -[UITabBarItem(Static) _createViewForTabBar:showingBadge:idiom:] + 34
11 UIKit 0x309e0028 -[UITabBarItem(Static) _updateViewForIdiom:positionItems:] + 156
12 UIKit 0x309e74ca -[UITabBar(Static) _configureItems:] + 402
13 UIKit 0x309e6b7e -[UITabBar(Static) _positionTabBarButtons:ignoringItem:] + 1270
14 UIKit 0x309e3b38 -[UITabBar setItems:animated:] + 1352
15 UIKit 0x309e3522 -[UITabBarController _rebuildTabBarItemsAnimated:] + 798
16 UIKit 0x309e7a74 -[UITabBarController _setSelectedViewController:] + 72
17 UIKit 0x308cdcf2 +[UIView(Animation) performWithoutAnimation:] + 70
18 UIKit 0x309eb470 -[UITabBarController _selectDefaultViewControllerIfNecessaryWithAppearanceTransitions:] + 216
19 UIKit 0x309ea8e6 -[UITabBarController viewWillAppear:] + 130
20 UIKit 0x308d66fa -[UIViewController _setViewAppearState:isAnimating:] + 342
21 CoreFoundation 0x2e080800 __53-[__NSArrayI enumerateObjectsWithOptions:usingBlock:]_block_invoke + 48
22 CoreFoundation 0x2e07a21a -[__NSArrayI enumerateObjectsWithOptions:usingBlock:] + 218
23 UIKit 0x308d6876 -[UIViewController _setViewAppearState:isAnimating:] + 722
24 UIKit 0x30a4ccfa -[UINavigationController _startCustomTransition:] + 842
25 UIKit 0x3096aa12 -[UINavigationController _startDeferredTransitionIfNeeded:] + 414
26 UIKit 0x3096a81c -[UINavigationController __viewWillLayoutSubviews] + 40
27 UIKit 0x3096a7b4 -[UILayoutContainerView layoutSubviews] + 180
28 UIKit 0x308bc34e -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 342
29 QuartzCore 0x3054293e -[CALayer layoutSublayers] + 138
30 QuartzCore 0x3053e162 CA::Layer::layout_if_needed(CA::Transaction*) + 346
31 QuartzCore 0x3053dff4 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 12
32 QuartzCore 0x3053da08 CA::Context::commit_transaction(CA::Transaction*) + 224
33 QuartzCore 0x3053d81a CA::Transaction::commit() + 310
34 QuartzCore 0x30537548 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 52
35 CoreFoundation 0x2e102f66 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
36 CoreFoundation 0x2e1008f2 __CFRunLoopDoObservers + 282
37 CoreFoundation 0x2e100c3e __CFRunLoopRun + 734
38 CoreFoundation 0x2e06b46c CFRunLoopRunSpecific + 520
39 CoreFoundation 0x2e06b24e CFRunLoopRunInMode + 102
40 GraphicsServices 0x32d722e6 GSEventRunModal + 134
41 UIKit 0x30920840 UIApplicationMain + 1132
42 MyApp 0x0006b5f2 0x64000 + 30194
43 libdyld.dylib 0x38cdaab4 start + 0
Thread 12 Crashed:
0 libsystem_kernel.dylib 0x38d911fc __pthread_kill + 8
1 libsystem_pthread.dylib 0x38df8a4e pthread_kill + 54
2 libsystem_c.dylib 0x38d42082 __abort + 74
3 libsystem_c.dylib 0x38d42034 abort + 84
4 libsystem_malloc.dylib 0x38dbf758 szone_error + 312
5 libsystem_malloc.dylib 0x38dbf9d4 free_list_checksum_botch + 24
6 libsystem_malloc.dylib 0x38dba1a4 tiny_free_list_remove_ptr + 76
7 libsystem_malloc.dylib 0x38db9770 szone_free_definite_size + 1984
8 libsystem_blocks.dylib 0x38cf7ac2 _Block_release + 214
9 libdispatch.dylib 0x38ccae76 _dispatch_queue_drain + 370
10 libdispatch.dylib 0x38cc7f8e _dispatch_queue_invoke + 38
11 libdispatch.dylib 0x38ccb742 _dispatch_root_queue_drain + 74
12 libdispatch.dylib 0x38ccb9c0 _dispatch_worker_thread2 + 52
13 libsystem_pthread.dylib 0x38df5dfc _pthread_wqthread + 296
14 libsystem_pthread.dylib 0x38df5cc0 start_wqthread + 4
Another random crash in similar case:
Thread 0 Crashed:
0 CoreFoundation 0x311e9728 -[__NSDictionaryM objectForKey:] + 100
1 UIKit 0x33a3e855 -[UILabel _setFont:] + 209
2 UIKit 0x33b5a411 -[UITabBarButton initWithImage:selectedImage:label:withInsets:] + 293
3 UIKit 0x33b59223 -[UITabBarItem(Static) _createViewForTabBar:showingBadge:withTint:idiom:] + 1171
4 UIKit 0x33b58d87 -[UITabBarItem(Static) _createViewForTabBar:showingBadge:idiom:] + 39
5 UIKit 0x33b5502d -[UITabBarItem(Static) _updateViewForIdiom:positionItems:] + 161
6 UIKit 0x33b5c4cf -[UITabBar(Static) _configureItems:] + 407
7 UIKit 0x33b5bb83 -[UITabBar(Static) _positionTabBarButtons:ignoringItem:] + 1275
8 UIKit 0x33b58b3d -[UITabBar setItems:animated:] + 1357
9 UIKit 0x33b58527 -[UITabBarController _rebuildTabBarItemsAnimated:] + 803
10 UIKit 0x33b5ca79 -[UITabBarController _setSelectedViewController:] + 77
11 UIKit 0x33a42cf5 +[UIView(Animation) performWithoutAnimation:] + 73
12 UIKit 0x33b60475 -[UITabBarController _selectDefaultViewControllerIfNecessaryWithAppearanceTransitions:] + 221
13 UIKit 0x33b5f8eb -[UITabBarController viewWillAppear:] + 135
14 UIKit 0x33a4b6ff -[UIViewController _setViewAppearState:isAnimating:] + 347
15 CoreFoundation 0x311f5803 __53-[__NSArrayI enumerateObjectsWithOptions:usingBlock:]_block_invoke + 51
16 CoreFoundation 0x311ef21d -[__NSArrayI enumerateObjectsWithOptions:usingBlock:] + 221
17 UIKit 0x33a4b87b -[UIViewController _setViewAppearState:isAnimating:] + 727
18 UIKit 0x33bc1cff -[UINavigationController _startCustomTransition:] + 847
19 UIKit 0x33adfa17 -[UINavigationController _startDeferredTransitionIfNeeded:] + 419
20 UIKit 0x33adf821 -[UINavigationController __viewWillLayoutSubviews] + 45
21 UIKit 0x33adf7b9 -[UILayoutContainerView layoutSubviews] + 185
22 UIKit 0x33a31353 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 347
23 QuartzCore 0x336b7943 -[CALayer layoutSublayers] + 143
24 QuartzCore 0x336b3167 CA::Layer::layout_if_needed(CA::Transaction*) + 351
25 QuartzCore 0x336b2ff9 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 17
26 QuartzCore 0x336b2a0d CA::Context::commit_transaction(CA::Transaction*) + 229
27 QuartzCore 0x336b281f CA::Transaction::commit() + 315
28 QuartzCore 0x336ac54d CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 57
29 CoreFoundation 0x31277f69 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 21
30 CoreFoundation 0x312758f7 __CFRunLoopDoObservers + 287
31 CoreFoundation 0x31275c43 __CFRunLoopRun + 739
32 CoreFoundation 0x311e0471 CFRunLoopRunSpecific + 525
33 CoreFoundation 0x311e0253 CFRunLoopRunInMode + 107
34 GraphicsServices 0x35ee12eb GSEventRunModal + 139
35 UIKit 0x33a95845 UIApplicationMain + 1137
36 SofTestM 0x000545f7 0x4d000 + 30199
The second crash is at time of setting font at
UITabBar-->UITabBarButton->UILabel (of UITabBarButton) _setFont:
I feel this random crashes might be due to memory leaks in your application.Pardon me if i am wrong.
In your logs it is seen that you use CoreGraphics.Releasing Core Graphics( even if you have ARC) is a bit tricky as it is not 100% memory leaf proof .That is it at times takes a while to get released.
So suppose you are using core graphic objects whithin a loop then it is certain that your ipad memory will go out of bounds.

Resources