Function running in Simulator, not on device - iphone

I'm writting some code to handle SerwerChanges. I have a function in class ServerChangesArchive:
+(id) httpQueueWithLogin:(NSString*) _login password:(NSString*) _password lastSyncTime:(NSDate*) date;
When I run this function using Simulator everything works fine, but on device I'm getting
[ServerChangesArchive httpQueueWithLogin:self.login password:self.password lastSyncTime:self.date]
Incident Identifier: F302A702-69BA-4388-AF9C-CE54426008D4
CrashReporter Key: 2aa75e68ee087cee2b81667dfaa1d8e3b0f5454b
Process: APPName [420]
Path: /var/mobile/Applications/E4DAF458-9687-4BDC-A7BC-30357743A33E/Listonic.app/Listonic
Identifier: APPNAme
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2010-11-08 10:56:54.439 +0100
OS Version: iPhone OS 3.1.2 (7D11)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x883841bd
Crashed Thread: 5
Thread 0:
0 libSystem.B.dylib 0x3272e4b8 0x3272d000 + 5304
1 libSystem.B.dylib 0x32731094 0x3272d000 + 16532
2 CoreFoundation 0x32da4002 0x32d4d000 + 356354
3 CoreFoundation 0x32da3c18 0x32d4d000 + 355352
4 GraphicsServices 0x31bb936c 0x31bb5000 + 17260
5 UIKit 0x30bf3c28 0x30bf0000 + 15400
6 UIKit 0x30bf2228 0x30bf0000 + 8744
7 APPName 0x00002686 main (main.m:13)
8 APPName 0x0000261c start + 44
Thread 1:
0 libSystem.B.dylib 0x3272e4b8 0x3272d000 + 5304
1 libSystem.B.dylib 0x32731094 0x3272d000 + 16532
2 CoreFoundation 0x32da4002 0x32d4d000 + 356354
3 CoreFoundation 0x32da3c18 0x32d4d000 + 355352
4 WebCore 0x32f486f0 0x32ec4000 + 542448
5 libSystem.B.dylib 0x327587b0 0x3272d000 + 178096
Thread 2:
0 libSystem.B.dylib 0x327be720 0x3272d000 + 595744
1 libSystem.B.dylib 0x32730916 0x3272d000 + 14614
2 Foundation 0x33f389c8 0x33f29000 + 63944
3 APPName 0x00006fc8 -[Syncer requestPump] (Syncer.m:114)
4 Foundation 0x33f7cac6 0x33f29000 + 342726
5 Foundation 0x33f2ad0e 0x33f29000 + 7438
6 libSystem.B.dylib 0x327587b0 0x3272d000 + 178096
Thread 3:
0 libSystem.B.dylib 0x3272e4b8 0x3272d000 + 5304
1 libSystem.B.dylib 0x32731094 0x3272d000 + 16532
2 CoreFoundation 0x32da4002 0x32d4d000 + 356354
3 CoreFoundation 0x32da3c18 0x32d4d000 + 355352
4 Foundation 0x33f83998 0x33f29000 + 371096
5 Foundation 0x33f7cac6 0x33f29000 + 342726
6 Foundation 0x33f2ad0e 0x33f29000 + 7438
7 libSystem.B.dylib 0x327587b0 0x3272d000 + 178096
Thread 4:
0 libSystem.B.dylib 0x327532f0 0x3272d000 + 156400
1 CoreFoundation 0x32d6d7e2 0x32d4d000 + 133090
2 libSystem.B.dylib 0x327587b0 0x3272d000 + 178096
Thread 5 Crashed:
0 libobjc.A.dylib 0x326704dc 0x32665000 + 46300
1 libobjc.A.dylib 0x32670550 0x32665000 + 46416
2 libobjc.A.dylib 0x32671314 0x32665000 + 49940
3 libobjc.A.dylib 0x3266cf54 0x32665000 + 32596
4 libobjc.A.dylib 0x32668f20 0x32665000 + 16160
5 APPName 0x0004e9e2 -[ServerChanges requestDidFinishThread:] (ServerChanges.m:352)
6 Foundation 0x33f7cac6 0x33f29000 + 342726
7 Foundation 0x33f2ad0e 0x33f29000 + 7438
8 libSystem.B.dylib 0x327587b0 0x3272d000 + 178096
Thread 5 crashed with ARM Thread State:
r0: 0x3841bd01 r1: 0xffffffff r2: 0x00000005 r3: 0x00000000
r4: 0x883841bd r5: 0x3841bd01 r6: 0x000c39d4 r7: 0x046779cc
r8: 0x3841bd88 r9: 0x002fc098 r10: 0x00000001 r11: 0x00000000
ip: 0x38332118 sp: 0x046779b4 lr: 0x32670558 pc: 0x326704dc
cpsr: 0x20000010
Device even don't get into this function body. Starting is causing the problem.
Could anyone tell me how to fix it or where to search for explenation?

