johnno1962 / GitDiff

Highlights deltas against git repo in Xcode
MIT License
891 stars 54 forks source link

`setObject:forKey:` passing in `nil` as key #23

Closed kylef closed 9 years ago

kylef commented 9 years ago

Crashes every-time I open a particular project.

Process:               Xcode [68117]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               6.1.1 (6611)
Build Info:            IDEFrameworks-6611000000000000~4
App Item ID:           497799835
App External ID:       810788292
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [68117]
User ID:               501

Date/Time:             2014-12-03 15:14:35.760 +0100
OS Version:            Mac OS X 10.10 (14A379a)
Report Version:        11
Anonymous UUID:        1D2EF07D-E215-6E5B-D9FB-06DD096ACE2D

Sleep/Wake UUID:       C9F69ED7-50A3-4B83-988C-80100956782C

Time Awake Since Boot: 140000 seconds
Time Since Wake:       150 seconds

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Application Specific Information:
ProductBuildVersion: 6A2008a
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** setObjectForKey: key cannot be nil
UserInfo: (null)
Hints: None
Backtrace:
  0  0x00007fff972f5634 __exceptionPreprocess (in CoreFoundation)
  1  0x000000010fc1f274 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
  2  0x00007fff8f6486de objc_exception_throw (in libobjc.A.dylib)
  3  0x00007fff971dd7e6 -[__NSDictionaryM setObject:forKey:] (in CoreFoundation)
  4  0x000000011f42fce5 -[GitFileDiffs initWithFilepath:] at /Users/kylef/Library/Application Support/Alcatraz/Plug-ins/GitDiff/Classes/GitDiff.mm:177 (in GitDiff)
  5  0x000000011f430636 -[NSView(GitDiffs) gitDiffs] at /Users/kylef/Library/Application Support/Alcatraz/Plug-ins/GitDiff/Classes/GitDiff.mm:282 (in GitDiff)
  6  0x000000011f432cfc -[NSScroller(GitDiff) gitdiff_drawKnobSlotInRect:highlight:] at /Users/kylef/Library/Application Support/Alcatraz/Plug-ins/GitDiff/Classes/GitDiff.mm:452 (in GitDiff)
  7  0x00007fff907db7fb -[NSScroller drawRect:] (in AppKit)
  8  0x00007fff90c061d3 -[NSSurface displayIfNeeded] (in AppKit)
  9  0x00007fff90cf5105 -[NSView _syncAndDisplaySurfaceIfNecessary:] (in AppKit)
 10  0x00007fff972b1cbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
 11  0x00007fff971a31b4 _CFXNotificationPost (in CoreFoundation)
 12  0x00007fff8b6d7ea1 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
 13  0x000000010fbffa7e -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)
 14  0x00007fff9073a480 -[NSView _sendSurfaceSyncNotificationAndFlushSurfacesWithRegionToDisplay:] (in AppKit)
 15  0x00007fff9070f073 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] (in AppKit)
 16  0x00007fff906ed2aa -[NSView displayIfNeeded] (in AppKit)
 17  0x00007fff90648d94 -[NSClipView _immediateScrollToPoint:] (in AppKit)
 18  0x00007fff90646c8b -[NSClipView scrollToPoint:] (in AppKit)
 19  0x00007fff90769a3e -[NSScrollView scrollClipView:toPoint:] (in AppKit)
 20  0x00007fff9064b8ca -[NSClipView _scrollTo:animateScroll:flashScrollerKnobs:] (in AppKit)
 21  0x00007fff906f5d66 -[NSClipView _scrollRectToVisible:fromView:animateScroll:flashScrollerKnobs:] (in AppKit)
 22  0x0000000110238890 -[DVTSourceTextView scrollRectToVisible:] (in DVTKit)
 23  0x00007fff907f6266 -[NSTextView(NSPrivate) _centeredScrollRectToVisible:forceCenter:] (in AppKit)
 24  0x0000000110096b6a -[DVTSourceTextView _centeredScrollRectToVisible:forceCenter:] (in DVTKit)
 25  0x00007fff907f5cc7 -[NSTextView(NSPrivate) _scrollRangeToVisible:forceCenter:] (in AppKit)
 26  0x00000001100969e5 -[DVTSourceTextView scrollRangeToVisible:animate:] (in DVTKit)
 27  0x00007fff8e0e5469 -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] (in UIFoundation)
 28  0x00007fff8e0e372e -[NSLayoutManager(NSPrivate) _recalculateUsageForTextContainerAtIndex:] (in UIFoundation)
 29  0x00007fff8e0e379e -[NSLayoutManager(NSPrivate) _validatedStoredUsageForTextContainerAtIndex:] (in UIFoundation)
 30  0x00007fff8e037787 -[NSLayoutManager usedRectForTextContainer:] (in UIFoundation)
 31  0x00007fff90c95ccf -[NSTextView(NSPrivate) _ensureLayoutCompleteForVisibleRectWithExtensionFactor:minimumExtensionDistance:repetitions:] (in AppKit)
 32  0x00007fff906e97aa -[NSTextView setNeedsDisplayInRect:avoidAdditionalLayout:] (in AppKit)
 33  0x000000011006703c -[DVTCompletingTextView setNeedsDisplayInRect:avoidAdditionalLayout:] (in DVTKit)
 34  0x00007fff8e0348c1 -[NSLayoutManager _primitiveInvalidateDisplayForGlyphRange:] (in UIFoundation)
 35  0x00007fff8e035219 -[NSLayoutManager invalidateDisplayForCharacterRange:] (in UIFoundation)
 36  0x00000001100699b0 -[DVTLayoutManager invalidateDisplayForCharacterRange:] (in DVTKit)
 37  0x00007fff8e0dfc92 -[NSLayoutManager(NSPrivate) _fillLayoutHoleForCharacterRange:desiredNumberOfLines:isSoft:] (in UIFoundation)
 38  0x00007fff8e0e870c _NSFastFillAllLayoutHolesForGlyphRange (in UIFoundation)
 39  0x00007fff90c95952 -[NSTextView(NSPrivate) _ensureLayoutCompleteForRect:withExtensionFactor:minimumExtensionDistance:repetitions:] (in AppKit)
 40  0x00007fff90c62549 -[NSTextView prepareContentInRect:] (in AppKit)
 41  0x0000000110232c10 -[DVTSourceTextView prepareContentInRect:] (in DVTKit)
 42  0x00007fff9075bf03 -[NSView _updateSuggestedContentRect] (in AppKit)
 43  0x00007fff9076aac9 -[NSView _updateSuggestedContentRectForVisibleRectChange] (in AppKit)
 44  0x00007fff9076a92f -[NSScrollView(NSRulerSupport) _handleBoundsChangeForSubview:] (in AppKit)
 45  0x00007fff9076a78d -[NSView _postBoundsChangeNotification] (in AppKit)
 46  0x00007fff9076a5ca -[NSView translateOriginToPoint:] (in AppKit)
 47  0x00007fff90647511 -[NSClipView _immediateScrollToPoint:] (in AppKit)
 48  0x00007fff90646c8b -[NSClipView scrollToPoint:] (in AppKit)
 49  0x00007fff90769a3e -[NSScrollView scrollClipView:toPoint:] (in AppKit)
 50  0x00007fff9064b8ca -[NSClipView _scrollTo:animateScroll:flashScrollerKnobs:] (in AppKit)
 51  0x00007fff9064b050 -[NSClipView _reflectDocumentViewFrameChange] (in AppKit)
 52  0x00007fff90614ae1 -[NSView _postFrameChangeNotification] (in AppKit)
 53  0x00007fff9061c906 -[NSView setFrameSize:] (in AppKit)
 54  0x00007fff9076f674 -[NSTextView(NSPrivate) _setFrameSize:forceScroll:] (in AppKit)
 55  0x00000001100904bc -[DVTSourceTextView setFrameSize:] (in DVTKit)
 56  0x00007fff906ea372 -[NSTextView setConstrainedFrameSize:] (in AppKit)
 57  0x00007fff8e0e3c94 -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] (in UIFoundation)
 58  0x00007fff8e0e372e -[NSLayoutManager(NSPrivate) _recalculateUsageForTextContainerAtIndex:] (in UIFoundation)
 59  0x00007fff8e035769 -[NSLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] (in UIFoundation)
 60  0x00000001101e4a55 -[DVTFoldingLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] (in DVTKit)
 61  0x00007fff8e057481 -[NSTextStorage _notifyEdited:range:changeInLength:invalidatedRange:] (in UIFoundation)
 62  0x00007fff8e056f83 -[NSTextStorage processEditing] (in UIFoundation)
 63  0x0000000110073324 -[DVTTextStorage processEditing] (in DVTKit)
 64  0x00007fff8e056e88 -[NSTextStorage edited:range:changeInLength:] (in UIFoundation)
 65  0x00007fff8b7515a3 _NSSetUnsignedLongLongValueAndNotify (in Foundation)
 66  0x000000010fa9d906 -[NSObject(DVTPropertyLinking) dvt_addObserverWithName:toKeyPath:ofObject:block:] (in DVTFoundation)
 67  0x0000000111284ff8 -[IDEFileTextSettings(DVTSourceTextViewAdditions) registerObserversWithSourceTextView:textStorage:] (in IDEKit)
 68  0x0000000119a94b1c -[IDESourceCodeEditor _applyPerFileTextSettings] (in IDESourceEditor)
 69  0x0000000119afbc61 -[IDESourceCodeEditor _doInitialSetup] (in IDESourceEditor)
 70  0x0000000119a948d9 -[IDESourceCodeEditor contentViewDidCompleteLayout] (in IDESourceEditor)
 71  0x0000000119a9467b -[IDESourceCodeEditorContainerView didCompleteLayout] (in IDESourceEditor)
 72  0x0000000110064959 +[DVTLayoutView_ML _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:] (in DVTKit)
 73  0x0000000110e1b354 __91-[IDEEditorContext _openNavigableItem:documentExtension:document:shouldInstallEditorBlock:]_block_invoke (in IDEKit)
 74  0x0000000110c6e01b -[IDEEditorContext _performBlockInsideReentrantGuard:] (in IDEKit)
 75  0x0000000110c6de6e -[IDEEditorContext _openNavigableItem:documentExtension:document:shouldInstallEditorBlock:] (in IDEKit)
 76  0x0000000110ca153d -[IDEEditorContext _openNavigableItem:withContentsOfURL:documentExtension:shouldInstallEditorBlock:] (in IDEKit)
 77  0x0000000110e1cce0 -[IDEEditorContext _notifyDelegateAndOpenNavigableItem:withContentsURL:documentExtensionIdentifier:locationToSelect:annotationRepresentedObject:stateDictionary:annotationWantsIndicatorAnimation:exploreAnnotationRepresentedObject:highlightSelection:skipSubDocumentNavigationUnlessEditorIsReplaced:] (in IDEKit)
 78  0x0000000110e1e74b -[IDEEditorContext _notifyDelegateAndOpenEditorHistoryItem:previousHistoryItemOrNil:skipSubDocumentNavigationUnlessEditorIsReplaced:] (in IDEKit)
 79  0x0000000110e1a2a7 -[IDEEditorContext _openEditorHistoryItem:previousHistoryItemOrNil:skipSubDocumentNavigationUnlessEditorIsReplaced:] (in IDEKit)
 80  0x0000000110c9f9fe -[IDEEditorContext _openEditorHistoryItem:updateHistory:] (in IDEKit)
 81  0x0000000110c9ec01 -[IDEEditorContext _openEditorHistoryItemFromStateSaving:] (in IDEKit)
 82  0x000000011108a364 __102-[IDEEditorMultipleContext _setStateSavingStateDictionaries:selected:geometry:excludingEditorContext:]_block_invoke (in IDEKit)
 83  0x00000001110898c6 __102-[IDEEditorMultipleContext _setEditorContextProperties:selectedProperty:geometry:propertySetterBlock:]_block_invoke (in IDEKit)
 84  0x00007fff97216365 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
 85  0x00007fff97215a69 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation)
 86  0x0000000110cb26c0 -[IDEEditorMultipleContext _setEditorContextProperties:selectedProperty:geometry:propertySetterBlock:] (in IDEKit)
 87  0x0000000110cb22d5 -[IDEEditorMultipleContext _setStateSavingStateDictionaries:selected:geometry:excludingEditorContext:] (in IDEKit)
 88  0x0000000110c9ad47 -[IDEEditorGeniusMode _setPersistentRepresentation:forIdentifier:excludingEditorContext:] (in IDEKit)
 89  0x0000000110c9a993 -[IDEEditorGeniusMode _setPersistentRepresentation:forIdentifier:] (in IDEKit)
 90  0x00000001110e80be __60-[IDEEditorModeViewController _setPersistentRepresentation:]_block_invoke (in IDEKit)
 91  0x00007fff9722a516 __53-[__NSArrayI enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation)
 92  0x00007fff9722a449 -[__NSArrayI enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation)
 93  0x0000000110c9a8ce -[IDEEditorModeViewController _setPersistentRepresentation:] (in IDEKit)
 94  0x0000000110c9a6d1 -[IDEEditorModeViewController revertStateWithDictionary:] (in IDEKit)
 95  0x0000000110c9a5bc -[IDEEditorGeniusMode revertStateWithDictionary:] (in IDEKit)
 96  0x000000010fa9f97b -[DVTStateToken _pullStateFromDictionary:] (in DVTFoundation)
 97  0x000000010fa9f79d -[DVTStateToken pullStateFromRepository] (in DVTFoundation)
 98  0x0000000110c7af18 -[IDEViewController revertState] (in IDEKit)
 99  0x0000000110c54bc0 -[IDEEditorArea _updateStateSavingRegistrations] (in IDEKit)
