Here is the error from device..error is not consistent..like I am not facing it on my iPad but user is keep saying it happen to him many times..app crashed as soon as it is launched.
Any suggestion on how to fix it?
Incident Identifier: 44236112-151D-410F-B153-CB8CC1F06536
CrashReporter Key: 08725115e7c9e53feab87f9009d6b8ec91283252
Hardware Model: iPad1,1
Process: MyProject [2221]
Path: /var/mobile/Applications/FA21B5D6-A45A-4014-801D-C0B818A76A49/MyProject.app/MyProject
Identifier: MyProject
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-02-26 22:49:07.511 -0500
OS Version: iPhone OS 5.0 (9A334)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000004
Crashed Thread: 7
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x359d9010 0x359d8000 + 4112
1 libsystem_kernel.dylib 0x359d9206 0x359d8000 + 4614
2 CoreFoundation 0x3524f41c 0x351c2000 + 578588
3 CoreFoundation 0x3524e11a 0x351c2000 + 573722
4 CoreFoundation 0x351d14d6 0x351c2000 + 62678
5 CoreFoundation 0x351d139e 0x351c2000 + 62366
6 GraphicsServices 0x37164fe6 0x37161000 + 16358
7 UIKit 0x3136e73c 0x3133d000 + 202556
8 MyProject 0x0000206a 0x1000 + 4202
9 MyProject 0x00002028 0x1000 + 4136
Thread 1:
0 libsystem_kernel.dylib 0x359e9628 0x359d8000 + 71208
1 libsystem_c.dylib 0x35a05ff2 0x359f2000 + 81906
2 MyProject 0x0036adb0 0x1000 + 3579312
3 MyProject 0x002819d0 0x1000 + 2623952
4 MyProject 0x002c7bcc 0x1000 + 2911180
5 MyProject 0x0036ab62 0x1000 + 3578722
6 libsystem_c.dylib 0x35a01c16 0x359f2000 + 64534
7 libsystem_c.dylib 0x35a01ad0 0x359f2000 + 64208
Thread 2 name: Dispatch queue: com.apple.libdispatch-manager
Thread 2:
0 libsystem_kernel.dylib 0x359d93b4 0x359d8000 + 5044
1 libdispatch.dylib 0x32c2ce78 0x32c20000 + 52856
2 libdispatch.dylib 0x32c2cb96 0x32c20000 + 52118
Thread 3:
0 libsystem_kernel.dylib 0x359e9cd4 0x359d8000 + 72916
1 libsystem_c.dylib 0x359fc30a 0x359f2000 + 41738
2 libsystem_c.dylib 0x359fc09c 0x359f2000 + 41116
Thread 4:
0 libsystem_kernel.dylib 0x359e9cd4 0x359d8000 + 72916
1 libsystem_c.dylib 0x359fc30a 0x359f2000 + 41738
2 libsystem_c.dylib 0x359fc09c 0x359f2000 + 41116
Thread 5 name: WebThread
Thread 5:
0 libsystem_kernel.dylib 0x359d9010 0x359d8000 + 4112
1 libsystem_kernel.dylib 0x359d9206 0x359d8000 + 4614
2 CoreFoundation 0x3524f41c 0x351c2000 + 578588
3 CoreFoundation 0x3524e154 0x351c2000 + 573780
4 CoreFoundation 0x351d14d6 0x351c2000 + 62678
5 CoreFoundation 0x351d139e 0x351c2000 + 62366
6 WebCore 0x32329128 0x32281000 + 688424
7 libsystem_c.dylib 0x35a01c16 0x359f2000 + 64534
8 libsystem_c.dylib 0x35a01ad0 0x359f2000 + 64208
Thread 6 name: com.apple.NSURLConnectionLoader
Thread 6:
0 libsystem_kernel.dylib 0x359d9010 0x359d8000 + 4112
1 libsystem_kernel.dylib 0x359d9206 0x359d8000 + 4614
2 CoreFoundation 0x3524f41c 0x351c2000 + 578588
3 CoreFoundation 0x3524e154 0x351c2000 + 573780
4 CoreFoundation 0x351d14d6 0x351c2000 + 62678
5 CoreFoundation 0x351d139e 0x351c2000 + 62366
6 Foundation 0x32aaebc2 0x32a9e000 + 68546
7 Foundation 0x32aaea8a 0x32a9e000 + 68234
8 Foundation 0x32b4259a 0x32a9e000 + 673178
9 libsystem_c.dylib 0x35a01c16 0x359f2000 + 64534
10 libsystem_c.dylib 0x35a01ad0 0x359f2000 + 64208
Thread 7 name: Dispatch queue: com.DQ.SessionEstablishmentqueue1
Thread 7 Crashed:
0 MyProject 0x0025c7fc 0x1000 + 2471932
1 MyProject 0x0006199e 0x1000 + 395678
2 MyProject 0x0005fe78 0x1000 + 388728
3 libdispatch.dylib 0x32c20d4e 0x32c20000 + 3406
4 libdispatch.dylib 0x32c2bccc 0x32c20000 + 48332
5 libdispatch.dylib 0x32c2bb66 0x32c20000 + 47974
6 libdispatch.dylib 0x32c2c76c 0x32c20000 + 51052
7 libsystem_c.dylib 0x359fc1c8 0x359f2000 + 41416
8 libsystem_c.dylib 0x359fc09c 0x359f2000 + 41116
Thread 8:
0 libsystem_kernel.dylib 0x359e9cd4 0x359d8000 + 72916
1 libsystem_c.dylib 0x359fc30a 0x359f2000 + 41738
2 libsystem_c.dylib 0x359fc09c 0x359f2000 + 41116
Thread 9 name: com.apple.CFSocket.private
Thread 9:
0 libsystem_kernel.dylib 0x359e9570 0x359d8000 + 71024
1 CoreFoundation 0x3525366a 0x351c2000 + 595562
2 libsystem_c.dylib 0x35a01c16 0x359f2000 + 64534
3 libsystem_c.dylib 0x35a01ad0 0x359f2000 + 64208
Thread 7 crashed with ARM Thread State:
r0: 0xffffffff r1: 0x03a8fcac r2: 0x00000000 r3: 0x03a8fccc
r4: 0x03a8fcb8 r5: 0x0025c725 r6: 0x03a90048 r7: 0x03a8fd38
r8: 0x00000000 r9: 0x00000000 r10: 0x00000000 r11: 0x00010001
ip: 0x004b0370 sp: 0x03a8fc34 lr: 0x0025c735 pc: 0x0025c7fc
cpsr: 0x60000030
This is a shot in the dark, but I see that the thread that crashed is a dispatch queue. I'm assuming you're using blocks to execute. I had a problem with KERN_INVALID_ADDRESS because I was storing blocks (in an array, ivar, etc) but I had forgotten to copy them first. Any block that's stored (not passed directly to the execution) needs to be copied. You can accomplish this by [blockToCopy copy]; or Block_copy().
That is difficult to read, but you can view crash logs agains the compiled binary.
"With the latest version of Xcode (3.2.2), you can drag and drop any crash reports into the Device Logs section of the Xcode Organiser and they will automatically by symbolicated for you. I think this works best if you built that version of the App using Build & Archive (also part of Xcode 3.2.2)"
Symbolicating iPhone App Crash Reports
that is certainly easier then looking at the crash log with no source to work with.
Related
This is a log from a crash report of a published app. I don't have any more details about the crash except that it happened on an iPhone 5.
I don't see Last Exception Backtrace block here so I don't know how to pinpoint the error and fix it. Any help would be greatly appreciated.
OS Version: iPhone OS 10.2 (14C92)
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000000e7ffdefe
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [0]
Triggered by Thread: 0
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 SpeakProject 0x001093b8 0xf4000 + 86968
1 SpeakProject 0x00110710 0xf4000 + 116496
2 SpeakProject 0x001108b8 0xf4000 + 116920
3 SpeakProject 0x00110808 0xf4000 + 116744
4 RxSwift 0x0061a254 0x5c0000 + 369236
5 RxSwift 0x0061a42c 0x5c0000 + 369708
6 RxSwift 0x00621cd8 0x5c0000 + 400600
7 RxSwift 0x00621d80 0x5c0000 + 400768
8 RxSwift 0x00649ec4 0x5c0000 + 564932
9 RxSwift 0x0064a470 0x5c0000 + 566384
10 RxSwift 0x005c72a0 0x5c0000 + 29344
11 RxSwift 0x005c7400 0x5c0000 + 29696
12 RxSwift 0x005c7ff8 0x5c0000 + 32760
13 SpeakProject 0x001270dc 0xf4000 + 209116
14 SpeakProject 0x00127674 0xf4000 + 210548
15 SpeakProject 0x00127740 0xf4000 + 210752
16 Alamofire 0x001d69fc 0x190000 + 289276
17 Alamofire 0x001d94ec 0x190000 + 300268
18 libdispatch.dylib 0x1d396096 0x1d395000 + 4246
19 libdispatch.dylib 0x1d396082 0x1d395000 + 4226
20 libdispatch.dylib 0x1d39a5fc 0x1d395000 + 22012
21 CoreFoundation 0x1dcac4a6 0x1dbef000 + 775334
22 CoreFoundation 0x1dcaa78e 0x1dbef000 + 767886
23 CoreFoundation 0x1dbf9532 0x1dbef000 + 42290
24 CoreFoundation 0x1dbf9340 0x1dbef000 + 41792
25 GraphicsServices 0x1f3d0bfc 0x1f3c7000 + 39932
26 UIKit 0x22e07e26 0x22d8e000 + 499238
27 UIKit 0x22e02550 0x22d8e000 + 476496
28 SpeakProject 0x00125784 0xf4000 + 202628
29 libdyld.dylib 0x1d3c350a 0x1d3c0000 + 13578
Thread 1 name: com.apple.uikit.eventfetch-thread
Thread 1:
0 libsystem_kernel.dylib 0x1d48384c 0x1d482000 + 6220
1 libsystem_kernel.dylib 0x1d48363e 0x1d482000 + 5694
2 CoreFoundation 0x1dcac2f8 0x1dbef000 + 774904
3 CoreFoundation 0x1dcaa5f6 0x1dbef000 + 767478
4 CoreFoundation 0x1dbf9532 0x1dbef000 + 42290
5 CoreFoundation 0x1dbf9340 0x1dbef000 + 41792
6 Foundation 0x1e55388a 0x1e548000 + 47242
7 Foundation 0x1e572630 0x1e548000 + 173616
8 UIKit 0x2370e2b2 0x22d8e000 + 9962162
9 Foundation 0x1e63cb10 0x1e548000 + 1002256
10 libsystem_pthread.dylib 0x1d54da26 0x1d54a000 + 14886
11 libsystem_pthread.dylib 0x1d54d94c 0x1d54a000 + 14668
12 libsystem_pthread.dylib 0x1d54b49c 0x1d54a000 + 5276
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x1d48384c 0x1d482000 + 6220
1 libsystem_kernel.dylib 0x1d48363e 0x1d482000 + 5694
2 CoreFoundation 0x1dcac2f8 0x1dbef000 + 774904
3 CoreFoundation 0x1dcaa5f6 0x1dbef000 + 767478
4 CoreFoundation 0x1dbf9532 0x1dbef000 + 42290
5 CoreFoundation 0x1dbf9340 0x1dbef000 + 41792
6 CFNetwork 0x1e2d4488 0x1e219000 + 767112
7 Foundation 0x1e63cb10 0x1e548000 + 1002256
8 libsystem_pthread.dylib 0x1d54da26 0x1d54a000 + 14886
9 libsystem_pthread.dylib 0x1d54d94c 0x1d54a000 + 14668
10 libsystem_pthread.dylib 0x1d54b49c 0x1d54a000 + 5276
Thread 3:
0 libsystem_kernel.dylib 0x1d499744 0x1d482000 + 96068
1 libsystem_pthread.dylib 0x1d54b9a0 0x1d54a000 + 6560
2 libsystem_pthread.dylib 0x1d54b490 0x1d54a000 + 5264
Thread 4:
0 libsystem_kernel.dylib 0x1d499744 0x1d482000 + 96068
1 libsystem_pthread.dylib 0x1d54b9a0 0x1d54a000 + 6560
2 libsystem_pthread.dylib 0x1d54b490 0x1d54a000 + 5264
Thread 5:
0 libsystem_pthread.dylib 0x1d54b488 0x1d54a000 + 5256
Thread 6:
0 libsystem_pthread.dylib 0x1d54b488 0x1d54a000 + 5256
Thread 7:
0 libsystem_pthread.dylib 0x1d54b488 0x1d54a000 + 5256
Thread 8:
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x15f70420 r1: 0x00000000 r2: 0x0000000c r3: 0x00000008
r4: 0x15f61450 r5: 0x00000000 r6: 0x00000000 r7: 0x003b2a58
r8: 0x00000001 r9: 0x15f70424 r10: 0x15f70420 r11: 0x00000000
ip: 0x0016c424 sp: 0x003b2a00 lr: 0x001090e8 pc: 0x001093b8
cpsr: 0x20000010
Just released this morning an app that I tested on all possible devices and simulators, but when I downloaded it from the store the application crashes at startup. I have tested it on many devices and iOS versions, but the result is the same:
Incident Identifier: B34024C9-9F00-4E57-B3AB-068CFFC55119
CrashReporter Key: 81ac2324b459bfeeb1a13c007d9d04e59e6efaf2
Hardware Model: iPhone4,1
Process: iMatematica [9546]
Path: /var/mobile/Applications/CFFA51F9-52F9-4555-8C5B-1B2DDF5E2D5B/iMatematica.app/iMatematica
Identifier: iMatematica
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-08-04 07:24:08.703 +0200
OS Version: iPhone OS 5.1.1 (9B206)
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 0x35eb532c __pthread_kill + 8
1 libsystem_c.dylib 0x32a01208 pthread_kill + 48
2 libsystem_c.dylib 0x329fa298 abort + 88
3 iMatematica 0x0007eee0 0x1000 + 515808
4 CoreFoundation 0x355ff950 __handleUncaughtException + 68
5 libobjc.A.dylib 0x379a633e _objc_terminate + 122
6 libc++abi.dylib 0x359b53be _ZL19safe_handler_callerPFvvE + 70
7 libc++abi.dylib 0x359b544a std::terminate() + 14
8 libc++abi.dylib 0x359b681e __cxa_rethrow + 82
9 libobjc.A.dylib 0x379a62a2 objc_exception_rethrow + 6
10 CoreFoundation 0x35555506 CFRunLoopRunSpecific + 398
11 CoreFoundation 0x35555366 CFRunLoopRunInMode + 98
12 UIKit 0x33064864 -[UIApplication _run] + 544
13 UIKit 0x33061cce UIApplicationMain + 1074
14 iMatematica 0x00009a88 main (main.m:18)
15 iMatematica 0x000039b0 0x1000 + 10672
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x35ea53a8 kevent + 24
1 libdispatch.dylib 0x3448ff04 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x3448fc22 _dispatch_mgr_thread + 30
Thread 2:
0 libsystem_kernel.dylib 0x35eb5cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x329bcf36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x329bccc8 start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x35eb5cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x329bcf36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x329bccc8 start_wqthread + 0
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x35ea5004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x35ea51fa mach_msg + 50
2 CoreFoundation 0x355d33ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x355d2124 __CFRunLoopRun + 876
4 CoreFoundation 0x3555549e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x35555366 CFRunLoopRunInMode + 98
6 WebCore 0x31454c9c _ZL12RunWebThreadPv + 396
7 libsystem_c.dylib 0x329c272e _pthread_start + 314
8 libsystem_c.dylib 0x329c25e8 thread_start + 0
Thread 5 name: com.apple.NSURLConnectionLoader
Thread 5:
0 libsystem_kernel.dylib 0x35ea5004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x35ea51fa mach_msg + 50
2 CoreFoundation 0x355d33ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x355d2124 __CFRunLoopRun + 876
4 CoreFoundation 0x3555549e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x35555366 CFRunLoopRunInMode + 98
6 Foundation 0x3508ebb2 +[NSURLConnection(Loader) _resourceLoadLoop:] + 302
7 Foundation 0x3508ea7a -[NSThread main] + 66
8 Foundation 0x3512258a __NSThread__main__ + 1042
9 libsystem_c.dylib 0x329c272e _pthread_start + 314
10 libsystem_c.dylib 0x329c25e8 thread_start + 0
Thread 6:
0 libsystem_kernel.dylib 0x35eb5cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x329bcf36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x329bccc8 start_wqthread + 0
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x00000006 r5: 0x3ec0cd98 r6: 0x00000002 r7: 0x2fdff9c0
r8: 0x3f02bce0 r9: 0x00000000 r10: 0x0021f0a0 r11: 0x33410c0d
ip: 0x00000148 sp: 0x2fdff9b4 lr: 0x32a0120f pc: 0x35eb532c
cpsr: 0x00000010
The problem is only happening to me or is the same as last month: that is a problem of apple server that sign apps?
I solved the problem: changing the language from Italian (my native language) to English, the application works properly. This explains why the AppReview Team has not noticed the crash, and was due to a missing localization in a xib file: "Could not load NIB bundle: 'NSBundle (loaded)' with name 'MasterViewController'"
My app was rejected but I don't know what's the exact problem.
Rejected reason is:
We found that your app crashed on iPad 3rd Gen. running iOS 5.1.1,
which is not in compliance with the App Store Review Guidelines.
Your app crashed on both Wi-Fi and cellular networks when we select an
item from the table view.
However I submitted my application for iPhones only. On top of that I couldn't figure out what's wrong in the crash files and could not debug as I tested it on my iPhone and I didn't have any bugs or crashes.
Any help or tip will be extremely appreciated as I feel totally lost in this one. Million thanks in advance.
You can find the crash reports below..
Incident Identifier: 5E4A2B4C-EC76-441B-82A2-3782F53B533B
CrashReporter Key: 5ee8aa21dffe8c0b7f3386a5290b271457c404c8
Hardware Model: iPad3,3
Process: *****
Path: *****
Identifier: *****
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-06-04 18:44:59.930 -0700
OS Version: iPhone OS 5.1.1 (9B206)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason:
'Application tried to present a nil modal view controller on target <ViewController:
0x176f80>.'
*** First throw call stack:
(0x3309e88f 0x35043259 0x35687441 00x356e26a7 0x84d9f 0x3565793d 0x356d1627 0x3777d933
0x33072a33 0x33072699 0x3307126f 0x32ff44a5 0x32ff436d 0x33141439 0x355d3cd5 0x83f03
0x83ec4)
Last Exception Backtrace:
(0x3309e88f 0x35043259 0x35687441 0x356e26a7 0x84d9f 0x3565793d 0x356d1627 0x3777d933
0x33072a33 0x33072699 0x3307126f 0x32ff44a5 0x32ff436d 0x33141439 0x355d3cd5 0x83f03
0x83ec4)
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3557532c __pthread_kill + 8
1 libsystem_c.dylib 0x3249b208 pthread_kill + 48
2 libsystem_c.dylib 0x32494298 abort + 88
3 libc++abi.dylib 0x34219f64 abort_message + 40
4 libc++abi.dylib 0x34217346 _ZL17default_terminatev + 18
5 libobjc.A.dylib 0x35043350 _objc_terminate + 140
6 libc++abi.dylib 0x342173be _ZL19safe_handler_callerPFvvE + 70
7 libc++abi.dylib 0x3421744a std::terminate() + 14
8 libc++abi.dylib 0x3421881e __cxa_rethrow + 82
9 libobjc.A.dylib 0x350432a2 objc_exception_rethrow + 6
10 CoreFoundation 0x32ff4506 CFRunLoopRunSpecific + 398
11 CoreFoundation 0x32ff4366 CFRunLoopRunInMode + 98
12 GraphicsServices 0x33141432 GSEventRunModal + 130
13 UIKit 0x355d3cce UIApplicationMain + 1074
14 ****** 0x00083efc 0x82000 + 7932
15 ****** 0x00083ebc 0x82000 + 7868
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x355653a8 kevent + 24
1 libdispatch.dylib 0x317c9f04 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x317c9c22 _dispatch_mgr_thread + 30
Thread 2:
0 libsystem_kernel.dylib 0x35575cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x32456f36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x32456cc8 start_wqthread + 0
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x35565004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x355651fa mach_msg + 50
2 CoreFoundation 0x330723ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x33071124 __CFRunLoopRun + 876
4 CoreFoundation 0x32ff449e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x32ff4366 CFRunLoopRunInMode + 98
6 WebCore 0x35d92c9c _ZL12RunWebThreadPv + 396
7 libsystem_c.dylib 0x3245c72e _pthread_start + 314
8 libsystem_c.dylib 0x3245c5e8 thread_start + 0
Thread 4:
0 libsystem_kernel.dylib 0x35575cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x32456f36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x32456cc8 start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x35575cd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x32456f36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x32456cc8 start_wqthread + 0
Thread 6:
0 AddressBook 0x338c7cc8 ABAddressBookCreate + 0
1 TextInput 0x345d11be
KB::fill_with_matchable_strings_from_address_book(KB::Hashmap<KB::String, bool>&) + 10
2 TextInput 0x345d7dee
KB::DynamicDictionaryImpl::background_load_address_book(KB::StaticDictionary const&) + 194
3 TextInput 0x345d8728 _ZN2KBL14BackgroundLoadEPv + 272
4 libsystem_c.dylib 0x3245c72e _pthread_start + 314
5 libsystem_c.dylib 0x3245c5e8 thread_start + 0
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x00000006 r5: 0x3ea85d98 r6: 0x00000002 r7: 0x2fe80a60
r8: 0x00000000 r9: 0x00000000 r10: 0x3f330d4c r11: 0x3f3459c0
ip: 0x00000148 sp: 0x2fe80a54 lr: 0x3249b20f pc: 0x3557532c
cpsr: 0x00020010
Apps are REQUIRED to run on the iPad too even if they target only the iPhone.
I assume that your iOS application target was set to iPhone and not universal?
If you believe all your settings are correct, you can submit an appeal to Apple:
https://developer.apple.com/appstore/contact/appreviewboard/index.html
Do what Lee Crossley said, but also you should go to the Resolution Center in iTunes Connect and tell the reviewer about this. They can reply and fix your problems. They will be better advice than us!
I'm trying to debug an application that download a lot of resources from internet. The issue is that sometimes while downloading the app crashes (not in the same place or for the same resource).The memory seems ok, no memory warnings, no leaks, no zombies, the dirty size stay around 10M§B +o- 2MB the resident 50MB.
The other weird things is that the error is still never happened on the simulator bu just on the device.
The crash log identifies a crash in another thread (num3) with EXC_BAD_ACCES(something gone) on an Apple lib. I can't understand if it's an application error or an API error.
Incident Identifier: 9138742F-0160-4220-8E62-000001650CF4
CrashReporter Key: 6f0ba5a6bbc182f6798918f01ccd6bac4f8e4713 Hardware
Model: iPad1,1 Process: XXX-Upgraded [949] Path:
/var/mobile/Applications/C98657F3-B7E6-4542-B0DA-70D8239E5210/XXX-Upgraded.app/XXX-Upgraded
Identifier: XXX-Upgraded Version: ??? (???) Code Type:
ARM (Native) Parent Process: launchd 1
Date/Time: 2011-11-18 11:13:25.994 +0100 OS Version: iPhone
OS 5.0.1 (9A405) Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes:
KERN_INVALID_ADDRESS at 0xf006191c Crashed Thread: 3
Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0: 0
libsystem_kernel.dylib 0x360ad010 0x360ac000 + 4112 1
libsystem_kernel.dylib 0x360ad206 0x360ac000 + 4614 2
CoreFoundation 0x33ac441c 0x33a37000 + 578588 3
CoreFoundation 0x33ac311a 0x33a37000 + 573722 4
CoreFoundation 0x33a464d6 0x33a37000 + 62678 5
CoreFoundation 0x33a4639e 0x33a37000 + 62366 6
GraphicsServices 0x35686fc6 0x35683000 + 16326 7 UIKit
0x34b8b73c 0x34b5a000 + 202556 8 XXX-Upgraded
0x000028a8 main (main.m:15) 9 XXX-Upgraded
0x00002860 start + 32
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager Thread
1: 0 libsystem_kernel.dylib 0x360ad3b4 0x360ac000 + 5044 1
libdispatch.dylib 0x36dd3e78 0x36dc7000 + 52856 2
libdispatch.dylib 0x36dd3b96 0x36dc7000 + 52118
Thread 2 name: WebThread Thread 2: 0 libsystem_kernel.dylib
0x360ad010 0x360ac000 + 4112 1 libsystem_kernel.dylib
0x360ad206 0x360ac000 + 4614 2 CoreFoundation
0x33ac441c 0x33a37000 + 578588 3 CoreFoundation
0x33ac3154 0x33a37000 + 573780 4 CoreFoundation
0x33a464d6 0x33a37000 + 62678 5 CoreFoundation
0x33a4639e 0x33a37000 + 62366 6 WebCore
0x33f02128 0x33e5a000 + 688424 7 libsystem_c.dylib
0x3492bc16 0x3491c000 + 64534 8 libsystem_c.dylib
0x3492bad0 0x3491c000 + 64208
Thread 3 name: com.apple.NSURLConnectionLoader Thread 3 Crashed: 0
libobjc.A.dylib 0x35206fbc 0x35203000 + 16316 1
CoreFoundation 0x33a73d16 0x33a37000 + 249110 2
CoreFoundation 0x33a395bc 0x33a37000 + 9660 3
CFNetwork 0x32e56fd8 0x32dc7000 + 589784 4
CFNetwork 0x32e57cee 0x32dc7000 + 593134 5
CFNetwork 0x32e56940 0x32dc7000 + 588096 6
CoreFoundation 0x33a8555c 0x33a37000 + 320860 7
CoreFoundation 0x33a857a4 0x33a37000 + 321444 8
CoreFoundation 0x33ac4afc 0x33a37000 + 580348 9
CoreFoundation 0x33ac42c8 0x33a37000 + 578248 10
CoreFoundation 0x33ac306e 0x33a37000 + 573550 11
CoreFoundation 0x33a464d6 0x33a37000 + 62678 12
CoreFoundation 0x33a4639e 0x33a37000 + 62366 13
Foundation 0x3152abc2 0x3151a000 + 68546 14
Foundation 0x3152aa8a 0x3151a000 + 68234 15
Foundation 0x315be59a 0x3151a000 + 673178 16
libsystem_c.dylib 0x3492bc16 0x3491c000 + 64534 17
libsystem_c.dylib 0x3492bad0 0x3491c000 + 64208
Thread 4 name: com.apple.CFSocket.private Thread 4: 0
libsystem_kernel.dylib 0x360bd570 0x360ac000 + 71024 1
CoreFoundation 0x33ac866a 0x33a37000 + 595562 2
libsystem_c.dylib 0x3492bc16 0x3491c000 + 64534 3
libsystem_c.dylib 0x3492bad0 0x3491c000 + 64208
Thread 5: 0 libsystem_kernel.dylib 0x360bdcd4 0x360ac000 +
72916 1 libsystem_c.dylib 0x3492630a 0x3491c000 + 41738
2 libsystem_c.dylib 0x3492609c 0x3491c000 + 41116
Thread 6: 0 libsystem_kernel.dylib 0x360bdcd4 0x360ac000 +
72916 1 libsystem_c.dylib 0x3492630a 0x3491c000 + 41738
2 libsystem_c.dylib 0x3492609c 0x3491c000 + 41116
Thread 7: 0 libsystem_kernel.dylib 0x360bdcd4 0x360ac000 +
72916 1 libsystem_c.dylib 0x3492630a 0x3491c000 + 41738
2 libsystem_c.dylib 0x3492609c 0x3491c000 + 41116
Thread 3 crashed with ARM Thread State:
r0: 0x006eaf90 r1: 0x328c119e r2: 0xf0061914 r3: 0x3eeb09a8
r4: 0xf0061914 r5: 0x006eaf94 r6: 0x020014c0 r7: 0x0343b2b0
r8: 0x3eecc690 r9: 0x0ca30467 r10: 0x00000014 r11: 0x00000080
ip: 0x3eea6814 sp: 0x0343b2a0 lr: 0x33a73d1d pc: 0x35206fbc cpsr: 0x20000030
[Update]
Finally I was cable to catch the error. It seems to be an overreleased chunk of data right at the end of connection:didReceiveData:. Actually to simplify debugging I've just left one line of code that appends data using output stream. I can't understand where I'm over-releasing.
Instruments shows pretty weird stuffs:
-first the zombie seems to be created inside some Apple API calling
-second, if you take a look at the image of the stack trace you can see that there is a CFRetain that doesn't increment the reference count of the object, thus unbalancing the other operations
Can someone help me out?
Thanks,
Andrea
OK, after a lot of test a (DST request never taken in charge by Apple, NOT TRUE ANYMORE), headache, hysteria etc. It's turning out to be as a kind of false positive. If I test using leaks, allocation, zombie, the usual console debugger happens. If I run the application alone just on device (without connecting it) everything seems to run fine.
The DTS helped me out to find the bug, the issue refers probably to two bugs, one located in instruments and one CF.
The most important thing is that those bugs affect the application only while using allocation logging, so the app could run safe as I discovered during my tests session.
I recently had an app rejected for crashing on launch on an iPhone 5 in iOS 5.0, and the good folks at Apple attached a crash report. However, I can't replicate this crash on either my device (also an iPhone 4 running iOS 5) or in the simulator for iOS 5. And, as you can see from the copy below, the report is cryptic. The crash is taking place in thread 5, which helpfully includes ??? where information should be.
First question - is this crash report symbolicated wrong? I kept the dSYM and dragged to the Organizer as per the guidelines.
If it is symbolicated right, I'm at a loss. I've checked through the warnings (all semantic, nothing that seems it could be a malloc/over-release problem), checked memory allocations, ran with NSZombie and malloc guards etc., but nothing seems wrong.
Can anyone help? Much appreciated, thanks.
Incident Identifier: 63777680-AF77-44B8-8264-47CF89D32C28
CrashReporter Key: 66ff952824b039efb0379c6c6fe11a2e035c7573
Hardware Model: iPhone3,1
Process: ---- [4453]
Path: /var/mobile/Applications/8F6C5D92-2052-4C56-9897-D6C50C1A7DA1/----/----
Identifier: ----
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-10-18 12:58:50.611 -0700
OS Version: iPhone OS 5.0 (9A334)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00157550
Crashed Thread: 5
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x31dff060 semaphore_wait_trap + 8
1 libdispatch.dylib 0x32554124 _dispatch_semaphore_wait_slow + 184
2 libdispatch.dylib 0x32554154 dispatch_semaphore_wait$VARIANT$up + 28
3 libxpc.dylib 0x3514189a xpc_connection_send_message_with_reply_sync + 206
4 SystemConfiguration 0x356dfbe6 _reach_server_target_status + 938
5 SystemConfiguration 0x356e0d56 __SCNetworkReachabilityServer_targetStatus + 14
6 SystemConfiguration 0x356c9aee __SCNetworkReachabilityGetFlags + 198
7 SystemConfiguration 0x356cabc4 reachPerform + 240
8 CoreFoundation 0x30afeafc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 8
9 CoreFoundation 0x30afe35e __CFRunLoopDoSources0 + 358
10 CoreFoundation 0x30afd06e __CFRunLoopRun + 646
11 CoreFoundation 0x30a804d6 CFRunLoopRunSpecific + 294
12 CoreFoundation 0x30a8039e CFRunLoopRunInMode + 98
13 GraphicsServices 0x336aefe6 GSEventRunModal + 150
14 UIKit 0x32af273c UIApplicationMain + 1084
15 ----- 0x000022f2 0x1000 + 4850
16 ----- 0x000022bc 0x1000 + 4796
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x31dff3b4 kevent + 24
1 libdispatch.dylib 0x32553e78 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x32553b96 _dispatch_mgr_thread + 30
Thread 2:
0 libsystem_kernel.dylib 0x31e0fcd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x362c230a _pthread_wqthread + 610
2 libsystem_c.dylib 0x362c209c start_wqthread + 0
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x31dff010 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x31dff206 mach_msg + 50
2 CoreFoundation 0x30afe41c __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x30afd154 __CFRunLoopRun + 876
4 CoreFoundation 0x30a804d6 CFRunLoopRunSpecific + 294
5 CoreFoundation 0x30a8039e CFRunLoopRunInMode + 98
6 WebCore 0x37314128 _ZL12RunWebThreadPv + 396
7 libsystem_c.dylib 0x362c7c16 _pthread_start + 314
8 libsystem_c.dylib 0x362c7ad0 thread_start + 0
Thread 4:
0 libsystem_kernel.dylib 0x31e0fcd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x362c230a _pthread_wqthread + 610
2 libsystem_c.dylib 0x362c209c start_wqthread + 0
Thread 5 Crashed:
0 ??? 0x00157550 0 + 1406288
1 ??? 0x626b5ef8 0 + 1651203832
Thread 6:
0 libsystem_kernel.dylib 0x31e0fcd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x362c230a _pthread_wqthread + 610
2 libsystem_c.dylib 0x362c209c start_wqthread + 0
Thread 7:
0 libsystem_kernel.dylib 0x31e0fcd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x362c230a _pthread_wqthread + 610
2 libsystem_c.dylib 0x362c209c start_wqthread + 0
Thread 5 crashed with ARM Thread State:
r0: 0x00157550 r1: 0x0000013a r2: 0x00000001 r3: 0x00000000
r4: 0x00157550 r5: 0x00048e20 r6: 0x05395ef0 r7: 0x33e83857
r8: 0x00000000 r9: 0x0000003b r10: 0x00000001 r11: 0x053960cc
ip: 0x0001ee79 sp: 0x05395e78 lr: 0x00011acf pc: 0x00157550
cpsr: 0x20000010
This looks like a crash of non-threadsafe web work. try running the zombie instrument
Turns out the problem was incorrect specification of supported architectures. For some reason, this managed to slip past the uploader validation step. After adding support for both armv6 and armv7 in "Valid Architectures in the Project and Target build settings, the review process went through fine.