The crashlog shows that the crash is caused by some of your code in:
-[ServerChanges requestDidFinishThread:]
Or more specifically in the file ServerChanges.m at line 352.
I'll suggest starting your search for the bug here.

It was .xcodeproj problem. After removing *.perspectivev3 and *.pbxuser files is everything good :)

Related

App crash after click on notification

I got crash if application is not in background state and then click on notification. There is no memory leak and set architectures standard (armv6,armv7,armv7s).also referred link
Springboard crash when app is restored from push notification from GameCenter
Any suggestion to find out solution.Thanks in Advance.
Device Log as below:
OS Version: iOS 6.1.3 (10B329)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000024
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libdispatch.dylib 0x3936b332 0x3936a000 + 4914
1 CropAndGuess 0x000a92c0 0xa1000 + 33472
2 CropAndGuess 0x000a6252 0xa1000 + 21074
3 CropAndGuess 0x000a551a 0xa1000 + 17690
4 UIKit 0x3313ead4 0x330db000 + 408276
5 UIKit 0x3313e65e 0x330db000 + 407134
6 UIKit 0x33136846 0x330db000 + 374854
7 UIKit 0x330dec34 0x330db000 + 15412
8 UIKit 0x330de6c8 0x330db000 + 14024
9 UIKit 0x330de116 0x330db000 + 12566
10 GraphicsServices 0x34dd05a0 0x34dca000 + 26016
11 CoreFoundation 0x312ab680 0x31214000 + 620160
12 CoreFoundation 0x312aaee4 0x31214000 + 618212
13 CoreFoundation 0x312a9cb2 0x31214000 + 613554
14 CoreFoundation 0x3121ceb8 0x31214000 + 36536
15 CoreFoundation 0x3121cd44 0x31214000 + 36164
16 UIKit 0x33135480 0x330db000 + 369792
17 UIKit 0x331322fc 0x330db000 + 357116
18 CropAndGuess 0x000a3bbc 0xa1000 + 11196
19 CropAndGuess 0x000a3b54 0xa1000 + 11092
Thread 1:
0 libsystem_kernel.dylib 0x39452d98 0x39441000 + 73112
1 libsystem_c.dylib 0x393a0cf6 0x3939a000 + 27894
2 libsystem_c.dylib 0x393a0a12 0x3939a000 + 27154
3 libsystem_c.dylib 0x393a08a0 0x3939a000 + 26784
Thread 2 name: Dispatch queue: com.apple.libdispatch-manager
Thread 2:
0 libsystem_kernel.dylib 0x39442648 0x39441000 + 5704
1 libdispatch.dylib 0x3937b4ec 0x3936a000 + 70892
2 libdispatch.dylib 0x3936ddf4 0x3936a000 + 15860
Thread 3:
0 libsystem_kernel.dylib 0x39452d98 0x39441000 + 73112
1 libsystem_c.dylib 0x393a0cf6 0x3939a000 + 27894
2 libsystem_c.dylib 0x393a0a12 0x3939a000 + 27154
3 libsystem_c.dylib 0x393a08a0 0x3939a000 + 26784
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x39441eb4 0x39441000 + 3764
1 libsystem_kernel.dylib 0x39442048 0x39441000 + 4168
2 CoreFoundation 0x312ab040 0x31214000 + 618560
3 CoreFoundation 0x312a9d9e 0x31214000 + 613790
4 CoreFoundation 0x3121ceb8 0x31214000 + 36536
5 CoreFoundation 0x3121cd44 0x31214000 + 36164
6 WebCore 0x3720a500 0x37200000 + 42240
7 libsystem_c.dylib 0x393ab30e 0x3939a000 + 70414
8 libsystem_c.dylib 0x393ab1d4 0x3939a000 + 70100
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x1fdaab50 r2: 0x3936c115 r3: 0x1fdaab50
r4: 0x3aefd06c r5: 0x0015a854 r6: 0x00153828 r7: 0x2fd5e4e8
r8: 0x00000001 r9: 0x0000007f r10: 0x38f4f5a1 r11: 0x001538d4
ip: 0x3aefe7f4 sp: 0x2fd5e4b4 lr: 0x000a92c5 pc: 0x3936b332
cpsr: 0x20000030

