NSTableView crash when selected.
NSTableView crash when selected.
- Subject: NSTableView crash when selected.
- From: Harry Plate <email@hidden>
- Date: Fri, 13 Feb 2009 14:17:54 -0800
- Thread-topic: NSTableView crash when selected.
I am struggling w/ a crash in my first Cocoa app that is using a TableView.
Some history: my app and its table view was working just fine when I was
simply adding NSString objects to the table.
Then I started using NSAttributedString instead so I could get the display
ellipses.
Now after dragging 2 (or more) elements into the view, if I simply click on
the table. Boom.
It is wierd that iff there is only 1 element in the table view, then all is
ok.
The stack is added below.
Appreciate any suggestions,
-harry
OS Version: Mac OS X 10.5.5 (9F33)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c031ec6b
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x95e7c688 objc_msgSend + 24
1 com.apple.Foundation 0x96482c4d
-[NSConcreteAttributedString initWithAttributedString:] + 61
2 com.apple.AppKit 0x93939dcc -[NSCell _setContents:] +
82
3 com.apple.AppKit 0x9394e1f2 -[NSCell setObjectValue:] +
50
4 com.apple.AppKit 0x9394e0eb -[NSActionCell
setObjectValue:] + 193
5 com.apple.AppKit 0x939f6054 -[NSTableView
preparedCellAtColumn:row:] + 304
6 com.apple.AppKit 0x939f5e44 -[NSTableView
_drawContentsAtRow:column:withCellFrame:] + 56
7 com.apple.AppKit 0x939f537a -[NSTableView
drawRow:clipRect:] + 872
8 com.apple.AppKit 0x9399a7f4 -[NSTableView
drawRowIndexes:clipRect:] + 363
9 com.apple.AppKit 0x939992d8 -[NSTableView drawRect:] +
2199
10 com.apple.AppKit 0x93a29864 -[NSView _drawRect:clip:] +
3853
...
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden