Skip navigation.
 
mlDebug Help
FROM : tonycate
DATE : Sun Dec 15 23:03:42 2002

I have master/detail GUI. After editing the detail and updating the
master record, I take the following actions:

1    make a non-selection in the NSTableView containing the master records
- the detail clears
2    select a record in the NSTableView - the detail updates
3    repeat #1
4    select a record in the NSTableView - the app crashes

This is the backtrace:

(gdb) backtrace
#0  0x9068ba54 in objc_msgSend ()
#1  0x9310ed54 in -[NSCell _contents] ()
#2  0x9310dd70 in -[NSCell copyWithZone:] ()
#3  0x932ef9e8 in -[NSTextFieldCell copyWithZone:] ()
#4  0x932d621c in -[NSTableView mouseDown:] ()
#5  0x9336dfd4 in -[NSWindow sendEvent:] ()
#6  0x930ce328 in -[NSApplication sendEvent:] ()
#7  0x930ca524 in -[NSApplication run] ()
#8  0x930d2598 in NSApplicationMain ()
#9  0x00003900 in main (argc=1, argv=0xbffffc70) at
main.m:13/Developer/My App/
#10 0x00003684 in _start (argc=1, argv=0xbffffc70, envp=0xbffffc78) at
/SourceCache/Csu/Csu-45/crt.c:267/SourceCache/Csu/Csu-45/
#11 0x00003504 in start ()

If I don't edit the detail, I can toggle between a selection and a
non-selection all day long.

I'm sure this is a memory management issue, but I'm going blind trying
to find it.

any help would be appreciated.
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlDebug Help tonycate Dec 15, 23:03
mlRe: Debug Help Matthew Smith Dec 16, 05:46
mlRe: Debug Help Mike Ferris Dec 16, 19:06
mlRe: Debug Help Bruce Veazie Dec 17, 00:21
mlRe: Debug Help tonycate Dec 17, 00:27