• 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 11:29:35 -0500

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_______________________________________________

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: 
 >Nil Object Crashing KVO (From: Gordon Apple <email@hidden>)

  • Prev by Date: Re: ObjC 2.0, properties, KVC, special _ hacks etc.
  • Next by Date: Re: Core data entity creation design
  • Previous by thread: Nil Object Crashing KVO
  • Next by thread: Re: Nil Object Crashing KVO
  • Index(es):
    • Date
    • Thread