• 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 11:58:56 -0500
  • Thread-topic: Nil Object Crashing KVO

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



On 8/24/08 11:29 AM, "Ken Thomases" <email@hidden> wrote:

> On Aug 24, 2008, at 9:00 AM, Gordon Apple wrote:
>
>>    I¹m having a problem that only shows up in Release mode.  I have an
>> object that should have ³editLayer² ivar automatically initialized
>> to nil.
>> A second object has a KVO on this ivar property.  When the first
>> object
>> calls setEditLayer (as a result of it¹s own KVO notification
>> observation
>> from elsewhere), the program crashes before the second object
>> receives its
>> KVO, but only in release mode.
>
> Crashes how -- with what kind of signal or kernel exception code?
> Also, is anything logged to the console when the crash happens (or
> just before)?  What's the backtrace?
>
> Also, on what OS version are you running?
>
> Without details such as those, it's kind of hard to respond to these
> debugging queries.
>
> -Ken

G. Apple



_______________________________________________

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: Ken Thomases <email@hidden>
References: 
 >Re: Nil Object Crashing KVO (From: Ken Thomases <email@hidden>)

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