自动释放池导致 RubyCocoa 应用程序崩溃
我的应用程序崩溃了,它说
试图弹出一个未知的自动释放池: 10/19/09 11:40:11 AM MyApp[89480] *** 尝试弹出未知
autorelease pool (0x11bc800)
如何追踪它?
由于它是 RubyCocoa 应用程序,因此几乎不可能在 Xcode 环境中使用 gdb 跟踪它。所以主要是关于日志记录。有一个 irb 调试器,它给出与日志记录相同的结果。
谢谢,
纳瓦
I'm having crash in my application, which says
trying to pop an unknown autorelease pool:
10/19/09 11:40:11 AM MyApp[89480] *** attempt to pop an unknown
autorelease pool (0x11bc800)
How to trace it down?
Since it's RubyCocoa application it's almost impossible to trace it with gdb in Xcode environment. So mostly it's about logging. There is an irb debugger, which gives same results as logging.
Thanks,
Nava
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http://www.corbinstreehouse.com/blog/2007/10/instruments-on-leopard-how-to-debug-those-random-crashes-in -your-cocoa-app/comment-page-1/#comment-43762
来自同一作者 - 在 CFLog 中添加一个中断。
该链接真的很有帮助!
http://www.corbinstreehouse.com/blog/2007/10/instruments-on-leopard-how-to-debug-those-random-crashes-in-your-cocoa-app/comment-page-1/#comment-43762
And from the same author - put a break in CFLog.
The link is really helpful!