error for object 0xb50dd20: double free
-
28-09-2019 - |
Question
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 ideas?
Name(9369,0xa09cd500) malloc: * error for object 0xb50dd20: double free * set a breakpoint in malloc_error_break to debug
Solution
Do as the debugger tells you: set a breakpoint on malloc_error_break
.
Run → Manage Breakpoints → Add Symbolic Breakpoint.
OTHER TIPS
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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow