Re: Years-old mysterious bindings crash
Re: Years-old mysterious bindings crash
- Subject: Re: Years-old mysterious bindings crash
- From: Seth Willits <email@hidden>
- Date: Tue, 04 Oct 2011 17:59:41 -0700
On Oct 4, 2011, at 5:18 PM, William Squires wrote:
> Sounds like you're inadvertently depending on the order of loading somehow. Are you setting up all your bindings in awakeFromNib:? Or do you have any bindings (set in IB) which refer to something the controller object may have to load first? Just a thought.
There aren't any bindings setup at the point it crashes. The controller is connected to absolutely nothing. It literally is
controller = [[NSObjectController alloc] initWithContent:nil];
... unrelated things ...
[self view];
In awakeFromNib:
[controller setContent:obj];
kaboom.
The evidence I have supports that KVO has a rogue registration in it. I have new evidence for that, which I'm still working through. I'll post about that later when I know more.
I magically did manage to make the thing crash today while opening a ton of windows and tabs while connected to Instruments trying to find a leak. I tried to replicate it... can't. It's so rare. I've opened hundreds and hundreds of windows and tabs and closed them in all kinds of random orders...
--
Seth Willits
_______________________________________________
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