开发者

error for object 0xb50dd20: double free

Is anyone familiar with the problem. I have read this post however its hard for me to provide code when I don't have any idea where in the code the error originates. Any one have any idea开发者_如何学运维s?

Name(9369,0xa09cd500) malloc: * error for object 0xb50dd20: double free * set a breakpoint in malloc_error_break to debug


Do as the debugger tells you: set a breakpoint on malloc_error_break.

Run → Manage Breakpoints → Add Symbolic Breakpoint.


You have release an object that you are not responsible...
there was many thread on this subject.

To summarized, you have to release (or autorelease) only object you have alloc, retain or copy

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