Determine Cause of Crash - ios

My app uses Parse. It puts all objects from class of 'Prayers' into a TableView. When it loads, it remembers all previously loaded items, searches for new ones. Starting today, it began crashing when a new item was added. My crash log looks like this, any thoughts?:
Date/Time: 2015-02-13 14:13:25.028 -0600
Launch Time: 2015-02-13 14:13:23.173 -0600
OS Version: iOS 8.1.3 (12B466)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x185ce259c __exceptionPreprocess + 132
1 libobjc.A.dylib 0x1964340e4 objc_exception_throw + 60
2 CoreFoundation 0x185bc762c -[__NSArrayM objectAtIndex:] + 264
3 iPrayed 0x1000227a4 0x100014000 + 59300
4 UIKit 0x18a5a9b7c __66-[UISectionRowData refreshWithSection:tableView:tableViewRowData:]_block_invoke + 500
5 UIKit 0x18a56b9bc -[UISectionRowData refreshWithSection:tableView:tableViewRowData:] + 3872
6 UIKit 0x18a56dc10 -[UITableViewRowData numberOfRows] + 112
7 UIKit 0x18a56db4c -[UITableView noteNumberOfRowsChanged] + 156
8 UIKit 0x18a56d498 -[UITableView reloadData] + 1304
9 iPrayed 0x100091730 0x100014000 + 513840
10 iPrayed 0x1000c9370 0x100014000 + 742256
11 libdispatch.dylib 0x196a793ac _dispatch_call_block_and_release + 24
12 libdispatch.dylib 0x196a7936c _dispatch_client_callout + 16
13 libdispatch.dylib 0x196a7d980 _dispatch_main_queue_callback_4CF + 932
14 CoreFoundation 0x185c99fa4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
15 CoreFoundation 0x185c9804c __CFRunLoopRun + 1492
16 CoreFoundation 0x185bc50a4 CFRunLoopRunSpecific + 396
17 GraphicsServices 0x18ed5f5a4 GSEventRunModal + 168
18 UIKit 0x18a4f6aa4 UIApplicationMain + 1488
19 iPrayed 0x1000515e4 0x100014000 + 251364
20 libdyld.dylib 0x196aa2a08 start + 4

These lines seem to indicate that your crash is caused by an attempt to access a non-existant index of your array:
1 libobjc.A.dylib 0x1964340e4 objc_exception_throw + 60
2 CoreFoundation 0x185bc762c -[__NSArrayM objectAtIndex:] + 264
If you want any further help, I'd recommend posting the content of your table view methods.

Related

RevenueCat Purchases.configure crashes my Xcode app after 2 minutes in TestFlight

