NSOutlineView expansion limit
NSOutlineView expansion limit
- Subject: NSOutlineView expansion limit
- From: John Nairn <email@hidden>
- Date: Sun, 9 Dec 2007 11:59:22 -0800
Is there a limit on the number of levels allowed in an outline view?
Below is beginning of a crash log after option-clicking to fully
expand an outline that happened to have 115 levels (normally not a
useful outline, but this case was a list on someone's ancestors back
to Julius Caesar). The NSOutlineView expansion steps in lines 21&22
and 23&24, were repeated 82 times before entering the crash:
Date/Time: 2007-11-27 12:21:30.083 -0800
OS Version: Mac OS X 10.5.1 (9B18)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 0
Thread 0 Crashed:
0 libSystem.B.dylib 0xffff07c7 __memcpy + 39
1 libobjc.A.dylib 0x9661b13e
fixupSelectorsInMethodList + 99
2 libobjc.A.dylib 0x9661c426 _class_getMethodNoSuper
+ 150
3 libobjc.A.dylib 0x966124fe
_class_lookupMethodAndLoadCache + 182
4 libobjc.A.dylib 0x96622736 objc_msgSend + 102
5 libobjc.A.dylib 0x96612499
_class_lookupMethodAndLoadCache + 81
6 libobjc.A.dylib 0x96622736 objc_msgSend + 102
7 com.apple.CoreFoundation 0x92480281
__CFStringChangeSizeMultiple + 1985
8 com.apple.CoreFoundation 0x92480996 __CFStringAppendBytes +
758
9 com.apple.CoreFoundation 0x92489b3c
_CFStringAppendFormatAndArgumentsAux + 2220
10 com.apple.CoreFoundation 0x9248b548
_CFStringCreateWithFormatAndArgumentsAux + 120
11 com.apple.Foundation 0x926a9b26 -[NSPlaceholderString
initWithFormat:locale:arguments:] + 86
12 com.apple.Foundation 0x926a9ab8 +[NSString
stringWithFormat:] + 88
13 com.apple.CoreFoundation 0x924e4ea8 +[NSObject
allocWithZone:] + 216
14 com.apple.CoreFoundation 0x924e4dca +[NSObject alloc] + 42
15 com.apple.CoreFoundation 0x924d18fd -[NSArray
objectEnumerator] + 45
16 com.geditcom.GEDitCOMII 0x0005189c -[GEDCOMObject
findChild:remove:] + 42
17 com.geditcom.GEDitCOMII 0x00024df8 -[INDIRecord
numberOfParents] + 44
18 com.geditcom.GEDitCOMII 0x0005554b -[AncestorController
outlineView:isItemExpandable:] + 26
19 com.apple.AppKit 0x92d769b7 -[NSOutlineView
_dataSourceIsItemExpandable:] + 125
20 com.apple.AppKit 0x92d76832
loadItemEntryLazyInfoIfNecessary + 418
21 com.apple.AppKit 0x92d773c7 -[NSOutlineView
_expandItemEntryChildren:atStartLevel:expandChildren:andInvalidate:]
+ 462
22 com.apple.AppKit 0x92ecc9a3 -[NSOutlineView
_expandItemEntry:expandChildren:startLevel:] + 1439
23 com.apple.AppKit 0x92d7755a -[NSOutlineView
_expandItemEntryChildren:atStartLevel:expandChildren:andInvalidate:]
+ 865
24 com.apple.AppKit 0x92ecc9a3 -[NSOutlineView
_expandItemEntry:expandChildren:startLevel:] + 1439
---------------
John Nairn (1-541-737-4265, FAX:1-541-737-3385)
Professor and Richardson Chair
Web Page: http://woodscience.oregonstate.edu/faculty/nairn.php (under
construction)
FEA/MPM Web Page: http://oregonstate.edu/~nairnj
_______________________________________________
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