iphone上无法解释的分段错误 [英] Unexplainable segmentation fault on iphone

查看:24
本文介绍了iphone上无法解释的分段错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在设备中运行我们的应用程序时,我遇到了这个非常令人不安的问题.调试方案一切正常,但分发配置文件(具有用于代码签名的 AdHoc 证书的配置文件)应用程序崩溃,我在设备登录时遇到的唯一错误是:

I'm having this very disturbing problem when running our app in the device. Everything goes fine with the Debug scheme but with the Distribution profile (the one with the AdHoc certificate for code signing) the app crashes and the only error I get in the device's login this one:

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"是什么意思,它不知道应用程序何时出现问题吗?

I'm really lost and have no idea of what can be happening. What does it mean by " APPEARS to have crashed" doesn't it know when there is a problem with an app?

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

Anybody came across this problem before? I am using xcode 4 and the device is an iphone 3G although it also happens in an iphone 4.

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

PD: I've tried Zombies with no luck.

推荐答案

最后解决办法是重启iPhone,因为有些数据已经损坏.重启后一切正常.

In the end, the solution was to restart the iPhone, since some data got corrupted. After the reboot everything was working normally.

应该想到经典的你试过关掉再打开吗?"

Should have thought of the classic "Have you tried turning it off and on again?"

这篇关于iphone上无法解释的分段错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