• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSZombies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSZombies


  • Subject: NSZombies
  • From: The Amazing Llama <email@hidden>
  • Date: Tue, 14 Jan 2003 11:32:00 -0800

To dredge up some old stuff I found in the mamasam archives:

On 2002-02-18 07:25 Jim Correia said:
> On Monday, February 18, 2002, at 12:32 AM, Erik M. Buck wrote:
>> See
>> NSZombieEnabled
>> NSDebug.h
>
> One should also note that the release notes point out this debugging
> tool doesn't work for NS things which are tool free bridged to CF
> things.

Is this stiff the case? I'm having autorelease errors with some of my
code that uses NSArrays of NSNumbers, and Zombies aren't breaking
before I get EXC_BAD_ACCESS, so I'm guessing yes.

Interestingly, if I run the program, I get a message:
_NSAutoreleaseFreedObject(): release of previously deallocated object
(0x1adb810) ignored
But this does not appear when I'm debugging.

If it is, how do I go about finding what in the world the object is
that's being messages while dead? The only thing I can think of is to
create a wrapper class that passes all messages to the wrapped
NSNumber, making sure that all other functionality still works. But
that doesn't sound like a heck of a lot of fun any ideas?

Seth A. Roby The Amazing Llama < mail or AIM me at tallama at mac dot
com>
"Life is like an exploded clown. It's really funny until you figure out
what just happened."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSZombies
      • From: Brent Gulanowski <email@hidden>
  • Prev by Date: Re: COM on mac
  • Next by Date: Re: Window display problems
  • Previous by thread: Re: Getting a reference to the data model from a delegate
  • Next by thread: Re: NSZombies
  • Index(es):
    • Date
    • Thread