iOS错误:检测到堆损坏,空闲列表已损坏,并且保护值不正确:0 [英] iOS error : Heap corruption detected, free list is damaged and Incorrect guard value: 0

查看:2432
本文介绍了iOS错误:检测到堆损坏,空闲列表已损坏,并且保护值不正确:0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

GFF_MJ(3248,0x103f9ab80) malloc: Heap corruption detected, free list is damaged at 0x28298ffa0
*** Incorrect guard value: 0
GFF_MJ(3248,0x103f9ab80) malloc: *** set a breakpoint in malloc_error_break to debug

错误截图:

运行一段时间后,该应用程序始终崩溃,但除上述提示外,我没有任何其他信息. 现在我不知道该如何解决,谁可以帮助我?

After running for a while, the app always crashes, but I won't get any information except the above tips. Now I don't know how to solve it, who can help me?

谢谢.

推荐答案

这些错误并不有趣.最有可能的是,您的某处有缓冲区溢出,或者在释放内存并踩到其他东西后正在使用一块内存.

These bugs are no fun. Most likely, you have a buffer overflow somewhere or you are using a piece of memory after it has been freed and stomping on something else.

由于您可以使其在调试器中崩溃,因此更容易查找.

Since you can get it to crash in the debugger, that makes it much easier to track down.

根据错误消息指示您执行的操作,首先在malloc_error_break上设置断点.当您达到该断点时,将提供更多线索,但可能仍然含糊不清.但是,您将可以发布更多线索,我们可以从那里为您提供帮助.

Start by setting a breakpoint on malloc_error_break, as the error message instructs you to do. When you hit that breakpoint, that'll provide more of a clue, but still may be rather vague. However, you'll be able to post more clues and we can help you from there.

这篇关于iOS错误:检测到堆损坏,空闲列表已损坏,并且保护值不正确:0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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