0

(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?

User
  • 42
  • 1
  • 7

2 Answers2

1

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"

AndersK
  • 35,813
  • 6
  • 60
  • 86
  • http://stackoverflow.com/questions/971249/how-to-find-the-cause-of-a-malloc-double-free-error – User Feb 09 '12 at 10:09
0

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:)

User
  • 42
  • 1
  • 7