Re: crash on command-W

2008-06-10 Thread James W. Walker
On Jun 10, 2008, at 7:24 AM, Adam R. Maxwell wrote: On Jun 9, 2008, at 10:30 PM, James W. Walker wrote: On Jun 9, 2008, at 9:18 PM, Andrew Farmer wrote: On 09 Jun 08, at 21:03, James W. Walker wrote: OK, I turned on NSZombieEnabled, and now I get this in the log: *** -[LogController ta

Re: crash on command-W

2008-06-10 Thread Vijay Malhan
On Tue, Jun 10, 2008 at 7:54 PM, Adam R. Maxwell <[EMAIL PROTECTED]> wrote: > On Jun 9, 2008, at 11:17 PM, James W. Walker wrote: > > On Jun 9, 2008, at 10:44 PM, Joseph Kelly wrote: >> >> Toggle the release when closed setting on the window nib? See the docs >>> for -[NSWindow setReleasedWhenCl

Re: crash on command-W

2008-06-10 Thread Ken Ferry
On Tue, Jun 10, 2008 at 8:24 AM, Jens Alfke <[EMAIL PROTECTED]> wrote: > > On 9 Jun '08, at 10:30 PM, James W. Walker wrote: > >> Tech Note 2124 says: "You can use GDB to set a breakpoint on -[_NSZombie >> methodSignatureForSelector:] to further debug this sort of problem." I >> tried pasting met

Re: crash on command-W

2008-06-10 Thread Jens Alfke
On 9 Jun '08, at 10:30 PM, James W. Walker wrote: Tech Note 2124 says: "You can use GDB to set a breakpoint on - [_NSZombie methodSignatureForSelector:] to further debug this sort of problem." I tried pasting methodSignatureForSelector: into the breakpoints window, and it gave me a choice

Re: crash on command-W

2008-06-10 Thread Adam R. Maxwell
On Jun 9, 2008, at 11:17 PM, James W. Walker wrote: On Jun 9, 2008, at 10:44 PM, Joseph Kelly wrote: Toggle the release when closed setting on the window nib? See the docs for -[NSWindow setReleasedWhenClosed:] Tried that, didn't seem to make any difference to the crash. (Right now I hav

Re: crash on command-W

2008-06-09 Thread James W. Walker
On Jun 9, 2008, at 10:44 PM, Joseph Kelly wrote: Toggle the release when closed setting on the window nib? See the docs for -[NSWindow setReleasedWhenClosed:] Tried that, didn't seem to make any difference to the crash. (Right now I have it off, and with the controller autorelease fix, I

Re: crash on command-W

2008-06-09 Thread Joseph Kelly
Toggle the release when closed setting on the window nib? See the docs for -[NSWindow setReleasedWhenClosed:] Joe K. On Jun 9, 2008, at 10:30 PM, James W. Walker wrote: On Jun 9, 2008, at 9:18 PM, Andrew Farmer wrote: On 09 Jun 08, at 21:03, James W. Walker wrote: I'm getting an access v

Re: crash on command-W

2008-06-09 Thread James W. Walker
On Jun 9, 2008, at 9:18 PM, Andrew Farmer wrote: On 09 Jun 08, at 21:03, James W. Walker wrote: I'm getting an access violation (inside NSTableView) when I close a window by command-W but not when I close it by clicking the close widget. I don't understand why it would make a difference.

Re: crash on command-W

2008-06-09 Thread Andrew Farmer
On 09 Jun 08, at 21:03, James W. Walker wrote: I'm getting an access violation (inside NSTableView) when I close a window by command-W but not when I close it by clicking the close widget. I don't understand why it would make a difference. I have a nib containing a window and an NSWindowCon

crash on command-W

2008-06-09 Thread James W. Walker
I'm getting an access violation (inside NSTableView) when I close a window by command-W but not when I close it by clicking the close widget. I don't understand why it would make a difference. I have a nib containing a window and an NSWindowController subclass. It's not a document-based a