Xcode - 我的应用程序崩溃,错误是“无效指针从空闲列表中退出***在malloc_error_break中设置断点以进行调试” [英] Xcode - My app crash and the error is "Invalid pointer dequeued from free list *** set a breakpoint in malloc_error_break to debug"

查看:666
本文介绍了Xcode - 我的应用程序崩溃,错误是“无效指针从空闲列表中退出***在malloc_error_break中设置断点以进行调试”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序在模拟器上运行完美。
但是当我在设备上运行时,应用程序崩溃并显示错误:

My app runs perfect on simulator. But when I run it on device the app crash and display error :


malloc: *对象错误0x17415d0c0:无效指针从空闲列表中退出

*
在malloc_error_break中设置断点以调试;

"malloc: * error for object 0x17415d0c0: Invalid pointer dequeued from free list * set a breakpoint in malloc_error_break to debug";

我在 malloc_error_break 中搜索并设置断点进行调试,但仍无法找到问题。我试图改变项目方案,启用Zombie Object,但找不到答案。

I searched and set a breakpoint in malloc_error_break to debug, but still cannot find the problem. I tried to changed the scheme of project, enabled Zombie Object, but can not find the answer.

我也尝试使用乐器,但我不擅长。

I also try to use instrument, but I am not good at it.

推荐答案

我已经在iOS 8.3上修复了Xcode 8的错误。
我刚刚将部署目标从8.3更改为8.0。
如果在迁移到Xcode 8后现在出现错误并且您的设备在iOS 8控制下运行,则可能是临时决定。

I've fixed this error with Xcode 8 on iOS 8.3. I've just changed Deployment Target from 8.3 to 8.0. If the error appears now after migration to Xcode 8 and your device works under control iOS 8 it may be temporary decision.

UPD:Xcode 8.1 beta已修复这个错误。

UPD: Xcode 8.1 beta is fixed this error.

这篇关于Xcode - 我的应用程序崩溃,错误是“无效指针从空闲列表中退出***在malloc_error_break中设置断点以进行调试”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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