我开发了一个应用程序,最近我在苹果商店推出了它。 当我从itunes下载应用程序并启动它时,它会在从Web服务检索数据时崩溃。如果我从sdk安装它,它绝对正常。
请让我知道可能是什么问题?
提前致谢!!
Crash Log
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-03-02 18:15:46.353 -0800
OS Version: iPhone OS 4.2.1 (8C148)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xc9220021
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x33479466 0x33476000 + 13414
1 CoreFoundation 0x33a5ebb8 0x33a20000 + 256952
2 Foundation 0x3363978e 0x33619000 + 133006
3 CoreFoundation 0x33a767d6 0x33a20000 + 354262
4 CoreFoundation 0x33a485b0 0x33a20000 + 165296
5 CoreFoundation 0x33a47e54 0x33a20000 + 163412
6 CoreFoundation 0x33a47c80 0x33a20000 + 162944
7 CoreFoundation 0x33a47b88 0x33a20000 + 162696
8 GraphicsServices 0x33b0e4a4 0x33b0a000 + 17572
9 GraphicsServices 0x33b0e550 0x33b0a000 + 17744
10 UIKit 0x32099322 0x32062000 + 226082
11 UIKit 0x32096e8c 0x32062000 + 216716
12 Bagainfly 0x000020de 0x1000 + 4318
13 Bagainfly 0x00002074 0x1000 + 4212
Thread 1:
0 libSystem.B.dylib 0x33b89974 0x33b5c000 + 186740
1 libSystem.B.dylib 0x33c33704 0x33b5c000 + 882436
2 libSystem.B.dylib 0x33c33174 0x33b5c000 + 881012
3 libSystem.B.dylib 0x33c32b98 0x33b5c000 + 879512
4 libSystem.B.dylib 0x33bd724a 0x33b5c000 + 504394
5 libSystem.B.dylib 0x33bcf970 0x33b5c000 + 473456
Thread 2:
0 libSystem.B.dylib 0x33b5d268 0x33b5c000 + 4712
1 libSystem.B.dylib 0x33b5f354 0x33b5c000 + 13140
2 CoreFoundation 0x33a48648 0x33a20000 + 165448
3 CoreFoundation 0x33a47ed2 0x33a20000 + 163538
4 CoreFoundation 0x33a47c80 0x33a20000 + 162944
5 CoreFoundation 0x33a47b88 0x33a20000 + 162696
6 WebCore 0x304df124 0x30428000 + 749860
7 libSystem.B.dylib 0x33bd6886 0x33b5c000 + 501894
8 libSystem.B.dylib 0x33bcba88 0x33b5c000 + 457352
Thread 3:
0 libSystem.B.dylib 0x33b5d268 0x33b5c000 + 4712
1 libSystem.B.dylib 0x33b5f354 0x33b5c000 + 13140
2 CoreFoundation 0x33a48648 0x33a20000 + 165448
3 CoreFoundation 0x33a47ed2 0x33a20000 + 163538
4 CoreFoundation 0x33a47c80 0x33a20000 + 162944
5 CoreFoundation 0x33a47b88 0x33a20000 + 162696
6 Foundation 0x336465f6 0x33619000 + 185846
7 Foundation 0x33624192 0x33619000 + 45458
8 Foundation 0x3361d242 0x33619000 + 16962
9 libSystem.B.dylib 0x33bd6886 0x33b5c000 + 501894
10 libSystem.B.dylib 0x33bcba88 0x33b5c000 + 457352
Thread 4:
0 libSystem.B.dylib 0x33b8168c 0x33b5c000 + 153228
1 CoreFoundation 0x33a7f662 0x33a20000 + 390754
2 libSystem.B.dylib 0x33bd6886 0x33b5c000 + 501894
3 libSystem.B.dylib 0x33bcba88 0x33b5c000 + 457352
Thread 5:
0 libSystem.B.dylib 0x33bcba6c 0x33b5c000 + 457324
1 libSystem.B.dylib 0x33b8a06a 0x33b5c000 + 188522
2 libsqlite3.dylib 0x3375ca16 0x33748000 + 84502
3 libsqlite3.dylib 0x3374a88a 0x33748000 + 10378
4 libsqlite3.dylib 0x33754ffa 0x33748000 + 53242
5 libsqlite3.dylib 0x33760f40 0x33748000 + 102208
6 libsqlite3.dylib 0x33774c9c 0x33748000 + 183452
7 libsqlite3.dylib 0x33788dee 0x33748000 + 265710
8 libsqlite3.dylib 0x33749de4 0x33748000 + 7652
9 libsqlite3.dylib 0x33749f6a 0x33748000 + 8042
10 GMM 0x330ff524 0x330fd000 + 9508
11 GMM 0x330ff57c 0x330fd000 + 9596
12 GMM 0x3313743e 0x330fd000 + 238654
13 MapKit 0x31bf48ca 0x31be4000 + 67786
14 MapKit 0x31bf480a 0x31be4000 + 67594
15 CoreFoundation 0x33a767d6 0x33a20000 + 354262
16 CoreFoundation 0x33a485b0 0x33a20000 + 165296
17 CoreFoundation 0x33a47e54 0x33a20000 + 163412
18 CoreFoundation 0x33a47c80 0x33a20000 + 162944
19 CoreFoundation 0x33a47b88 0x33a20000 + 162696
20 MapKit 0x31be8906 0x31be4000 + 18694
21 MapKit 0x31be87ea 0x31be4000 + 18410
22 libSystem.B.dylib 0x33bd6886 0x33b5c000 + 501894
23 libSystem.B.dylib 0x33bcba88 0x33b5c000 + 457352
Thread 6:
0 libSystem.B.dylib 0x33bd59f0 0x33b5c000 + 498160
1 libSystem.B.dylib 0x33b8a7ec 0x33b5c000 + 190444
2 libSystem.B.dylib 0x33b8a3d2 0x33b5c000 + 189394
3 QuartzCore 0x3412e5dc 0x340f9000 + 218588
4 QuartzCore 0x340fb01a 0x340f9000 + 8218
5 libSystem.B.dylib 0x33bd6886 0x33b5c000 + 501894
6 libSystem.B.dylib 0x33bcba88 0x33b5c000 + 457352
Thread 7:
0 libSystem.B.dylib 0x33b5d294 0x33b5c000 + 4756
1 libSystem.B.dylib 0x33b8b026 0x33b5c000 + 192550
2 libSystem.B.dylib 0x33b5f258 0x33b5c000 + 12888
3 libobjc.A.dylib 0x3347a5b8 0x33476000 + 17848
4 Foundation 0x33630782 0x33619000 + 96130
5 Foundation 0x336303f4 0x33619000 + 95220
6 Foundation 0x3363007a 0x33619000 + 94330
7 MapKit 0x31c10ef0 0x31be4000 + 184048
8 MapKit 0x31c10e70 0x31be4000 + 183920
9 GMM 0x33137d66 0x330fd000 + 240998
10 GMM 0x330fe768 0x330fd000 + 5992
11 Foundation 0x3364b806 0x33619000 + 206854
12 Foundation 0x3364b788 0x33619000 + 206728
13 CFNetwork 0x30ca747e 0x30c98000 + 62590
14 CFNetwork 0x30c9c1f2 0x30c98000 + 16882
15 CFNetwork 0x30c9c0e4 0x30c98000 + 16612
16 CFNetwork 0x30c9c096 0x30c98000 + 16534
17 CFNetwork 0x30c9c014 0x30c98000 + 16404
18 CFNetwork 0x30c9bf92 0x30c98000 + 16274
19 CoreFoundation 0x33a767d6 0x33a20000 + 354262
20 CoreFoundation 0x33a485b0 0x33a20000 + 165296
21 CoreFoundation 0x33a47e54 0x33a20000 + 163412
22 CoreFoundation 0x33a47c80 0x33a20000 + 162944
23 CoreFoundation 0x33a47b88 0x33a20000 + 162696
24 MapKit 0x31bf327e 0x31be4000 + 62078
25 Foundation 0x33624192 0x33619000 + 45458
26 Foundation 0x3361d242 0x33619000 + 16962
27 libSystem.B.dylib 0x33bd6886 0x33b5c000 + 501894
28 libSystem.B.dylib 0x33bcba88 0x33b5c000 + 457352
Thread 0 crashed with ARM Thread State:
r0: 0x001504a0 r1: 0x323738ef r2: 0x303b83f2 r3: 0x0000004c
r4: 0x33a59245 r5: 0xc9220021 r6: 0x3e4f4b74 r7: 0x2fdfec0c
r8: 0x303b83f2 r9: 0x2fdfea50 r10: 0x00000000 r11: 0x0013971c
ip: 0x3e4efab4 sp: 0x2fdfebec lr: 0x31c10f53 pc: 0x33479466
cpsr: 0x000f0030
答案 0 :(得分:2)
当你说在AppleStore推出时,你的意思是来自iTunes,还是说它已经被Apple发布了?
如果你的意思是来自iTunes并且是一个特殊的构建,你有没有检查过你的entitlements.plist? Another stackoverflow question about entitlements
如果它实际上已获批准,那么您可以在AppStore上查看使用此技术生成的崩溃日志。
另一种可能性是,如果您是第一次使用真实设备连接并且连接速度缓慢或断断续续并且您正在使用同步启动,您可能会发现IOS系统正在杀死您正在使用的应用程序> 10秒响应所以它假设它已经崩溃了。
不确定是否有任何帮助,因为我们可以真正处理崩溃的更多细节。例如。它是否在模拟器中100%工作,它是否可以在Xcode中启动,它是一个调试/发布/ adhoc /发布版本,您是否尝试过NSLog消息来缩小它崩溃的位置?
答案 1 :(得分:0)
你可以保留你提交给iTunes的特定版本的dSym文件。
然后你应该能够在Xcode中打开崩溃日志并让它象征着像
这样的崩溃日志行Bagainfly 0x000020de 0x1000 + 4318
Bagainfly 0x00002074 0x1000 + 4212
代码中有意义的内容。希望它会指向您崩溃的应用程序中的确切行。
然而,另一个问题是你只看到了冰山一角。 Apple提供给您的崩溃报告已经过滤。因此,如果您在开发者帐户中看到崩溃报告,则意味着您的用户真的遇到了问题。
我可以推荐一个允许用户直接向您发送崩溃报告的github项目。通过这种方式,当您的用户开始放弃您的应用之前,您会立即收到通知。 你可以在这里获取代码: http://github.com/TheRealKerni/CrashReporterDemo