应用仅因(lldb)而崩溃? [英] App crashes only with (lldb)?
问题描述
我有一个包含Cocos2D和一些UIKit的应用程序.最近我实现了一些新功能,因此可能内存管理有误或某些内容发布过多,但是每当我单击主屏幕按钮退出该应用程序时,控制台仅因消息(lldb)而崩溃.即使我打开NSZombiesEnabled,也不会发生任何变化.
I have an app with Cocos2D and some UIKit mixed in. I have recently been implementing some new features so maybe the memory management is wrong or something is getting over-released but whenever I exit the app by clicking the home button, the console just crashes only with the message (lldb). Even if I turn on NSZombiesEnabled nothing different happens.
我的应用程序唯一指向的是一行看起来像这样的行:
The only thing my app points to is a line that looks like this:
libGPUSupportMercury.dylib`gpus_ReturnNotPermittedKillClient:
0x38101094: trap
0x38101096: nop
我不知道这意味着什么,但是我很想解决这个问题.有谁知道为什么会这样?
I have no idea what that means but I would love to get this fixed. Does anyone have any idea why this is happening?
提前谢谢!
编辑 :我认为这是因为在我取消计划AllSelectors和stopAnimation之后,我在Cocos2D的CCDirector上调用了stop.如果我不打那些2,那么就不会有lldb崩溃.
Edit: I think the cause of this was because I am calling pause on Cocos2D's CCDirector after I do unscheduleAllSelectors and stopAnimation. If I don't call those 2, then there is no lldb crash.
推荐答案
Turns out this was the actual fix for my issue in relation with Cocos2D: http://www.cocos2d-iphone.org/forum/topic/7326
这篇关于应用仅因(lldb)而崩溃?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!