100  0x0000000110c7d48f -[IDEEditorArea _refreshEditorContextsAndPreserveCurrentEditorHistoryStack:] (in IDEKit)
101  0x0000000110e59d0a __31-[IDEEditorArea viewDidInstall]_block_invoke (in IDEKit)
102  0x000000010fc301ab __73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]_block_invoke183 (in DVTFoundation)
103  0x000000010fbabd78 DVTInvokeWithStrongOwnership (in DVTFoundation)
104  0x000000010fa5f5fc -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation)
105  0x00007fff8b6dec73 NSKeyValueNotifyObserver (in Foundation)
106  0x00007fff8b6dde48 NSKeyValueDidChange (in Foundation)
107  0x00007fff8b6e29ad -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] (in Foundation)
108  0x0000000110663a12 __81-[IDEWorkspace _finishLoadingAsynchronously:shouldUpgradeFromSimpleFilesFocused:]_block_invoke (in IDEFoundation)
109  0x0000000110663c6a __81-[IDEWorkspace _finishLoadingAsynchronously:shouldUpgradeFromSimpleFilesFocused:]_block_invoke321 (in IDEFoundation)
110  0x00007fff8b8122e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ (in Foundation)
111  0x00007fff8b6fe905 -[NSBlockOperation main] (in Foundation)
112  0x00007fff8b6dd59c -[__NSOperationInternal _start:] (in Foundation)
113  0x00007fff8b6dd1a3 __NSOQSchedule_f (in Foundation)
114  0x00007fff90284c13 _dispatch_client_callout (in libdispatch.dylib)
115  0x00007fff90290cbf _dispatch_main_queue_callback_4CF (in libdispatch.dylib)
116  0x00007fff97248c59 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ (in CoreFoundation)
117  0x00007fff972052ef __CFRunLoopRun (in CoreFoundation)
118  0x00007fff97204838 CFRunLoopRunSpecific (in CoreFoundation)
119  0x00007fff87d5d43f RunCurrentEventLoopInMode (in HIToolbox)
120  0x00007fff87d5d1ba ReceiveNextEventCommon (in HIToolbox)
121  0x00007fff87d5cffb _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
122  0x00007fff905e8911 _DPSNextEvent (in AppKit)
123  0x00007fff905e80c0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
124  0x00000001101876fd -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
125  0x00007fff905dc063 -[NSApplication run] (in AppKit)
126  0x00007fff905c7524 NSApplicationMain (in AppKit)
127  0x00007fff8f37c5c9 start (in libdyld.dylib)
128  0x0000000000000001

