Diagnosing crash log (for series of UIKit-related crashes)? - iphone

Would appreciate some insight isolating this, some semi-repeatable crashes in an iPhone app of moderate complexity ...
The crashes in question occur (sometimes, though not consistently) when pressing a UIButton on a particular screen within the app.
(Not sure yet, though the issue may be manifesting itself more under lower memory conditions.)
A typical crash log is excerpted below.
Without getting into a lot of unnecessary detail at this point -- based on the log below, which is typical of several -- would anyone have any insights as to the problem occurring, and where to look and/or how to further troubleshoot?
Any help is very much appreciated!
Thanks.
~~~
Incident Identifier: ...
CrashReporter Key: ...
Process: AppName [1532]
Path: /var/mobile/Applications/12345678-9ABC-DEF0-1234-56789ABCDEF0/AppName.app/AppName
Identifier: AppName
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2010-01-05 18:20:28.081 -0800
OS Version: iPhone OS 3.0.1 (7A400)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x30011944 objc_msgSend + 24
1 UIKit 0x3096e0d0 -[UIApplication sendAction:to:from:forEvent:] + 128
2 UIKit 0x3096e038 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 32
3 UIKit 0x3096e000 -[UIControl sendAction:to:forEvent:] + 44
4 UIKit 0x3096dc58 -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 528
5 UIKit 0x309a660c -[UIControl touchesBegan:withEvent:] + 260
6 UIKit 0x30935100 _UIGestureRecognizerUpdateObserver + 2136
7 CoreFoundation 0x3020cd8a __CFRunLoopDoObservers + 466
8 CoreFoundation 0x3025488c CFRunLoopRunSpecific + 1812
9 CoreFoundation 0x30254164 CFRunLoopRunInMode + 44
10 GraphicsServices 0x3204529c GSEventRunModal + 188
11 UIKit 0x308f0374 -[UIApplication _run] + 552
12 UIKit 0x308eea8c UIApplicationMain + 960
13 AppName 0x00002090 0x1000 + 4240
14 AppName 0x0000202c 0x1000 + 4140
Thread 1:
0 libSystem.B.dylib 0x31d47158 mach_msg_trap + 20
1 libSystem.B.dylib 0x31d49ed8 mach_msg + 60
2 CoreFoundation 0x3025454e CFRunLoopRunSpecific + 982
3 CoreFoundation 0x30254164 CFRunLoopRunInMode + 44
4 WebCore 0x3588dbc8 __ZL12RunWebThreadPv + 412
5 libSystem.B.dylib 0x31d705a0 _pthread_body + 20
Thread 0 crashed with ARM Thread State:
r0: 0x0019e420 r1: 0x30128c94 r2: 0x00014fac r3: 0x001ce9a0
r4: 0x001a56e4 r5: 0x00000000 r6: 0x00000000 r7: 0x2ffff1e0
r8: 0x00014fac r9: 0x001a97c0 r10: 0x001ce9a0 r11: 0x00000001
ip: 0x388ed9f0 sp: 0x2ffff1b8 lr: 0x3096e0d8 pc: 0x30011944
cpsr: 0x200f0010
~~~

EXC_BAD_ACCESS + objc_msgSend almost always equal a message sent to a deallocated object.
Run the static analyzer and it should help.
Also enabling NSZombies.
Then debug and have fun!

Related

Wierd thing, app works well on iphone 4s & ipad, but crashed on iphone 4

