Debug Help
Debug Help
- Subject: Debug Help
- From: email@hidden
- Date: Sun, 15 Dec 2002 16:03:42 -0600
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@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.