带有iOS 4.1的iPhone 3G在调试时重新启动 [英] iPhone 3G with iOS 4.1 reboots while debugging
问题描述
我正在使用Xcode 3.2.4。
I'm using Xcode 3.2.4.
有没有人经历过这个?
这是我收集的控制台消息:
Here's the console message that I had gathered:
10/22/10 10:53:58 PM Xcode[70765] _NotificationSocketReadCallback (thread 0x1170b0000): Unexpected connection closure...
10/22/10 10:53:58 PM Xcode[70765] Got faceplant notification
10/22/10 10:53:58 PM Xcode[70765] AMDServiceConnectionSendMessage (thread 0x1170b0000): Could not send message size: Broken pipe
我能看到一眼应用程序在调试时启动,但随后重新启动。
I was able to see a glimpse of the app launching while debugging, but then it reboots.
Xcode报告以下错误消息:
Xcode reports these error messages:
gdb stack trace at 'putpkt: write failed':
putpkt: write failed: Broken pipe
putpkt: write failed: Broken pipe
The program being debugged is not being run.
The program being debugged is not being run.
0 gdb-arm-apple-darwin 0x0018d893 remote_backtrace_self + 54
1 gdb-arm-apple-darwin 0x00190cab putpkt_binary + 401
2 gdb-arm-apple-darwin 0x0019661e remote_macosx_create_inferior + 1005
3 gdb-arm-apple-darwin 0x0006f611 run_command_1 + 660
4 gdb-arm-apple-darwin 0x0012ed92 execute_command + 713
5 gdb-arm-apple-darwin 0x0001bbcb mi_execute_async_cli_command + 226
6 gdb-arm-apple-darwin 0x0001b1e8 captured_mi_execute_command + 371
7 gdb-arm-apple-darwin 0x000850d3 catch_exception + 65
8 gdb-arm-apple-darwin 0x00018546 mi_execute_command + 163
9 gdb-arm-apple-darwin 0x000186eb mi_execute_command_wrapper + 50
10 gdb-arm-apple-darwin 0x0008aab5 handle_file_event + 349
11 gdb-arm-apple-darwin 0x0008a47c process_event + 131
12 gdb-arm-apple-darwin 0x0008b236 gdb_do_one_event + 1178
13 gdb-arm-apple-darwin 0x000851f6 catch_errors + 78
14 gdb-arm-apple-darwin 0x0008a92d start_event_loop + 76
15 gdb-arm-apple-darwin 0x000876a3 captured_command_loop + 18
16 gdb-arm-apple-darwin 0x000851f6 catch_errors + 78
17 gdb-arm-apple-darwin 0x0008768f captured_main + 5557
18 gdb-arm-apple-darwin 0x000851f6 catch_errors + 78
19 gdb-arm-apple-darwin 0x000860cf gdb_main + 63
20 gdb-arm-apple-darwin 0x00001b6a main + 52
21 gdb-arm-apple-darwin 0x00001af9 start + 53
更新:我已确认此问题仅发生在越狱设备上。
Update: I have confirmed that this issue only occurs on jailbroken devices.
推荐答案
同样在这里。 JB似乎有一个bug Xcode(以及其他一些东西)。
如果你看一下这里的评论: http:/ /blog.iphone-dev.org/post/1359246784/20102010-event#idc-cover 你可以看到有人报告相同。
Same here. It seems there's a bug whit Xcode (and some other stuff) with the JB. If you look at the comments here: http://blog.iphone-dev.org/post/1359246784/20102010-event#idc-cover you can see there's people reporting the same.
我的避风港找不到解决方案,所以我想我们必须等到4.2出现。 :(
I haven't found the solution, so i guess we'll have to wait until 4.2 comes up. :(
我正在制作iPhone应用程序,这真是令人讨厌T_T
I work making iPhone apps and, it's really anoying T_T
这篇关于带有iOS 4.1的iPhone 3G在调试时重新启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!