查找objc运行时数据不安全 [英] Not safe to lookup objc runtime data

查看:102
本文介绍了查找objc运行时数据不安全的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我时不时地在调试器中开始出现此错误。有时调试器会挂起,有时它会暂停一分钟。这是在单步执行所有objective-c代码时。

Every now and then I start getting this error in the debugger constantly. Sometimes the debugger will flat out hang, some times it will pause for a minute. This is just when stepping through all objective-c code.

对可能导致什么的任何想法?我刚开始使用静态库,我正在逐步执行静态库代码,似乎可能会加剧它。

Any thoughts on what might cause it? I just started using a static library, and I'm stepping through static-library code and it seems that may be aggravating it.

推荐答案

可能是在并行线程中有一个malloc正在进行中。看看这个解决方案: http://www.fatcatsoftware.com/blog/2010/04

Could be that there is a malloc going on in a parallel thread. Check out this guys solution: http://www.fatcatsoftware.com/blog/2010/04

这篇关于查找objc运行时数据不安全的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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