Unexplainable segmentation fault on iphone(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上无法解释的分段错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:iphone上无法解释的分段错误


- android 4中的android RadioButton问题 2022-01-01
- 用 Swift 实现 UITextFieldDelegate 2022-01-01
- Android viewpager检测滑动超出范围 2022-01-01
- 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01
- Android - 我如何找出用户有多少未读电子邮件? 2022-01-01
- MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01
- Android - 拆分 Drawable 2022-01-01
- 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01
- 想使用ViewPager,无法识别android.support.*? 2022-01-01
- 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01