Application crash issue in iPhone 4s

I'm using web services and location service in my application. My app is working fine on other devices but crashing on iPhone 4s. This problem has occurred after updating my XCode to XCode5. The Crash logs are as follows:
Date/Time: 2013-10-13 00:34:29.988 +1000
OS Version: iOS 7.0.2 (11A501)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
(0x2d849f4e 0x37c226aa 0x2d849c64 0x2ea11b24 0x6344a 0x2ffbf5fe 0x3006a8fc 0x3006a812 0x30069dee 0x30069b18 0x30069888 0x30069820 0x2ffbb01e 0x2fc44246 0x2fc3fa56 0x2fc3f8e8 0x2fc3f2fa 0x2fc3f10a 0x2ffb333e 0x2d8151d0 0x2d812b74 0x2d812eb6 0x2d77dce2 0x2d77dac6 0x3249e27e 0x3001fa3c 0x5eb0e 0x3812aab2)
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x381e11fc 0x381ce000 + 78332
1 libsystem_pthread.dylib 0x3824aa2e 0x38247000 + 14894
2 libsystem_c.dylib 0x38191ff8 0x38148000 + 303096
3 libc++abi.dylib 0x374c0cd2 0x374c0000 + 3282
4 libc++abi.dylib 0x374d96e0 0x374c0000 + 104160
5 libobjc.A.dylib 0x37c2291e 0x37c1a000 + 35102
6 libc++abi.dylib 0x374d71c4 0x374c0000 + 94660
7 libc++abi.dylib 0x374d6d28 0x374c0000 + 93480
8 libobjc.A.dylib 0x37c227f2 0x37c1a000 + 34802
9 CoreFoundation 0x2d77dd58 0x2d776000 + 32088
10 CoreFoundation 0x2d77dac6 0x2d776000 + 31430
11 GraphicsServices 0x3249e27e 0x32496000 + 33406
12 UIKit 0x3001fa3c 0x2ffb0000 + 457276
13 CashBackApp 0x0005eb0e 0x59000 + 23310
14 libdyld.dylib 0x3812aab4 0x38129000 + 6836
Thread 1:
0 libsystem_kernel.dylib 0x381ce83c 0x381ce000 + 2108
1 libdispatch.dylib 0x3810f220 0x38104000 + 45600
2 libdispatch.dylib 0x3810efa6 0x38104000 + 44966
Thread 2:
0 libsystem_kernel.dylib 0x381ceaf4 0x381ce000 + 2804
1 libdispatch.dylib 0x3810d428 0x38104000 + 37928
2 CoreLocation 0x2dd00c88 0x2dcfe000 + 11400
3 CoreLocation 0x2dd0564a 0x2dcfe000 + 30282
4 CoreLocation 0x2dd31ba8 0x2dcfe000 + 211880
5 libxpc.dylib 0x382573aa 0x38253000 + 17322
6 libxpc.dylib 0x3825593e 0x38253000 + 10558
7 libdispatch.dylib 0x3810fd42 0x38104000 + 48450
8 libdispatch.dylib 0x3810c256 0x38104000 + 33366
9 libdispatch.dylib 0x3810ff8c 0x38104000 + 49036
10 libdispatch.dylib 0x3810c256 0x38104000 + 33366
11 libdispatch.dylib 0x3810c096 0x38104000 + 32918
12 libdispatch.dylib 0x3810c256 0x38104000 + 33366
13 libdispatch.dylib 0x3810c096 0x38104000 + 32918
14 libdispatch.dylib 0x3810cd12 0x38104000 + 36114
15 libdispatch.dylib 0x3810cf88 0x38104000 + 36744
16 libsystem_pthread.dylib 0x38247dbc 0x38247000 + 3516
17 libsystem_pthread.dylib 0x38247c80 0x38247000 + 3200
Thread 3:
0 libsystem_kernel.dylib 0x381e1c7c 0x381ce000 + 81020
1 libsystem_pthread.dylib 0x38247dc6 0x38247000 + 3526
2 libsystem_pthread.dylib 0x38247c80 0x38247000 + 3200
Thread 4 name: com.apple.NSURLConnectionLoader
Thread 4:
0 libsystem_kernel.dylib 0x381cea8c 0x381ce000 + 2700
1 libsystem_kernel.dylib 0x381ce888 0x381ce000 + 2184
2 CoreFoundation 0x2d8147c6 0x2d776000 + 649158
3 CoreFoundation 0x2d812eec 0x2d776000 + 642796
4 CoreFoundation 0x2d77dce2 0x2d776000 + 31970
5 CoreFoundation 0x2d77dac6 0x2d776000 + 31430
6 Foundation 0x2e1b7492 0x2e15f000 + 361618
7 Foundation 0x2e22ce22 0x2e15f000 + 843298
8 libsystem_pthread.dylib 0x38249c1a 0x38247000 + 11290
9 libsystem_pthread.dylib 0x38249b8a 0x38247000 + 11146
10 libsystem_pthread.dylib 0x38247c8c 0x38247000 + 3212
Thread 5:
0 libsystem_kernel.dylib 0x381e1c7c 0x381ce000 + 81020
1 libsystem_pthread.dylib 0x38247dc6 0x38247000 + 3526
2 libsystem_pthread.dylib 0x38247c80 0x38247000 + 3200
Thread 6:
0 libsystem_kernel.dylib 0x381e1c7c 0x381ce000 + 81020
1 libsystem_pthread.dylib 0x38247dc6 0x38247000 + 3526
2 libsystem_pthread.dylib 0x38247c80 0x38247000 + 3200
Thread 7 name: com.apple.CFSocket.private
Thread 7:
0 libsystem_kernel.dylib 0x381e1440 0x381ce000 + 78912
1 CoreFoundation 0x2d818688 0x2d776000 + 665224
2 libsystem_pthread.dylib 0x38249c1a 0x38247000 + 11290
3 libsystem_pthread.dylib 0x38249b8a 0x38247000 + 11146
4 libsystem_pthread.dylib 0x38247c8c 0x38247000 + 3212
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000000 r2: 0x00000000 r3: 0x00002060
r4: 0x00000006 r5: 0x3a05918c r6: 0x00000000 r7: 0x27daa594
r8: 0x16d0df20 r9: 0x00000001 r10: 0x40340000 r11: 0x00000001
ip: 0x00000148 sp: 0x27daa588 lr: 0x3824aa33 pc: 0x381e11fc
cpsr: 0x00000010