My Xcode app has RevenueCat Purchases.configure(withAPIKey: "myApiKey") which runs fine in a device from Xcode. The same app crashes in TestFlight after 2 minutes even if left alone. I commented out Purchases.configure and it stopped crashing in TestFlight.
I need help.
2 Crash reports from my iPhone device:
Date/Time: 2022-06-29 13:51:48.0337 -0700
Launch Time: 2022-06-29 13:20:37.1510 -0700
OS Version: iPhone OS 15.5 (19F77)
Release Type: User
Baseband Version: 7.61.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Last Exception Backtrace:
0 CoreFoundation 0x18151fd0c __exceptionPreprocess + 216
1 libobjc.A.dylib 0x198d10ee4 objc_exception_throw + 56
2 CoreFoundation 0x18161e740 -[NSInvocation
retainArguments].cold.1 + 0
3 CoreFoundation 0x181617398 __CFReallocationFailed + 116
4 CoreFoundation 0x1814be03c __CFSafelyReallocate + 68
5 Foundation 0x182bcbff0 _convertJSONString + 208
6 Foundation 0x182bd9318 _writeJSONString + 80
7 Foundation 0x182c4a3cc ___writeJSONObject_block_invoke + 384
8 CoreFoundation 0x1814ca988 NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK + 16
9 CoreFoundation 0x1814e14f4 -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 208
10 Foundation 0x182bd0c38 _writeJSONObject + 468
11 Foundation 0x182c42978 -[_NSJSONWriter dataWithRootObject:options:] + 84
12 Foundation 0x182c11aa8 +[NSJSONSerialization dataWithJSONObject:options:error:] + 116
13 Purchases 0x1055ea8a0 0x1055d8000 + 75936
14 Purchases 0x1055e9584 0x1055d8000 + 71044
15 Purchases 0x1055e9478 0x1055d8000 + 70776
16 Purchases 0x1055e1540 0x1055d8000 + 38208
17 Purchases 0x1055fd680 0x1055d8000 + 153216
18 PurchasesCoreSwift 0x105646638 0x10562c000 + 108088
19 PurchasesCoreSwift 0x105645cc0 0x10562c000 + 105664
20 Purchases 0x1055f619c 0x1055d8000 + 123292
21 Purchases 0x1055fd314 0x1055d8000 + 152340
22 Purchases 0x1055fd198 0x1055d8000 + 151960
23 Purchases 0x1055fbe64 0x1055d8000 + 147044
24 Purchases 0x1055fd128 0x1055d8000 + 151848
25 Purchases 0x1055fc790 0x1055d8000 + 149392
26 Purchases 0x105601078 0x1055d8000 + 168056
27 StoreKit 0x1a9cf3d94 __48-[SKPaymentQueue
_updatedTransactions:restored:]_block_invoke_2 + 64
28 libdispatch.dylib 0x1811df094 _dispatch_call_block_and_release + 24
29 libdispatch.dylib 0x1811e0094 _dispatch_client_callout + 16
30 libdispatch.dylib 0x1811c1858 _dispatch_main_queue_drain + 888
31 libdispatch.dylib 0x1811c14d0
_dispatch_main_queue_callback_4CF$VARIANT$armv81 + 36
32 CoreFoundation 0x1814db0c4 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
33 CoreFoundation 0x1814985e8 __CFRunLoopRun + 2544
34 CoreFoundation 0x1814ab240 CFRunLoopRunSpecific + 572
35 GraphicsServices 0x1a1fad988 GSEventRunModal + 160
36 UIKitCore 0x183cab41c -[UIApplication _run] + 1080
37 UIKitCore 0x183a44b88 UIApplicationMain + 336
38 libswiftUIKit.dylib 0x197dfaee4 UIApplicationMain(::::) + 100
39 VGravesite 0x104953858 0x10494c000 + 30808
40 dyld 0x104e5c3d0 start + 444
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x1bbd0fbbc __pthread_kill + 8
1 libsystem_pthread.dylib 0x1dc763854 pthread_kill + 208
2 libsystem_c.dylib 0x18bc006ac abort + 124
3 libc++abi.dylib 0x198e08dd8 abort_message + 128
4 libc++abi.dylib 0x198df955c demangling_terminate_handler() + 300
5 libobjc.A.dylib 0x198d168f8 _objc_terminate() + 124
6 libc++abi.dylib 0x198e08274 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x198e0821c std::terminate() + 60
8 libdispatch.dylib 0x1811e00a8 _dispatch_client_callout + 36
9 libdispatch.dylib 0x1811c1858 _dispatch_main_queue_drain + 888
10 libdispatch.dylib 0x1811c14d0 _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 36
11 CoreFoundation 0x1814db0c4 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
12 CoreFoundation 0x1814985e8 __CFRunLoopRun + 2544
13 CoreFoundation 0x1814ab240 CFRunLoopRunSpecific + 572
14 GraphicsServices 0x1a1fad988 GSEventRunModal + 160
15 UIKitCore 0x183cab41c -[UIApplication _run] + 1080
16 UIKitCore 0x183a44b88 UIApplicationMain + 336
17 libswiftUIKit.dylib 0x197dfaee4 UIApplicationMain(::::) + 100
18 VGravesite 0x104953858 0x10494c000 + 30808
19 dyld 0x104e5c3d0 start + 444
======================================
Date/Time: 2022-06-29 14:26:58.5713 -0700
Launch Time: 2022-06-29 14:25:59.1190 -0700
OS Version: iPhone OS 15.5 (19F77)
Release Type: User
Baseband Version: 7.61.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Kernel Triage:
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x1bbd0fbbc __pthread_kill + 8
1 libsystem_pthread.dylib 0x1dc763854 pthread_kill + 208
2 libsystem_c.dylib 0x18bc006ac abort + 124
3 libc++abi.dylib 0x198e08dd8 abort_message + 128
4 libc++abi.dylib 0x198df955c demangling_terminate_handler() + 300
5 libobjc.A.dylib 0x198d168f8 _objc_terminate() + 124
6 libc++abi.dylib 0x198e08274 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x198e0821c std::terminate() + 60
8 libdispatch.dylib 0x1811e00a8 _dispatch_client_callout + 36
9 libdispatch.dylib 0x1811c1858 _dispatch_main_queue_drain + 888
10 libdispatch.dylib 0x1811c14d0
_dispatch_main_queue_callback_4CF$VARIANT$armv81 + 36
11 CoreFoundation 0x1814db0c4 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
12 CoreFoundation 0x1814985e8 __CFRunLoopRun + 2544
13 CoreFoundation 0x1814ab240 CFRunLoopRunSpecific + 572
14 GraphicsServices 0x1a1fad988 GSEventRunModal + 160
15 UIKitCore 0x183cab41c -[UIApplication _run] + 1080
16 UIKitCore 0x183a44b88 UIApplicationMain + 336
17 libswiftUIKit.dylib 0x197dfaee4 UIApplicationMain(::::) + 100
18 VGravesite 0x1007cb858 0x1007c4000 + 30808
19 dyld 0x100e703d0 start + 444

