• 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
Re: Nil Object Crashing KVO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nil Object Crashing KVO


  • Subject: Re: Nil Object Crashing KVO
  • From: Gordon Apple <email@hidden>
  • Date: Sun, 24 Aug 2008 14:07:25 -0500
  • Thread-topic: Nil Object Crashing KVO

    Thank you, thank you, Thank you!  You gave me the key without even
realizing it.  I had just wanted to give a running version to someone who
was visiting and had quickly tried to compile a release version.  I stupidly
assumed the release version would keep the same project settings except for
the debug stuff.  Turns out that Garbage Collection was not even enabled in
the release settings.  As usual, I was looking in all the wrong places and
missed the obvious.  Now it runs.  Thanks again.


On 8/24/08 12:05 PM, "Ken Thomases" <email@hidden> wrote:

> That seems like a deallocated object is being messaged.  In other
> words, an object was added as a KVO observer but was not removed as an
> observer before it was fully released.
>
> Enable NSZombie to find out the nature of the object.  If that's not
> enough, use the Object Allocations instrument (or
> MallocStackLoggingNoCompact and malloc_history) to gather a full
> history of allocations and then figure out what happened with the
> memory address in question.
>
> Good luck,
> Ken



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Nil Object Crashing KVO (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: DO disconnect when main thread blocked
  • Next by Date: StatusItem to foreground app
  • Previous by thread: Re: Nil Object Crashing KVO
  • Next by thread: Semi-transparent, blurred NSWindow background?
  • Index(es):
    • Date
    • Thread