0

Hello you smart guys;

Confused on how to fix such crash, it is random. Could you give me some tips? How to debug? What's the potential root cause?

Need some tips when crash on COCOA framework inside. Any ideas and discussion will be appreciated, thanks in advance.

Crash call stack

jianhua
  • 1,011
  • 1
  • 12
  • 28

1 Answers1

1

To me that stack trace looks like an dealloced view or layer is accessed by a tableView. To debug such a situation there is NSZombie. Read how to enable NSZombie.

When running with NSZombie no object is ever removed from memory. Instead dealloced objects are turned into zombies. They keep hanging around and when accessed you can examine them to find out were they where instantiated and when they were retained and released during their lifetime. That should give you a good idea where to look for the problem.

More info on that specific problem may be found at EXC_BAD_ACCESS signal received .

More general debugging information can be found in TN2239 iOS Debugging Magic.

Community
  • 1
  • 1
tonklon
  • 6,777
  • 2
  • 30
  • 36