iphone上无法解释的分段故障

前端之家收集整理的这篇文章主要介绍了iphone上无法解释的分段故障前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
在设备中运行我们的应用程序时,我遇到了这个非常令人不安的问题.使用Debug方案一切顺利,但使用Distribution配置文件(具有代码签名的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

我真的迷路了,不知道会发生什么. “出现崩溃”的含义是什么?当应用程序出现问题时,它不知道吗?

以前有人遇到过这个问题吗?我正在使用xcode 4,该设备是iphone 3G,虽然它也发生在iphone 4中.

PD:我试过僵尸没有运气.

解决方法

最后,解决方案是重启iPhone,因为一些数据已损坏.重启后一切正常.

应该想到经典的“你试过把它关掉再打开吗?”

猜你在找的Xcode相关文章