I've submitted my app to appstore for review and is refused as follows:
We found that your app crashed on iPhone 4 running iOS 5.1.1, which is
not in compliance with the App Store Review Guidelines. Your app
crashed on launch on both Wi-Fi and cellular networks.
And this is the attached crash log:
Incident Identifier: 65E8D233-2F02-4545-85C9-74CA4A346051
CrashReporter Key: 5f5257827e93649c799893055b12d3d61c937314
Hardware Model: iPhone3,1
Process: iman360 [42785]
Path: /var/mobile/Applications/EA2B491A-194D-4669-ADF7-721593D2B14F/iman360.app/iman360
Identifier: iman360
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-08-09 13:41:37.107 -0700
OS Version: iPhone OS 5.1.1 (9B206)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_PROTECTION_FAILURE at 0x2fdfe6e0
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 ??? 0x2fdfe6e0 0 + 803202784
1 iman360 0x00036ba2 -[ComicCatController refreshWithActionHandlerExeced:] (ComicCatController.m:216)
2 iman360 0x00036b0c -[ComicCatController refresh] (ComicCatController.m:207)
3 iman360 0x0002e682 -[TabComicCityViewController showSegTabView:] (TabComicCityViewController.m:312)
4 iman360 0x0002dcbc -[TabComicCityViewController segmentedViewValueChanged:] (TabComicCityViewController.m:96)
5 CoreFoundation 0x372ee3f6 -[NSObject performSelector:withObject:withObject:] + 46
6 UIKit 0x31083e00 -[UIApplication sendAction:to:from:forEvent:] + 56
7 UIKit 0x31083dbc -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 24
8 UIKit 0x31083d9a -[UIControl sendAction:to:forEvent:] + 38
9 UIKit 0x31083b0a -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 486
10 iman360 0x00019598 -[Iman360SegmentedView moveThumbToIndex:animate:] (Iman360SegmentedView.m:360)
11 iman360 0x00017ab4 -[Iman360SegmentedView willMoveToSuperview:] (Iman360SegmentedView.m:117)
12 UIKit 0x3106b502 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 390
13 UIKit 0x3106b370 -[UIView(Hierarchy) addSubview:] + 24
14 iman360 0x0002d996 -[TabComicCityViewController viewDidLoad] (TabComicCityViewController.m:49)
15 UIKit 0x310a1c84 -[UIViewController view] + 160
16 iman360 0x0001c86a +[ViewControllerManager initGlobalContentBgImgForViewController:] (ViewControllerManager.m:43)
17 iman360 0x0000422c -[Iman360ViewControllerBase init] (Iman360ViewControllerBase.m:25)
18 iman360 0x0002b8ce -[IndexTabViewControllerBase initWithIndexViewController:] (IndexTabViewControllerBase.m:19)
19 iman360 0x00004706 -[IndexViewController viewDidLoad] (IndexViewController.m:58)
20 UIKit 0x310a1c84 -[UIViewController view] + 160
21 UIKit 0x310a045a -[UIWindow addRootViewControllerViewIfPossible] + 38
22 UIKit 0x31224774 -[UIWindow setRootViewController:] + 332
23 iman360 0x0001c7da +[ViewControllerManager switchToViewController:] (ViewControllerManager.m:32)
24 iman360 0x0001c60a -[LoadingViewController onBackgroundJobFinishedWithUpdateInfo:] (LoadingViewController.m:165)
25 CoreFoundation 0x372f31f4 -[NSObject performSelector:withObject:] + 36
26 Foundation 0x37c0e740 __NSThreadPerformPerform + 344
27 CoreFoundation 0x37368acc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 8
28 CoreFoundation 0x37368298 __CFRunLoopDoSources0 + 208
29 CoreFoundation 0x3736703e __CFRunLoopRun + 646
30 CoreFoundation 0x372ea49e CFRunLoopRunSpecific + 294
31 CoreFoundation 0x372ea366 CFRunLoopRunInMode + 98
32 GraphicsServices 0x33aa9432 GSEventRunModal + 130
33 UIKit 0x31096cce UIApplicationMain + 1074
34 iman360 0x00004d5c main (main.m:23)
35 iman360 0x00002e60 0x1000 + 7776
Thread 0 crashed with ARM Thread State:
r0: 0x2fdfe6bc r1: 0x2fdfe6bc r2: 0x2fdfe6e0 r3: 0x00000000
r4: 0x0015d980 r5: 0x00000001 r6: 0x00059384 r7: 0x2fdfe6e0
r8: 0x00059388 r9: 0x0000000e r10: 0x00153da0 r11: 0x314490ab
ip: 0x000249a1 sp: 0x2fdfe6e0 lr: 0x000249c1 pc: 0x2fdfe6e0
cpsr: 0x200f0010
But I've tested it on my iphone 4s & ipad, and it works well there. At first I thought it might be I am dereferencing a null pointer but KERN_PROTECTION_FAILURE at 0x2fdfe6e0 shows it is not so. Any idea on this?
I've make a static code analysis, and get something. That's stupid. I've forgot to call the [super init] method with some of my class initializer. But would anyone please help analyze if this is the problem? Not sure if this is where the problem is, as the app is still under review by appstore.
Fortunately, my app get passed this time. It is because I didn't call [super init] for my customized class object initialization. I'm just very curious about why this happens that it works well some times.

