EXC_BAD_ACCESS (SIGABRT) on MvvmCross - ios

MvvmCross_Core_MvvmCross_Core_ViewModels_MvxViewModelLoader_FindViewModelLocator_ causes app to crash. Looked through the MVVMCross source code and could not tell what caused this error and how to handle it. Appreciate any help here. Below is the crash report
Using MMVMCross 4.0
<package id="MvvmCross.Core" version="4.0.0" targetFramework="xamarinios10" />
Incident Identifier: 73492D3A-04AC-4CB2-A30F-11C03932B333
CrashReporter Key: 89c9f505981a4f47ba51b95e37591830d9aeef45
Hardware Model: iPhone6,1
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2016-04-12 09:40:49.49 -0400
Launch Time: 2016-04-12 09:40:45.45 -0400
OS Version: iOS 9.3.1 (13E238)
Report Version: 105
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000182c9c11c __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000182d68ef8 pthread_kill + 112
2 libsystem_c.dylib 0x0000000182c0ddac abort + 140
3 MobilityiOS 0x0000000101630678 print_exception(MonoObject*, bool, NSMutableString*) (runtime.m:782)
4 MobilityiOS 0x0000000101538220 mono_invoke_unhandled_exception_hook (mini-exceptions.c:2586)
5 MobilityiOS 0x0000000101537694 mono_handle_exception_internal (mini-exceptions.c:1573)
6 MobilityiOS 0x0000000101536604 mono_handle_exception (mini-exceptions.c:1799)
7 MobilityiOS 0x000000010152f8bc mono_arm_throw_exception (exceptions-arm64.c:383)
8 MobilityiOS 0x000000010051c278 throw_exception + 168
9 MobilityiOS 0x0000000100f07e4c MvvmCross_Core_MvvmCross_Core_ViewModels_MvxViewModelLoader_FindViewModelLocator_MvvmCross_Core_ViewModels_MvxViewModelRequest + 0
10 MobilityiOS 0x0000000100f07d00 MvvmCross_Core_MvvmCross_Core_ViewModels_MvxViewModelLoader_LoadViewModel_MvvmCross_Core_ViewModels_MvxViewModelRequest_MvvmCross_Core_ViewModels_IMvxBundle + 108
11 MobilityiOS 0x00000001010b404c MvvmCross_iOS_MvvmCross_iOS_Views_MvxViewControllerExtensionMethods_LoadViewModel_MvvmCross_iOS_Views_IMvxIosView + 276
12 MobilityiOS 0x0000000100f02474 MvvmCross_Core_MvvmCross_Core_Views_MvxViewExtensionMethods_OnViewCreate_MvvmCross_Core_Views_IMvxView_System_Func_1_MvvmCross_Core_ViewModels_IMvxViewModel + 96
13 MobilityiOS 0x00000001010b3f28 MvvmCross_iOS_MvvmCross_iOS_Views_MvxViewControllerExtensionMethods_OnViewCreate_MvvmCross_iOS_Views_IMvxIosView + 100
14 MobilityiOS 0x00000001010b2ff4 MvvmCross_iOS_MvvmCross_iOS_Views_MvxViewControllerAdapter_HandleViewDidLoadCalled_object_System_EventArgs + 136
15 MobilityiOS 0x000000010042d0d4 mscorlib_wrapper_delegate_invoke__Module_invoke_void_object_EventArgs_object_System_EventArgs + 120
16 MobilityiOS 0x0000000100edd43c MvvmCross_Platform_MvvmCross_Platform_Core_MvxDelegateExtensionMethods_Raise_System_EventHandler_object + 36
17 MobilityiOS 0x0000000100f9bba4 MvvmCross_Platform_iOS_MvvmCross_Platform_iOS_Views_MvxEventSourceViewController_ViewDidLoad + 32
18 MobilityiOS 0x000000010018b7a4 MobilityiOS_Mobility_iOS_Views_BaseMvxViewController_ViewDidLoad + 972
19 MobilityiOS 0x000000010018c758 MobilityiOS_Mobility_iOS_Views_Main_HomeView_ViewDidLoad + 232
20 MobilityiOS 0x00000001004ff784 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244
21 MobilityiOS 0x00000001015430dc mono_jit_runtime_invoke (mini-runtime.c:2335)
22 MobilityiOS 0x00000001015aa59c mono_runtime_invoke (object.c:2783)
23 MobilityiOS 0x0000000101262d64 native_to_managed_trampoline_3(objc_object*, objc_selector*, _MonoMethod**, char const*, char const*) (registrar.m:118)
24 MobilityiOS 0x0000000101266400 -[HomeView viewDidLoad] (registrar.m:3608)
25 UIKit 0x000000018824cb40 -[UIViewController loadViewIfRequired] + 996
26 UIKit 0x000000018830d118 -[UINavigationController _layoutViewController:] + 72
27 UIKit 0x000000018830cff0 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 416
28 UIKit 0x000000018830c238 -[UINavigationController _startTransition:fromViewController:toViewController:] + 144
29 UIKit 0x000000018830bddc -[UINavigationController _startDeferredTransitionIfNeeded:] + 868
30 UIKit 0x000000018830ba04 -[UINavigationController __viewWillLayoutSubviews] + 60
31 UIKit 0x000000018830b96c -[UILayoutContainerView layoutSubviews] + 208
32 UIKit 0x00000001882480e4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 656
33 QuartzCore 0x0000000185beea28 -[CALayer layoutSublayers] + 148
34 QuartzCore 0x0000000185be9634 CA::Layer::layout_if_needed(CA::Transaction*) + 292
35 QuartzCore 0x0000000185be94f4 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 32
36 QuartzCore 0x0000000185be8b24 CA::Context::commit_transaction(CA::Transaction*) + 252
37 QuartzCore 0x0000000185be886c CA::Transaction::commit() + 512
38 QuartzCore 0x0000000185be1dd8 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 80
39 CoreFoundation 0x00000001830b87b0 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
40 CoreFoundation 0x00000001830b6554 __CFRunLoopDoObservers + 372
41 CoreFoundation 0x0000000182fe0d30 CFRunLoopRunSpecific + 416
42 UIKit 0x00000001882bb834 -[UIApplication _run] + 460
43 UIKit 0x00000001882b5f70 UIApplicationMain + 204
44 MobilityiOS 0x00000001002897a4 wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 324
45 MobilityiOS 0x000000010020ed74 Xamarin_iOS_UIKit_UIApplication_Main_string___string_string + 156
46 MobilityiOS 0x00000001001830a0 MobilityiOS_Mobility_iOS_Application_Main_string__ + 24
47 MobilityiOS 0x00000001004ff784 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 244
48 MobilityiOS 0x00000001015430dc mono_jit_runtime_invoke (mini-runtime.c:2335)
49 MobilityiOS 0x00000001015aa59c mono_runtime_invoke (object.c:2783)
50 MobilityiOS 0x00000001015aec90 mono_runtime_exec_main (object.c:4038)
51 MobilityiOS 0x00000001016424ac xamarin_main (monotouch-main.m:404)
52 MobilityiOS 0x000000010128e78c main (main.arm64.m:130)
53 libdyld.dylib 0x0000000182b7e8b8 start + 4

