• 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: Quincey Morris <email@hidden>
  • Date: Tue, 5 Feb 2008 01:09:18 -0800


On Feb 4, 2008, at 23:27, Steve Cronin wrote:

#13 0x0511eed4 in -[XYZController awakeFromNib] at XYZWindowController.m:130

With same message cited earlier in console.

What have I not done correctly?

There isn't enough information for anyone to diagnose the source of the problem, but two things:


1. Clearly, an object has been over-released. Therefore, the point at which the error is detected is NOT the point at which the over-release occurred. (All the stack trace shows is that there is a binding on the "myColor" key along which the setter's change is in the process of being automatically propagated.) Look for the extra release somewhere else.

2. The 'awakeFromNib' suggests that there's a window controller *inside* the nib file. You have a window controller (subclass) in your nib file?



_______________________________________________

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: 
 >Setting an NSColor crashes - probably very simple issue (From: Steve Cronin <email@hidden>)
 >Re: Setting an NSColor crashes - probably very simple issue (From: Bill Bumgarner <email@hidden>)
 >Re: 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: ScreenSaverView and Core Animation
  • 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