application crashes only when run on device with warning "Application 'xxxxxxx' exited abnormally with signal 11: Segmentation fault: 11."

My iphone application crashes when run on the device with warning ...
Application 'xxxxxx' exited abnormally with signal 11: Segmentation fault: 11.
However it does not crash in the simulator and also on the device when i have enabled breakpoints and debug mode(in both simultor and when debugging on device i have enabled nszombies and mallocstacklogging nocompact variables).How to debug this issue??
attaching the crash log
Date/Time: 2012-02-27 18:04:36.176 +0530
OS Version: iPhone OS 5.0.1 (9A405)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xf6496811
Crashed Thread: 5
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libicucore.A.dylib 0x355625a8 icu::Locale::getRoot() + 28
1 libicucore.A.dylib 0x3554846c ures_getStringByKeyWithFallback + 36
2 libicucore.A.dylib 0x355f8442 icu::NumberingSystem::createInstance(icu::Locale const&, UErrorCode&) + 110
3 libicucore.A.dylib 0x35548c52 icu::DecimalFormatSymbols::initialize(icu::Locale const&, UErrorCode&, signed char) + 130
4 libicucore.A.dylib 0x355f7452 icu::NumberFormat::makeInstance(icu::Locale const&, UNumberFormatStyle, UErrorCode&) + 162
5 libicucore.A.dylib 0x35548738 unum_open + 504
6 CoreFoundation 0x33fa3228 0x33f5e000 + 283176
7 Foundation 0x32f49db0 0x32f1a000 + 196016
8 Myapp 0x00159bea +[UtilityFunctions convertStringToCurrency:] (UtilityFunctions.m:71)
9 Myapp 0x00159f08 +[UtilityFunctions convertStringToCurrencyWithZeroFloat:] (UtilityFunctions.m:123)
10 Myapp 0x000b8f7a -[MainScreenViewController getValueForTextFieldWithName:] (MainScreenViewController.m:768)
11 Myapp 0x000b78f4 -[MainScreenViewController tableView:cellForRowAtIndexPath:] (MainScreenViewController.m:497)
12 UIKit 0x371f59c4 0x37192000 + 408004
13 UIKit 0x371f4aa2 0x37192000 + 404130
14 UIKit 0x371f422c 0x37192000 + 401964
15 UIKit 0x37198d44 0x37192000 + 27972
16 CoreFoundation 0x33f76224 0x33f5e000 + 98852
17 QuartzCore 0x32c8037a 0x32c7a000 + 25466
18 QuartzCore 0x32c7ff92 0x32c7a000 + 24466
19 QuartzCore 0x32c84114 0x32c7a000 + 41236
20 QuartzCore 0x32c83e50 0x32c7a000 + 40528
21 QuartzCore 0x32c7bd7e 0x32c7a000 + 7550
22 CoreFoundation 0x33febb44 0x33f5e000 + 580420
23 CoreFoundation 0x33fe9d80 0x33f5e000 + 572800
24 CoreFoundation 0x33fea0da 0x33f5e000 + 573658
25 CoreFoundation 0x33f6d4d6 0x33f5e000 + 62678
26 CoreFoundation 0x33f6d39e 0x33f5e000 + 62366
27 GraphicsServices 0x323c2fc6 0x323bf000 + 16326
28 UIKit 0x371c373c 0x37192000 + 202556
29 Myapp 0x000b1412 main (main.m:14)
30 Myapp 0x000b13d0 start + 32
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x376323b4 0x37631000 + 5044
1 libdispatch.dylib 0x36894e78 0x36888000 + 52856
2 libdispatch.dylib 0x36894b96 0x36888000 + 52118
Thread 2:
0 libsystem_kernel.dylib 0x37642cd4 0x37631000 + 72916
1 libsystem_c.dylib 0x3651630a 0x3650c000 + 41738
2 libsystem_c.dylib 0x3651609c 0x3650c000 + 41116
Thread 3:
0 libsystem_kernel.dylib 0x37642cd4 0x37631000 + 72916
1 libsystem_c.dylib 0x3651630a 0x3650c000 + 41738
2 libsystem_c.dylib 0x3651609c 0x3650c000 + 41116
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x376420d8 0x37631000 + 69848
1 libsystem_c.dylib 0x3650ec44 0x3650c000 + 11332
2 WebCore 0x3499a36c 0x34994000 + 25452
3 WebCore 0x3499a670 0x34994000 + 26224
4 CoreFoundation 0x33febb44 0x33f5e000 + 580420
5 CoreFoundation 0x33fe9d80 0x33f5e000 + 572800
6 CoreFoundation 0x33fea19a 0x33f5e000 + 573850
7 CoreFoundation 0x33f6d4d6 0x33f5e000 + 62678
8 CoreFoundation 0x33f6d39e 0x33f5e000 + 62366
9 WebCore 0x34a3c128 0x34994000 + 688424
10 libsystem_c.dylib 0x3651bc16 0x3650c000 + 64534
11 libsystem_c.dylib 0x3651bad0 0x3650c000 + 64208
Thread 5 Crashed:
0 libobjc.A.dylib 0x32033fbc 0x32030000 + 16316
1 Myapp 0x00158684 -[SellingCostsVC dealloc] (SellingCostsVC.m:1639)
2 libobjc.A.dylib 0x320350be 0x32030000 + 20670
3 libobjc.A.dylib 0x32036db0 0x32030000 + 28080
4 libobjc.A.dylib 0x32035e06 0x32030000 + 24070
5 libobjc.A.dylib 0x32035d22 0x32030000 + 23842
6 CoreFoundation 0x33f67e88 0x33f5e000 + 40584
7 Foundation 0x32f1dc58 0x32f1a000 + 15448
8 Myapp 0x000bb6f8 -[MainScreenViewController calculateValues] (MainScreenViewController.m:1204)
9 Foundation 0x32f2aa8a 0x32f1a000 + 68234
10 Foundation 0x32fbe59a 0x32f1a000 + 673178
11 libsystem_c.dylib 0x3651bc16 0x3650c000 + 64534
12 libsystem_c.dylib 0x3651bad0 0x3650c000 + 64208
Thread 5 crashed with ARM Thread State:
r0: 0x000f0000 r1: 0x3846b09c r2: 0x00000001 r3: 0x00000000
r4: 0xf6496809 r5: 0x02b04048 r6: 0x02b04048 r7: 0x02b0360c
r8: 0x0d270028 r9: 0x0e11ac27 r10: 0x0d270028 r11: 0xa3a3a3a3
ip: 0x3f576454 sp: 0x02b0359c lr: 0x0015868b pc: 0x32033fbc
cpsr: 0x20000030
The crash log gives you line numbers for about where it went bad; you can use NSLog for "printf debugging" to narrow it down. This blogger explains how to make NSLog useful when running on hardware:
http://objcolumnist.com/2009/12/19/redirecting-nslog-to-a-log-file/
Edit: actually, with the tip I linked you could also do printf debugging with actual printf.

