在设备中运行我们的应用程序时,我遇到了这个非常令人不安的问题。使用调试方案一切正常,但使用分发配置文件(带有用于代码签名的 AdHoc 证书的配置文件)应用程序崩溃,我在设备登录中遇到的唯一错误是:
Tue Oct 4 10:49:44 unknown com.apple.debugserver-48[670] <Warning>: 21 [029e/0803]: RNBRunLoopLaunchInferior DNBProcessLaunch() returned error: 'DRHT'
Tue Oct 4 10:49:44 unknown com.apple.debugserver-48[670] <Warning>: error: failed to launch process (null): failed to get the task for process 672
Tue Oct 4 10:49:44 unknown com.apple.debugserver-48[670] <Warning>: 22 [029e/1403]: error: ::read ( 4, 0x2fee59f0, 1024 ) => -1 err = Bad file descriptor (0x00000009)
Tue Oct 4 10:49:44 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.oos.kraken[0x3f17]) Bug: launchd_core_logic.c:3252 (24226):3
Tue Oct 4 10:49:44 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.oos.kraken[0x3f17]) Bug: launchd_core_logic.c:2681 (24226):10
Tue Oct 4 10:49:44 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.oos.kraken[0x3f17]) Working around 5020256. Assuming the job crashed.
Tue Oct 4 10:49:44 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.oos.kraken[0x3f17]) Job appears to have crashed: Segmentation fault
Tue Oct 4 10:49:44 unknown SpringBoard[24] <Warning>: Application '11870.com' exited abnormally with signal 11: Segmentation fault
我真的迷路了,不知道会发生什么。 “APPEARS to have crashed”是什么意思,它不知道什么时候应用有问题?
有人遇到过这个问题吗?我正在使用 xcode 4 并且该设备是 iphone 3G,尽管它也发生在 iphone 4 中。
PD:我尝试过 Zombies,但没有成功。
最佳答案
最后,解决方案是重启 iPhone,因为一些数据已损坏。重启后一切正常。
应该想到了那句经典的“你试过关掉再打开吗?”
关于iphone - iphone 无法解释的段错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7645399/