You should have 2 views using the same viewmodel.
This is forbidden by mvvmcross by default, and will crash the view/viewmodel locator.

Related

crash Xamarin IOS app on only some device with type EXC_BAD_ACCESS (SIGABRT)

Help, please! My xamarin IOS app was crashed on some device. That application is available from the App Store and works correctly, but there had appeals for crash application. I can not figure out what the reason is. If someone knows how to decrypt these logos, please respond.
There are my .crash-file:
Incident Identifier: 854558AB-E175-4A50-ACC0-9BA892F25AA3
CrashReporter Key: 5086dbbd061185ea7331aafe74879503a9e3532f
Hardware Model: iPhone9,3
Process: MyAppiOS [1254]
Path: /private/var/containers/Bundle/Application/051ABEFA-746C-4D88-B0CA-00B2525802F3/MyAppiOS.app/MyAppiOS
Identifier: my.mobile
Version: 81 (3.2.3)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: my.mobile [656]
.......
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Region Info: 0 is not in any region. Bytes before following region: 4309762048
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 0000000100e1c000-0000000100e20000 [ 16K] r-x/r-x SM=COW ...pp/MyAppiOS
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x185c7e364 __exceptionPreprocess + 124 (NSException.m:166)
1 libobjc.A.dylib 0x184ec4528 objc_exception_throw + 56 (objc-exception.mm:521)
2 CoreFoundation 0x185c7e2ac +[NSException raise:format:] + 116 (NSException.m:141)
3 UIKit 0x18f60f098 -[UIToolbar setTranslatesAutoresizingMaskIntoConstraints:] + 80 (UIToolbar.m:529)
4 MyAppiOS 0x1012639ec 0x100e1c000 + 4487660
5 MyAppiOS 0x1012e5db8 0x100e1c000 + 5021112
6 MyAppiOS 0x101d6c8d8 0x100e1c000 + 16058584
7 MyAppiOS 0x100eb9f5c 0x100e1c000 + 647004
8 MyAppiOS 0x100fefac4 0x100e1c000 + 1915588
9 MyAppiOS 0x101e36c3c 0x100e1c000 + 16886844
10 MyAppiOS 0x101eb2334 0x100e1c000 + 17392436
11 MyAppiOS 0x101eb2294 0x100e1c000 + 17392276
12 MyAppiOS 0x100e20204 0x100e1c000 + 16900
13 MyAppiOS 0x100e2b104 0x100e1c000 + 61700
14 UIKit 0x18f234ae8 -[UIViewController loadViewIfRequired] + 1040 (UIViewController.m:3133)
15 UIKit 0x18f2dbf70 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 76 (UINavigationController.m:6345)
16 UIKit 0x18f2db410 -[UINavigationController _startTransition:fromViewController:toViewController:] + 196 (UINavigationController.m:6380)
17 UIKit 0x18f2dae14 -[UINavigationController _startDeferredTransitionIfNeeded:] + 1168 (UINavigationController.m:6601)
18 UIKit 0x18f2da890 -[UINavigationController __viewWillLayoutSubviews] + 164 (UINavigationController.m:6872)
19 UIKit 0x18f2da790 -[UILayoutContainerView layoutSubviews] + 188 (UILayoutContainerView.m:87)
20 UIKit 0x1a4ecdc18 -[UILayoutContainerViewAccessibility layoutSubviews] + 52 (UILayoutContainerViewAccessibility.m:114)
21 UIKit 0x18f231f00 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1276 (UIView.m:15124)
22 QuartzCore 0x189cc1998 -[CALayer layoutSublayers] + 184 (CALayer.mm:9302)
23 QuartzCore 0x189cc5b20 CA::Layer::layout_if_needed(CA::Transaction*) + 332 (CALayer.mm:9182)
24 QuartzCore 0x189c3236c CA::Context::commit_transaction(CA::Transaction*) + 336 (CALayer.mm:2416)
25 QuartzCore 0x189c59b90 CA::Transaction::commit() + 540 (CATransactionInternal.mm:425)
26 QuartzCore 0x189c5a9d0 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92 (CATransactionInternal.mm:795)
27 CoreFoundation 0x185c25edc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 (CFRunLoop.c:1824)
28 CoreFoundation 0x185c23894 __CFRunLoopDoObservers + 412 (CFRunLoop.c:1934)
29 CoreFoundation 0x185c23e50 __CFRunLoopRun + 1292 (CFRunLoop.c:2948)
30 CoreFoundation 0x185b43e58 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3245)
31 GraphicsServices 0x1879f0f84 GSEventRunModal + 100 (GSEvent.c:2245)
32 UIKit 0x18f29867c UIApplicationMain + 236 (UIApplication.m:3956)
33 MyAppiOS 0x101270700 0x100e1c000 + 4540160
34 MyAppiOS 0x1012d6584 0x100e1c000 + 4957572
35 MyAppiOS 0x100eafb7c 0x100e1c000 + 605052
36 MyAppiOS 0x100fefac4 0x100e1c000 + 1915588
37 MyAppiOS 0x101e36c3c 0x100e1c000 + 16886844
38 MyAppiOS 0x101eb2334 0x100e1c000 + 17392436
39 MyAppiOS 0x101eb55d8 0x100e1c000 + 17405400
40 MyAppiOS 0x101e1a124 0x100e1c000 + 16769316
41 MyAppiOS 0x101f6a904 0x100e1c000 + 18147588
42 MyAppiOS 0x100e55208 0x100e1c000 + 233992
43 libdyld.dylib 0x18566056c start + 4
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001857902e8 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001858a52f8 pthread_kill$VARIANT$mp + 396 (pthread.c:1484)
2 libsystem_c.dylib 0x00000001856ff060 __abort + 152 (abort.c:128)
3 libsystem_c.dylib 0x00000001856fefc8 abort + 152 (abort.c:99)
4 MyAppiOS 0x0000000101f63bc4 0x100e1c000 + 18119620
5 MyAppiOS 0x0000000101e6eda4 0x100e1c000 + 17116580
6 MyAppiOS 0x0000000101e26eb8 0x100e1c000 + 16821944
7 MyAppiOS 0x0000000101e25cc8 0x100e1c000 + 16817352
8 MyAppiOS 0x0000000101e1d8d8 0x100e1c000 + 16783576
9 MyAppiOS 0x0000000101011008 0x100e1c000 + 2052104
10 MyAppiOS 0x0000000101f63a10 0x100e1c000 + 18119184
11 MyAppiOS 0x0000000101271284 0x100e1c000 + 4543108
12 CoreFoundation 0x0000000185c7e6d8 __handleUncaughtException + 628 (NSException.m:219)
13 libobjc.A.dylib 0x0000000184ec4804 _objc_terminate() + 112 (objc-exception.mm:656)
14 libc++abi.dylib 0x0000000184eb454c std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:66)
15 libc++abi.dylib 0x0000000184eb3ea8 __cxa_throw + 136 (cxa_exception.cpp:130)
16 libobjc.A.dylib 0x0000000184ec465c objc_exception_throw + 364 (objc-exception.mm:546)
17 CoreFoundation 0x0000000185c7e2ac +[NSException raise:format:] + 116 (NSException.m:141)
18 UIKit 0x000000018f60f098 -[UIToolbar setTranslatesAutoresizingMaskIntoConstraints:] + 80 (UIToolbar.m:529)
19 MyAppiOS 0x00000001012639ec 0x100e1c000 + 4487660
20 MyAppiOS 0x00000001012e5db8 0x100e1c000 + 5021112
21 MyAppiOS 0x0000000101d6c8d8 0x100e1c000 + 16058584
22 MyAppiOS 0x0000000100eb9f5c 0x100e1c000 + 647004
23 MyAppiOS 0x0000000100fefac4 0x100e1c000 + 1915588
24 MyAppiOS 0x0000000101e36c3c 0x100e1c000 + 16886844
25 MyAppiOS 0x0000000101eb2334 0x100e1c000 + 17392436
26 MyAppiOS 0x0000000101eb2294 0x100e1c000 + 17392276
27 MyAppiOS 0x0000000100e20204 0x100e1c000 + 16900
28 MyAppiOS 0x0000000100e2b104 0x100e1c000 + 61700
29 UIKit 0x000000018f234ae8 -[UIViewController loadViewIfRequired] + 1040 (UIViewController.m:3133)
30 UIKit 0x000000018f2dbf70 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 76 (UINavigationController.m:6345)
31 UIKit 0x000000018f2db410 -[UINavigationController _startTransition:fromViewController:toViewController:] + 196 (UINavigationController.m:6380)
32 UIKit 0x000000018f2dae14 -[UINavigationController _startDeferredTransitionIfNeeded:] + 1168 (UINavigationController.m:6601)
33 UIKit 0x000000018f2da890 -[UINavigationController __viewWillLayoutSubviews] + 164 (UINavigationController.m:6872)
34 UIKit 0x000000018f2da790 -[UILayoutContainerView layoutSubviews] + 188 (UILayoutContainerView.m:87)
35 UIKit 0x00000001a4ecdc18 -[UILayoutContainerViewAccessibility layoutSubviews] + 52 (UILayoutContainerViewAccessibility.m:114)
36 UIKit 0x000000018f231f00 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1276 (UIView.m:15124)
37 QuartzCore 0x0000000189cc1998 -[CALayer layoutSublayers] + 184 (CALayer.mm:9302)
38 QuartzCore 0x0000000189cc5b20 CA::Layer::layout_if_needed(CA::Transaction*) + 332 (CALayer.mm:9182)
39 QuartzCore 0x0000000189c3236c CA::Context::commit_transaction(CA::Transaction*) + 336 (CALayer.mm:2416)
40 QuartzCore 0x0000000189c59b90 CA::Transaction::commit() + 540 (CATransactionInternal.mm:425)
41 QuartzCore 0x0000000189c5a9d0 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92 (CATransactionInternal.mm:795)
42 CoreFoundation 0x0000000185c25edc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 (CFRunLoop.c:1824)
43 CoreFoundation 0x0000000185c23894 __CFRunLoopDoObservers + 412 (CFRunLoop.c:1934)
44 CoreFoundation 0x0000000185c23e50 __CFRunLoopRun + 1292 (CFRunLoop.c:2948)
45 CoreFoundation 0x0000000185b43e58 CFRunLoopRunSpecific + 436 (CFRunLoop.c:3245)
46 GraphicsServices 0x00000001879f0f84 GSEventRunModal + 100 (GSEvent.c:2245)
47 UIKit 0x000000018f29867c UIApplicationMain + 236 (UIApplication.m:3956)
48 MyAppiOS 0x0000000101270700 0x100e1c000 + 4540160
49 MyAppiOS 0x00000001012d6584 0x100e1c000 + 4957572
50 MyAppiOS 0x0000000100eafb7c 0x100e1c000 + 605052
51 MyAppiOS 0x0000000100fefac4 0x100e1c000 + 1915588
52 MyAppiOS 0x0000000101e36c3c 0x100e1c000 + 16886844
53 MyAppiOS 0x0000000101eb2334 0x100e1c000 + 17392436
54 MyAppiOS 0x0000000101eb55d8 0x100e1c000 + 17405400
55 MyAppiOS 0x0000000101e1a124 0x100e1c000 + 16769316
56 MyAppiOS 0x0000000101f6a904 0x100e1c000 + 18147588
57 MyAppiOS 0x0000000100e55208 0x100e1c000 + 233992
58 libdyld.dylib 0x000000018566056c start + 4
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x0000000185790d80 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001858a3080 _pthread_wqthread + 1288 (pthread.c:0)
2 libsystem_pthread.dylib 0x00000001858a2b6c start_wqthread + 4
Thread 2 name:
Thread 2:
0 libsystem_kernel.dylib 0x00000001857900f0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001858a6ce4 _pthread_cond_wait$VARIANT$mp + 640 (pthread_cond.c:579)
2 MyAppiOS 0x0000000101f32424 0x100e1c000 + 17916964
3 libsystem_pthread.dylib 0x00000001858a42b4 _pthread_body + 308 (pthread.c:740)
4 libsystem_pthread.dylib 0x00000001858a4180 _pthread_start + 312 (pthread.c:799)
5 libsystem_pthread.dylib 0x00000001858a2b74 thread_start + 4

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.

