Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

double free*** set a breakpoint in malloc_error_break to debug in ARC

I am using ARC in my application with core data and threading etc, after doing all that hard work to get core data work with threading without any crashes now I am getting a new crash with the reason-

double free*** set a breakpoint in malloc_error_break to debug

How am I supposed to handle this? I have no control on the objects' retain counts.

like image 391
Yogesh Maheshwari Avatar asked Jan 16 '23 16:01

Yogesh Maheshwari


1 Answers

  1. Enable Zombie
  2. Follow this link : http://iphone2020.wordpress.com/2012/02/23/capturing-exceptions-while-debugging/. This will suggest exact point of crash.
like image 176
Naveen Thunga Avatar answered Jan 30 '23 22:01

Naveen Thunga