UICollectionViewData layoutAttributesForItemAtIndexPath HockeyApp Crash Report

I am using HockeyApp for crash reporting and getting the following crash. I am unable to reproduce the crash. Can this be due to animating the scroll in the UICollectionView?
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x66dbc2408
Crashed Thread: 0
Application Specific Information:
Selector name found in current argument registers: indexAtPosition:
Thread 0 Crashed:
0 libobjc.A.dylib 0x0000000198e8c0b0 objc_retain + 16
1 UIKit 0x00000001898bade0 -[UICollectionViewData layoutAttributesForItemAtIndexPath:] + 248
2 UIKit 0x0000000189acb1dc -[UICollectionView scrollToItemAtIndexPath:atScrollPosition:animated:] + 256
3 MyApp 0x000000010016c33c -[CalendarView scrollToDate:animated:] (CalendarView.m:183)
4 MyApp 0x00000001001607cc __56-[CalendarViewController _updateHighlightedDateRange]_block_invoke (CalendarViewController.m:577)
5 libdispatch.dylib 0x00000001996916e8 _dispatch_call_block_and_release + 20
6 libdispatch.dylib 0x00000001996916a8 _dispatch_client_callout + 12
7 libdispatch.dylib 0x0000000199696db0 _dispatch_main_queue_callback_4CF + 1840
8 CoreFoundation 0x00000001842781f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
9 CoreFoundation 0x0000000184276060 __CFRunLoopRun + 1624
10 CoreFoundation 0x00000001841a4ca0 CFRunLoopRunSpecific + 380
11 GraphicsServices 0x000000018f3e0088 GSEventRunModal + 176
12 UIKit 0x00000001898bcffc UIApplicationMain + 200
13 MyApp 0x000000010015c2a4 main (main.m:12)
14 libdyld.dylib 0x00000001996c28b8 start + 0

OS 8.1 Mobile Safari Crashes when adding options to a <select> element

I got the following crash report when trying to add options to a element using jQuery 1.11 and native javascript. Any ideas? Does anyone know anything about this crash?
Date/Time: 2014-11-26 11:45:28.852 -0600
Launch Time: 2014-11-26 11:40:10.181 -0600
OS Version: iOS 8.1 (12B410)
Report Version: 105
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x2bb3bc1a exceptionPreprocess + 122
1 libobjc.A.dylib 0x39720c86 objc_exception_throw + 34
2 CoreFoundation 0x2bb3bb60 +[NSException raise:format:] + 108
3 UIKit 0x2f2023a2 -[UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:] + 442
4 UIKit 0x2f2021be -[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:] + 34
5 WebKit 0x2f979aaa -[WKSelectTableViewController viewWillAppear:] + 146
6 UIKit 0x2f010766 -[UIViewController setViewAppearState:isAnimating:] + 434
7 UIKit 0x2f2c6dc8 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 580
8 UIKit 0x2f074c48 _applyBlockToCFArrayCopiedToStack + 304
9 UIKit 0x2eff0aa6 _afterCACommitHandler + 454
10 CoreFoundation 0x2bb023b0 _CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 16
11 CoreFoundation 0x2baffa6e __CFRunLoopDoObservers + 274
12 CoreFoundation 0x2baffe76 __CFRunLoopRun + 910
13 CoreFoundation 0x2ba4e20c CFRunLoopRunSpecific + 472
14 CoreFoundation 0x2ba4e01e CFRunLoopRunInMode + 102
15 GraphicsServices 0x32e2d0a4 GSEventRunModal + 132
16 UIKit 0x2f05a1cc UIApplicationMain + 1436
17 MobileSafari 0x0007a944 0x72000 + 35140
18 libdyld.dylib 0x39ca0aaa tlv_initializer + 2
iPad, iOS 8.1

How do I debug this crash in UIDictationController?

