PLCrashReporter ios6 crash - ios

My iOS6 app is crashing when compiled and run in release mode, please see crash report below:
Incident Identifier: 0267EA79-BAAB-4559-90FB-9ED8C268EB19
CrashReporter Key: 7b2d29f7c42065db47d89a8b3ae1056cf45f7d95
Hardware Model: iPhone5,2
Process: Instant Santa [5814]
Path: /var/mobile/Applications/B303BD19-177E-4DBB-A7C2-89BBF3331818/Instant Santa.app/Instant Santa
Identifier: Instant Santa
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-11-10 22:30:34.889 -0600
OS Version: iOS 6.0.1 (10A525)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x3a6eb3e2 __exceptionPreprocess + 158
1 libobjc.A.dylib 0x3974495e objc_exception_throw + 26
2 CoreFoundation 0x3a6eb302 +[NSException raise:format:] + 102
3 Instant Santa 0x001196aa -[PLCrashReporter enableCrashReporterAndReturnError:] + 82
4 Instant Santa 0x000b1064 -[BWQuincyManager init] (BWQuincyManager.m:182)
5 Instant Santa 0x000b0c00 __38+[BWQuincyManager sharedQuincyManager]_block_invoke_0 (BWQuincyManager.m:107)
6 libdispatch.dylib 0x334d35d6 _dispatch_client_callout + 18
7 libdispatch.dylib 0x334d4586 dispatch_once_f + 42
8 Instant Santa 0x000b0bc0 +[BWQuincyManager sharedQuincyManager] (once.h:68)
9 Instant Santa 0x0009f9a2 -[AppDelegate application:didFinishLaunchingWithOptions:] (AppDelegate.m:51)
10 UIKit 0x33f5ba74 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248
11 UIKit 0x33f5b5f8 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1164
12 UIKit 0x33f53806 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694
13 UIKit 0x33efbcea -[UIApplication handleEvent:withNewEvent:] + 1006
14 UIKit 0x33efb778 -[UIApplication sendEvent:] + 68
15 UIKit 0x33efb1ba _UIApplicationHandleEvent + 6194
16 GraphicsServices 0x3a78f5f2 _PurpleEventCallback + 586
17 GraphicsServices 0x3a78f222 PurpleEventCallback + 30
18 CoreFoundation 0x3a6c03e2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30
19 CoreFoundation 0x3a6c0386 __CFRunLoopDoSource1 + 134
20 CoreFoundation 0x3a6bf20a __CFRunLoopRun + 1378
21 CoreFoundation 0x3a632238 CFRunLoopRunSpecific + 352
22 CoreFoundation 0x3a6320c4 CFRunLoopRunInMode + 100
23 UIKit 0x33f52440 -[UIApplication _run] + 664
24 UIKit 0x33f4f28c UIApplicationMain + 1116
25 Instant Santa 0x0009f73e main (main.m:16)
26 Instant Santa 0x0009f6f4 start + 36
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3a455350 __pthread_kill + 8
1 libsystem_c.dylib 0x339edfb2 pthread_kill + 54
2 libsystem_c.dylib 0x33a2a366 abort + 90
3 Instant Santa 0x00119912 uncaught_exception_handler + 22
4 CoreFoundation 0x3a6eb6cc __handleUncaughtException + 624
5 libobjc.A.dylib 0x39744a46 _objc_terminate() + 126
6 libc++abi.dylib 0x33ae3118 safe_handler_caller(void (*)()) + 76
7 libc++abi.dylib 0x33ae31b0 std::terminate() + 16
8 libc++abi.dylib 0x33ae459a __cxa_throw + 118
9 libobjc.A.dylib 0x3974499e objc_exception_throw + 90
10 CoreFoundation 0x3a6eb302 +[NSException raise:format:] + 102
11 Instant Santa 0x001196aa -[PLCrashReporter enableCrashReporterAndReturnError:] + 82
12 Instant Santa 0x000b1064 -[BWQuincyManager init] (BWQuincyManager.m:182)
13 Instant Santa 0x000b0c00 __38+[BWQuincyManager sharedQuincyManager]_block_invoke_0 (BWQuincyManager.m:107)
14 libdispatch.dylib 0x334d35d8 _dispatch_client_callout + 20
15 libdispatch.dylib 0x334d4586 dispatch_once_f + 42
16 Instant Santa 0x000b0bc0 +[BWQuincyManager sharedQuincyManager] (once.h:68)
17 Instant Santa 0x0009f9a2 -[AppDelegate application:didFinishLaunchingWithOptions:] (AppDelegate.m:51)
18 UIKit 0x33f5ba74 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248
19 UIKit 0x33f5b5f8 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1164
20 UIKit 0x33f53806 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694
21 UIKit 0x33efbcea -[UIApplication handleEvent:withNewEvent:] + 1006
22 UIKit 0x33efb778 -[UIApplication sendEvent:] + 68
23 UIKit 0x33efb1ba _UIApplicationHandleEvent + 6194
24 GraphicsServices 0x3a78f5f4 _PurpleEventCallback + 588
25 GraphicsServices 0x3a78f222 PurpleEventCallback + 30
26 CoreFoundation 0x3a6c03e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32
27 CoreFoundation 0x3a6c0386 __CFRunLoopDoSource1 + 134
28 CoreFoundation 0x3a6bf20a __CFRunLoopRun + 1378
29 CoreFoundation 0x3a632238 CFRunLoopRunSpecific + 352
30 CoreFoundation 0x3a6320c4 CFRunLoopRunInMode + 100
31 UIKit 0x33f52440 -[UIApplication _run] + 664
32 UIKit 0x33f4f28c UIApplicationMain + 1116
33 Instant Santa 0x0009f73e main (main.m:16)
34 Instant Santa 0x0009f6f4 start + 36
Any help would be appreciated!

