App run on debug mode well and no error occur. But when i archive and run to below command;
npx react-native run-ios --configuration=Release
Archive is success but app crashes at LaunchScreen. Here is the Problem Report's backtrace.
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x10f9f7368 __exceptionPreprocess + 226
1 libobjc.A.dylib 0x10b148baf objc_exception_throw + 48
2 MyApp -> 0x100f4039c RCTFormatError + 0 (RCTAssert.m:167)
3 MyApp -> 0x100f59d6d __28-[RCTCxxBridge handleError:]_block_invoke + 651
4 libdispatch.dylib 0x10f0cb7fb _dispatch_call_block_and_release + 12
5 libdispatch.dylib 0x10f0cca3a _dispatch_client_callout + 8
6 libdispatch.dylib 0x10f0dc32c _dispatch_main_queue_drain + 1338
7 libdispatch.dylib 0x10f0dbde4 _dispatch_main_queue_callback_4CF + 31
8 CoreFoundation 0x10f9569f7 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
9 CoreFoundation 0x10f9513c6 __CFRunLoopRun + 2482
10 CoreFoundation 0x10f950637 CFRunLoopRunSpecific + 560
11 GraphicsServices 0x115fcd28a GSEventRunModal + 139
12 UIKitCore 0x11e4b1425 -[UIApplication _run] + 994
13 UIKitCore 0x11e4b6301 UIApplicationMain + 123
14 Akıllı Karavan 0x100e51ac0 main + 72 (main.m:8)
15 dyld_sim 0x10a9c32bf start_sim + 10
16 dyld 0x20240852e start + 462
17 dyld 0x202403000 ???
Any solution ?
Related
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
I developed a marketplace app using Expo. It works fine on Expo Go both on Android and iOS, as well as a standalone app for Android. The problem is when I build a .tar for iOS simulator or when I upload to Testflight to test it. Then it crashes right after showing the splash screen. I use a managed workflow, and I think I followed all the instructions.
Here's the crash log:
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'ExpoFatalError', reason: 'Expo encountered a fatal error: Unhandled JS Exception: Invariant Violation: Native module cannot be null.'
terminating with uncaught exception of type NSException
abort() called
CoreSimulator 757.5 - Device: iPhone 12 (0D59D0C0-2D3B-40ED-A8E2-DA0B1417C29C) - Runtime: iOS 14.5 (18E182) - DeviceType: iPhone 12
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff20422fba __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff20193ff5 objc_exception_throw + 48
2 ComGrabbiGrabbiapp 0x000000010b375821 -[EXAppViewController maybeShowError:] + 506
3 ComGrabbiGrabbiapp 0x000000010b396dce handleFatalReactError_block_invoke_2 + 574
4 libdispatch.dylib 0x00007fff201078df _dispatch_client_callout + 8
5 libdispatch.dylib 0x00007fff201156ca _dispatch_async_and_wait_invoke + 109
6 libdispatch.dylib 0x00007fff201078df _dispatch_client_callout + 8
7 libdispatch.dylib 0x00007fff20114a27 _dispatch_main_queue_callback_4CF + 1045
8 CoreFoundation 0x00007fff203908f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
9 CoreFoundation 0x00007fff2038b169 __CFRunLoopRun + 2781
10 CoreFoundation 0x00007fff2038a1a7 CFRunLoopRunSpecific + 567
11 GraphicsServices 0x00007fff2b874d85 GSEventRunModal + 139
12 UIKitCore 0x00007fff246c14df -[UIApplication _run] + 912
13 UIKitCore 0x00007fff246c639c UIApplicationMain + 101
14 ComGrabbiGrabbiapp 0x000000010b1461d0 main + 80
15 libdyld.dylib 0x00007fff2025abbd start + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff60309946 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff60343615 pthread_kill + 263
2 libsystem_c.dylib 0x00007fff200fbd4f __abort + 139
3 libsystem_c.dylib 0x00007fff200fbcc4 abort + 135
4 libc++abi.dylib 0x00007fff20254692 abort_message + 241
5 libc++abi.dylib 0x00007fff20245dfd demangling_terminate_handler() + 266
6 libobjc.A.dylib 0x00007fff20179ace _objc_terminate() + 96
7 libc++abi.dylib 0x00007fff20253aa7 std::__terminate(void (*)()) + 8
8 libc++abi.dylib 0x00007fff20253a49 std::terminate() + 41
9 libdispatch.dylib 0x00007fff201078f3 _dispatch_client_callout + 28
10 libdispatch.dylib 0x00007fff201156ca _dispatch_async_and_wait_invoke + 109
11 libdispatch.dylib 0x00007fff201078df _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff20114a27 _dispatch_main_queue_callback_4CF + 1045
13 com.apple.CoreFoundation 0x00007fff203908f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
14 com.apple.CoreFoundation 0x00007fff2038b169 __CFRunLoopRun + 2781
15 com.apple.CoreFoundation 0x00007fff2038a1a7 CFRunLoopRunSpecific + 567
16 com.apple.GraphicsServices 0x00007fff2b874d85 GSEventRunModal + 139
17 com.apple.UIKitCore 0x00007fff246c14df -[UIApplication _run] + 912
18 com.apple.UIKitCore 0x00007fff246c639c UIApplicationMain + 101
19 com.grabbi.grabbiapp 0x000000010b1461d0 main + 80
20 libdyld.dylib 0x00007fff2025abbd start + 1
Okay after a weekend of debugging I fixed it. I had my main app component (in Expo) wrapped in a Stripe Provider component. Since I wasn't using Stripe but Paypal for checkout, I deleted the Stripe wrapper and now it works.
if(fontsLoaded){
return (
<StripeProvider
publishableKey="xxxxxxxxxxxxxxxxx"
urlScheme="your-url-scheme" // required for 3D Secure and bank redirects
merchantIdentifier="merchant.com.{{YOUR_APP_NAME}}" // required for Apple Pay
>
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<RootRouter />
</PersistGate>
</Provider>
</StripeProvider>
);
I got a crash for my own app on my iPhone, and am trying to figure out what happened. Here is the relevant part from the crash log in Xcode (sorry for the poor formatting):
Exception Type: EXC_CRASH (SIGABRT) Exception Codes:
0x0000000000000000, 0x0000000000000000 Exception Note:
EXC_CORPSE_NOTIFY Triggered by Thread: 0
Application Specific Information: abort() called
Filtered syslog: None found
Last Exception Backtrace: 0 CoreFoundation
0x1828c2d8c exceptionPreprocess + 228 1 libobjc.A.dylib
0x181a7c5ec objc_exception_throw + 55 2 CoreFoundation
0x1828d0098 -[NSObject+ 1388696 (NSObject) doesNotRecognizeSelector:]
+ 139 3 CoreFoundation 0x1828c85c8 ___forwarding_ + 1379 4 CoreFoundation 0x1827ae41c _CF_forwarding_prep_0 + 91 5 MyApp 0x102c33a0c 0x102bf0000 + 277004 6 MyApp
0x102c39d9c 0x102bf0000 + 302492 7 MyApp
0x102c1bed8 0x102bf0000 + 179928 8 MyApp
0x102c0754c 0x102bf0000 + 95564 9 libdispatch.dylib
0x1821b4aa0 _dispatch_call_block_and_release + 23 10
libdispatch.dylib 0x1821b4a60 _dispatch_client_callout +
15 11 libdispatch.dylib 0x1821f5bcc
_dispatch_main_queue_callback_4CF$VARIANT$armv81 + 527 12 CoreFoundation 0x18286b070
CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 11 13 CoreFoundation 0x182868bc8 __CFRunLoopRun + 2271 14
CoreFoundation 0x182788da8 CFRunLoopRunSpecific + 551
15 GraphicsServices 0x18476e020 GSEventRunModal + 99 16
UIKit 0x18c7a8758 UIApplicationMain + 235 17
MyApp 0x102bf48f4 0x102bf0000 + 18676 18
libdyld.dylib 0x182219fc0 start + 3
Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0
Crashed: 0 libsystem_kernel.dylib 0x00000001823492e0
pthread_kill + 8 1 libsystem_pthread.dylib 0x00000001824ee6a8 pthread_kill$VARIANT$armv81 + 360 2
libsystem_c.dylib 0x00000001822b7d0c abort + 140 3
libc++abi.dylib 0x0000000181a532c8 __cxa_bad_cast + 0 4
libc++abi.dylib 0x0000000181a53470
default_unexpected_handler+ 5232 () + 0 5 libobjc.A.dylib
0x0000000181a7c8d4 _objc_terminate+ 35028 () + 124 6
libc++abi.dylib 0x0000000181a6d37c
std::__terminate(void ()+ 111484 ()) + 16 7 libc++abi.dylib
0x0000000181a6cccc __cxxabiv1::exception_cleanup_func+ 109772
(_Unwind_Reason_Code, _Unwind_Exception) + 0 8 libobjc.A.dylib
0x0000000181a7c720 _objc_exception_destructor+ 34592 (void*) + 0 9
CoreFoundation 0x00000001828d0098
__methodDescriptionForSelector + 0 10 CoreFoundation 0x00000001828c85c8 ___forwarding_ + 1380 11 CoreFoundation
0x00000001827ae41c _CF_forwarding_prep_0 + 92 12 MyApp
0x0000000102c33a0c 0x102bf0000 + 277004 13 MyApp 0x0000000102c39d9c 0x102bf0000 + 302492 14 MyApp 0x0000000102c1bed8 0x102bf0000 + 179928 15 MyApp 0x0000000102c0754c 0x102bf0000 + 95564 16 libdispatch.dylib 0x00000001821b4aa0 _dispatch_call_block_and_release + 24 17
libdispatch.dylib 0x00000001821b4a60
_dispatch_client_callout + 16 18 libdispatch.dylib 0x00000001821f5bcc _dispatch_main_queue_callback_4CF$VARIANT$armv81 +
528 19 CoreFoundation 0x000000018286b070
CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12 20 CoreFoundation 0x0000000182868bc8 __CFRunLoopRun +
2272 21 CoreFoundation 0x0000000182788da8
CFRunLoopRunSpecific + 552 22 GraphicsServices
0x000000018476e020 GSEventRunModal + 100 23 UIKit
0x000000018c7a8758 UIApplicationMain + 236 24 MyApp
0x0000000102bf48f4 0x102bf0000 + 18676 25 libdyld.dylib 0x0000000182219fc0 start + 4
So I do see some errors but they are all non-specific, not pointing to a specific call.
Can I extract more info from this log or somewhere else to figure out what could have gone wrong?
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
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.