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

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

问题描述

在设备中运行我们的应用时,我遇到了这个非常令人不安的问题。使用Debug方案一切顺利,但使用Distribution配置文件(具有代码签名的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

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

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天全站免登陆