iPhone SDK奇怪的控制台消息launchd_core_logic.c
我正在 iPhone 上运行该应用程序的发布版本,它运行良好。 XCode 调试器中没有错误消息:
Running… Switching to thread 11779 Switching to thread 11779 sharedlibrary apply-load-rules all (gdb) continue Switching to thread 12291 Switching to thread 11779 Switching to thread 13059 Debugger stopped. Program exited with status value:0.
但是,当通过 Organizer 连接到 iPhone 时,我在 iPhone 的控制台中看到这些消息:
WWed Oct 7 15:37:01 unknown com.apple.launchd[1] : (UIKitApplication:com.blah.blah[0x830c]) Bug: launchd_core_logic.c:2649 (23909):10 Wed Oct 7 15:37:01 unknown com.apple.launchd[1] : (UIKitApplication:com.blah.blah[0x830c]) Working around 5020256. Assuming the job crashed. Wed Oct 7 15:37:01 unknown com.apple.launchd[1] : (UIKitApplication:com.blah.blah[0x830c]) Job appears to have crashed: Segmentation fault Wed Oct 7 15:37:01 unknown com.apple.debugserver-43[6124] : 1 [17ec/1603]: error: ::read ( 7, 0x28091c, 1024 ) => -1 err = Bad file descriptor (0x00000009) Wed Oct 7 15:37:01 unknown SpringBoard[25] : Application 'blah' exited abnormally with signal 11: Segmentation fault
我尝试过 Apple 的 UICatalog 示例和由 XCode 生成的基于空视图的应用程序。它们都报告与我在控制台中的代码完全相同的消息。所以这与我的应用程序无关。
没有创建崩溃日志,所以我认为这不是崩溃。
它是什么?即使应用程序运行得很好,这是一个问题吗?
谢谢
I am running release version of the app on the iPhone, it works fine. There is no error messages in the XCode debugger:
Running… Switching to thread 11779 Switching to thread 11779 sharedlibrary apply-load-rules all (gdb) continue Switching to thread 12291 Switching to thread 11779 Switching to thread 13059 Debugger stopped. Program exited with status value:0.
However I see these messages in the console of iPhone when connect to it via Organizer:
WWed Oct 7 15:37:01 unknown com.apple.launchd[1] : (UIKitApplication:com.blah.blah[0x830c]) Bug: launchd_core_logic.c:2649 (23909):10 Wed Oct 7 15:37:01 unknown com.apple.launchd[1] : (UIKitApplication:com.blah.blah[0x830c]) Working around 5020256. Assuming the job crashed. Wed Oct 7 15:37:01 unknown com.apple.launchd[1] : (UIKitApplication:com.blah.blah[0x830c]) Job appears to have crashed: Segmentation fault Wed Oct 7 15:37:01 unknown com.apple.debugserver-43[6124] : 1 [17ec/1603]: error: ::read ( 7, 0x28091c, 1024 ) => -1 err = Bad file descriptor (0x00000009) Wed Oct 7 15:37:01 unknown SpringBoard[25] : Application 'blah' exited abnormally with signal 11: Segmentation fault
I have tried Apple's UICatalog sample and empty view based app generated by the XCode. They both report exactly the same message as my code in the console. So this is NOT my app related.
There is no crash logs created, so I don't think it is a crash.
What is it? Is it a problem, even though application works perfectly fine?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我遇到了同样的问题,并且在应用程序购买测试时给我带来了问题。最后我发现我正在使用 iPhone 分发代码签名而不是 iPhone 开发代码签名来运行该程序。当我更改调试配置(并删除 Entitlements.plist)时,它再次工作。希望有帮助。
I had the same problem and it gave me problems when testing in app purchases. In the end I found out that I was running the program with an iPhone Distribution code signing instead of an iPhone Development code signing. When I changed that for the Debug configuration (and removed the Entitlements.plist) it worked again. Hope it helps.
这不是问题。我的控制台上一直有类似的消息。正如您所说,这不是您的应用程序的错,所以只要您的应用程序运行正常就没有问题。
该消息不是来自您的应用程序,而是来自 com.apple.launchd。我认为只有 xcode 控制台输出与您真正相关。
It's not a problem. I have similar messages on my console all the time. And as you said it's not your apps fault, so as long as you app runs ok there is no problem.
The message is not from your app, it's from the com.apple.launchd. I think that only the xcode console output is really relevant for you.