下载 iPhone 应用程序时发生奇怪的崩溃 - 删除它并重新下载修复它吗?
我有一个 iPhone 应用程序,大多数时候都运行得很好,但有一次,当我从 AppStore 下载它时,我不断收到以下错误。此错误一直持续到我删除并重新安装该应用程序为止。请注意,在开始崩溃之前,它甚至没有正确运行过一次,并且崩溃几乎发生在我触摸图标的同时。这很奇怪,因为它甚至没有时间更改任何配置文件。另外,正如您所看到的,崩溃发生在我的代码之外。任何信息将不胜感激。
Incident Identifier: F1333682-4BC7-44D7-9D7F-485EB7875780
CrashReporter Key: 657dffd01725b5b4b119912904a52134bc517824
Hardware Model: iPhone2,1
Process: iGunPro [9297]
Path: /var/mobile/Applications/A97E28F0-A0A1-45A2-A966-8EB0DC359945/iGunPro.app/iGunPro
Identifier: iGunPro
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-12-02 02:26:34.590 -0500
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 0x3744532c 0x37434000 + 70444
1 libsystem_c.dylib 0x3635cf54 0x3630f000 + 319316
2 libsystem_c.dylib 0x36355fe4 0x3630f000 + 290788
3 GraphicsServices 0x321c6444 0x321c2000 + 17476
4 GraphicsServices 0x321c6e84 0x321c2000 + 20100
5 UIKit 0x36fc6520 0x36f95000 + 202016
6 iGunPro 0x00006d20 main (main.m:53)
7 iGunPro 0x0000374c start + 44
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x374353b4 0x37434000 + 5044
1 libdispatch.dylib 0x36697e78 0x3668b000 + 52856
2 libdispatch.dylib 0x36697b96 0x3668b000 + 52118
Thread 2:
0 libsystem_kernel.dylib 0x37445cd4 0x37434000 + 72916
1 libsystem_c.dylib 0x3631930a 0x3630f000 + 41738
2 libsystem_c.dylib 0x3631909c 0x3630f000 + 41116
Thread 3:
0 libsystem_kernel.dylib 0x37445cd4 0x37434000 + 72916
1 libsystem_c.dylib 0x3631930a 0x3630f000 + 41738
2 libsystem_c.dylib 0x3631909c 0x3630f000 + 41116
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x37435010 0x37434000 + 4112
1 libsystem_kernel.dylib 0x37435206 0x37434000 + 4614
2 CoreFoundation 0x33dee41c 0x33d61000 + 578588
3 CoreFoundation 0x33ded154 0x33d61000 + 573780
4 CoreFoundation 0x33d704d6 0x33d61000 + 62678
5 CoreFoundation 0x33d7039e 0x33d61000 + 62366
6 WebCore 0x3483f128 0x34797000 + 688424
7 libsystem_c.dylib 0x3631ec16 0x3630f000 + 64534
8 libsystem_c.dylib 0x3631ead0 0x3630f000 + 64208
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x00000006 r5: 0x3f37ece8 r6: 0x3f52ffe0 r7: 0x2fdffc84
r8: 0x2fdffd60 r9: 0x00272000 r10: 0x00000001 r11: 0x00000000
ip: 0x00000148 sp: 0x2fdffc78 lr: 0x3635cf5b pc: 0x3744532c
cpsr: 0x00000010`
`
I have an iPhone app which works great most of the time, but one time when I downloaded it from the AppStore, I continually got the below error. This error continued until I deleted and reinstalled the application. Note that it did not run correct even once before starting this crash, and this crash happened almost at the exact time I touched the icon. Its strange, because it would not even have time to change any configuration files. Also, as you can see the crash occurred outside of my code. Any information would be appreciated.
Incident Identifier: F1333682-4BC7-44D7-9D7F-485EB7875780
CrashReporter Key: 657dffd01725b5b4b119912904a52134bc517824
Hardware Model: iPhone2,1
Process: iGunPro [9297]
Path: /var/mobile/Applications/A97E28F0-A0A1-45A2-A966-8EB0DC359945/iGunPro.app/iGunPro
Identifier: iGunPro
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-12-02 02:26:34.590 -0500
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 0x3744532c 0x37434000 + 70444
1 libsystem_c.dylib 0x3635cf54 0x3630f000 + 319316
2 libsystem_c.dylib 0x36355fe4 0x3630f000 + 290788
3 GraphicsServices 0x321c6444 0x321c2000 + 17476
4 GraphicsServices 0x321c6e84 0x321c2000 + 20100
5 UIKit 0x36fc6520 0x36f95000 + 202016
6 iGunPro 0x00006d20 main (main.m:53)
7 iGunPro 0x0000374c start + 44
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x374353b4 0x37434000 + 5044
1 libdispatch.dylib 0x36697e78 0x3668b000 + 52856
2 libdispatch.dylib 0x36697b96 0x3668b000 + 52118
Thread 2:
0 libsystem_kernel.dylib 0x37445cd4 0x37434000 + 72916
1 libsystem_c.dylib 0x3631930a 0x3630f000 + 41738
2 libsystem_c.dylib 0x3631909c 0x3630f000 + 41116
Thread 3:
0 libsystem_kernel.dylib 0x37445cd4 0x37434000 + 72916
1 libsystem_c.dylib 0x3631930a 0x3630f000 + 41738
2 libsystem_c.dylib 0x3631909c 0x3630f000 + 41116
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x37435010 0x37434000 + 4112
1 libsystem_kernel.dylib 0x37435206 0x37434000 + 4614
2 CoreFoundation 0x33dee41c 0x33d61000 + 578588
3 CoreFoundation 0x33ded154 0x33d61000 + 573780
4 CoreFoundation 0x33d704d6 0x33d61000 + 62678
5 CoreFoundation 0x33d7039e 0x33d61000 + 62366
6 WebCore 0x3483f128 0x34797000 + 688424
7 libsystem_c.dylib 0x3631ec16 0x3630f000 + 64534
8 libsystem_c.dylib 0x3631ead0 0x3630f000 + 64208
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x00000006 r5: 0x3f37ece8 r6: 0x3f52ffe0 r7: 0x2fdffc84
r8: 0x2fdffd60 r9: 0x00272000 r10: 0x00000001 r11: 0x00000000
ip: 0x00000148 sp: 0x2fdffc78 lr: 0x3635cf5b pc: 0x3744532c
cpsr: 0x00000010`
`
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这看起来好像有一些不应该在后台线程中运行的进程。例如,如果您尝试使用不在主队列上的中央调度进行某种 UI 操作,您可能会看到此行为。另一个示例,如果您正在使用核心数据并且跨线程共享托管对象上下文,您可能会看到此行为。
还有其他需要考虑的事情,可能有一个变量被过度释放了。
This looks as though there is some process running in a background thread that shouldn't. For example, if you attempted some sort of UI manipulation using grand central dispatch that is NOT on the main queue, you might see this behavior. Another example, if you are using core data and you are sharing a managed object context across threads, you may see this behavior.
Something else to consider, there is probably a variable that is being overreleased.