Help to solve Apple's crash-reports logs - crash-reports

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.

Related

EXC_CRASH (SIGABRT) crash error only for release version

The app that I have runs perfectly fine in debug mode but when tested in ad hoc in release mode a crash happens. The crash actually happens when the app first starts. I don't really know how to debug or proceed to find out what's the issue. Xcode doesn't throw any error.
The following is my crash log
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x2eb6dfce __exceptionPreprocess + 126
1 libobjc.A.dylib 0x3970ecca objc_exception_throw + 34
2 CoreFoundation 0x2eaa49c0 -[__NSArrayM removeObjectAtIndex:] + 420
3 geezer 0x0008dfce 0x25000 + 430030
4 geezer 0x0008d2c0 0x25000 + 426688
5 UIKit 0x3138e4c6 -[UIViewController loadViewIfRequired] + 514
6 UIKit 0x3138e284 -[UIViewController view] + 20
7 geezer 0x000413fa 0x25000 + 115706
8 geezer 0x00041082 0x25000 + 114818
9 geezer 0x0005616e 0x25000 + 201070
10 UIKit 0x313f95a2 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 270
11 UIKit 0x313f8ef6 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1606
12 UIKit 0x313f3586 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 710
13 UIKit 0x3138f704 -[UIApplication handleEvent:withNewEvent:] + 3536
14 UIKit 0x3138e86c -[UIApplication sendEvent:] + 68
15 UIKit 0x313f2cc4 _UIApplicationHandleEvent + 612
16 GraphicsServices 0x339c8ae8 _PurpleEventCallback + 604
17 GraphicsServices 0x339c86d2 PurpleEventCallback + 30
18 CoreFoundation 0x2eb38ab2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30
19 CoreFoundation 0x2eb38a4e __CFRunLoopDoSource1 + 342
20 CoreFoundation 0x2eb37222 __CFRunLoopRun + 1394
21 CoreFoundation 0x2eaa1f0a CFRunLoopRunSpecific + 518
22 CoreFoundation 0x2eaa1cee CFRunLoopRunInMode + 102
23 UIKit 0x313f1eec -[UIApplication _run] + 756
24 UIKit 0x313ed168 UIApplicationMain + 1132
25 geezer 0x0008b19a 0x25000 + 418202
26 libdyld.dylib 0x39c1bab2 tlv_initializer + 2
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x39cd11f0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x39d3b792 pthread_kill + 54
2 libsystem_c.dylib 0x39c81fd8 abort + 72
3 libc++abi.dylib 0x38fb0cd2 abort_message + 70
4 libc++abi.dylib 0x38fc96e0 default_terminate_handler() + 248
5 libobjc.A.dylib 0x3970ef62 _objc_terminate() + 190
6 libc++abi.dylib 0x38fc71c4 std::__terminate(void (*)()) + 76
7 libc++abi.dylib 0x38fc6d28 __cxa_rethrow + 96
8 libobjc.A.dylib 0x3970ee12 objc_exception_rethrow + 38
9 CoreFoundation 0x2eaa1f80 CFRunLoopRunSpecific + 636
10 CoreFoundation 0x2eaa1cee CFRunLoopRunInMode + 102
11 UIKit 0x313f1eec -[UIApplication _run] + 756
12 UIKit 0x313ed168 UIApplicationMain + 1132
13 geezer 0x0008b19a 0x25000 + 418202
14 libdyld.dylib 0x39c1bab4 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x39cbe808 kevent64 + 24
1 libdispatch.dylib 0x39c00078 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x39bffdfe _dispatch_mgr_thread$VARIANT$mp + 34
Thread 2:
0 libsystem_kernel.dylib 0x39cd1c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x39d38bda _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x39d38a94 start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x39cd1c70 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x39d38bda _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x39d38a94 start_wqthread + 4
Thread 4 name: AFNetworking
Thread 4:
0 libobjc.A.dylib 0x3971794c objc_opt::objc_selopt_t::get(char const*) const + 36
1 libobjc.A.dylib 0x39717828 __sel_registerName(char const*, int, int) + 40
2 CFNetwork 0x2e7fec56 ___ZN24ClassicConnectionSession14processDefaultEv_block_invoke + 34
3 libdispatch.dylib 0x39bf681c _dispatch_client_callout + 20
4 libdispatch.dylib 0x39bfe60a dispatch_once_f$VARIANT$mp + 42
5 CFNetwork 0x2e7fec2e ClassicConnectionSession::processDefault() + 38
6 CFNetwork 0x2e7a9e90 URLProtocol::getProtocolRegistry() + 4
7 CFNetwork 0x2e761d28 _CFURLProtocolRegisterFoundationBridge + 8
8 Foundation 0x2f4dfb94 +[_NSCFURLProtocolBridge registerWithCFURLProtocol] + 168
9 Foundation 0x2f4dfa9c NSURLProtocolInit + 316
10 libsystem_pthread.dylib 0x39d3b82c __pthread_once_handler + 48
11 libsystem_platform.dylib 0x39d334e0 _os_once + 40
12 libsystem_pthread.dylib 0x39d39ada pthread_once + 46
13 Foundation 0x2f4aca0c +[NSURLProtocol(NSURLProtocolPrivate) _registeredClasses] + 48
14 libdispatch.dylib 0x39bf681c _dispatch_client_callout + 20
15 libdispatch.dylib 0x39bfe60a dispatch_once_f$VARIANT$mp + 42
16 Foundation 0x2f4abccc -[NSURLConnection(Private) _initWithRequest:delegate:usesCache:maxContentLength:startImmediately:connectionProperties:] + 464
17 Foundation 0x2f4fdd0a -[NSURLConnection initWithRequest:delegate:startImmediately:] + 50
18 geezer 0x0003153a 0x25000 + 50490
19 Foundation 0x2f556c6e __NSThreadPerformPerform + 382
20 CoreFoundation 0x2eb39258 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
21 CoreFoundation 0x2eb38726 __CFRunLoopDoSources0 + 202
22 CoreFoundation 0x2eb36f1a __CFRunLoopRun + 618
23 CoreFoundation 0x2eaa1f0a CFRunLoopRunSpecific + 518
24 CoreFoundation 0x2eaa1cee CFRunLoopRunInMode + 102
25 Foundation 0x2f4941e6 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 250
26 Foundation 0x2f4e509c -[NSRunLoop(NSRunLoop) run] + 76
27 geezer 0x0002fd12 0x25000 + 44306
28 Foundation 0x2f556a5a __NSThread__main__ + 1058
29 libsystem_pthread.dylib 0x39d3a916 _pthread_body + 138
30 libsystem_pthread.dylib 0x39d3a886 _pthread_start + 98
31 libsystem_pthread.dylib 0x39d38aa0 thread_start + 4
Thread 5 name: com.apple.NSURLConnectionLoader
Thread 5:
0 libsystem_kernel.dylib 0x39cbea58 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39cbe854 mach_msg + 44
2 CoreFoundation 0x2eb38896 __CFRunLoopServiceMachPort + 150
3 CoreFoundation 0x2eb36fbc __CFRunLoopRun + 780
4 CoreFoundation 0x2eaa1f0a CFRunLoopRunSpecific + 518
5 CoreFoundation 0x2eaa1cee CFRunLoopRunInMode + 102
6 Foundation 0x2f4e1082 +[NSURLConnection(Loader) _resourceLoadLoop:] + 314
7 Foundation 0x2f556a5a __NSThread__main__ + 1058
8 libsystem_pthread.dylib 0x39d3a916 _pthread_body + 138
9 libsystem_pthread.dylib 0x39d3a886 _pthread_start + 98
10 libsystem_pthread.dylib 0x39d38aa0 thread_start + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x00002060
r4: 0x00000006 r5: 0x3bcb518c r6: 0x00000000 r7: 0x27dde584
r8: 0x17d745a0 r9: 0x00000001 r10: 0x000e6070 r11: 0x000e3994
ip: 0x00000148 sp: 0x27dde578 lr: 0x39d3b797 pc: 0x39cd11f0
cpsr: 0x00000010
Update: After reading tonnes of stuff on the internet about symbolicating, finally I managed to do it with Xcode 5. Some were pretty complicated with the need to use the terminal. Luckily all I needed to do was to go to Organizer in Xcode, grab the latest Archive in Finder. Show Package Contents from that file to get the dsym folder. Copy it out to a folder together with the ipa file and then just install the ipa through Organizer. The crash log will look much more meaningful.
After reading tonnes of stuff on the internet about symbolicating, finally I managed to do it with Xcode 5. Some were pretty complicated with the need to use the terminal. Luckily all I needed to do was to go to Organizer in Xcode, grab the latest Archive in Finder. Show Package Contents from that file to get the dsym folder. Copy it out to a folder together with the ipa file and then just install the ipa through Organizer. The crash log will look much more meaningful.

