Mac OS X 10.8.4上的iOS Simulator中的随机(lldb)崩溃 [英] Random (lldb) crashes in iOS Simulator on Mac OS X 10.8.4

查看:82
本文介绍了Mac OS X 10.8.4上的iOS Simulator中的随机(lldb)崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一段时间以来,我一直在努力解决一个奇怪的问题.在最初关闭iOS模拟器的情况下运行我的应用程序时,它可以正确启动.但是,如果我在不关闭模拟器的情况下再次运行它,它将崩溃,并仅在错误日志中打印(lldb).如果我再次运行它(不关闭模拟器),它将正确启动.如果我再次做同样的事情,它就会崩溃.因此,似乎每隔第二次.当使用iOS设备时,它可以工作,并且我有一个完全相同的项目学院,并且在iOS模拟器中没有遇到此问题.我尝试过的工作是清理,重置内容和设置,手动删除应用程序,重新启动计算机并重新安装Xcode.

I've been struggling with an weird issue for some time now. When running my app with the iOS Simulator initially closed it launches correctly. But if I then run it again without closing the simulator it crashes and just prints (lldb) in the error log. If I then run it again (without closing the simulator) it launches correctly. And if I do the same again it crashes. So it seems to be every second time. It works when using a iOS device and I have a college with the exact same project who doesn't experience this problem in the iOS Simulator. What I've tried is cleaning, reset contents and settings, manually removing the app, restarting my computer and reinstalling Xcode.

推荐答案

OS X 10.8.4出现问题,导致随机模拟器崩溃.

There's an issue with OS X 10.8.4 that causes random simulator crashes.

https://devforums.apple.com/message/817179#817179

已提出了一些解决方法,包括切换到GDB.看到这里:

A couple of workarounds have been suggested, including switching to GDB. See here:

我们发现了问题.这是一个杀死种族条件的过程 "debugserver"在杀死应用程序时正在调试哪个 导致出现此问题.

We have found the issue. It is a process killing race condition in "debugserver" when it is killing the application it is debugging which causes this problem to occur.

应该解决的工作 所有的人都是先杀死该应用程序,等待它消失,然后再点击 CMD + R.现在显示了只需按CMD + R即可快速完成的操作 此线程竞争条件在10.8.4中更常见.

The work around that should work for all folks is to kill the app first, wait for it to go away, then hit CMD+R. The quick turn around of just pressing CMD+R is now showing this thread race condition more often in 10.8.4.

这篇关于Mac OS X 10.8.4上的iOS Simulator中的随机(lldb)崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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