Re: Setting an NSColor crashes - probably very simple issue
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