How to explain the crash report?

My app was rejected, but I don't know what's the problem.
Rejected reason is:
We found that your app crashed on iPhone 4 running iOS 5.0.1, which is not in compliance with the App Store Review Guidelines.
Your app crashed on both Wi-Fi and cellular networks
when we:
1) Launch the app connected to a Wi-Fi or cellular network
2) The app crashes.
But, I test the my app withe iphone 4 running ios 5.0.1 which didn't come out crash like that, so I'm confused, plz help me, thanks a million.
Incident Identifier: AAA90ABE-B2F1-483A-97B8-2990DF83698C
CrashReporter Key: 52a7dd4ac386930f5f86a0b0e9b2de47158609a3
Hardware Model: iPhone3,1
Process: *****
Path: *******
Identifier: *****
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-01-26 17:51:05.914 -0800
OS Version: iPhone OS 5.0.1 (9A405)
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 0x35fd832c 0x35fc7000 + 70444
1 libsystem_c.dylib 0x32ea1f54 0x32e54000 + 319316
2 libsystem_c.dylib 0x32e9afe4 0x32e54000 + 290788
3 libc++abi.dylib 0x334e4f64 0x334de000 + 28516
4 libc++abi.dylib 0x334e23ea 0x334de000 + 17386
5 libc++abi.dylib 0x334e244a 0x334de000 + 17482
6 libc++abi.dylib 0x334e381e 0x334de000 + 22558
7 libobjc.A.dylib 0x3430d22e 0x34304000 + 37422
8 CoreFoundation 0x3401353e 0x34004000 + 62782
9 CoreFoundation 0x3401339e 0x34004000 + 62366
10 GraphicsServices 0x30897fc6 0x30894000 + 16326
11 UIKit 0x3749473c 0x37463000 + 202556
12 *******(app's name) 0x00003e74 0x1000 + 11892
13 ******* 0x00003e2c 0x1000 + 11820
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x35fc83b4 0x35fc7000 + 5044
1 libdispatch.dylib 0x36cf2e78 0x36ce6000 + 52856
2 libdispatch.dylib 0x36cf2b96 0x36ce6000 + 52118
Thread 2 name: Dispatch queue: com.apple.root.default-priority
Thread 2:
0 DataDetectorsCore 0x37a54828 0x37a4e000 + 26664
1 DataDetectorsCore 0x37a5456c 0x37a4e000 + 25964
2 DataDetectorsCore 0x37a51b90 0x37a4e000 + 15248
3 DataDetectorsCore 0x37a520b8 0x37a4e000 + 16568
4 DataDetectorsCore 0x37a50da8 0x37a4e000 + 11688
5 DataDetectorsUI 0x34613db6 0x3460e000 + 23990
6 Foundation 0x35a2e39c 0x35a03000 + 177052
7 Foundation 0x35a9779c 0x35a03000 + 608156
8 libdispatch.dylib 0x36ce6d4e 0x36ce6000 + 3406
9 libdispatch.dylib 0x36cf279c 0x36ce6000 + 51100
10 libsystem_c.dylib 0x32e5e1c8 0x32e54000 + 41416
11 libsystem_c.dylib 0x32e5e09c 0x32e54000 + 41116
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x35fc8010 0x35fc7000 + 4112
1 libsystem_kernel.dylib 0x35fc8206 0x35fc7000 + 4614
2 CoreFoundation 0x3409141c 0x34004000 + 578588
3 CoreFoundation 0x34090154 0x34004000 + 573780
4 CoreFoundation 0x340134d6 0x34004000 + 62678
5 CoreFoundation 0x3401339e 0x34004000 + 62366
6 WebCore 0x364e7128 0x3643f000 + 688424
7 libsystem_c.dylib 0x32e63c16 0x32e54000 + 64534
8 libsystem_c.dylib 0x32e63ad0 0x32e54000 + 64208
Thread 4:
0 libsystem_kernel.dylib 0x35fd8cd4 0x35fc7000 + 72916
1 libsystem_c.dylib 0x32e5e30a 0x32e54000 + 41738
2 libsystem_c.dylib 0x32e5e09c 0x32e54000 + 41116
Thread 5 name: com.apple.NSURLConnectionLoader
Thread 5:
0 libsystem_kernel.dylib 0x35fc8010 0x35fc7000 + 4112
1 libsystem_kernel.dylib 0x35fc8206 0x35fc7000 + 4614
2 CoreFoundation 0x3409141c 0x34004000 + 578588
3 CoreFoundation 0x34090154 0x34004000 + 573780
4 CoreFoundation 0x340134d6 0x34004000 + 62678
5 CoreFoundation 0x3401339e 0x34004000 + 62366
6 Foundation 0x35a13bc2 0x35a03000 + 68546
7 Foundation 0x35a13a8a 0x35a03000 + 68234
8 Foundation 0x35aa759a 0x35a03000 + 673178
9 libsystem_c.dylib 0x32e63c16 0x32e54000 + 64534
10 libsystem_c.dylib 0x32e63ad0 0x32e54000 + 64208
Thread 6:
0 libsystem_kernel.dylib 0x35fd8cd4 0x35fc7000 + 72916
1 libsystem_c.dylib 0x32e5e30a 0x32e54000 + 41738
2 libsystem_c.dylib 0x32e5e09c 0x32e54000 + 41116
Thread 7:
0 libsystem_kernel.dylib 0x35fd8cd4 0x35fc7000 + 72916
1 libsystem_c.dylib 0x32e5e30a 0x32e54000 + 41738
2 libsystem_c.dylib 0x32e5e09c 0x32e54000 + 41116
Thread 8 name: com.apple.CFSocket.private
Thread 8:
0 libsystem_kernel.dylib 0x35fd8570 0x35fc7000 + 71024
1 CoreFoundation 0x3409566a 0x34004000 + 595562
2 libsystem_c.dylib 0x32e63c16 0x32e54000 + 64534
3 libsystem_c.dylib 0x32e63ad0 0x32e54000 + 64208
Thread 9:
0 libsystem_kernel.dylib 0x35fd8cd4 0x35fc7000 + 72916
1 libsystem_c.dylib 0x32e5e30a 0x32e54000 + 41738
2 libsystem_c.dylib 0x32e5e09c 0x32e54000 + 41116
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x00000006 r5: 0x3e78bce8 r6: 0x00000002 r7: 0x2fdffb1c
r8: 0x3f448d6c r9: 0x334e5a32 r10: 0x00000000 r11: 0x3f448d6c
ip: 0x00000148 sp: 0x2fdffb10 lr: 0x32ea1f5b pc: 0x35fd832c
cpsr: 0x00070010
1) If you are not using ARC, convert your project to ARC. That will make crashes like this much less likley.
2) To see where in your code you crashed, you need to desymbolicate the crash log so it will show you where in your code the call that crashed came from. Try following these instructions:
Symbolicating iPhone App Crash Reports
According to EveryMac, iPhone3,1 is the GSM model of the iPhone 4.
Did you test with a GSM model, or a CDMA model? This crash may only happen with the GSM model.