This happens if PLCrashReporter is already initialized before QuincyKit initializes it. Are you initializing PLCrashReporter yourself or is there any other framework installed that uses PLCrashReporter?
This is the exception that is being raised and causes the crash: https://github.com/bitstadium/PLCrashReporter/blob/master/Source/PLCrashReporter.m#L296

Nevermind, you don't need CrashReporter.framework with the new HockeySDK, see here: http://support.hockeyapp.net/kb/client-integration/migrate-from-hockeykit-quincykit-to-hockeysdk-for-ios

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.

EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x000000008346beb8

I get the following crash log from Crashlytics for my app. My code do not call msgpack_zone_free or msgpack parse method at all and so I'm confused how that happened. I'm unable to reproduce this crash myself so I'm left to analyze the issue from the crash report itself. Any pointers to what I need to check will be very helpful.
This is not a case of low memory as I see free memory from Crashlytics.
Thread : Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x0000000192953bd0 objc_msgSend + 16
1 CoreFoundation 0x00000001820d5228 CFRelease + 524
2 CoreFoundation 0x00000001821e62ac -[__NSArrayM removeAllObjects] + 284
3 MyApp 0x00000001004a69e0 msgpack_zone_free
4 MyApp 0x00000001004a4afc msgpack_zone_free
5 CoreFoundation 0x000000018219cae4 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
6 CoreFoundation 0x00000001820db220 _CFXNotificationPost + 2060
7 Foundation 0x0000000182fdac60 -[NSNotificationCenter postNotificationName:object:userInfo:] + 72
8 UIKit 0x0000000186c32e98 -[UIApplication _handleApplicationDectivationWithScene:shouldForceExit:transitionContext:completion:] + 1132
9 UIKit 0x0000000186c3b370 __88-[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:]_block_invoke + 92
10 UIKit 0x0000000186c3b2f8 -[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:] + 380
11 UIKit 0x0000000186c2ec2c -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 512
12 FrontBoardServices 0x000000018a45d62c __31-[FBSSerialQueue performAsync:]_block_invoke + 28
13 CoreFoundation 0x00000001821aea28 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
14 CoreFoundation 0x00000001821adb30 __CFRunLoopDoBlocks + 312
15 CoreFoundation 0x00000001821ac154 __CFRunLoopRun + 1756
16 CoreFoundation 0x00000001820d90a4 CFRunLoopRunSpecific + 396
17 GraphicsServices 0x000000018b2735a4 GSEventRunModal + 168
18 UIKit 0x0000000186a0aaa4 UIApplicationMain + 1488
19 MyApp 0x00000001000cce40 main (main.m:16)
20 libdyld.dylib 0x0000000192faea08 start + 4
Thanks.

iOS App Crash in unknown module-mdDoRequest mdlExchange mdlRemoteExec

