Questions tagged [nszombies]

NSZombies is an Apple OS-specific (OSX and iOS) reference to the zombie process. Similar to other zombie processes, when enabled, NSZombies represents an object that has completed execution and has been released, but is later accessed again, usually causing an EXC_BAD_ACCESS error.

NSZombies is an Apple OS-specific (OSX and iOS) reference to the zombie process. Similar to other zombie processes, when enabled, NSZombies represents an object that has completed execution and has been released, but is later accessed again, usually causing an EXC_BAD_ACCESS error.

21 questions
0
votes
2 answers

Is it true NSZombies can cause a crash?

I've read on here that NSZombies with ARC enabled can actually cause a crash and I've also read it can't be the cause of a crash. People have said it can cause a crash by a bug where dealloc is not called on the object. Is that true and is that…
SukyaMaki
  • 173
  • 1
  • 1
  • 5
0
votes
2 answers

Overreleasing issue and Zombies

this program crashes if i uncomment the release statements. i get that i am overreleasing and realized that quickly. but, just to test zombies, i turned them on (NSZombiesEnabled = YES and CFZombieLevel = 16) and the program runs fine and throws no…
griotspeak
  • 13,022
  • 13
  • 43
  • 54
0
votes
1 answer

CCMenu is causing an EXC_BAD_ACCESS error, but I can't backtrace my code

I'm having EXC_BAD_ACCESS problems with cocos2d-iphone 1.0.1. I have enabled NSZombies, hoping to see where in my code am I accessing an object I shouldn't be accessing. The problem occurs in CCMenu.m, here: -(void) ccTouchMoved:(UITouch *)touch…
Saturn
  • 17,888
  • 49
  • 145
  • 271
0
votes
2 answers

Objective-C release of zombie object after storyboard modification

I have some crushes in iOS application. After investigation I found that problem is some dangling pointer. To find where where it came from I've started profiling code on simulator (iOS 6.1) using "Zombies" trace template. Test scenario is quite…
Marek R
  • 32,568
  • 6
  • 55
  • 140
0
votes
1 answer

How to Fix NZombie in iOS

I'm developing an app in iOS this application captures signatures and also redraws them back from a database... The problem appeared when I added threads, for printing on the labels the biometric data on real time while the signature is being…
Jesús Ayala
  • 2,743
  • 3
  • 32
  • 48
-1
votes
1 answer

Need help finding cause of 'object cannot be nil' error message

In my iPad app, iOS 6.0, XCode 4.5, I am getting the following message when I run: * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[__NSArrayM insertObject:atIndex:]: object cannot be nil' I have looked and…
SpokaneDude
  • 4,856
  • 13
  • 64
  • 120
1
2