(633,0xac8ad2c0) malloc: * error for object 0x6ab4b10: double free * set a breakpoint in malloc_error_break to debug
What does it mean? And How can I solve it?
(633,0xac8ad2c0) malloc: * error for object 0x6ab4b10: double free * set a breakpoint in malloc_error_break to debug
What does it mean? And How can I solve it?
it means a free() has been done more than once on a allocated block.
do as the description says, set a break point and see what is causing the error i.e. add a symbol break point in xcode
run > breakpoints > add symbolic breakpoint "malloc_error_break"
As of today! I solved this problem, the problem was there in my code, that's what I did to solved it, I used to Analyze my code from XCode IDE. Then I founded some memory leaks over there into my code! I used to remove it, and thats all! I solved it:)