The crash tools report a weird crash of my app.
It crashed at MDOSWebViewDelegate.
After listed all the symbols of binary with command nm -a myApp,
and still can't locate it from the crash stack.
I don't even know what features of these modules, it seems this module is from an System framework.
(mdDoRequest mdlExchange mdlRemoteExec)
Following is the crash stack.
crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x6e2e6483
Thread : Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x37305f46 objc_msgSend + 5
1 MyApp 0x00d59ca3 mdDoRequest (MDOSWebViewDelegate.m:129)
2 MyApp 0x00d5dafb mdlExchange (lang.c:57)
3 MyApp 0x00d5df4f mdlRemoteExec (lang.c:110)
4 MyApp 0x00d592e5 forwardInvocation (MDOSProxy.m:213)
5 CoreFoundation 0x2943d62f ___forwarding___ + 354
6 CoreFoundation 0x2936f008 _CF_forwarding_prep_0 + 24
7 CoreFoundation 0x293f2e31 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
8 CoreFoundation 0x2934e6cd _CFXNotificationPost + 1784
9 Foundation 0x2a0a4dd9 -[NSNotificationCenter postNotificationName:object:userInfo:] + 72
10 UIKit 0x2cbbba65 -[UIApplication _handleApplicationDectivationWithScene:shouldForceExit:transitionContext:completion:] + 980
11 UIKit 0x2cbc2d8d __88-[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:]_block_invoke + 76
12 UIKit 0x2cbc2d39 -[UIApplication _handleApplicationLifecycleEventWithScene:transitionContext:completion:] + 360
13 UIKit 0x2cbb7ef3 -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 478
14 FrontBoardServices 0x2fd83169 __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke_2 + 40
15 FrontBoardServices 0x2fd920a9 __31-[FBSSerialQueue performAsync:]_block_invoke + 12
16 CoreFoundation 0x29400fe5 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
17 CoreFoundation 0x294002a9 __CFRunLoopDoBlocks + 216
18 CoreFoundation 0x293fede3 __CFRunLoopRun + 1714
19 CoreFoundation 0x2934c3b1 CFRunLoopRunSpecific + 476
20 CoreFoundation 0x2934c1c3 CFRunLoopRunInMode + 106
21 GraphicsServices 0x30939201 GSEventRunModal + 136
22 UIKit 0x2c9b643d UIApplicationMain + 1440
23 MyApp 0x0003696f main (main.m:19)
Any suggestion?

Crash log is not completely symbolicated

I am able to symbolicate my crash logs in xcode 4.5 EXCEPT for the last line. Specifically line 29 of the 'Last Exception Backtrace' and line 15 in the 'Thread 0' area in the crash log doesn't show the object or method call when all the other lines do. My code is CoachMe1.
Any ideas as to why this would be ?
Here is the Symbolicated code:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x3165929e __exceptionPreprocess + 158
1 libobjc.A.dylib 0x355af97a objc_exception_throw + 26
2 CoreFoundation 0x316591c0 +[NSException raise:format:] + 100
3 Foundation 0x34a9ece2 -[NSKeyedUnarchiver initForReadingWithData:] + 2402
4 CoachMe1 0x000047b6 -[CoachMe1ViewController viewWillAppear:] (CoachMe1ViewController.m:322)
5 UIKit 0x32b7531c -[UIViewController _setViewAppearState:isAnimating:] + 132
6 UIKit 0x32b817a0 -[UINavigationController _startTransition:fromViewController:toViewController:] + 536
7 UIKit 0x32b814ac -[UINavigationController _startDeferredTransitionIfNeeded:] + 320
8 UIKit 0x32b6fb8e -[UINavigationController pushViewController:transition:forceImmediate:] + 854
9 UIKit 0x32b6f82e -[UINavigationController pushViewController:animated:] + 34
10 CoachMe1 0x000183da -[FrontPageViewController loadGameDashboard] (FrontPageViewController.m:38)
11 UIKit 0x32bf90a8 -[UIApplication sendAction:to:from:forEvent:] + 68
12 UIKit 0x32bf905a -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26
13 UIKit 0x32bf9038 -[UIControl sendAction:to:forEvent:] + 40
14 UIKit 0x32bf88ee -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498
15 UIKit 0x32bf8de4 -[UIControl touchesEnded:withEvent:] + 484
16 UIKit 0x32b215f4 -[UIWindow _sendTouchesForEvent:] + 520
17 UIKit 0x32b0e804 -[UIApplication sendEvent:] + 376
18 UIKit 0x32b0e11e _UIApplicationHandleEvent + 6150
19 GraphicsServices 0x3085459e _PurpleEventCallback + 586
20 GraphicsServices 0x308541ce PurpleEventCallback + 30
21 CoreFoundation 0x3162e16e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30
22 CoreFoundation 0x3162e112 __CFRunLoopDoSource1 + 134
23 CoreFoundation 0x3162cf94 __CFRunLoopRun + 1380
24 CoreFoundation 0x3159feb8 CFRunLoopRunSpecific + 352
25 CoreFoundation 0x3159fd44 CFRunLoopRunInMode + 100
26 GraphicsServices 0x308532e6 GSEventRunModal + 70
27 UIKit 0x32b622fc UIApplicationMain + 1116
28 CoachMe1 0x0000257e main (main.m:14)
29 CoachMe1 0x00002538 0x1000 + 5432
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3934f350 __pthread_kill + 8
1 libsystem_c.dylib 0x33cb111e pthread_kill + 54
2 libsystem_c.dylib 0x33ced96e abort + 90
3 libc++abi.dylib 0x30803d4a abort_message + 70
4 libc++abi.dylib 0x30800ff4 _ZL17default_terminatev + 20
5 libobjc.A.dylib 0x355afa74 _ZL15_objc_terminatev + 144
6 libc++abi.dylib 0x30801078 _ZL19safe_handler_callerPFvvE + 76
7 libc++abi.dylib 0x30801110 std::terminate() + 16
8 libc++abi.dylib 0x30802594 __cxa_rethrow + 84
9 libobjc.A.dylib 0x355af9cc objc_exception_rethrow + 8
10 CoreFoundation 0x3159ff1c CFRunLoopRunSpecific + 452
11 CoreFoundation 0x3159fd44 CFRunLoopRunInMode + 100
12 GraphicsServices 0x308532e6 GSEventRunModal + 70
13 UIKit 0x32b622fc UIApplicationMain + 1116
14 CoachMe1 0x0000257e main (main.m:14)
15 CoachMe1 0x00002538 0x1000 + 5432
Your app is crashing in loadGameDashboard function in FrontPageViewController.m class line 38.
Please check this function with a break point . you see where your app is crashing....