iPhone app crashes on some devices upon startup, but runs on others

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.

SIGSEGV SEGV_ACCERR Error - no method from app referenced

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.

App Store crash report

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.

iPhone app crashes when coming to foreground

I have an application that is communicating to a device through the accessory port. When the device is spitting data (at a rate of one 13-byte packet every 20 ms, so not very quickly) to the iPhone, if I press the home button to send the app to the background, then open it again it will crash. I have added listeners to the UIApplicationDidBecomeActiveNotification and UIApplicationWillResignActiveNotification to shut down the data transmission when the app goes to the background, and turn it back on when it comes back, and now it doesn't crash all the time, but irregularly. When it crashes, it crashes even before it sends the UIApplicationDidBecomeActiveNotification.
Here's the Device Log from the error:
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000004
Crashed Thread: 3
Thread 0:
0 libSystem.B.dylib 0x000016a8 semaphore_wait_trap + 8
1 libSystem.B.dylib 0x0002ed9e semaphore_wait + 2
2 libSystem.B.dylib 0x000d7ce4 _dispatch_semaphore_wait_slow + 296
3 libSystem.B.dylib 0x000d64a0 _dispatch_barrier_sync_f_slow + 128
4 CoreFoundation 0x0001511e CFMachPortCreateRunLoopSource + 118
5 QuartzCore 0x00005466 CA::Context::client_port() + 78
6 QuartzCore 0x00005310 CA::Context::connect_remote() + 244
7 QuartzCore 0x00004fda -[CAContextImpl initRemoteWithOptions:] + 26
8 QuartzCore 0x00004f9c +[CAContext remoteContextWithOptions:] + 28
9 UIKit 0x0000dae0 -[UIWindow _createContext] + 532
10 UIKit 0x0015957e _UIWindowUpdateVisibleContextOrder + 98
11 UIKit 0x0015962a +[UIWindow _prepareWindowsForAppResume] + 10
12 UIKit 0x00152824 -[UIApplication _handleApplicationResumeEvent:] + 68
13 UIKit 0x0005da80 -[UIApplication handleEvent:withNewEvent:] + 3772
14 UIKit 0x0005ca56 -[UIApplication sendEvent:] + 38
15 UIKit 0x0005c500 _UIApplicationHandleEvent + 5016
16 GraphicsServices 0x00004140 PurpleEventCallback + 660
17 GraphicsServices 0x000041ca PurpleEventSignalCallback + 10
18 CoreFoundation 0x00071a86 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ + 6
19 CoreFoundation 0x000736ac _CFRunLoopDoSources0 + 188
20 CoreFoundation 0x00074504 _CFRunLoopRun + 224
21 CoreFoundation 0x0001d8e4 CFRunLoopRunSpecific + 224
22 CoreFoundation 0x0001d7ec CFRunLoopRunInMode + 52
23 GraphicsServices 0x000036e8 GSEventRunModal + 108
24 GraphicsServices 0x00003794 GSEventRun + 56
25 UIKit 0x000062a0 -[UIApplication _run] + 396
26 UIKit 0x00004e10 UIApplicationMain + 664
27 TestRaspLayer 0x00003034 main (main.m:14)
28 TestRaspLayer 0x00002fe8 start + 32
Thread 1:
0 libSystem.B.dylib 0x0002dc4c kevent + 24
1 libSystem.B.dylib 0x000d6e44 _dispatch_mgr_invoke + 88
2 libSystem.B.dylib 0x000d6894 _dispatch_queue_invoke + 96
3 libSystem.B.dylib 0x000d6a34 _dispatch_worker_thread2 + 120
4 libSystem.B.dylib 0x0007ad82 _pthread_wqthread + 258
5 libSystem.B.dylib 0x00073fcc start_wqthread + 0
Thread 2:
0 libSystem.B.dylib 0x00001658 mach_msg_trap + 20
1 libSystem.B.dylib 0x00003724 mach_msg + 44
2 CoreFoundation 0x000722c8 _CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x00074582 _CFRunLoopRun + 350
4 CoreFoundation 0x0001d8e4 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x0001d7ec CFRunLoopRunInMode + 52
6 WebCore 0x00003056 RunWebThread(void*) + 362
7 libSystem.B.dylib 0x0007a986 _pthread_start + 242
8 libSystem.B.dylib 0x000700e4 thread_start + 0
Thread 3 Crashed:
0 libicucore.A.dylib 0x00001bd0 uhash_get + 24
1 libicucore.A.dylib 0x00055b10 ures_hasNext + 720
2 libicucore.A.dylib 0x00055d08 ures_hasNext + 1224
3 libicucore.A.dylib 0x00055e64 ures_hasNext + 1572
4 libicucore.A.dylib 0x00003a28 ures_openDirect + 80
5 libicucore.A.dylib 0x000b4dee icu::TimeZone::getGMT() + 442
6 libicucore.A.dylib 0x0000861a icu::TimeZone::createSystemTimeZone(icu::UnicodeString const&) + 22
7 libicucore.A.dylib 0x0000cf90 icu::TimeZone::createTimeZone(icu::UnicodeString const&) + 4
8 libicucore.A.dylib 0x000bc6f8 ucal_setAttribute + 96
9 libicucore.A.dylib 0x0000d650 ucal_open + 32
10 CoreFoundation 0x000a7968 _CFCalendarCreateUCalendar + 160
11 CoreFoundation 0x00029cde CFCalendarCreateWithIdentifier + 362
12 CoreFoundation 0x0008d128 _CFLogCString + 472
13 CoreFoundation 0x00029b52 _CFLogvEx + 166
14 CoreFoundation 0x0003d63e CFLog + 26
15 CoreFoundation 0x00015184 _CFAutoreleasePoolPop + 52
16 Foundation 0x0000422a NSPopAutoreleasePool + 2
17 Foundation 0x0000de16 -[_NSOperationInternal start] + 910
18 Foundation 0x0000da78 -[NSOperation start] + 16
19 Foundation 0x0007e5b4 _startOperations_block_invoke_2 + 40
20 libSystem.B.dylib 0x000d5c54 _dispatch_call_block_and_release + 12
21 libSystem.B.dylib 0x000d6a34 _dispatch_worker_thread2 + 120
22 libSystem.B.dylib 0x0007ad82 _pthread_wqthread + 258
23 libSystem.B.dylib 0x00073fcc start_wqthread + 0
Thread 4:
0 libSystem.B.dylib 0x00001f8e memcpy + 718
1 TestRaspLayer 0x00007718 _inline_memcpy_chk (_string.h:58)
2 TestRaspLayer 0x00007678 -[SERIALPort processRxBuffer] (SERIALPort.m:243)
3 CoreFoundation 0x0009f06c _invoking_ + 60
4 CoreFoundation 0x00032706 -[NSInvocation invoke] + 102
5 Foundation 0x0007eb50 -[NSInvocationOperation main] + 72
6 Foundation 0x0000dd14 -[_NSOperationInternal start] + 652
7 Foundation 0x0000da78 -[NSOperation start] + 16
8 Foundation 0x0007e5b4 _startOperations_block_invoke_2 + 40
9 libSystem.B.dylib 0x000d5c54 _dispatch_call_block_and_release + 12
10 libSystem.B.dylib 0x000d6a34 _dispatch_worker_thread2 + 120
11 libSystem.B.dylib 0x0007ad82 _pthread_wqthread + 258
12 libSystem.B.dylib 0x00073fcc start_wqthread + 0
Thread 3 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x0000007f r2: 0x00000077 r3: 0x80000001
r4: 0x0013fc50 r5: 0x0038003c r6: 0x0038012c r7: 0x0037ff70
r8: 0x00000000 r9: 0xffffffff r10: 0x0013fcb4 r11: 0x00000000
ip: 0x00000077 sp: 0x0037ff68 lr: 0x339fbe09 pc: 0x339b8bd0
cpsr: 0x50000030
Will your app crash when the device is disconnected or idle, or does the crash only occur when the device is sending data?
I think
Thread 4:
0 libSystem.B.dylib 0x00001f8e memcpy + 718
1 TestRaspLayer 0x00007718 _inline_memcpy_chk (_string.h:58)
2 TestRaspLayer 0x00007678 -[SERIALPort processRxBuffer] (SERIALPort.m:243)
is where the app crashes, the problem could be from method processRXBuffer in SERIALPort class.
Double check you code and you'll find where the problem is.

Resources