When I run my iOS app in Xcode & test it on my device (before submitting) it returns no errors and it works flawlessly. But when I test the app after the update to the app store, it crashes every time I open the app on my device. I get the following error in my crash log:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x2f9ecf06 __exceptionPreprocess + 126
1 libobjc.A.dylib 0x3a183ce2 objc_exception_throw + 34
2 CoreData 0x2f72a694 -[NSPersistentStoreCoordinator initWithManagedObjectModel:] + 392
3 TapNotes 0x00015d3c -[AppDelegate persistentStoreCoordinator] (AppDelegate.m:104)
4 TapNotes 0x00015b48 -[AppDelegate managedObjectContext] (AppDelegate.m:73)
5 TapNotes 0x00016904 -[DeviceViewController managedObjectContext] (HomeViewController.m:22)
6 TapNotes 0x00016b04 -[DeviceViewController viewDidAppear:] (HomeViewController.m:51)
7 UIKit 0x32236d1e -[UIViewController _setViewAppearState:isAnimating:] + 434
8 UIKit 0x322e6052 -[UINavigationController viewDidAppear:] + 178
9 UIKit 0x32236d1e -[UIViewController _setViewAppearState:isAnimating:] + 434
10 UIKit 0x3229be7a -[UIViewController _executeAfterAppearanceBlock] + 50
11 UIKit 0x3229be04 _applyBlockToCFArrayCopiedToStack + 312
12 UIKit 0x32214b6e _afterCACommitHandler + 454
13 CoreFoundation 0x2f9b8034 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 16
14 CoreFoundation 0x2f9b59c2 __CFRunLoopDoObservers + 282
15 CoreFoundation 0x2f9b5d0e __CFRunLoopRun + 734
16 CoreFoundation 0x2f920764 CFRunLoopRunSpecific + 520
17 CoreFoundation 0x2f920546 CFRunLoopRunInMode + 102
18 GraphicsServices 0x3488d6ce GSEventRunModal + 134
19 UIKit 0x3227f88c UIApplicationMain + 1132
20 TapNotes 0x00016886 main (main.m:16)
21 libdyld.dylib 0x3a681ab2 tlv_initializer + 2
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3a7381f0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x3a7a07b2 pthread_kill + 54
2 libsystem_c.dylib 0x3a6e8ff4 abort + 72
3 libc++abi.dylib 0x39b3798a abort_message + 70
4 libc++abi.dylib 0x39b506e2 default_terminate_handler() + 250
5 libobjc.A.dylib 0x3a183f7a _objc_terminate() + 190
6 libc++abi.dylib 0x39b4e1b0 std::__terminate(void (*)()) + 76
7 libc++abi.dylib 0x39b4dd12 __cxa_rethrow + 98
8 libobjc.A.dylib 0x3a183e2a objc_exception_rethrow + 38
9 CoreFoundation 0x2f9207da CFRunLoopRunSpecific + 638
10 CoreFoundation 0x2f920546 CFRunLoopRunInMode + 102
11 GraphicsServices 0x3488d6ce GSEventRunModal + 134
12 UIKit 0x3227f88c UIApplicationMain + 1132
13 TapNotes 0x00016886 main (main.m:16)
14 libdyld.dylib 0x3a681ab4 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x3a725804 kevent64 + 24
1 libdispatch.dylib 0x3a674050 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x3a66e2de _dispatch_mgr_thread + 34
Thread 2:
0 libsystem_kernel.dylib 0x3a738c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3a79dc1e _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3a79dad8 start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x3a738c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3a79dc1e _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3a79dad8 start_wqthread + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x00002060
r4: 0x00000006 r5: 0x3c69418c r6: 0x00000000 r7: 0x27df2594
r8: 0x17e8d090 r9: 0x00000001 r10: 0x0000000c r11: 0x00000002
ip: 0x00000148 sp: 0x27df2588 lr: 0x3a7a07b7 pc: 0x3a7381f0
cpsr: 0x00000010
I have tried opening on multiple devices & the same thing occurs. What should I do to resvole this issue?
From the look of the log you probably have the default Core Data stack in your code, and in the update modified your object model. You then have problems with migration on an version update. There in the Core Data template there is a nice call to abort() in the
- (NSPersistentStoreCoordinator *)persistentStoreCoordinator
method. There is a nice long comment about how it shouldn't appear in production code and some ideas on migration. I'd take a look in that method and verify the abort() is gone.
Related
I tried with many search with the above title and also do as many advice of my search but cannot solved the problem. My app got crash when I build on the iPad which had jail break. But with the device not jail break it worked. Call the below function is the reason for crash:
-(void)btnLoginPressed:(id)sender {
[[MoboAccesstoken ActiveAccessToken] setMoboAccessTokenDelegate:self];
if (![[MoboAccesstoken ActiveAccessToken]isOpened]){
[MoboSDK openActiveSessionWithCompletion:^(NSDictionary *data) {
NSLog(#"data: %#", data);
}];
}
}
and the stack trace is:
2014-06-05 13:11:39.749 g1[1687:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSPlaceholderString initWithString:]: nil argument'
*** First throw call stack:
(0x355e988f 0x3320d259 0x355e9789 0x355e97ab 0x3499d4c9 0x71af33 0x71cb3f 0x71b893 0x71c8bf 0x1ae2f9 0x2c619f 0x4054ef 0x15dea3 0xca883 0xcf5ab 0x558dcd 0x6a73cd 0x2a5a9f 0x30399f 0x4ba2bb 0x4ba365 0x4ab929 0x4abd4b 0x4abd71 0x2c50fd 0x334c47 0x32d0392b 0x32d03319 0x32ce9695 0x32ce8f3b 0x332db22b 0x355bd523 0x355bd4c5 0x355bc313 0x3553f4a5 0x3553f36d 0x332da439 0x32d17cd5 0xa1167 0x99de8)
terminate called throwing an exception
The image of crash log:
Incident Identifier: 0F14065E-394E-43C4-8B6C-007CF55EDAEA
CrashReporter Key: 975f6d2f7ff682cc1bad50cfed0e860f0502f830
Hardware Model: iPad1,1
Process: TestMoboSDK-Client [294]
Path: /var/mobile/Applications/077E9D1E-0594-45F1-8A23-154B630B8FDB/TestMoboSDK-Client.app/TestMoboSDK-Client
Identifier: TestMoboSDK-Client
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-06-05 18:38:04.276 +0700
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 0x357d688f __exceptionPreprocess + 163
1 libobjc.A.dylib 0x333fa259 objc_exception_throw + 32
2 CoreFoundation 0x357d6789 +[NSException raise:format:arguments:] + 100
3 CoreFoundation 0x357d67ab +[NSException raise:format:] + 34
4 Foundation 0x34b8a4c9 -[NSPlaceholderString initWithString:] + 92
5 TestMoboSDK-Client 0x000f4921 0xe8000 + 51489
6 TestMoboSDK-Client 0x000f05c1 0xe8000 + 34241
7 TestMoboSDK-Client 0x000f4283 0xe8000 + 49795
8 UIKit 0x3310360b _UIXXRemoteNotificationRegistrationSucceeded + 146
9 UIKit 0x331040dd _XRemoteNotificationRegistrationSucceeded + 116
10 AppSupport 0x33ce5af9 migHelperRecievePortCallout + 148
11 CoreFoundation 0x357aa523 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 38
12 CoreFoundation 0x357aa4c5 __CFRunLoopDoSource1 + 140
13 CoreFoundation 0x357a9313 __CFRunLoopRun + 1370
14 CoreFoundation 0x3572c4a5 CFRunLoopRunSpecific + 300
15 CoreFoundation 0x3572c36d CFRunLoopRunInMode + 104
16 GraphicsServices 0x334c7439 GSEventRunModal + 136
17 UIKit 0x32f04cd5 UIApplicationMain + 1080
18 TestMoboSDK-Client 0x000f6c0f 0xe8000 + 60431
19 TestMoboSDK-Client 0x000ee008 0xe8000 + 24584
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3584c32c __pthread_kill + 8
1 libsystem_c.dylib 0x34a34208 pthread_kill + 48
2 libsystem_c.dylib 0x34a2d298 abort + 88
3 libc++abi.dylib 0x35044f64 abort_message + 40
4 libc++abi.dylib 0x35042346 default_terminate() + 18
5 libobjc.A.dylib 0x333fa350 _objc_terminate + 140
6 libc++abi.dylib 0x350423be safe_handler_caller(void (*)()) + 70
7 libc++abi.dylib 0x3504244a std::terminate() + 14
8 libc++abi.dylib 0x3504381e __cxa_rethrow + 82
9 libobjc.A.dylib 0x333fa2a2 objc_exception_rethrow + 6
10 CoreFoundation 0x3572c506 CFRunLoopRunSpecific + 398
11 CoreFoundation 0x3572c366 CFRunLoopRunInMode + 98
12 GraphicsServices 0x334c7432 GSEventRunModal + 130
13 UIKit 0x32f04cce UIApplicationMain + 1074
14 TestMoboSDK-Client 0x000f6c08 0xe8000 + 60424
15 TestMoboSDK-Client 0x000ee000 0xe8000 + 24576
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x3583c3a8 kevent + 24
1 libdispatch.dylib 0x33b6fea4 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x33b6fbc2 _dispatch_mgr_thread + 30
Thread 2:
0 libsystem_kernel.dylib 0x3584ccd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x349eff36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x349efcc8 start_wqthread + 0
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x3584c0d8 __psynch_mutexwait + 24
1 libsystem_c.dylib 0x349e9674 pthread_mutex_lock + 376
2 WebCore 0x373cf4e8 _WebTryThreadLock(bool) + 208
3 WebCore 0x373cf7ec WebRunLoopLock(__CFRunLoopObserver*, unsigned long, void*) + 24
4 CoreFoundation 0x357aab14 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 12
5 CoreFoundation 0x357a8d50 __CFRunLoopDoObservers + 252
6 CoreFoundation 0x357a916a __CFRunLoopRun + 946
7 CoreFoundation 0x3572c49e CFRunLoopRunSpecific + 294
8 CoreFoundation 0x3572c366 CFRunLoopRunInMode + 98
9 WebCore 0x37472c9c RunWebThread(void*) + 396
10 libsystem_c.dylib 0x349f572e _pthread_start + 314
11 libsystem_c.dylib 0x349f55e8 thread_start + 0
Thread 4:
0 libsystem_kernel.dylib 0x3584ccd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x349eff36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x349efcc8 start_wqthread + 0
Thread 5 name: com.apple.NSURLConnectionLoader
Thread 5:
0 libsystem_kernel.dylib 0x3583c004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3583c1fa mach_msg + 50
2 CoreFoundation 0x357aa3ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x357a9124 __CFRunLoopRun + 876
4 CoreFoundation 0x3572c49e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x3572c366 CFRunLoopRunInMode + 98
6 Foundation 0x34b71bb2 +[NSURLConnection(Loader) _resourceLoadLoop:] + 302
7 Foundation 0x34b71a7a -[NSThread main] + 66
8 Foundation 0x34c0558a __NSThread__main__ + 1042
9 libsystem_c.dylib 0x349f572e _pthread_start + 314
10 libsystem_c.dylib 0x349f55e8 thread_start + 0
Thread 6:
0 libsystem_kernel.dylib 0x3584ccd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x349eff36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x349efcc8 start_wqthread + 0
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x00000006 r5: 0x3f0f8d98 r6: 0x00000002 r7: 0x2fee39a8
r8: 0x00000000 r9: 0x35045a4a r10: 0x0014a888 r11: 0x333f4f69
ip: 0x00000148 sp: 0x2fee399c lr: 0x34a3420f pc: 0x3584c32c
cpsr: 0x00000010
Edit:
The crash only happen on iPad(jail break) 5.1.1. With iPad(jail break) 7.0.4 or 6. -> it worked.*
Reason: When I call openActiveSessionWithCompletion function,I do many actions to collect the info to make a url link. It included the action: get UUIDString .And with iOS 5.1 the result when get UUIDString is a NULL string. So that, it's reason for app crash when I call the command: uuid_String = [[NSString alloc]initWithString:[[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString]];. initWithString: this function when push a NULL string will make app crash.
This is wrong:
uuid_String = [[NSString alloc]initWithString:[[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString]]
Just do this:
uuid_String = [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString];
As for why it returns nil, probably because advertising is disabled on the device. Users are allowed to opt out of tracking.
Check the documentation and beware iOS 5 and 7 have different behaviour.
We migrated an iOS 6 app to iOS 7 without altering anything in particular beyond some minor adjustments. We tested the app on the 3, 4, 4S and 5S iPhones and reported no problem.
Now two users are reporting that the app crashes upon startup. I advised one of them to remove the app altogether and install again which resulted in the app running smoothly.
He forwarded the crash log to me but it's a little cryptic. Can anyone help me pinpoint the issue?
EDIT: Symbolicated crash log
Incident Identifier: 687B278C-313F-4533-81E8-0003428A3362
CrashReporter Key: b25d61923c16e6a67af8ea7bf81643ba93f4d1ea
Hardware Model: iPhone4,1
Process: RunControl [3488]
Path: /var/mobile/Applications/DB78DB79-2AB2-4ADD-89C8-BACDBB6BCCF3/RunControl.app/RunControl
Identifier: com.gsddl.RunControl
Version: 1.5 (1.5)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2014-03-10 09:49:34.065 +0100
OS Version: iOS 7.0.6 (11B651)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 3
Last Exception Backtrace:
0 CoreFoundation 0x2dbbbf46 __exceptionPreprocess + 126
1 libobjc.A.dylib 0x37f4b6aa objc_exception_throw + 34
2 CoreFoundation 0x2dbbbe88 +[NSException raise:format:] + 100
3 Foundation 0x2e4dd448 -[NSString stringByAppendingString:] + 84
4 RunControl 0x000b2302 -[RunControlAppDelegate downloadData] (RunControlAppDelegate.m:297)
5 Foundation 0x2e59fc82 __NSThread__main__ + 1058
6 libsystem_pthread.dylib 0x38572c18 _pthread_body + 136
7 libsystem_pthread.dylib 0x38572b8a _pthread_start + 98
8 libsystem_pthread.dylib 0x38570c8c thread_start + 4
Thread 0:
0 libsystem_kernel.dylib 0x38509014 0x384f7000 + 73748
1 libsystem_pthread.dylib 0x38572a74 pthread_create + 156
2 Foundation 0x2e50fb00 -[NSThread start] + 284
3 RunControl 0x000b20c4 -[RunControlAppDelegate initData] (RunControlAppDelegate.m:274)
4 RunControl 0x000b0f58 -[RunControlAppDelegate application:didFinishLaunchingWithOptions:] (RunControlAppDelegate.m:32)
5 UIKit 0x3039f2fa -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 270
6 UIKit 0x3039ed4a -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1386
7 UIKit 0x3039934e -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 710
8 UIKit 0x3033441a -[UIApplication handleEvent:withNewEvent:] + 3126
9 UIKit 0x3033371c -[UIApplication sendEvent:] + 68
10 UIKit 0x30398b38 _UIApplicationHandleEvent + 660
11 GraphicsServices 0x327cf70a _PurpleEventCallback + 606
12 GraphicsServices 0x327cf2f2 PurpleEventCallback + 30
13 CoreFoundation 0x2db869dc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32
14 CoreFoundation 0x2db86976 __CFRunLoopDoSource1 + 342
15 CoreFoundation 0x2db8514a __CFRunLoopRun + 1394
16 CoreFoundation 0x2daefc22 CFRunLoopRunSpecific + 518
17 CoreFoundation 0x2daefa06 CFRunLoopRunInMode + 102
18 UIKit 0x30397dd4 -[UIApplication _run] + 756
19 UIKit 0x30393044 UIApplicationMain + 1132
20 RunControl 0x000b0f1a main (main.m:16)
21 RunControl 0x000b0edc start + 36
Thread 1:
0 libsystem_kernel.dylib 0x384f783c 0x384f7000 + 2108
1 libdispatch.dylib 0x38442e08 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x3843239e _dispatch_mgr_thread$VARIANT$up + 34
Thread 2:
0 libsystem_kernel.dylib 0x3850ac7c 0x384f7000 + 81020
1 libsystem_pthread.dylib 0x38570dc6 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x38570c80 start_wqthread + 4
Thread 3 Crashed:
0 libsystem_kernel.dylib 0x3850a1fc 0x384f7000 + 78332
1 libsystem_pthread.dylib 0x38573a2e pthread_kill + 54
2 libsystem_c.dylib 0x384baff8 abort + 72
3 libc++abi.dylib 0x377e9cd2 abort_message + 70
4 libc++abi.dylib 0x378026e0 default_terminate_handler() + 248
5 libobjc.A.dylib 0x37f4b91e _objc_terminate() + 190
6 libc++abi.dylib 0x378001c4 std::__terminate(void (*)()) + 76
7 libc++abi.dylib 0x377ffa18 __cxa_throw + 112
8 libobjc.A.dylib 0x37f4b77e objc_exception_throw + 246
9 CoreFoundation 0x2dbbbe88 +[NSException raise:format:] + 100
10 Foundation 0x2e4dd448 -[NSString stringByAppendingString:] + 84
11 RunControl 0x000b2302 -[RunControlAppDelegate downloadData] (RunControlAppDelegate.m:297)
12 Foundation 0x2e59fc82 __NSThread__main__ + 1058
13 libsystem_pthread.dylib 0x38572c1a _pthread_body + 138
14 libsystem_pthread.dylib 0x38572b8a _pthread_start + 98
15 libsystem_pthread.dylib 0x38570c8c thread_start + 4
Thread 3 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x00002060
r4: 0x00000006 r5: 0x026f1000 r6: 0x00000000 r7: 0x026effb4
r8: 0x16dbd9d0 r9: 0x00000001 r10: 0x16d52ce0 r11: 0x00000000
ip: 0x00000148 sp: 0x026effa8 lr: 0x38573a33 pc: 0x3850a1fc
cpsr: 0x00000010
And RunControlAppDelegate.m (around 297):
[295] - (void) downloadData {
[296] NSString *stringURL = [config valueForKey:#"Users"];
[297] NSURL *url = [NSURL URLWithString:[self.URL stringByAppendingString:stringURL]];
[298] NSData *urlData = [NSData dataWithContentsOfURL:url];
...
I would venture to guess your update included 64 bit update iOS7 + iPhone5 and your data might be formatted with incorrect formatter:
ie: [NSString stringWithFormat:#"Some foo %d"];
This might work with 32 bit int but it will fail on a 64 bit platform.
Are there any warnings when you compile your binary?
The reference to stringURL was indeed nil which resulted in the crash. This was due to a silly race condition.
There is no method from my app referenced in this crash report, and I have not been able to reproduce it. Several of my users are having the same crash. I can't find any tableview cells with a scrollview or any place where I use a spring. Where could this crash be coming from?
Incident Identifier: 748D4582-3868-42BD-BF98-B3B47895954D
CrashReporter Key: F7F44964-E877-4C7A-881C-91EBC4261080
Hardware Model: iPhone5,1
Process: MyApp [2415]
Path: /Users/USER/MyApp.app/MyApp
Identifier: com.mycom.myapp
Version: 1.5.1
Code Type: ARM
Parent Process: launchd [1]
Date/Time: 2013-11-21 05:30:47 +0000
OS Version: iPhone OS 7.0.4 (11B554a)
Report Version: 104
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x5000000c
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x3921fb66 objc_msgSend + 5
1 UIKit 0x3177e315 -[UITableView _createPreparedCellForGlobalRow:withIndexPath:] + 409
2 UIKit 0x317266cd -[UITableView _updateVisibleCellsNow:] + 1800
3 UIKit 0x31719f75 -[UITableView _visibleCells] + 24
4 UIKit 0x31783f13 -[UITableView indexPathForCell:] + 26
5 UIKit 0x31782289 -[UITableViewCell _canDoSeparatorLayout] + 64
6 UIKit 0x31781e19 -[UITableViewCell _updateSeparatorContent] + 56
7 UIKit 0x31844a3b -[UITableViewCell _updateViewsForDeleteButton] + 218
8 UIKit 0x3171c673 -[UITableViewCellScrollView setContentOffset:] + 186
9 UIKit 0x31880561 __43-[UITableViewCell _animateSwipeCancelation]_block_invoke + 81
10 UIKit 0x31681113 +[UIView _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 490
11 UIKit 0x317a66ef +[UIView _animateUsing WithDuration:delay:options:mass:stiffness:damping:initialVelocity:animations:start:completion:] + 166
12 UIKit 0x317a663f +[UIView _animateUsingSpringWithDuration:delay:options:mass:stiffness:damping:initialVelocity:animations:completion:] + 90
13 UIKit 0x318804bf -[UITableViewCell _animateSwipeCancelation] + 278
14 UIKit 0x31850639 -[UITableView _endSwipeToDeleteRowDidDelete:] + 216
15 UIKit 0x31901873 -[UITableView willMoveToSuperview:] + 62
16 UIKit 0x318e1913 __UIViewWillBeRemovedFromSuperview + 151
17 UIKit 0x3164a091 -[UIView removeFromSuperview] + 56
18 UIKit 0x3171e431 -[UIScrollView removeFromSuperview] + 64
19 UIKit 0x3164c9b3 -[UIView dealloc] + 366
20 libobjc.A.dylib 0x39221023 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 359
21 CoreFoundation 0x2edfb1c9 _CFAutoreleasePoolPop + 16
22 CoreFoundation 0x2ee90e83 __CFRunLoopRun + 1315
23 CoreFoundation 0x2edfb471 CFRunLoopRunSpecific + 524
24 CoreFoundation 0x2edfb253 CFRunLoopRunInMode + 106
25 GraphicsServices 0x33b352eb GSEventRunModal + 138
26 UIKit 0x316b0845 UIApplicationMain + 1136
27 MyApp 0x000e810b main (main.m:5)
28 libdyld.dylib 0x3971dab7 start + 3
Thread 1:
0 libsystem_kernel.dylib 0x397c1838 kevent64 + 24
1 libdispatch.dylib 0x3970a623 _dispatch_mgr_thread + 39
Thread 2:
0 libsystem_kernel.dylib 0x397d4c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x39838cc4 start_wqthread + 8
Thread 3:
0 libsystem_kernel.dylib 0x397d4c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x39838cc4 start_wqthread + 8
Thread 4:
0 libsystem_kernel.dylib 0x397d4c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x39838cc4 start_wqthread + 8
Thread 5:
0 libsystem_kernel.dylib 0x397c1a84 mach_msg_trap + 20
1 CoreFoundation 0x2ee92559 __CFRunLoopServiceMachPort + 157
2 CoreFoundation 0x2ee90c79 __CFRunLoopRun + 793
3 CoreFoundation 0x2edfb471 CFRunLoopRunSpecific + 524
4 CoreFoundation 0x2ee3f0db CFRunLoopRun + 98
5 CoreMotion 0x2f4b3369 CLSF_thorntonUpdate_6x6 + 57225
6 libsystem_pthread.dylib 0x3983ac5d _pthread_body + 141
7 libsystem_pthread.dylib 0x3983abcf _pthread_start + 102
8 libsystem_pthread.dylib 0x39838cd0 thread_start + 8
Thread 0 crashed with ARM Thread State:
pc: 0x3921fb66 r7: 0x27d21618 sp: 0x27d215f4 r0: 0x17f82270
r1: 0x31c343d7 r2: 0x189d9e00 r3: 0x17d46730 r4: 0x189d9e00
r5: 0x00000338 r6: 0x17e0e340 r8: 0x39e43294 r9: 0x50000000
r10: 0x17d46730 r11: 0x000001d0 ip: 0x39d3e220 lr: 0x3177e315
cpsr: 0x20000030
This is what I can see looking at the crash report:
The crash is caused bei SIGSEGV in objc_msgSend. This means the app is trying to send a message to an object that is invalid. This means you have at least one memory problem in your app (somewhere).
It looks like the problem happens when trying to delete a row in a tableView using the swipe to delete gesture, see -[UITableView _endSwipeToDeleteRowDidDelete:] showing up in the stack trace and additional hints above like -[UITableViewCell _animateSwipeCancelation], -[UITableViewCell _updateViewsForDeleteButton].
So it might be worth a try checking this use case in all table views in your app.
In addition use the Analyze feature of Xcode and fix all warnings it shows and also try running your app with Enable Zombie Objects set. There a lots of websites and also answers here on SO explaining how to do that.
my app was rejected for a crash that i didn't notice on the simulator.
Here are the logs, (already imported on XCode > Organizer ) can someone help me with this?
Incident Identifier: 88AD655D-3540-419C-A883-EFCEEB8CFE16
CrashReporter Key: 6b6d313765323bdd8ad35c9b99c487d423fd70ab
Hardware Model: iPad2,2
Process: MyApp [7983]
Path: /var/mobile/Applications/F9B518BA-1F72-449C-B584-45E77ECB9CB8/MyApp.app/MyApp
Identifier: MyApp
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-09-21 17:14:13.004 -0700
OS Version: iPhone OS 4.3.5 (8L1)
Report Version: 104
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 0x361eda1c 0x361dc000 + 72220
1 libsystem_c.dylib 0x322df3b4 0x322ac000 + 209844
2 libsystem_c.dylib 0x322d7bf8 0x322ac000 + 179192
3 libstdc++.6.dylib 0x32729a64 0x326e5000 + 281188
4 libobjc.A.dylib 0x336b606c 0x336b0000 + 24684
5 libstdc++.6.dylib 0x32727e36 0x326e5000 + 273974
6 libstdc++.6.dylib 0x32727e8a 0x326e5000 + 274058
7 libstdc++.6.dylib 0x32727f5a 0x326e5000 + 274266
8 libobjc.A.dylib 0x336b4c84 0x336b0000 + 19588
9 CoreFoundation 0x35b4848a +[NSException raise:format:arguments:] + 62
10 CoreFoundation 0x35b484c4 +[NSException raise:format:] + 28
11 UIKit 0x32a51a4c -[UINib instantiateWithOwner:options:] + 1104
12 UIKit 0x32a52e02 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 86
13 UIKit 0x329cc5e2 -[UIViewController _loadViewFromNibNamed:bundle:] + 30
14 UIKit 0x32999f9e -[UIViewController loadView] + 74
15 UIKit 0x328e1b1e -[UITableViewController loadView] + 46
16 UIKit 0x3287eeb8 -[UIViewController view] + 24
17 UIKit 0x3288d5e8 -[UIViewController contentScrollView] + 16
18 UIKit 0x3288d458 -[UINavigationController _computeAndApplyScrollContentInsetDeltaForViewController:] + 24
19 UIKit 0x3288d356 -[UINavigationController _layoutViewController:] + 18
20 UIKit 0x3288ce2e -[UINavigationController _startTransition:fromViewController:toViewController:] + 374
21 UIKit 0x3288cc3c -[UINavigationController _startDeferredTransitionIfNeeded] + 176
22 UIKit 0x3288cb80 -[UINavigationController viewWillLayoutSubviews] + 8
23 UIKit 0x3288cb1c -[UILayoutContainerView layoutSubviews] + 132
24 UIKit 0x3284d5f4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 20
25 CoreFoundation 0x35ab5efc -[NSObject(NSObject) performSelector:withObject:] + 16
26 QuartzCore 0x309ffbae -[CALayer layoutSublayers] + 114
27 QuartzCore 0x309ff966 CALayerLayoutIfNeeded + 178
28 QuartzCore 0x30a051be CA::Context::commit_transaction(CA::Transaction*) + 206
29 QuartzCore 0x30a04fd0 CA::Transaction::commit() + 184
30 QuartzCore 0x309fe04e CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 50
31 CoreFoundation 0x35b1fa2e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 10
32 CoreFoundation 0x35b2145e __CFRunLoopDoObservers + 406
33 CoreFoundation 0x35b22754 __CFRunLoopRun + 848
34 CoreFoundation 0x35ab2ebc CFRunLoopRunSpecific + 224
35 CoreFoundation 0x35ab2dc4 CFRunLoopRunInMode + 52
36 GraphicsServices 0x308a7418 GSEventRunModal + 108
37 GraphicsServices 0x308a74c4 GSEventRun + 56
38 UIKit 0x32876d62 -[UIApplication _run] + 398
39 UIKit 0x32874800 UIApplicationMain + 664
40 MyApp 0x00002622 0x1000 + 5666
41 MyApp 0x000025ec 0x1000 + 5612
Thread 1:
0 libsystem_kernel.dylib 0x361ee3ec 0x361dc000 + 74732
1 libsystem_c.dylib 0x322e06d8 0x322ac000 + 214744
2 libsystem_c.dylib 0x322e0bbc 0x322ac000 + 215996
Thread 2 name: Dispatch queue: com.apple.libdispatch-manager
Thread 2:
0 libsystem_kernel.dylib 0x361eefbc 0x361dc000 + 77756
1 libdispatch.dylib 0x31d33ed4 _dispatch_mgr_invoke + 744
2 libdispatch.dylib 0x31d34f3a _dispatch_queue_invoke + 70
3 libdispatch.dylib 0x31d344ec _dispatch_worker_thread2 + 228
4 libsystem_c.dylib 0x322e058a 0x322ac000 + 214410
5 libsystem_c.dylib 0x322e0bbc 0x322ac000 + 215996
Thread 3:
0 libsystem_kernel.dylib 0x361ee3ec 0x361dc000 + 74732
1 libsystem_c.dylib 0x322e06d8 0x322ac000 + 214744
2 libsystem_c.dylib 0x322e0bbc 0x322ac000 + 215996
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x361ebc00 0x361dc000 + 64512
1 libsystem_kernel.dylib 0x361eb758 0x361dc000 + 63320
2 CoreFoundation 0x35b202b8 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x35b22562 __CFRunLoopRun + 350
4 CoreFoundation 0x35ab2ebc CFRunLoopRunSpecific + 224
5 CoreFoundation 0x35ab2dc4 CFRunLoopRunInMode + 52
6 WebCore 0x35d8327e _ZL12RunWebThreadPv + 382
7 libsystem_c.dylib 0x322df30a 0x322ac000 + 209674
8 libsystem_c.dylib 0x322e0bb4 0x322ac000 + 215988
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x3f42b48c r5: 0x00000006 r6: 0x0054f56c r7: 0x2fdfd3e8
r8: 0x3f1b2964 r9: 0x00000065 r10: 0x00537f10 r11: 0x368d9d97
ip: 0x00000148 sp: 0x2fdfd3dc lr: 0x322df3bb pc: 0x361eda1c
cpsr: 0x000f0010
Apple said
We found that your app crashed on iPad 2 running iOS 4.3.5, which is
not in compliance with the App Store Review Guidelines.
Specifically, we noticed that your app crashes when selecting the
"Favorites" tab.
But to me, Favorites Tab works fine (even if i don't have an iPad, i work through the simulator)
Thanks
This appears to be the same problem with the SDK bug in 4.3.5 related to the method loadNibNamed.
See the accepted answer to this question for temporary resolution until Apple release a fix: UIImageView initWithCoder - unrecognized selector sent to instance... iOS 5 beta SDK
The question relates to iOS 5 beta. However, I believe it is the same ongoing problem.
My app got rejected from store and saying it's crashing. But we cannot reproduce the crash, not with simulator nor the devices. And looking at the crash report doesn't mean much. Any help or tips would be greatly appreciated. Here's the first crash report:
Date/Time: 2011-04-28 19:14:10.181 -0700
OS Version: iPhone OS 4.3.2 (8H7)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x624f7473
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x33b2b72a prepareForMethodLookup + 10
1 libobjc.A.dylib 0x33b27876 lookUpMethod + 34
2 libobjc.A.dylib 0x33b24ffa _class_lookupMethodAndLoadCache + 6
3 libobjc.A.dylib 0x33b24ce4 objc_msgSend_uncached + 20
4 UIKit 0x358b5ec2 -[UIApplication sendAction:to:from:forEvent:] + 78
5 UIKit 0x358b5e62 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26
6 UIKit 0x358b5e34 -[UIControl sendAction:to:forEvent:] + 32
7 UIKit 0x358b5b86 -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 350
8 UIKit 0x358b641c -[UIControl touchesEnded:withEvent:] + 336
9 UIKit 0x3589b52e _UIGestureRecognizerSortAndSendDelayedTouches + 2194
10 UIKit 0x3589abfa _UIGestureRecognizerUpdateObserver + 690
11 CoreFoundation 0x3039ca2e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 10
12 CoreFoundation 0x3039e45e __CFRunLoopDoObservers + 406
13 CoreFoundation 0x3039f754 __CFRunLoopRun + 848
14 CoreFoundation 0x3032febc CFRunLoopRunSpecific + 224
15 CoreFoundation 0x3032fdc4 CFRunLoopRunInMode + 52
16 GraphicsServices 0x35571418 GSEventRunModal + 108
17 GraphicsServices 0x355714c4 GSEventRun + 56
18 UIKit 0x358c7d62 -[UIApplication _run] + 398
19 UIKit 0x358c5800 UIApplicationMain + 664
20 MyApp 0x0000206e main (main.m:14)
21 MyApp 0x00002038 0x1000 + 4152
Thread 1:
0 libsystem_kernel.dylib 0x361003ec __workq_kernreturn + 8
1 libsystem_c.dylib 0x33e0a6d8 _pthread_wqthread + 592
2 libsystem_c.dylib 0x33e0abbc start_wqthread + 0
Thread 2 name: Dispatch queue: com.apple.libdispatch-manager
Thread 2:
0 libsystem_kernel.dylib 0x36100fbc kevent + 24
1 libdispatch.dylib 0x33d0b032 _dispatch_mgr_invoke + 706
2 libdispatch.dylib 0x33d0c03a _dispatch_queue_invoke + 86
3 libdispatch.dylib 0x33d0b5ea _dispatch_worker_thread2 + 186
4 libsystem_c.dylib 0x33e0a58a _pthread_wqthread + 258
5 libsystem_c.dylib 0x33e0abbc start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x361003ec __workq_kernreturn + 8
1 libsystem_c.dylib 0x33e0a6d8 _pthread_wqthread + 592
2 libsystem_c.dylib 0x33e0abbc start_wqthread + 0
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x360fdc00 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x360fd758 mach_msg + 44
2 CoreFoundation 0x3039d2b8 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x3039f562 __CFRunLoopRun + 350
4 CoreFoundation 0x3032febc CFRunLoopRunSpecific + 224
5 CoreFoundation 0x3032fdc4 CFRunLoopRunInMode + 52
6 WebCore 0x34c2627e RunWebThread(void*) + 382
7 libsystem_c.dylib 0x33e0930a _pthread_start + 242
8 libsystem_c.dylib 0x33e0abb4 thread_start + 0
Thread 5 name: com.apple.coremedia.player.async
Thread 5:
0 libsystem_kernel.dylib 0x360ffd18 __semwait_signal + 24
1 libsystem_c.dylib 0x33e30860 _pthread_cond_wait + 756
2 libsystem_c.dylib 0x33dd7eb2 pthread_cond_wait + 26
3 CoreMedia 0x3661d8f4 WaitOnCondition + 4
4 CoreMedia 0x3661d83a FigSemaphoreWaitRelative + 66
5 MediaToolbox 0x324a9a64 fpa_AsyncMovieControlThread + 48
6 CoreMedia 0x3663b4dc figThreadMain + 156
7 libsystem_c.dylib 0x33e0930a _pthread_start + 242
8 libsystem_c.dylib 0x33e0abb4 thread_start + 0
Thread 0 crashed with ARM Thread State:
r0: 0x3662562e r1: 0x3665003c r2: 0x00000001 r3: 0x624f7473
r4: 0x001aa690 r5: 0x3662562e r6: 0x00000001 r7: 0x2fdfe57c
r8: 0x3662562e r9: 0x3edb2a18 r10: 0x001c36c0 r11: 0x001c36c0
ip: 0x345b6ff5 sp: 0x2fdfe570 lr: 0x345b987d pc: 0x345bd72a
cpsr: 0x600f0030
And the 2nd one:
Date/Time: 2011-04-28 19:14:03.591 -0700
OS Version: iPhone OS 4.3.2 (8H7)
Report Version: 104
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 0x360ffa1c __pthread_kill + 8
1 libsystem_c.dylib 0x33e093b4 pthread_kill + 52
2 libsystem_c.dylib 0x33e01bf8 abort + 72
3 libstdc++.6.dylib 0x363fca64 __gnu_cxx::__verbose_terminate_handler() + 376
4 libobjc.A.dylib 0x33b2806c _objc_terminate + 104
5 libstdc++.6.dylib 0x363fae36 __cxxabiv1::__terminate(void (*)()) + 46
6 libstdc++.6.dylib 0x363fae8a std::terminate() + 10
7 libstdc++.6.dylib 0x363faf5a __cxa_throw + 78
8 libobjc.A.dylib 0x33b26c84 objc_exception_throw + 64
9 CoreFoundation 0x303c91b8 -[NSObject(NSObject) doesNotRecognizeSelector:] + 96
10 CoreFoundation 0x303c8642 ___forwarding___ + 502
11 CoreFoundation 0x3033f178 _CF_forwarding_prep_0 + 40
12 CoreFoundation 0x3033556a -[NSObject(NSObject) performSelector:withObject:withObject:] + 18
13 UIKit 0x358b5ec2 -[UIApplication sendAction:to:from:forEvent:] + 78
14 UIKit 0x358b5e62 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26
15 UIKit 0x358b5e34 -[UIControl sendAction:to:forEvent:] + 32
16 UIKit 0x358b5b86 -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 350
17 UIKit 0x358b5834 -[UIControl touchesBegan:withEvent:] + 180
18 UIKit 0x358b4baa -[UIWindow _sendTouchesForEvent:] + 294
19 UIKit 0x358b4568 -[UIWindow sendEvent:] + 256
20 UIKit 0x3589d30c -[UIApplication sendEvent:] + 292
21 UIKit 0x3589cc4c _UIApplicationHandleEvent + 5084
22 GraphicsServices 0x35571e70 PurpleEventCallback + 660
23 CoreFoundation 0x3039ca90 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 20
24 CoreFoundation 0x3039e838 __CFRunLoopDoSource1 + 160
25 CoreFoundation 0x3039f606 __CFRunLoopRun + 514
26 CoreFoundation 0x3032febc CFRunLoopRunSpecific + 224
27 CoreFoundation 0x3032fdc4 CFRunLoopRunInMode + 52
28 GraphicsServices 0x35571418 GSEventRunModal + 108
29 GraphicsServices 0x355714c4 GSEventRun + 56
30 UIKit 0x358c7d62 -[UIApplication _run] + 398
31 UIKit 0x358c5800 UIApplicationMain + 664
32 MyApp 0x0000206e main (main.m:14)
33 MyApp 0x00002038 0x1000 + 4152
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x36100fbc kevent + 24
1 libdispatch.dylib 0x33d0b032 _dispatch_mgr_invoke + 706
2 libdispatch.dylib 0x33d0c03a _dispatch_queue_invoke + 86
3 libdispatch.dylib 0x33d0b5ea _dispatch_worker_thread2 + 186
4 libsystem_c.dylib 0x33e0a58a _pthread_wqthread + 258
5 libsystem_c.dylib 0x33e0abbc start_wqthread + 0
Thread 2:
0 libsystem_kernel.dylib 0x361003ec __workq_kernreturn + 8
1 libsystem_c.dylib 0x33e0a6d8 _pthread_wqthread + 592
2 libsystem_c.dylib 0x33e0abbc start_wqthread + 0
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x360fdc00 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x360fd758 mach_msg + 44
2 CoreFoundation 0x3039d2b8 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x3039f562 __CFRunLoopRun + 350
4 CoreFoundation 0x3032febc CFRunLoopRunSpecific + 224
5 CoreFoundation 0x3032fdc4 CFRunLoopRunInMode + 52
6 WebCore 0x34c2627e RunWebThread(void*) + 382
7 libsystem_c.dylib 0x33e0930a _pthread_start + 242
8 libsystem_c.dylib 0x33e0abb4 thread_start + 0
Thread 4 name: com.apple.coremedia.player.async
Thread 4:
0 libsystem_kernel.dylib 0x360ffd18 __semwait_signal + 24
1 libsystem_c.dylib 0x33e30860 _pthread_cond_wait + 756
2 libsystem_c.dylib 0x33dd7eb2 pthread_cond_wait + 26
3 CoreMedia 0x3661d8f4 WaitOnCondition + 4
4 CoreMedia 0x3661d83a FigSemaphoreWaitRelative + 66
5 MediaToolbox 0x324a9a64 fpa_AsyncMovieControlThread + 48
6 CoreMedia 0x3663b4dc figThreadMain + 156
7 libsystem_c.dylib 0x33e0930a _pthread_start + 242
8 libsystem_c.dylib 0x33e0abb4 thread_start + 0
Thread 5:
0 libsystem_kernel.dylib 0x361003ec __workq_kernreturn + 8
1 libsystem_c.dylib 0x33e0a6d8 _pthread_wqthread + 592
2 libsystem_c.dylib 0x33e0abbc start_wqthread + 0
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x3ee4648c r5: 0x00000006 r6: 0x001f1dac r7: 0x2fdfe0d4
r8: 0x0001d6cc r9: 0x00000065 r10: 0x001befb0 r11: 0x00000000
ip: 0x00000148 sp: 0x2fdfe0c8 lr: 0x3489b3bb pc: 0x36b91a1c
cpsr: 0x000f0010
The last one:
Date/Time: 2011-04-28 19:13:44.770 -0700
OS Version: iPhone OS 4.3.2 (8H7)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x624f7473
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x33b2b72a prepareForMethodLookup + 10
1 libobjc.A.dylib 0x33b27876 lookUpMethod + 34
2 libobjc.A.dylib 0x33b24ffa _class_lookupMethodAndLoadCache + 6
3 libobjc.A.dylib 0x33b24ce4 objc_msgSend_uncached + 20
4 UIKit 0x358b5ec2 -[UIApplication sendAction:to:from:forEvent:] + 78
5 UIKit 0x358b5e62 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26
6 UIKit 0x358b5e34 -[UIControl sendAction:to:forEvent:] + 32
7 UIKit 0x358b5b86 -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 350
8 UIKit 0x358b641c -[UIControl touchesEnded:withEvent:] + 336
9 UIKit 0x3589b52e _UIGestureRecognizerSortAndSendDelayedTouches + 2194
10 UIKit 0x3589abfa _UIGestureRecognizerUpdateObserver + 690
11 CoreFoundation 0x3039ca2e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 10
12 CoreFoundation 0x3039e45e __CFRunLoopDoObservers + 406
13 CoreFoundation 0x3039f754 __CFRunLoopRun + 848
14 CoreFoundation 0x3032febc CFRunLoopRunSpecific + 224
15 CoreFoundation 0x3032fdc4 CFRunLoopRunInMode + 52
16 GraphicsServices 0x35571418 GSEventRunModal + 108
17 GraphicsServices 0x355714c4 GSEventRun + 56
18 UIKit 0x358c7d62 -[UIApplication _run] + 398
19 UIKit 0x358c5800 UIApplicationMain + 664
20 MyApp 0x0000206e main (main.m:14)
21 MyApp 0x00002038 0x1000 + 4152
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x36100fbc kevent + 24
1 libdispatch.dylib 0x33d0b032 _dispatch_mgr_invoke + 706
2 libdispatch.dylib 0x33d0c03a _dispatch_queue_invoke + 86
3 libdispatch.dylib 0x33d0b5ea _dispatch_worker_thread2 + 186
4 libsystem_c.dylib 0x33e0a58a _pthread_wqthread + 258
5 libsystem_c.dylib 0x33e0abbc start_wqthread + 0
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x360fdc00 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x360fd758 mach_msg + 44
2 CoreFoundation 0x3039d2b8 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x3039f562 __CFRunLoopRun + 350
4 CoreFoundation 0x3032febc CFRunLoopRunSpecific + 224
5 CoreFoundation 0x3032fdc4 CFRunLoopRunInMode + 52
6 WebCore 0x34c2627e RunWebThread(void*) + 382
7 libsystem_c.dylib 0x33e0930a _pthread_start + 242
8 libsystem_c.dylib 0x33e0abb4 thread_start + 0
Thread 3 name: com.apple.coremedia.player.async
Thread 3:
0 libsystem_kernel.dylib 0x360ffd18 __semwait_signal + 24
1 libsystem_c.dylib 0x33e30860 _pthread_cond_wait + 756
2 libsystem_c.dylib 0x33dd7eb2 pthread_cond_wait + 26
3 CoreMedia 0x3661d8f4 WaitOnCondition + 4
4 CoreMedia 0x3661d83a FigSemaphoreWaitRelative + 66
5 MediaToolbox 0x324a9a64 fpa_AsyncMovieControlThread + 48
6 CoreMedia 0x3663b4dc figThreadMain + 156
7 libsystem_c.dylib 0x33e0930a _pthread_start + 242
8 libsystem_c.dylib 0x33e0abb4 thread_start + 0
Thread 0 crashed with ARM Thread State:
r0: 0x3662562e r1: 0x3665003c r2: 0x00000001 r3: 0x624f7473
r4: 0x00180af0 r5: 0x3662562e r6: 0x00000001 r7: 0x2fdfe57c
r8: 0x3662562e r9: 0x3edb2a18 r10: 0x0019b7c0 r11: 0x0019b7c0
ip: 0x345b6ff5 sp: 0x2fdfe570 lr: 0x345b987d pc: 0x345bd72a
cpsr: 0x600f0030
Does your app compile without any warnings?
If not, I'd suggest you tackle those first.