iPhone App crashing on startup on some devices (not all)

I'm starting to get desperate and I need advice. Here's the situation:
My recently updated App has started to crash directly on startup on some devices.
It did not before the update.
I cannot replicate this, although I have exactly the same device and software version.
It does not matter if it is a fresh uninstall/install or update, it crashes anyways.
The crash logs do not tell me anything useful. Here is one, perhaps someone smarter than me knows what happened:
Incident Identifier: 52C11BF9-A202-4ECC-B227-4A57899CB2E1
CrashReporter Key: 3129de7e18ddccceb41bf4d0ad0465bc2e66df29
Hardware Model: iPhone3,1
Process: GT-BetApp [3364]
Path: /var/mobile/Applications/5E9BA5D7-4337-44CD-BDAB-CE653680EEB3/GT-BetApp.app/GT-BetApp
Identifier: GT-BetApp
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-01-24 18:59:34.573 +0100
OS Version: iPhone OS 5.0.1 (9A405)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x344258bf __exceptionPreprocess + 163
1 libobjc.A.dylib 0x346751e5 objc_exception_throw + 33
2 CoreFoundation 0x344257b9 +[NSException raise:format:] + 1
3 CoreFoundation 0x344257db +[NSException raise:format:] + 35
4 UIKit 0x37a42747 -[UINib instantiateWithOwner:options:] + 1567
5 UIKit 0x37a43bb9 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 137
6 UIKit 0x3797ca45 -[UIApplication _loadMainNibFileNamed:bundle:] + 37
7 UIKit 0x37806227 -[UIApplication _loadMainInterfaceFile] + 223
8 UIKit 0x37800313 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 227
9 UIKit 0x377ce921 -[UIApplication handleEvent:withNewEvent:] + 1017
10 UIKit 0x377ce3bf -[UIApplication sendEvent:] + 55
11 UIKit 0x377cdd2d _UIApplicationHandleEvent + 5809
12 GraphicsServices 0x30c00df3 PurpleEventCallback + 883
13 CoreFoundation 0x343f9553 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 39
14 CoreFoundation 0x343f94f5 __CFRunLoopDoSource1 + 141
15 CoreFoundation 0x343f8343 __CFRunLoopRun + 1371
16 CoreFoundation 0x3437b4dd CFRunLoopRunSpecific + 301
17 CoreFoundation 0x3437b3a5 CFRunLoopRunInMode + 105
18 UIKit 0x377ff457 -[UIApplication _run] + 551
19 UIKit 0x377fc743 UIApplicationMain + 1091
20 GT-BetApp 0x00002c79 main (main.m:15)
21 GT-BetApp 0x00002c44 0x1000 + 7236
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3634032c __pthread_kill + 8
1 libsystem_c.dylib 0x33209f54 pthread_kill + 48
2 libsystem_c.dylib 0x33202fe4 abort + 88
3 libc++abi.dylib 0x3384cf64 abort_message + 40
4 libc++abi.dylib 0x3384a346 _ZL17default_terminatev + 18
5 libobjc.A.dylib 0x346752dc _objc_terminate + 140
6 libc++abi.dylib 0x3384a3be _ZL19safe_handler_callerPFvvE + 70
7 libc++abi.dylib 0x3384a44a std::terminate() + 14
8 libc++abi.dylib 0x3384b81e __cxa_rethrow + 82
9 libobjc.A.dylib 0x3467522e objc_exception_rethrow + 6
10 CoreFoundation 0x3437b53e CFRunLoopRunSpecific + 398
11 CoreFoundation 0x3437b39e CFRunLoopRunInMode + 98
12 UIKit 0x377ff450 -[UIApplication _run] + 544
13 UIKit 0x377fc73c UIApplicationMain + 1084
14 GT-BetApp 0x00002c72 main (main.m:14)
15 GT-BetApp 0x00002c3c 0x1000 + 7228
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x363303b4 kevent + 24
1 libdispatch.dylib 0x3705ae78 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x3705ab96 _dispatch_mgr_thread + 30
Thread 2:
0 libsystem_kernel.dylib 0x36340cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x331c630a _pthread_wqthread + 610
2 libsystem_c.dylib 0x331c609c start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x36340cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x331c630a _pthread_wqthread + 610
2 libsystem_c.dylib 0x331c609c start_wqthread + 0
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x36330010 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x36330206 mach_msg + 50
2 CoreFoundation 0x343f941c __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x343f8154 __CFRunLoopRun + 876
4 CoreFoundation 0x3437b4d6 CFRunLoopRunSpecific + 294
5 CoreFoundation 0x3437b39e CFRunLoopRunInMode + 98
6 WebCore 0x3684f128 _ZL12RunWebThreadPv + 396
7 libsystem_c.dylib 0x331cbc16 _pthread_start + 314
8 libsystem_c.dylib 0x331cbad0 thread_start + 0
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x00000006 r5: 0x3eaf3ce8 r6: 0x00000002 r7: 0x2fdffa60
r8: 0x3fd97dec r9: 0x3384da4a r10: 0x0015d9e0 r11: 0x00156150
ip: 0x00000148 sp: 0x2fdffa54 lr: 0x33209f5b pc: 0x3634032c
cpsr: 0x00000010
As the only reference to my code in the report is to main.m, here it is:
#import <UIKit/UIKit.h>
int main(int argc, char *argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
}
So here is my question: How can I determine the cause? What can I do to get more information on this crash (I can send versions to someone who experiences this crash)? What can I do to prevent it?
Any advice is much appreciated and thank you in advance!
UPDATE:
I found the solution and it was a silly mistake on my part.
The MainWindow.xib could not load when there was no localization for the device's language. I always thought, it would fall back English, but it did not (anymore).
In previous versions, this was never an issue. I don't know why this behavior changed.
Thanks for all the replies, you helped me search in the right direction!
The application is trying to read the main nib file, as specified in your app's Info.plist file.
In the plist file there is an entry like
NSMainNibFile -> MyMainWindow
which UIApplicationMain uses to load your initial view controller from. This file seems to be damaged. A common error is to use a custom class for a contained object and then change/remove that class later without changing the nib file.
To further understand the error it would be very helpful to know the description of the exception that's being raised. You'll find that in the console log.