abort() called

Application Specific Signatures:
NSInvalidArgumentException

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff972f564c __exceptionPreprocess + 172
1   DVTFoundation                       0x000000010fc1f274 DVTFailureHintExceptionPreprocessor + 194
2   libobjc.A.dylib                     0x00007fff8f6486de objc_exception_throw + 43
3   CoreFoundation                      0x00007fff971dd7e6 -[__NSDictionaryM setObject:forKey:] + 1174
4   GitDiff                             0x000000011f42fce5 -[GitFileDiffs initWithFilepath:] + 2325
5   GitDiff                             0x000000011f430636 -[NSView(GitDiffs) gitDiffs] + 534
6   GitDiff                             0x000000011f432cfc -[NSScroller(GitDiff) gitdiff_drawKnobSlotInRect:highlight:] + 156
7   AppKit                              0x00007fff907db7fb -[NSScroller drawRect:] + 1843
8   AppKit                              0x00007fff90c061d3 -[NSSurface displayIfNeeded] + 246
9   AppKit                              0x00007fff90cf5105 -[NSView _syncAndDisplaySurfaceIfNecessary:] + 371
10  CoreFoundation                      0x00007fff972b1cbc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
11  CoreFoundation                      0x00007fff971a31b4 _CFXNotificationPost + 3140
12  Foundation                          0x00007fff8b6d7ea1 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
13  DVTFoundation                       0x000000010fbffa7e -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] + 125
14  AppKit                              0x00007fff9073a480 -[NSView _sendSurfaceSyncNotificationAndFlushSurfacesWithRegionToDisplay:] + 87
15  AppKit                              0x00007fff9070f073 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4753
16  AppKit                              0x00007fff906ed2aa -[NSView displayIfNeeded] + 1876
17  AppKit                              0x00007fff90648d94 -[NSClipView _immediateScrollToPoint:] + 8290
18  AppKit                              0x00007fff90646c8b -[NSClipView scrollToPoint:] + 241
19  AppKit                              0x00007fff90769a3e -[NSScrollView scrollClipView:toPoint:] + 75
20  AppKit                              0x00007fff9064b8ca -[NSClipView _scrollTo:animateScroll:flashScrollerKnobs:] + 1682
21  AppKit                              0x00007fff906f5d66 -[NSClipView _scrollRectToVisible:fromView:animateScroll:flashScrollerKnobs:] + 567
22  DVTKit                              0x0000000110238890 -[DVTSourceTextView scrollRectToVisible:] + 316
23  AppKit                              0x00007fff907f6266 -[NSTextView(NSPrivate) _centeredScrollRectToVisible:forceCenter:] + 1319
24  DVTKit                              0x0000000110096b6a -[DVTSourceTextView _centeredScrollRectToVisible:forceCenter:] + 274
25  AppKit                              0x00007fff907f5cc7 -[NSTextView(NSPrivate) _scrollRangeToVisible:forceCenter:] + 2134
26  DVTKit                              0x00000001100969e5 -[DVTSourceTextView scrollRangeToVisible:animate:] + 404
27  UIFoundation                        0x00007fff8e0e5469 -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] + 7159
28  UIFoundation                        0x00007fff8e0e372e -[NSLayoutManager(NSPrivate) _recalculateUsageForTextContainerAtIndex:] + 2745
29  UIFoundation                        0x00007fff8e0e379e -[NSLayoutManager(NSPrivate) _validatedStoredUsageForTextContainerAtIndex:] + 82
30  UIFoundation                        0x00007fff8e037787 -[NSLayoutManager usedRectForTextContainer:] + 122
31  AppKit                              0x00007fff90c95ccf -[NSTextView(NSPrivate) _ensureLayoutCompleteForVisibleRectWithExtensionFactor:minimumExtensionDistance:repetitions:] + 662
32  AppKit                              0x00007fff906e97aa -[NSTextView setNeedsDisplayInRect:avoidAdditionalLayout:] + 2242
33  DVTKit                              0x000000011006703c -[DVTCompletingTextView setNeedsDisplayInRect:avoidAdditionalLayout:] + 91
34  UIFoundation                        0x00007fff8e0348c1 -[NSLayoutManager _primitiveInvalidateDisplayForGlyphRange:] + 5320
35  UIFoundation                        0x00007fff8e035219 -[NSLayoutManager invalidateDisplayForCharacterRange:] + 441
36  DVTKit                              0x00000001100699b0 -[DVTLayoutManager invalidateDisplayForCharacterRange:] + 874
37  UIFoundation                        0x00007fff8e0dfc92 -[NSLayoutManager(NSPrivate) _fillLayoutHoleForCharacterRange:desiredNumberOfLines:isSoft:] + 4946
38  UIFoundation                        0x00007fff8e0e870c _NSFastFillAllLayoutHolesForGlyphRange + 1493
39  AppKit                              0x00007fff90c95952 -[NSTextView(NSPrivate) _ensureLayoutCompleteForRect:withExtensionFactor:minimumExtensionDistance:repetitions:] + 515
40  AppKit                              0x00007fff90c62549 -[NSTextView prepareContentInRect:] + 203
41  DVTKit                              0x0000000110232c10 -[DVTSourceTextView prepareContentInRect:] + 78
42  AppKit                              0x00007fff9075bf03 -[NSView _updateSuggestedContentRect] + 777
43  AppKit                              0x00007fff9076aac9 -[NSView _updateSuggestedContentRectForVisibleRectChange] + 219
44  AppKit                              0x00007fff9076a92f -[NSScrollView(NSRulerSupport) _handleBoundsChangeForSubview:] + 341
45  AppKit                              0x00007fff9076a78d -[NSView _postBoundsChangeNotification] + 143
46  AppKit                              0x00007fff9076a5ca -[NSView translateOriginToPoint:] + 287
47  AppKit                              0x00007fff90647511 -[NSClipView _immediateScrollToPoint:] + 2015
48  AppKit                              0x00007fff90646c8b -[NSClipView scrollToPoint:] + 241
49  AppKit                              0x00007fff90769a3e -[NSScrollView scrollClipView:toPoint:] + 75
50  AppKit                              0x00007fff9064b8ca -[NSClipView _scrollTo:animateScroll:flashScrollerKnobs:] + 1682
51  AppKit                              0x00007fff9064b050 -[NSClipView _reflectDocumentViewFrameChange] + 128
52  AppKit                              0x00007fff90614ae1 -[NSView _postFrameChangeNotification] + 206
53  AppKit                              0x00007fff9061c906 -[NSView setFrameSize:] + 2059
54  AppKit                              0x00007fff9076f674 -[NSTextView(NSPrivate) _setFrameSize:forceScroll:] + 735
55  DVTKit                              0x00000001100904bc -[DVTSourceTextView setFrameSize:] + 45
56  AppKit                              0x00007fff906ea372 -[NSTextView setConstrainedFrameSize:] + 642
57  UIFoundation                        0x00007fff8e0e3c94 -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] + 1058
58  UIFoundation                        0x00007fff8e0e372e -[NSLayoutManager(NSPrivate) _recalculateUsageForTextContainerAtIndex:] + 2745
59  UIFoundation                        0x00007fff8e035769 -[NSLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] + 753
60  DVTKit                              0x00000001101e4a55 -[DVTFoldingLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] + 1003
61  UIFoundation                        0x00007fff8e057481 -[NSTextStorage _notifyEdited:range:changeInLength:invalidatedRange:] + 152
62  UIFoundation                        0x00007fff8e056f83 -[NSTextStorage processEditing] + 198
63  DVTKit                              0x0000000110073324 -[DVTTextStorage processEditing] + 82
64  UIFoundation                        0x00007fff8e056e88 -[NSTextStorage edited:range:changeInLength:] + 312
65  Foundation                          0x00007fff8b7515a3 _NSSetUnsignedLongLongValueAndNotify + 259
66  DVTFoundation                       0x000000010fa9d906 -[NSObject(DVTPropertyLinking) dvt_addObserverWithName:toKeyPath:ofObject:block:] + 442
67  IDEKit                              0x0000000111284ff8 -[IDEFileTextSettings(DVTSourceTextViewAdditions) registerObserversWithSourceTextView:textStorage:] + 472
68  IDESourceEditor                     0x0000000119a94b1c -[IDESourceCodeEditor _applyPerFileTextSettings] + 142
69  IDESourceEditor                     0x0000000119afbc61 -[IDESourceCodeEditor _doInitialSetup] + 482
70  IDESourceEditor                     0x0000000119a948d9 -[IDESourceCodeEditor contentViewDidCompleteLayout] + 596
71  IDESourceEditor                     0x0000000119a9467b -[IDESourceCodeEditorContainerView didCompleteLayout] + 67
72  DVTKit                              0x0000000110064959 +[DVTLayoutView_ML _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:] + 320
73  IDEKit                              0x0000000110e1b354 __91-[IDEEditorContext _openNavigableItem:documentExtension:document:shouldInstallEditorBlock:]_block_invoke + 1665
74  IDEKit                              0x0000000110c6e01b -[IDEEditorContext _performBlockInsideReentrantGuard:] + 132
75  IDEKit                              0x0000000110c6de6e -[IDEEditorContext _openNavigableItem:documentExtension:document:shouldInstallEditorBlock:] + 3521
76  IDEKit                              0x0000000110ca153d -[IDEEditorContext _openNavigableItem:withContentsOfURL:documentExtension:shouldInstallEditorBlock:] + 1001
77  IDEKit                              0x0000000110e1cce0 -[IDEEditorContext _notifyDelegateAndOpenNavigableItem:withContentsURL:documentExtensionIdentifier:locationToSelect:annotationRepresentedObject:stateDictionary:annotationWantsIndicatorAnimation:exploreAnnotationRepresentedObject:highlightSelection:skipSubDocumentNavigationUnlessEditorIsReplaced:] + 3652
78  IDEKit                              0x0000000110e1e74b -[IDEEditorContext _notifyDelegateAndOpenEditorHistoryItem:previousHistoryItemOrNil:skipSubDocumentNavigationUnlessEditorIsReplaced:] + 955
79  IDEKit                              0x0000000110e1a2a7 -[IDEEditorContext _openEditorHistoryItem:previousHistoryItemOrNil:skipSubDocumentNavigationUnlessEditorIsReplaced:] + 381
80  IDEKit                              0x0000000110c9f9fe -[IDEEditorContext _openEditorHistoryItem:updateHistory:] + 346
81  IDEKit                              0x0000000110c9ec01 -[IDEEditorContext _openEditorHistoryItemFromStateSaving:] + 448
82  IDEKit                              0x000000011108a364 __102-[IDEEditorMultipleContext _setStateSavingStateDictionaries:selected:geometry:excludingEditorContext:]_block_invoke + 341
83  IDEKit                              0x00000001110898c6 __102-[IDEEditorMultipleContext _setEditorContextProperties:selectedProperty:geometry:propertySetterBlock:]_block_invoke + 139
84  CoreFoundation                      0x00007fff97216365 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 133
85  CoreFoundation                      0x00007fff97215a69 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 313
86  IDEKit                              0x0000000110cb26c0 -[IDEEditorMultipleContext _setEditorContextProperties:selectedProperty:geometry:propertySetterBlock:] + 881
87  IDEKit                              0x0000000110cb22d5 -[IDEEditorMultipleContext _setStateSavingStateDictionaries:selected:geometry:excludingEditorContext:] + 358
88  IDEKit                              0x0000000110c9ad47 -[IDEEditorGeniusMode _setPersistentRepresentation:forIdentifier:excludingEditorContext:] + 707
89  IDEKit                              0x0000000110c9a993 -[IDEEditorGeniusMode _setPersistentRepresentation:forIdentifier:] + 101
90  IDEKit                              0x00000001110e80be __60-[IDEEditorModeViewController _setPersistentRepresentation:]_block_invoke + 84
91  CoreFoundation                      0x00007fff9722a516 __53-[__NSArrayI enumerateObjectsWithOptions:usingBlock:]_block_invoke + 70
92  CoreFoundation                      0x00007fff9722a449 -[__NSArrayI enumerateObjectsWithOptions:usingBlock:] + 297
93  IDEKit                              0x0000000110c9a8ce -[IDEEditorModeViewController _setPersistentRepresentation:] + 201
94  IDEKit                              0x0000000110c9a6d1 -[IDEEditorModeViewController revertStateWithDictionary:] + 170
95  IDEKit                              0x0000000110c9a5bc -[IDEEditorGeniusMode revertStateWithDictionary:] + 72
96  DVTFoundation                       0x000000010fa9f97b -[DVTStateToken _pullStateFromDictionary:] + 327
97  DVTFoundation                       0x000000010fa9f79d -[DVTStateToken pullStateFromRepository] + 168
98  IDEKit                              0x0000000110c7af18 -[IDEViewController revertState] + 48
99  IDEKit                              0x0000000110c54bc0 -[IDEEditorArea _updateStateSavingRegistrations] + 442
100 IDEKit                              0x0000000110c7d48f -[IDEEditorArea _refreshEditorContextsAndPreserveCurrentEditorHistoryStack:] + 705
101 IDEKit                              0x0000000110e59d0a __31-[IDEEditorArea viewDidInstall]_block_invoke + 429
102 DVTFoundation                       0x000000010fc301ab __73-[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:]_block_invoke183 + 83
103 DVTFoundation                       0x000000010fbabd78 DVTInvokeWithStrongOwnership + 75
104 DVTFoundation                       0x000000010fa5f5fc -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] + 328
105 Foundation                          0x00007fff8b6dec73 NSKeyValueNotifyObserver + 382
106 Foundation                          0x00007fff8b6dde48 NSKeyValueDidChange + 463
107 Foundation                          0x00007fff8b6e29ad -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 118
108 IDEFoundation                       0x0000000110663a12 __81-[IDEWorkspace _finishLoadingAsynchronously:shouldUpgradeFromSimpleFilesFocused:]_block_invoke + 321
109 IDEFoundation                       0x0000000110663c6a __81-[IDEWorkspace _finishLoadingAsynchronously:shouldUpgradeFromSimpleFilesFocused:]_block_invoke321 + 59
110 Foundation                          0x00007fff8b8122e8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 7
111 Foundation                          0x00007fff8b6fe905 -[NSBlockOperation main] + 97
112 Foundation                          0x00007fff8b6dd59c -[__NSOperationInternal _start:] + 653
113 Foundation                          0x00007fff8b6dd1a3 __NSOQSchedule_f + 184
114 libdispatch.dylib                   0x00007fff90284c13 _dispatch_client_callout + 8
115 libdispatch.dylib                   0x00007fff90290cbf _dispatch_main_queue_callback_4CF + 861
116 CoreFoundation                      0x00007fff97248c59 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
117 CoreFoundation                      0x00007fff972052ef __CFRunLoopRun + 2159
118 CoreFoundation                      0x00007fff97204838 CFRunLoopRunSpecific + 296
119 HIToolbox                           0x00007fff87d5d43f RunCurrentEventLoopInMode + 235
120 HIToolbox                           0x00007fff87d5d1ba ReceiveNextEventCommon + 431
121 HIToolbox                           0x00007fff87d5cffb _BlockUntilNextEventMatchingListInModeWithFilter + 71
122 AppKit                              0x00007fff905e8911 _DPSNextEvent + 964
123 AppKit                              0x00007fff905e80c0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
124 DVTKit                              0x00000001101876fd -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 237
125 AppKit                              0x00007fff905dc063 -[NSApplication run] + 594
126 AppKit                              0x00007fff905c7524 NSApplicationMain + 1832
127 libdyld.dylib                       0x00007fff8f37c5c9 start + 1
128 ???                                 0x0000000000000001 0x0 + 1
johnno1962 commented 9 years ago

Hi Kyle, thanks for the log. This is just weird. The only place a dictionary is assigned to the value assigned is self. Could only be a buffer overflow does this project have a line longer than 10000 characters?

243: gitDiffPlugin.diffsByFile[path] = self;

johnno1962 commented 9 years ago

This may be fixed finally.. https://github.com/johnno1962/GitDiff/commit/e161a12d033ca743dbd64803324c33a89307aad5