App will launch in simulator and building directly from developer but then will not launch on ad hoc users

We have an app that will launch in the simulator and for the developer when building the app
However when an ipa of the app and provisioning profle is sent to the adhoc tester it will install but when trying to launch it will instantly "crash".
The ad hoc tester can also run the app via simulator with no problems.
Ad hoc tester has tested on 2 devices (ipad & iphone)
Prior to installation via itunes
Ad hoc tester has cleaned out all previous app versions on devices
Ad hoc tester has cleaned out all previous provision profiles
So our question's are
Has anybody encountered this before?
Attached is a log, is there a way to get a more detailed one for further analysis?
Appreciate any help on this.. thanks!
Incident Identifier: F78F7E33-1570-41EC-8F94-D6E9A85B8CBB
CrashReporter Key: c8a0514bdf8b0b0312bf1a7cf823de54114e0232
Hardware Model: iPhone1,2
Process: Atlas [167]
Path: /var/mobile/Applications/E7DDCF43-60E3-483D-8CF5- D7EEA98D1769/Atlas.app/Atlas
Identifier: Atlas
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-07-30 16:40:03.116 +0200
OS Version: iPhone OS 4.2.1 (8C148)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Thread 0 Crashed:
0 libSystem.B.dylib 0x35de3ad0 0x35d5a000 + 563920
1 libSystem.B.dylib 0x35de3abe 0x35d5a000 + 563902
2 libSystem.B.dylib 0x35de3ab2 0x35d5a000 + 563890
3 libSystem.B.dylib 0x35dfad5e 0x35d5a000 + 658782
4 libstdc++.6.dylib 0x374f2a00 0x3748d000 + 416256
5 libobjc.A.dylib 0x32d9d8d8 0x32d95000 + 35032
6 libstdc++.6.dylib 0x374f0100 0x3748d000 + 405760
7 libstdc++.6.dylib 0x374f0178 0x3748d000 + 405880
8 libstdc++.6.dylib 0x374f02a0 0x3748d000 + 406176
9 libobjc.A.dylib 0x32d9bf28 0x32d95000 + 28456
10 CoreFoundation 0x3759dabc 0x374f9000 + 674492
11 CoreFoundation 0x3759daf0 0x374f9000 + 674544
12 UIKit 0x35b63af8 0x358d3000 + 2689784
13 UIKit 0x35b65638 0x358d3000 + 2696760
14 UIKit 0x35a7e3a4 0x358d3000 + 1749924
15 UIKit 0x35a7d278 0x358d3000 + 1745528
16 UIKit 0x35926dec 0x358d3000 + 343532
17 Atlas 0x00002846 -[AtlasAppDelegate application:didFinishLaunchingWithOptions:] (AtlasAppDelegate.m:21)
18 UIKit 0x35924fd0 0x358d3000 + 335824
19 UIKit 0x3591ea70 0x358d3000 + 309872
20 UIKit 0x358d82dc 0x358d3000 + 21212
21 UIKit 0x358d7b14 0x358d3000 + 19220
22 UIKit 0x358d73ac 0x358d3000 + 17324
23 GraphicsServices 0x33e77c80 0x33e72000 + 23680
24 CoreFoundation 0x3752f5c4 0x374f9000 + 222660
25 CoreFoundation 0x3752f582 0x374f9000 + 222594
26 CoreFoundation 0x3752182e 0x374f9000 + 165934
27 CoreFoundation 0x37521504 0x374f9000 + 165124
28 CoreFoundation 0x37521412 0x374f9000 + 164882
29 UIKit 0x3591d54c 0x358d3000 + 304460
30 UIKit 0x3591a550 0x358d3000 + 292176
31 Atlas 0x00002752 main (main.m:14)
32 Atlas 0x000026d0 start + 44
Thread 1:
0 libSystem.B.dylib 0x35d8f974 0x35d5a000 + 219508
1 libSystem.B.dylib 0x35e5e2fc 0x35d5a000 + 1065724
2 libSystem.B.dylib 0x35e5dd68 0x35d5a000 + 1064296
3 libSystem.B.dylib 0x35e5d788 0x35d5a000 + 1062792
4 libSystem.B.dylib 0x35de6970 0x35d5a000 + 575856
5 libSystem.B.dylib 0x35ddd2fc 0x35d5a000 + 537340
Thread 2:
0 libSystem.B.dylib 0x35de72fc 0x35d5a000 + 578300
1 libSystem.B.dylib 0x35de6b50 0x35d5a000 + 576336
2 libSystem.B.dylib 0x35ddd2fc 0x35d5a000 + 537340
Thread 3:
0 libSystem.B.dylib 0x35d5b3b0 0x35d5a000 + 5040
1 libSystem.B.dylib 0x35d5d894 0x35d5a000 + 14484
2 CoreFoundation 0x37521f7c 0x374f9000 + 167804
3 CoreFoundation 0x37521780 0x374f9000 + 165760
4 CoreFoundation 0x37521504 0x374f9000 + 165124
5 CoreFoundation 0x37521412 0x374f9000 + 164882
6 WebCore 0x3318bd14 0x33070000 + 1162516
7 libSystem.B.dylib 0x35de5b44 0x35d5a000 + 572228
8 libSystem.B.dylib 0x35dd77a4 0x35d5a000 + 513956
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x3e74f308
r4: 0x00000006 r5: 0x00142efc r6: 0x35ce4a24 r7: 0x2fdfdf4c
r8: 0x3eba55a8 r9: 0x0000000a r10: 0x00142160 r11: 0x00000001
ip: 0x00000025 sp: 0x2fdfdf4c lr: 0x35de3ac5 pc: 0x35de3ad0
cpsr: 0x00000010
The issue seemed to be caused by xcode 4.3 vs xcode 4.2
When we buuld in 4.3 it wont load on all devices but it will for 4.2
Investigating further what could be causing this