app works on simulator but not on iPhone

I have developed and iPhone app and it seems to work fine on the simulator 5.0. However, when I tried to test it on the real device, an iphone w/ ios 5, it's not working.
The app launched but all I see was a black screen.
Here's the crash log I found in the Device Log
Sorry I am pretty new to this.. I am not sure if these are symbolicated. (seems like they are?)
Incident Identifier: B2601015-4CBF-478D-B9C3-2D2B4BEED892
CrashReporter Key: 9c71d7c2ed64b2862a0a6d90e3d4ce839868a03c
Hardware Model: iPhone4,1
Process: memoryChallenger [21037]
Path: /var/mobile/Applications/C0981716-8CDF-4816-8E94- 261CD8F164FD/memoryChallenger.app/memoryChallenger
Identifier: memoryChallenger
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-01-30 21:54:18.753 -0800
OS Version: iPhone OS 5.0.1 (9A405)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x37ecb8bf __exceptionPreprocess + 163
1 libobjc.A.dylib 0x319b11e5 objc_exception_throw + 33
2 CoreFoundation 0x37ecb7b9 +[NSException raise:format:] + 1
3 CoreFoundation 0x37ecb7db +[NSException raise:format:] + 35
4 UIKit 0x354f7747 -[UINib instantiateWithOwner:options:] + 1567
5 UIKit 0x354f8bb9 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 137
6 UIKit 0x35431a45 -[UIApplication _loadMainNibFileNamed:bundle:] + 37
7 UIKit 0x352bb227 -[UIApplication _loadMainInterfaceFile] + 223
8 UIKit 0x352b5313 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 227
9 UIKit 0x35283921 -[UIApplication handleEvent:withNewEvent:] + 1017
10 UIKit 0x352833bf -[UIApplication sendEvent:] + 55
11 UIKit 0x35282d2d _UIApplicationHandleEvent + 5809
12 GraphicsServices 0x379a0df3 PurpleEventCallback + 883
13 CoreFoundation 0x37e9f553 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 39
14 CoreFoundation 0x37e9f4f5 __CFRunLoopDoSource1 + 141
15 CoreFoundation 0x37e9e343 __CFRunLoopRun + 1371
16 CoreFoundation 0x37e214dd CFRunLoopRunSpecific + 301
17 CoreFoundation 0x37e213a5 CFRunLoopRunInMode + 105
18 UIKit 0x352b4457 -[UIApplication _run] + 551
19 UIKit 0x352b1743 UIApplicationMain + 1091
20 memoryChallenger 0x000050d9 main (main.m:14)
21 memoryChallenger 0x000027ec start + 40
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3376532c __pthread_kill + 8
1 libsystem_c.dylib 0x36331f54 pthread_kill + 48
2 libsystem_c.dylib 0x3632afe4 abort + 88
3 libc++abi.dylib 0x37e10f64 abort_message + 40
4 libc++abi.dylib 0x37e0e346 _ZL17default_terminatev + 18
5 libobjc.A.dylib 0x319b12dc _objc_terminate + 140
6 libc++abi.dylib 0x37e0e3be _ZL19safe_handler_callerPFvvE + 70
7 libc++abi.dylib 0x37e0e44a std::terminate() + 14
8 libc++abi.dylib 0x37e0f81e __cxa_rethrow + 82
9 libobjc.A.dylib 0x319b122e objc_exception_rethrow + 6
10 CoreFoundation 0x37e2153e CFRunLoopRunSpecific + 398
11 CoreFoundation 0x37e2139e CFRunLoopRunInMode + 98
12 UIKit 0x352b4450 -[UIApplication _run] + 544
13 UIKit 0x352b173c UIApplicationMain + 1084
14 memoryChallenger 0x000050d2 main (main.m:14)
15 memoryChallenger 0x000027e4 start + 32
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x337553b4 kevent + 24
1 libdispatch.dylib 0x37b89f74 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x37b89c92 _dispatch_mgr_thread + 30
Thread 2:
0 libsystem_kernel.dylib 0x33765cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x362ee30a _pthread_wqthread + 610
2 libsystem_c.dylib 0x362ee09c start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x33765cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x362ee30a _pthread_wqthread + 610
2 libsystem_c.dylib 0x362ee09c start_wqthread + 0
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x33755010 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x33755206 mach_msg + 50
2 CoreFoundation 0x37e9f41c __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x37e9e154 __CFRunLoopRun + 876
4 CoreFoundation 0x37e214d6 CFRunLoopRunSpecific + 294
5 CoreFoundation 0x37e2139e CFRunLoopRunInMode + 98
6 WebCore 0x326f2128 _ZL12RunWebThreadPv + 396
7 libsystem_c.dylib 0x362f3c16 _pthread_start + 314
8 libsystem_c.dylib 0x362f3ad0 thread_start + 0
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x00000006 r5: 0x3f31dce8 r6: 0x00000002 r7: 0x2fdff864
r8: 0x3f14edec r9: 0x00000000 r10: 0x00188cc0 r11: 0x00185b40
ip: 0x00000148 sp: 0x2fdff858 lr: 0x36331f5b pc: 0x3376532c
cpsr: 0x00000010
it seems like this line here is what I am looking for..
20 memoryChallenger 0x000050d9 main (main.m:14)
and it's this line in main:
int retVal = UIApplicationMain(argc, argv, nil, nil);
But it's not getting me anywhere..
Can someone please guide me to the right direction?
Thanks!
From this line,
-[UINib instantiateWithOwner:options:] + 1567
it looks like your application's XIB file wasn't copied over properly to device.
Do a clean install.
For my case, it is due to the XIB file not found for iOS 5 (even though it's copied into the app bundle).
It is due to using Base Internationalization, which is only supported in iOS 6.
Strangely, running on Simulator with iOS 5 will work. That got to be a bug.
I have detailed my experience after releasing my app with this dumb startup crash: http://samwize.com/2012/11/22/warning-do-not-use-base-internationalization-in-ios-5/
In IB, xib's Target Membership -> current target is not checked
Just another scenario when this occurs.

App rejected: strange iPhone crash log

Apple rejected my app two times due to a crash at launch. I have tested it many times on different devices (iPhone 4, iPhone3GS, Simulator, iPad2) and it never crashed.
EDIT: This is a part of the symbolicated crash log.
Thanks!
Incident Identifier: DD9A5C38-DFE5-4CB5-A15B-8C55967FFFD1
CrashReporter Key: bf318d2d968114ff69d458c2f8cbdc6b869e1ec7
Hardware Model: iPhone3,1
Process: iMetroRoma [2788]
Path: /var/mobile/Applications/8EC59E9D-D070-4CAD-892E-91BCE94AA58C/iMetroRoma.app/iMetroRoma
Identifier: iMetroRoma
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-10-24 13:23:22.895 -0700
OS Version: iPhone OS 5.0 (9A334)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x30d828bf __exceptionPreprocess + 163
1 libobjc.A.dylib 0x37f271e5 objc_exception_throw + 33
2 CoreFoundation 0x30ccbb6b -[__NSArrayM objectAtIndex:] + 271
3 iMetroRoma 0x0000426f 0x1000 + 12911
4 CoreLocation 0x34fbc5df -[CLLocationManager onClientEventLocation:] + 1171
5 CoreLocation 0x34fbbf81 -[CLLocationManager onClientEvent:supportInfo:] + 201
6 CoreLocation 0x34fb662f __CLClientInvokeCallback_block_invoke_0 + 55
7 CoreFoundation 0x30d56b31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 13
8 CoreFoundation 0x30d5615f __CFRunLoopDoBlocks + 159
9 CoreFoundation 0x30d55381 __CFRunLoopRun + 1433
10 CoreFoundation 0x30cd84dd CFRunLoopRunSpecific + 301
11 CoreFoundation 0x30cd83a5 CFRunLoopRunInMode + 105
12 GraphicsServices 0x33906fed GSEventRunModal + 157
13 UIKit 0x32d4a743 UIApplicationMain + 1091
14 iMetroRoma 0x000024e3 0x1000 + 5347
15 iMetroRoma 0x0000249c 0x1000 + 5276
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3206732c __pthread_kill + 8
1 libsystem_c.dylib 0x3655df54 pthread_kill + 48
2 libsystem_c.dylib 0x36556fe4 abort + 88
3 libc++abi.dylib 0x31a1ff64 abort_message + 40
4 libc++abi.dylib 0x31a1d346 _ZL17default_terminatev + 18
5 libobjc.A.dylib 0x37f272dc _objc_terminate + 140
6 libc++abi.dylib 0x31a1d3be _ZL19safe_handler_callerPFvvE + 70
7 libc++abi.dylib 0x31a1d44a std::terminate() + 14
8 libc++abi.dylib 0x31a1e81e __cxa_rethrow + 82
9 libobjc.A.dylib 0x37f2722e objc_exception_rethrow + 6
10 CoreFoundation 0x30cd853e CFRunLoopRunSpecific + 398
11 CoreFoundation 0x30cd839e CFRunLoopRunInMode + 98
12 GraphicsServices 0x33906fe6 GSEventRunModal + 150
13 UIKit 0x32d4a73c UIApplicationMain + 1084
14 iMetroRoma 0x000024dc 0x1000 + 5340
15 iMetroRoma 0x00002494 0x1000 + 5268
...
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x00000006 r5: 0x3f54dce8 r6: 0x00000002 r7: 0x2fdffa6c
r8: 0x001a1c20 r9: 0x31a20a4a r10: 0x0000d224 r11: 0x0000cbfc
ip: 0x00000148 sp: 0x2fdffa60 lr: 0x3655df5b pc: 0x3206732c
cpsr: 0x00000010
...
Okay, did you "build and archive" when submitting to appstore?
If you did not, tough luck. There is not much you can do now. Even if you did Build and Archive, and lost the archive, you are out of luck.
If you did however, store the archive file of distribution build, very good!
Have you tried opening this in XCode Organizer (drag and drop the file onto organizer, it should try to symbolicate the crashlog). If not, do it.
When you do it, there are two possibilities:
Either the iMetroRoma functions will get symbolicated (meaning you'll see which line is crashing it) or it wont.
X*: If it does, you know where the application is crashing. Posting the details of that would help us solve the issue for you.
If it does not, then automatic symbolication in XCode is not working. Follow these steps (assuming you did all this from XCode 4):
From /Users/your_username/Library/Developer/Xcode/DerivedData remove
all folders.
From /Users/your_username/Library/Application
Support/iPhone Simulator remove all folders.
Clean your trash.
And then try deleting that crash log from XCode Organizer and drag/drop it again there. Possibly, it might symbolicate it now. If it does do step X*, If it does not, read on.
Now, you will need to do follow the steps on this blog. (Very useful and well documented article).
Hopefully, it will symbolicate now and then move to step X*. If it does not, I'm sorry for not being able to help :)
According to the crash log, it looks like an array out of bounds exception. This means that you accessed an array with an index that doesn't exist. Unfortunately, the most important line (3 iMetroRoma 0x0000426f 0x1000 + 12911
) is not symbolicated which means you have to go hunting for all your calls to objectAtIndex: and think about whether there's a possibility that an invalid index could be used.

App Store build crashes, doesn't on testing on Sim or my own device

I have just released an update for my app to the app store. I tested it within the simulater and my own devices and never had an issue. I have since discovered that the updated version crashes, but only on the iPad and only from the app store
The update has made the app universal.
Any help would be great, i dont wanna effect my reting.
Crash Log below
Incident Identifier: 36D64A4B-25EF-4352-BEFC-DF4409B48048
CrashReporter Key: ca77f364943901ada3da44974f547565326b5b64
Hardware Model: iPad1,1
Process: FuelCost [2659]
Path: /var/mobile/Applications/4A738AC7-C717-46C2-9469-9B8888B6FE10/FuelCost.app/FuelCost
Identifier: FuelCost
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-05-14 16:20:31.338 +0100
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 0x303c548a +[NSException raise:format:arguments:] + 62
10 CoreFoundation 0x303c54c4 +[NSException raise:format:] + 28
11 UIKit 0x35aa2a4c -[UINib instantiateWithOwner:options:] + 1104
12 UIKit 0x35aa3e02 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 86
13 UIKit 0x358ce4c6 -[UIApplication _loadMainNibFile] + 90
14 UIKit 0x358c8b02 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 174
15 UIKit 0x3589d7d0 -[UIApplication handleEvent:withNewEvent:] + 1108
16 UIKit 0x3589d20e -[UIApplication sendEvent:] + 38
17 UIKit 0x3589cc4c _UIApplicationHandleEvent + 5084
18 GraphicsServices 0x35571e70 PurpleEventCallback + 660
19 CoreFoundation 0x3039ca90 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 20
20 CoreFoundation 0x3039e838 __CFRunLoopDoSource1 + 160
21 CoreFoundation 0x3039f606 __CFRunLoopRun + 514
22 CoreFoundation 0x3032febc CFRunLoopRunSpecific + 224
23 CoreFoundation 0x3032fdc4 CFRunLoopRunInMode + 52
24 UIKit 0x358c7d42 -[UIApplication _run] + 366
25 UIKit 0x358c5800 UIApplicationMain + 664
26 FuelCost 0x000022ee main (main.m:14)
27 FuelCost 0x000022b8 0x1000 + 4792
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 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 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x3e8a148c r5: 0x00000006 r6: 0x0015bb5c r7: 0x2fdfe068
r8: 0x3f039964 r9: 0x00000065 r10: 0x0014ec40 r11: 0x00000001
ip: 0x00000148 sp: 0x2fdfe05c lr: 0x32d8f3bb pc: 0x32ae2a1c
cpsr: 0x00000010
Binary Images:
There are many things to check here
Make sure that all of your files are included in the target, specifically the Nib files.
Check to make sure you have nibs included for the iPad.
You left out the Binary Images section of the report, but check to make sure these crashing devices aren't jail-broken.
Finally, if you are going to support iPad, I would highly recommend getting a physical one to test on. You could have avoided this otherwise.