Recently I am trying to debug with the information provided by Crash Reports. So far I have been able to identify and fix some bugs but not this one.
As I read from the crash report, it's something wrong with UIDictationController, but my code did not call UIDictationController at all. The crash report is generated by PLCrashReporter.
It seems that the user is using an iPad Mini (WiFi) and running iOS 6.0.2.
Incident Identifier: [REMOVED]
CrashReporter Key: [REMOVED]
Hardware Model: iPad2,5
Process: MyApp [2849]
Path: [REMOVED]
Identifier: com.yourcompany.MyApp
Version: 1.1
Code Type: ARM
Parent Process: launchd [1]
Date/Time: 2013-01-26 02:11:01 +0000
OS Version: iPhone OS 6.0.2 (10A550)
Report Version: 104
Exception Type: SIGABRT
Exception Codes: #0 at 0x32255350
Crashed Thread: 0
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
Last Exception Backtrace:
0 CoreFoundation 0x3882e2a3 __exceptionPreprocess + 163
1 libobjc.A.dylib 0x30d8897f objc_exception_throw + 31
2 CoreFoundation 0x387788d9 -[__NSArrayM insertObject:atIndex:] + 769
3 UIKit 0x36ad24c3 -[UIDictationMeterView initWithFrame:] + 267
4 UIKit 0x36abe699 -[UIDictationView initWithFrame:] + 281
5 UIKit 0x36abdcd1 +[UIDictationView sharedInstance] + 145
6 UIKit 0x36aae7f5 -[UIDictationController setState:] + 149
7 UIKit 0x36aaef5f -[UIDictationController setupForDictationStart] + 199
8 UIKit 0x36aae5d7 -[UIDictationController startConnectionForReason:] + 51
9 UIKit 0x36aaf173 -[UIDictationController startDictationFromLayout] + 55
10 UIKit 0x36825c09 -[UIKeyboardLayoutStar touchUp:] + 5249
11 UIKit 0x3682472f -[UIKeyboardLayout touchesEnded:withEvent:] + 387
12 UIKit 0x3670c5f1 -[UIWindow _sendTouchesForEvent:] + 525
13 UIKit 0x366f9801 -[UIApplication sendEvent:] + 381
14 UIKit 0x366f911b _UIApplicationHandleEvent + 6155
15 GraphicsServices 0x3771e5a3 _PurpleEventCallback + 591
16 GraphicsServices 0x3771e1d3 PurpleEventCallback + 35
17 CoreFoundation 0x38803173 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 35
18 CoreFoundation 0x38803117 __CFRunLoopDoSource1 + 139
19 CoreFoundation 0x38801f99 __CFRunLoopRun + 1385
20 CoreFoundation 0x38774ebd CFRunLoopRunSpecific + 357
21 CoreFoundation 0x38774d49 CFRunLoopRunInMode + 105
22 GraphicsServices 0x3771d2eb GSEventRunModal + 75
23 UIKit 0x3674d2f9 UIApplicationMain + 1121
24 MyApp 0x000032e1 main (main.m:36)
25 MyApp 0x00003230 start + 40
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x30f10350 __pthread_kill + 8
1 libsystem_c.dylib 0x304f8973 abort + 95
2 MyApp 0x000e954f uncaught_exception_handler + 27
3 CoreFoundation 0x3882e57f __handleUncaughtException + 615
4 libobjc.A.dylib 0x30d88a65 _objc_terminate() + 129
5 libc++abi.dylib 0x3719807b safe_handler_caller(void (*)()) + 79
6 libc++abi.dylib 0x37198114 std::terminate() + 20
7 libc++abi.dylib 0x37199599 __cxa_current_exception_type + 1
8 libobjc.A.dylib 0x30d889d1 objc_exception_rethrow + 13
9 CoreFoundation 0x38774f21 CFRunLoopRunSpecific + 457
10 CoreFoundation 0x38774d49 CFRunLoopRunInMode + 105
11 GraphicsServices 0x3771d2eb GSEventRunModal + 75
12 UIKit 0x3674d2f9 UIApplicationMain + 1121
13 MyApp 0x000032e1 main (main.m:36)
Is there any way that I can do with this bug? Or, at least mitigating the issue? Thanks in advance.
the problem is that somewhere in your app you have a keyboard come up and with iOS version 6.0.1 and 6.0.2, apple enabled the dictation controller even if you didn't specify it to be enabled. Two solutions to fixing it: create a custom keyboard without it or implement dictation in your app.
My suggestion is to just let it be, only affects two outdate iOS versions and hopefully the crashes will go away as the users upgrade their devices
I have the keyboard coming up for a custom TextView, and when the user pushed the dictation button, said something, pushed finish, and then they tried to dismiss the keyboard, there would be a crash. Possible this is also what you're experiencing?

