• 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: Ken Thomases <email@hidden>
  • Date: Sun, 24 Aug 2008 12:05:42 -0500

On Aug 24, 2008, at 11:58 AM, Gordon Apple wrote:

10.5.4, MacBookPro 2.4 GHz Intel Core 2 Duo.  Only console message is
Program received signal:  “EXC_BAD_ACCESS”.

#0    0x9595c6e8 in objc_msgSend
#1    0x924415d3 in _NSValueOfClassWithSpecialSpecificErrorMessage
#2    0x924410b4 in -[NSArrayDetailBinder
_refreshDetailContentInBackground:]
#3    0x920080ce in NSKVONotify
#4    0x91f84702 in -[NSObject(NSKeyValueObserverNotification)
didChangeValueForKey:]
#5    0x0000f9be in -[RTPDisplayController updateShotAndLayer] at
RTPDisplayController.m:314
#6    0x0001106b in -[RTPDisplayController awakeFromNib] at
RTPDisplayController.m:539

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


  • Follow-Ups:
    • Re: Nil Object Crashing KVO
      • From: Gordon Apple <email@hidden>
References: 
 >Re: Nil Object Crashing KVO (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: Nil Object Crashing KVO
  • Next by Date: Re: DO disconnect when main thread blocked
  • Previous by thread: Re: Nil Object Crashing KVO
  • Next by thread: Re: Nil Object Crashing KVO
  • Index(es):
    • Date
    • Thread