Crash in _NSTableRowHeightStorage
Crash in _NSTableRowHeightStorage
- Subject: Crash in _NSTableRowHeightStorage
- From: Philip Dow <email@hidden>
- Date: Thu, 8 Mar 2007 20:00:19 +0100
Hi all,
I'm having a heck of a time tracking down the cause of a crash.
Although the crash occurs in a number of places it always involves
NSOutlineView as it computes row heights. There is also the
consistent presence of _NSTableRowHeightStorage, with the crash often
occurring in that object. The outline view is always connected to a
delegate, and the delegate always provides the row height.
The conditions are otherwise variable. Sometimes an NSTreeController
is used, sometimes an NSArrayController. Various classes are used for
the nodes, some painfully simple. The catalyst for the crash also
varies. It occur when code expands a node in the outline but also
when the content of the outline's controller changes, as in the
example below. To make matters worse, I am unable to reproduce the
crash, but it occurs variably for a number of users.
I have attached a portion of one of the crash reports. Does anyone
have any leads on a possible cause?
-Phil
Thread 0 Crashed:
0 com.apple.AppKit 0x934a8a61 -[_NSTableRowHeightStorage
_cacheRowHeightsIntoBucket:bucketFirstRowIndex:lastCacheableRowIndex:] +
115
1 com.apple.AppKit 0x93392140 -[_NSTableRowHeightStorage
createAndCacheRowHeightSumsIfNecessary] + 359
2 com.apple.AppKit 0x93391fcd -[_NSTableRowHeightStorage
computeTableHeight] + 34
3 com.apple.AppKit 0x9335e079 -[NSTableView
_totalHeightOfTableView] + 122
4 com.apple.AppKit 0x9335cb27 -[NSTableView tile] + 318
5 com.apple.AppKit 0x9335c9a5 -[NSTableView
_tileAndRedisplayAll] + 34
6 com.apple.AppKit 0x93391336 -[NSOutlineView reloadData]
+ 98
7 com.apple.AppKit 0x937f343d -[NSOutlineViewBinder
_observeValueForKeyPath:ofObject:context:] + 163
8 com.apple.Foundation 0x9262832e -[NSObject
(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:] + 1111
9 com.apple.AppKit 0x9338d3c7 -[NSController
_notifyObserversForKeyPath:change:] + 241
10 com.apple.AppKit 0x9338d2cf -[NSController
didChangeValueForKey:] + 48
11 com.apple.AppKit 0x937fc061 -[NSTreeController
_didChangeValuesForArrangedKeys:objectKeys:indexPathKeys:] + 69
12 com.apple.AppKit 0x937f6a06 -[NSTreeController
_prepareArrayControllerTree] + 1314
13 com.apple.AppKit 0x937f9f75 -[NSTreeController
setContent:] + 478
...
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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