• 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: Setting an NSColor crashes - probably very simple issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting an NSColor crashes - probably very simple issue


  • Subject: Re: Setting an NSColor crashes - probably very simple issue
  • From: Bill Bumgarner <email@hidden>
  • Date: Mon, 4 Feb 2008 22:45:44 -0800

On Feb 4, 2008, at 10:36 PM, Steve Cronin wrote:
AwakeFromNib crashes on that line with:
2008-02-05 00:17:58.332 XYZ[3913] *** -[NSCachedWhiteColor bytes]: selector not recognized [self = 0x338b90]


What am I not seeing here?

That sounds like some *other* object has been overreleased -- an NSData -- and it just so happens that the reference to your color happened to fall wherever that object was before.


Run with NSZombieEnabled to debug.

Or switch on GC and remove all retain/release code.

b.bum

_______________________________________________

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: Setting an NSColor crashes - probably very simple issue
      • From: Steve Cronin <email@hidden>
References: 
 >Setting an NSColor crashes - probably very simple issue (From: Steve Cronin <email@hidden>)

  • Prev by Date: Re: Setting an NSColor crashes - probably very simple issue
  • Next by Date: Re: Setting an NSColor crashes - probably very simple issue
  • Previous by thread: Re: Setting an NSColor crashes - probably very simple issue
  • Next by thread: Re: Setting an NSColor crashes - probably very simple issue
  • Index(es):
    • Date
    • Thread