I was able to reproduce and fix this problem that went away a few weeks ago.  
The mystery factor was that the crash only occurs if user clicks on the old 
(right-screen side) version while in the Versions Browser, which causes its 
window to resize, before restoring.

On 2012 Aug 20, at 14:14, Kevin Perry <kpe...@apple.com> wrote:

> Looks like the crash is happening while attempting to invoke 
> -respondsToSelector:.

Very good, Kevin.  Apparently, objc_msgSend_vtable5 implies -respondsToSelector:

> Odds are that this is a message being sent to [self delegate], which looks 
> like a deallocated object.

Indeed, that is what was happening.  I was sending setDelegate:nil during 
-windowWillClose:, but the message was not being delivered because when I 
replaced RBSplitView with NSSplitView to make the project buildable in Xcode 4, 
I neglected to reconnect the outlet from the window controller to the new 
NSSplitView.  It's connected now, and no more crashes.


_______________________________________________

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

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

Reply via email to