奇怪的GDB错误无法追踪 [英] strange GDB error unable to trace

查看:239
本文介绍了奇怪的GDB错误无法追踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在gdb中遇到了这个奇怪的错误,我无法追踪确切的代码行来追踪错误。有人知道这种类型的错误吗?这里是我在gdb中获得的信息

I am getting this strange error in gdb and i'm unable to trace the exact line of code to trace the bug. Does someone knows about this type of bug? Here is what i get in gdb

*** -[CALayer sublayers]: message sent to deallocated instance 0x911c2a0
(gdb) po 0x911c2a0
Program received signal SIGTRAP, Trace/breakpoint trap.
0x020993a7 in ___forwarding___ ()
The program being debugged was signaled while in a function called from GDB.
GDB has restored the context to what it was before the call.
To change this behavior use "set unwindonsignal off"
Evaluation of the expression containing the function (_NSPrintForDebugger) will be   abandoned.
(gdb) info symbol 0x911c2a0
No symbol matches 0x911c2a0.
(gdb) 


推荐答案

解决问题的办法。问题是由于视图控制器。视图控制器被释放,然后在调用方法之后。但奇怪的gdb没有显示任何关于viewController relese ....都没有打开NSZombie帮助。

I've got the solution to the problem. The problem was due to a view Controller. The view controller was released and then after the method was called. But strange gdb didn't show anything about viewController relese....Neither turning on NSZombie helped.

这篇关于奇怪的GDB错误无法追踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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