Unclear crash report in iOS

I found couple of strange crash issues in my app and here is the details of it
Incident Identifier: 9ECA0354-F69F-4562-A9FC-4904319BFC72
CrashReporter Key: 7e75d7f19d6ccbb07328f3b3317626187ecbc9bb
Hardware Model: iPod5,1
Process: myApp [1760]
Path: /var/mobile/Applications/7E5B3CA8-81BA-4F6A-A2A8-1B8F4060A037/myApp.app/myApp
Identifier: myApp
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-09-24 11:33:16.513 +0530
OS Version: iOS 6.1.3 (10B329)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 11
Last Exception Backtrace:
0 CoreFoundation 0x342c229e __exceptionPreprocess + 158
1 libobjc.A.dylib 0x3bfa697a objc_exception_throw + 26
2 CoreFoundation 0x342c1d80 __NSFastEnumerationMutationHandler + 124
3 Foundation 0x34b62504 -[NSConcreteMapTable countByEnumeratingWithState:objects:count:] + 52
4 CoreFoundation 0x3424ad34 -[__NSFastEnumerationEnumerator nextObject] + 128
5 CoreFoundation 0x3421df0c -[NSEnumerator countByEnumeratingWithState:objects:count:] + 44
6 Foundation 0x34c7208e -[NSISEngine enumerateRows:] + 210
7 Foundation 0x34c77fda -[NSISEngine description] + 118
8 CoreFoundation 0x34232892 -[NSObject(NSObject) _copyDescription] + 30
9 CoreFoundation 0x342a32d6 __CFStringAppendFormatCore + 11134
10 CoreFoundation 0x3423dfa4 CFStringCreateWithFormatAndArguments + 68
11 CoreFoundation 0x342c2190 +[NSException raise:format:] + 52
12 Foundation 0x34c7411a -[NSISEngine minimizeConstantInObjectiveRowWithHead:] + 186
13 Foundation 0x34c76754 -[NSISEngine optimize] + 56
14 Foundation 0x34c76e6a -[NSISEngine tryToAddConstraintWithMarker:expression:integralizationAdjustment:mutuallyExclusiveConstraints:] + 630
15 Foundation 0x34c7fbba -[NSLayoutConstraint _addToEngine:integralizationAdjustment:mutuallyExclusiveConstraints:] + 390
16 UIKit 0x365033bc -[UIView(UIConstraintBasedLayout) _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:] + 124
17 UIKit 0x36503530 -[UIView(UIConstraintBasedLayout) _tryToAddConstraintWithoutUpdatingConstraintsArray:roundingAdjustment:mutuallyExclusiveConstraints:] + 32
18 UIKit 0x360ea2dc -[UIView(Internal) _didMoveFromWindow:toWindow:] + 372
19 UIKit 0x360ea5c2 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1114
20 UIKit 0x360e4e4e -[UIView(Hierarchy) _postMovedFromSuperview:] + 134
21 UIKit 0x360cc7d8 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1296
22 UIKit 0x360e9af2 -[UIScrollView(UIScrollViewInternal) _addContentSubview:atBack:] + 66
23 UIKit 0x360e993a -[UITableView(_UITableViewPrivate) _addContentSubview:atBack:] + 126
24 UIKit 0x360fc0a0 -[UITableView(_UITableViewPrivate) _updateVisibleHeadersAndFootersNow:] + 1696
25 UIKit 0x360fa506 -[UITableView(_UITableViewPrivate) _updateVisibleCellsNow:] + 1810
26 UIKit 0x361117ca -[UITableView layoutSubviews] + 202
27 UIKit 0x360cd7fe -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 254
28 QuartzCore 0x35e77d86 -[CALayer layoutSublayers] + 210
29 QuartzCore 0x35e77924 CA::Layer::layout_if_needed(CA::Transaction*) + 456
30 QuartzCore 0x35e78858 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 12
31 QuartzCore 0x35e7823e CA::Context::commit_transaction(CA::Transaction*) + 234
32 QuartzCore 0x35e7804c CA::Transaction::commit() + 312
33 QuartzCore 0x35e77eac CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 56
34 CoreFoundation 0x342976c8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 16
35 CoreFoundation 0x342959bc __CFRunLoopDoObservers + 272
36 CoreFoundation 0x34295d12 __CFRunLoopRun + 738
37 CoreFoundation 0x34208eb8 CFRunLoopRunSpecific + 352
38 CoreFoundation 0x34208d44 CFRunLoopRunInMode + 100
39 GraphicsServices 0x37dd02e6 GSEventRunModal + 70
40 UIKit 0x3611e2fc UIApplicationMain + 1116
41 myApp 0x000a4aca 0xa2000 + 10954
42 libdyld.dylib 0x3c3ddb1c start + 0
It says that thread 11 is crashed but this looks like main thread crash as I can see from last line. The thread 11 stack trace looks like this
Thread 11 Crashed:
0 libsystem_kernel.dylib 0x3c4a4d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3c3f2cf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3c3f2a12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3c3f28a0 start_wqthread + 4
Also the crash report points out that app was crashed while doing enumeration but I am not sure how it is related to UIView and UITableView objects as I see from the stack trace. Some more info, I have tableview which shows a list if data, this is fetched from server.
Can some help me in fixing this issue?
Thanks
#nkd, why not use a Crash Reporting Manager like , Crashlytics it does a two step symbolication process, once at the app, and at the server side, to give you exact location of your crash with all thread information, testing environment etc.
I have been using this extensively, helps a lot in resolving bugs.

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