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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to