Backlight-for-XCode
Backlight-for-XCode copied to clipboard
Crash in Xcode 7.1
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
NSTextViewDidChangeSelectionNotification
ProductBuildVersion: 7B91b
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): -[DVTLayoutManager _fillGlyphHoleForCharacterRange:startGlyphIndex:desiredNumberOfCharacters:] *** attempted glyph generation while textStorage is editing. It is not valid to cause the layoutManager to do glyph generation while the textStorage is editing (ie the textStorage has been sent a beginEditing message without a matching endEditing.)
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff94d09e1a __exceptionPreprocess (in CoreFoundation)
1 0x00000001037b6c7e DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff91cb5dd4 objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff94d7065d +[NSException raise:format:] (in CoreFoundation)
4 0x00007fff974a7658 -[NSLayoutManager(NSPrivate) _fillGlyphHoleForCharacterRange:startGlyphIndex:desiredNumberOfCharacters:] (in UIFoundation)
5 0x00007fff974a9dfd _NSFastFillAllGlyphHolesForCharacterRange (in UIFoundation)
6 0x00007fff973cae89 -[NSLayoutManager glyphIndexForCharacterAtIndex:] (in UIFoundation)
7 0x00007fff974aa027 -[NSLayoutManager(NSPrivate) _primitiveGlyphRangeForCharacterRange:] (in UIFoundation)
8 0x00007fff973c9bd0 -[NSLayoutManager invalidateDisplayForCharacterRange:] (in UIFoundation)
9 0x0000000103c78639 -[DVTLayoutManager invalidateDisplayForCharacterRange:] (in DVTKit)
10 0x00007fff973d0662 -[NSLayoutManager removeTemporaryAttribute:forCharacterRange:] (in UIFoundation)
11 0x0000000110204bf5 -[AAABacklight moveBacklightInTextView:] at /Users/mexx/Library/Application Support/Alcatraz/Plug-ins/Backlight/Backlight/AAABacklight.m:367 (in Backlight)
12 0x00000001102051c4 -[AAABacklight adjustBacklight] at /Users/mexx/Library/Application Support/Alcatraz/Plug-ins/Backlight/Backlight/AAABacklight.m:431 (in Backlight)
13 0x0000000110204a4b -[AAABacklight updateBacklightViewWithTextView:] at /Users/mexx/Library/Application Support/Alcatraz/Plug-ins/Backlight/Backlight/AAABacklight.m:348 (in Backlight)
14 0x0000000110203cb6 -[AAABacklight backlightNotification:] at /Users/mexx/Library/Application Support/Alcatraz/Plug-ins/Backlight/Backlight/AAABacklight.m:236 (in Backlight)
15 0x00007fff94c95c9c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
16 0x00007fff94c95c2f ___CFXRegistrationPost_block_invoke (in CoreFoundation)
17 0x00007fff94c95ba7 _CFXRegistrationPost (in CoreFoundation)
18 0x00007fff94c95912 ___CFXNotificationPost_block_invoke (in CoreFoundation)
19 0x00007fff94c526d2 -[_CFXNotificationRegistrar find:object:observer:enumerator:] (in CoreFoundation)
20 0x00007fff94c51925 _CFXNotificationPost (in CoreFoundation)
21 0x00007fff944f10fa -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
22 0x000000010378ed45 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] (in DVTFoundation)
23 0x00007fff8ecce8d4 -[NSTextView(NSSharing) setSelectedRanges:affinity:stillSelecting:] (in AppKit)
24 0x0000000103c76aef -[DVTCompletingTextView setSelectedRanges:affinity:stillSelecting:] (in DVTKit)
25 0x0000000103c9d33c -[DVTSourceTextView setSelectedRanges:affinity:stillSelecting:] (in DVTKit)
26 0x0000000103c76a0e -[DVTCompletingTextView setSelectedRange:] (in DVTKit)
27 0x0000000103c9d1c9 -[DVTSourceTextView setSelectedRange:] (in DVTKit)
28 0x00007fff944f1835 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] (in Foundation)
29 0x00007fff94662843 _NSSetRangeValueAndNotify (in Foundation)
30 0x00007fff973c9fce -[NSLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] (in UIFoundation)
31 0x0000000103e023b4 -[DVTFoldingLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] (in DVTKit)
32 0x00007fff973ca204 -[NSLayoutManager processEditingForTextStorage:edited:range:changeInLength:invalidatedRange:] (in UIFoundation)
33 0x00007fff97412e80 -[NSTextStorage _notifyEdited:range:changeInLength:invalidatedRange:] (in UIFoundation)
34 0x00007fff9741295e -[NSTextStorage processEditing] (in UIFoundation)
35 0x0000000103c81ae4 -[DVTTextStorage processEditing] (in DVTKit)
36 0x00007fff97412593 -[NSTextStorage endEditing] (in UIFoundation)
37 0x0000000103c817a6 -[DVTTextStorage endEditing] (in DVTKit)
38 0x0000000103dbfeaa -[DVTTextStorage replaceCharactersInRange:withString:evenIfNotEditable:] (in DVTKit)
39 0x0000000103ce1a48 -[DVTTextStorage replaceCharactersInRange:withString:withUndoManager:] (in DVTKit)
40 0x0000000103e5ef4d -[DVTSourceTextView trimTrailingWhitespaceOnLineFromCharacterIndex:trimWhitespaceOnlyLine:] (in DVTKit)
41 0x0000000103e5f00b -[DVTSourceTextView trimTrailingWhitespaceOnLine:trimWhitespaceOnlyLine:] (in DVTKit)
42 0x0000000103e5f19f -[DVTSourceTextView trimTrailingWhitespaceOnLine:] (in DVTKit)
43 0x00007fff9457df8e __NSFireDelayedPerform (in Foundation)
44 0x00007fff94c87c84 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)
45 0x00007fff94c87913 __CFRunLoopDoTimer (in CoreFoundation)
46 0x00007fff94c8746a __CFRunLoopDoTimers (in CoreFoundation)
47 0x00007fff94c7e961 __CFRunLoopRun (in CoreFoundation)
48 0x00007fff94c7dfc8 CFRunLoopRunSpecific (in CoreFoundation)
49 0x00007fff9b05bd55 RunCurrentEventLoopInMode (in HIToolbox)
50 0x00007fff9b05bb8f ReceiveNextEventCommon (in HIToolbox)
51 0x00007fff9b05b9cf _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
52 0x00007fff8ebdcd96 _DPSNextEvent (in AppKit)
53 0x00007fff8ebdc1c5 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
54 0x0000000103d905fc -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
55 0x00007fff8ebd0d28 -[NSApplication run] (in AppKit)
56 0x00007fff8eb99fbe NSApplicationMain (in AppKit)
57 0x00007fff9c8ce5ad start (in libdyld.dylib)
abort() called
+1, while I finished editing Xcode Snippet and back to editor, Xcode crashed.
+1 for Xcode 7.2 Beta 3
:+1:
I have pulled requests! If you don't wanna wait the author, visit this https://github.com/wolfcon/Backlight-for-XCode