iPhone crash log and how to understand it

This is one crash log I've downloaded from iTunesConnect website.
Incident Identifier: 20D5CB0F-58BE-41E5-B3F6-9BC8091E518C
Hardware Model: iPhone4,1
Process: iPill [2006]
Path: /var/mobile/Applications/4567191D-1013-40F3-A02A-0B3C2552FCD3/iPill.app/iPill
Identifier: iPill
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-07-12 20:59:23.716 +0200
OS Version: iPhone OS 5.1.1 (9B206)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x3558688f __exceptionPreprocess + 163
1 libobjc.A.dylib 0x3792d259 objc_exception_throw + 33
2 CoreFoundation 0x354cf9db -[__NSArrayM objectAtIndex:] + 271
3 iPill 0x0008225b -[ProssimeDosi tableView:cellForRowAtIndexPath:] (ProssimeDosi.m:314)
4 UIKit 0x3301aefb -[UITableView(UITableViewInternal) _createPreparedCellForGlobalRow:withIndexPath:] + 547
5 UIKit 0x33019fd9 -[UITableView(_UITableViewPrivate) _updateVisibleCellsNow:] + 1077
6 UIKit 0x33019763 -[UITableView layoutSubviews] + 207
7 UIKit 0x32fbdf37 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 183
8 CoreFoundation 0x354e51fb -[NSObject performSelector:withObject:] + 43
9 QuartzCore 0x323b5aa5 -[CALayer layoutSublayers] + 217
10 QuartzCore 0x323b56bd CA::Layer::layout_if_needed(CA::Transaction*) + 217
11 QuartzCore 0x323b9843 CA::Context::commit_transaction(CA::Transaction*) + 227
12 QuartzCore 0x323b957f CA::Transaction::commit() + 315
13 QuartzCore 0x323b14b9 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 57
14 CoreFoundation 0x3555ab1b __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 19
15 CoreFoundation 0x35558d57 __CFRunLoopDoObservers + 259
16 CoreFoundation 0x355590b1 __CFRunLoopRun + 761
17 CoreFoundation 0x354dc4a5 CFRunLoopRunSpecific + 301
18 CoreFoundation 0x354dc36d CFRunLoopRunInMode + 105
19 GraphicsServices 0x37178439 GSEventRunModal + 137
20 UIKit 0x32fe8cd5 UIApplicationMain + 1081
21 iPill 0x000799b7 main (main.m:16)
22 iPill 0x0007996c 0x78000 + 6508
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x35e3c32c __pthread_kill + 8
1 libsystem_c.dylib 0x32988208 pthread_kill + 48
2 libsystem_c.dylib 0x32981298 abort + 88
3 libc++abi.dylib 0x3593ef64 abort_message + 40
4 libc++abi.dylib 0x3593c346 _ZL17default_terminatev + 18
5 libobjc.A.dylib 0x3792d350 _objc_terminate + 140
6 libc++abi.dylib 0x3593c3be _ZL19safe_handler_callerPFvvE + 70
7 libc++abi.dylib 0x3593c44a std::terminate() + 14
8 libc++abi.dylib 0x3593d81e __cxa_rethrow + 82
9 libobjc.A.dylib 0x3792d2a2 objc_exception_rethrow + 6
10 CoreFoundation 0x354dc506 CFRunLoopRunSpecific + 398
11 CoreFoundation 0x354dc366 CFRunLoopRunInMode + 98
12 GraphicsServices 0x37178432 GSEventRunModal + 130
13 UIKit 0x32fe8cce UIApplicationMain + 1074
14 iPill 0x000799b0 main (main.m:16)
15 iPill 0x00079964 0x78000 + 6500
I've pasted only thread 0 because it seems it is the one which crashed.
This is all new to me and I have no idea how to interpret this log and solve the problem.
I've tested my App on my iPhones 4 and 4s and on a 3GS of a friend of mine and we didn't see any crash.
Now I'm getting 1 star reviews from some people saying iPill is crashing a lot.
Any help will be really appreciated.
Thanks.
I'd say to start in your tables cellForRowAtIndexpath method.
I'd hazard a guess that there's an issue with your data model and it's calling data from an array that is empty.
Just from this crashlog it looks as if you're having an out-of-bounds problem triggered by line 314 of ProssimeDosi.m due to something requesting more data than is available.
See the accepted answer here for a more elaborate explanation: Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSMutableArray objectAtIndex:]: index 1 beyond bounds [0 .. 0]'

Resources