Crashes when using NSTreeController
Crashes when using NSTreeController
- Subject: Crashes when using NSTreeController
- From: Frank Illenberger <email@hidden>
- Date: Wed, 22 Jun 2005 18:50:24 +0200
Hi,
has anybody encountered the following crashes when using and
NSOutlineView bound to an NSTreeController. The NSTreeController gets
its data from a CoreData based managed object hierarchy.
Everything works fine until I start using the undo mechanism of
CoreData. Then I randomly encounter the following crash:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
1 com.apple.AppKit 0x93adffcc -[_NSBindingAdaptor
outlineColumn:willDisplayCell:row:] + 112
2 com.apple.AppKit 0x93782f68 -[NSOutlineView
_sendDelegateWillDisplayCell:forColumn:row:] + 108
3 com.apple.AppKit 0x936dd2a0 -[NSTableView
_drawContentsAtRow:column:clipRect:] + 396
4 com.apple.AppKit 0x937828c8 -[NSOutlineView
_drawContentsAtRow:column:clipRect:] + 244
5 com.apple.AppKit 0x936dcc94 -[NSTableView
drawRow:clipRect:] + 220
6 com.apple.AppKit 0x937827c0 -[NSOutlineView
drawRow:clipRect:] + 184
7 com.apple.AppKit 0x936dca50 -[NSTableView
drawRowIndexes:clipRect:] + 108
8 com.apple.AppKit 0x936dc0d8 -[NSTableView
drawRect:] + 1144
9 com.apple.AppKit 0x93670d10 -[NSView
_drawRect:clip:] + 2128
10 com.apple.AppKit 0x936702e0 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] + 404
11 com.apple.AppKit 0x9366f8b8 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 196
12 com.apple.AppKit 0x9366fe80 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 1676
13 com.apple.AppKit 0x9366fe80 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 1676
14 com.apple.AppKit 0x9366fe80 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 1676
15 com.apple.AppKit 0x9366fe80 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 1676
16 com.apple.AppKit 0x9366fe80 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 1676
17 com.apple.AppKit 0x9366fe80 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 1676
18 com.apple.AppKit 0x9366fe80 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 1676
19 com.apple.AppKit 0x9366fe80 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 1676
20 com.apple.AppKit 0x9366fe80 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 1676
21 com.apple.AppKit 0x9366fe80 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 1676
22 com.apple.AppKit 0x936904dc -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 192
23 com.apple.AppKit 0x9366952c -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
+ 384
24 com.apple.AppKit 0x9365e830 -[NSView
displayIfNeeded] + 248
25 com.apple.AppKit 0x9365e6a0 -[NSWindow
displayIfNeeded] + 180
When using NSZombie mechanism, it tells me that it has something to
do with _NSKeyForwardingGetBinding and NSArrayControllerTreeNode.
I am quite desperate about these crashes and hoping somebody already
has found a solution for this.
Cheers
Frank
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden