Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crashlytics: "Crashed: NSOperationQueue 0x... :: NSOperation 0x..." - EXC_BAD_ACCESS KERN_INVALID_ADDRESS

I got some crash reports in crashlytics which I don't understand at all, here's the crash log of the thread that crashed:

enter image description here

I don't find any hints to my code, nor is it something reproducable or only happening on specific devices. According to Crashlytics it's not a problem with RAM or disk space, so I'm really helpless here.

Does anyone have some hints with that stacktrace?

like image 810
swalkner Avatar asked Apr 27 '15 20:04

swalkner


1 Answers

I have some thoughts:

  1. The second line of the first row is the iOS way of saying what went wrong. It reads: EXC_BAD_ACCESS KERN_INVALID_ADDRESS. This is a Bad access error.
  2. You're trying to _dealloc something, according to the stack trace listing a method, [_queueForDealloc:]. With iOS's ARC (Automatic Resource Counting) system, things in Xcode can't call alloc or release because of it allocating memory and releasing it automatically. This technology was released with iOS 5.

My guess is, the compiler really doesn't like that [_queueForDealloc:] method you may have called, or you're trying to dealloc something that has already been dealloc'ed. (See the third line: a call of -[_PFArray dealloc].)

Either way, this is a bad access error. Check what you're deallocating and whether or not you should be deallocating it.

like image 78
DDPWNAGE Avatar answered Oct 31 '22 17:10

DDPWNAGE