Re: firstResponder KVO snow leopard crash; bug?

2009-11-19 Thread Corbin Dunn
On Nov 18, 2009, at 5:06 PM, Sean McBride wrote: On 11/18/09 9:00 AM, Corbin Dunn said: Oh -- another thing. Does your subclass of NSCollectionView override: (void)viewWillMoveToWindow:(NSWindow *)window { but not call super? If not... call super! Your classes should always call super

Re: firstResponder KVO snow leopard crash; bug?

2009-11-19 Thread Corbin Dunn
On Nov 18, 2009, at 5:28 PM, Aaron Clarke wrote: On Nov 18, 2009, at 12:00 , Corbin Dunn wrote: On Nov 17, 2009, at 1:04 PM, Aaron Clarke wrote: We have an application that runs fine on leopard (10.5) but occasionally crashes on snow leopard (10.6) when closing an NSWindow. Here is

Re: firstResponder KVO snow leopard crash; bug?

2009-11-18 Thread Keary Suska
On Nov 17, 2009, at 2:04 PM, Aaron Clarke wrote: Even if it doesn't crash, closing the NSWindow always results in the following error message. An instance 0x11b75230 of class MyWindow was deallocated while key value observers were still registered with it. Observation info was leaked, and

Re: firstResponder KVO snow leopard crash; bug?

2009-11-18 Thread Corbin Dunn
On Nov 17, 2009, at 1:04 PM, Aaron Clarke wrote: We have an application that runs fine on leopard (10.5) but occasionally crashes on snow leopard (10.6) when closing an NSWindow. Here is the backtrace for the crash: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason:

Re: firstResponder KVO snow leopard crash; bug?

2009-11-18 Thread Corbin Dunn
On Nov 17, 2009, at 1:04 PM, Aaron Clarke wrote: We have an application that runs fine on leopard (10.5) but occasionally crashes on snow leopard (10.6) when closing an NSWindow. Here is the backtrace for the crash: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason:

Re: firstResponder KVO snow leopard crash; bug?

2009-11-18 Thread Sean McBride
On 11/18/09 9:00 AM, Corbin Dunn said: Oh -- another thing. Does your subclass of NSCollectionView override: (void)viewWillMoveToWindow:(NSWindow *)window { but not call super? If not... call super! Your classes should always call super if it is defined in a superclass, unless you have a good

Re: firstResponder KVO snow leopard crash; bug?

2009-11-18 Thread Aaron Clarke
On Nov 18, 2009, at 12:00 , Corbin Dunn wrote: On Nov 17, 2009, at 1:04 PM, Aaron Clarke wrote: We have an application that runs fine on leopard (10.5) but occasionally crashes on snow leopard (10.6) when closing an NSWindow. Here is the backtrace for the crash: Program received signal

Re: firstResponder KVO snow leopard crash; bug?

2009-11-18 Thread Sean McBride
Aaron Clarke (clark...@gmail.com) on 2009-11-18 8:28 PM said: Oh -- another thing. Does your subclass of NSCollectionView override: (void)viewWillMoveToWindow:(NSWindow *)window { but not call super? If not... call super! Your classes should always call super if it is defined in a

firstResponder KVO snow leopard crash; bug?

2009-11-17 Thread Aaron Clarke
We have an application that runs fine on leopard (10.5) but occasionally crashes on snow leopard (10.6) when closing an NSWindow. Here is the backtrace for the crash: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x