Strange iOS tableView/CALayer crashes

My app started crashing after long time in background right when I launch it again.
The problem of course is when it wasn't killed - only when it was in the background.
the log is:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x32858a1c __pthread_kill + 8
1 libsystem_c.dylib 0x337013b4 pthread_kill + 52
2 libsystem_c.dylib 0x336f9bf8 abort + 72
3 libstdc++.6.dylib 0x30504a64 __gnu_cxx::__verbose_terminate_handler() + 376
4 libobjc.A.dylib 0x3068f06c _objc_terminate + 104
5 libstdc++.6.dylib 0x30502e36 __cxxabiv1::__terminate(void (*)()) + 46
6 libstdc++.6.dylib 0x30502e8a std::terminate() + 10
7 libstdc++.6.dylib 0x30502f5a __cxa_throw + 78
8 libobjc.A.dylib 0x3068dc84 objc_exception_throw + 64
9 CoreFoundation 0x3351048a +[NSException raise:format:arguments:] + 62
10 Foundation 0x326ea56c -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 56
11 UIKit 0x31bc3a82 -[UITableView(UITableViewInternal) _createPreparedCellForGlobalRow:withIndexPath:] + 666
12 UIKit 0x31bc3764 -[UITableView(UITableViewInternal) _createPreparedCellForGlobalRow:] + 28
13 UIKit 0x31bbc0c6 -[UITableView(_UITableViewPrivate) _updateVisibleCellsNow:] + 930
14 UIKit 0x31bbb276 -[UITableView layoutSubviews] + 134
15 UIKit 0x31b675f4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 20
16 CoreFoundation 0x3347defc -[NSObject(NSObject) performSelector:withObject:] + 16
17 QuartzCore 0x33351bae -[CALayer layoutSublayers] + 114
18 QuartzCore 0x33351966 CALayerLayoutIfNeeded + 178
19 QuartzCore 0x333571be CA::Context::commit_transaction(CA::Transaction*) + 206
20 QuartzCore 0x33356fd0 CA::Transaction::commit() + 184
21 QuartzCore 0x3335004e CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 50
22 CoreFoundation 0x334e7a2e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 10
23 CoreFoundation 0x334e945e __CFRunLoopDoObservers + 406
24 CoreFoundation 0x334ea754 __CFRunLoopRun + 848
25 CoreFoundation 0x3347aebc CFRunLoopRunSpecific + 224
26 CoreFoundation 0x3347adc4 CFRunLoopRunInMode + 52
27 GraphicsServices 0x311a5418 GSEventRunModal + 108
28 GraphicsServices 0x311a54c4 GSEventRun + 56
29 UIKit 0x31b90d62 -[UIApplication _run] + 398
30 UIKit 0x31b8e800 UIApplicationMain + 664
31 Vento 0x00002c64 main (main.m:14)
32 Vento 0x00002c0c start + 32
Any idea where to start digging?
Thank you!
Look at the log to see the exception detail.
Run the static code analyzer over your code. It may find the bug for you.

Resources