abentele / Erbele

Erbele is a lightweight but powerful text editor for macOS.

Home Page:https://apps.apple.com/de/app/erbele/id1595456360?mt=12

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash: "attempted glyph generation while textStorage is editing"

abentele opened this issue · comments

2017-01-28 21:16:37.081802 Fraise[16578:7587296] [General] -[FRALayoutManager _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.)
2017-01-28 21:16:37.085807 Fraise[16578:7587296] [General] (
	0   CoreFoundation                      0x00007fff8a02d0db __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fff9ecbea2a objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff8a0aa9c5 +[NSException raise:format:] + 197
	3   UIFoundation                        0x00007fff9cb861fc -[NSLayoutManager(NSPrivate) _fillGlyphHoleForCharacterRange:startGlyphIndex:desiredNumberOfCharacters:] + 492
	4   UIFoundation                        0x00007fff9cb88c92 _NSFastFillAllGlyphHolesForCharacterRange + 735
	5   UIFoundation                        0x00007fff9caa0337 -[NSLayoutManager glyphIndexForCharacterAtIndex:] + 54
	6   UIFoundation                        0x00007fff9cb88ec1 -[NSLayoutManager(NSPrivate) _primitiveGlyphRangeForCharacterRange:] + 112
	7   UIFoundation                        0x00007fff9ca9f24a -[NSLayoutManager invalidateDisplayForCharacterRange:] + 440
	8   UIFoundation                        0x00007fff9caa5c4d -[NSLayoutManager removeTemporaryAttribute:forCharacterRange:] + 514
	9   Fraise                              0x000000010005a89b -[FRASyntaxColouring removeColoursFromRange:] + 75
	10  Fraise                              0x000000010005b933 -[FRASyntaxColouring recolourRange:] + 1939
	11  Fraise                              0x000000010005b148 -[FRASyntaxColouring pageRecolourTextView:] + 1528
	12  Fraise                              0x000000010003acb7 -[FRALineNumbers updateLineNumbersForClipView:checkWidth:recolour:] + 6407
	13  Fraise                              0x0000000100039040 -[FRALineNumbers viewBoundsDidChange:] + 368
	14  CoreFoundation                      0x00007fff89fb99fc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
	15  CoreFoundation                      0x00007fff89fb98fb _CFXRegistrationPost + 427
	16  CoreFoundation                      0x00007fff89fb9662 ___CFXNotificationPost_block_invoke + 50
	17  CoreFoundation                      0x00007fff89f77d12 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 2018
	18  CoreFoundation                      0x00007fff89f76cfb _CFXNotificationPost + 667
	19  Foundation                          0x00007fff8b9baa37 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
	20  AppKit                              0x00007fff87bbaf72 -[NSView _postBoundsChangeNotification] + 175
	21  AppKit                              0x00007fff87bbae58 -[NSView translateOriginToPoint:] + 287
	22  AppKit                              0x00007fff87bb94ba -[NSClipView _immediateScrollToPoint:] + 1741
	23  AppKit                              0x00007fff87bb8d44 -[NSClipView scrollToPoint:] + 243
	24  AppKit                              0x00007fff87bf5cf9 -[NSScrollView scrollClipView:toPoint:] + 78
	25  AppKit                              0x00007fff87b9e6ef -[NSClipView _scrollTo:animateScroll:flashScrollerKnobs:] + 1652
	26  AppKit                              0x00007fff87bf5c71 -[NSClipView _scrollPoint:fromView:] + 86
	27  AppKit                              0x00007fff87bf5bf5 -[NSView scrollPoint:] + 38
	28  UIFoundation                        0x00007fff9cb8d81f -[NSLayoutManager(NSPrivate) _resizeTextViewForTextContainer:] + 7388
	29  UIFoundation                        0x00007fff9cb8ba04 -[NSLayoutManager(NSPrivate) _recalculateUsageForTextContainerAtIndex:] + 2757
	30  UIFoundation                        0x00007fff9ca9b707 _enableTextViewResizing + 231
	31  UIFoundation                        0x00007fff9ca9f756 -[NSLayoutManager textStorage:edited:range:changeInLength:invalidatedRange:] + 569
	32  UIFoundation                        0x00007fff9ca9f7aa -[NSLayoutManager processEditingForTextStorage:edited:range:changeInLength:invalidatedRange:] + 47
	33  UIFoundation                        0x00007fff9caf021f -[NSTextStorage _notifyEdited:range:changeInLength:invalidatedRange:] + 178
	34  UIFoundation                        0x00007fff9caefcd1 -[NSTextStorage processEditing] + 373
	35  UIFoundation                        0x00007fff9caefb25 -[NSTextStorage edited:range:changeInLength:] + 311
	36  Foundation                          0x00007fff8ba00f7c -[NSConcreteMutableAttributedString addAttribute:value:range:] + 394
	37  UIFoundation                        0x00007fff9caf145c __NSConcreteTextStorageLockedForwarding + 49
	38  UIFoundation                        0x00007fff9caf17b8 -[NSConcreteTextStorage addAttribute:value:range:] + 84
	39  AppKit                              0x00007fff87d3900a -[NSTextView setFont:] + 213
	40  Fraise                              0x000000010007c8bc -[FRATextView observeValueForKeyPath:ofObject:change:context:] + 332
	41  Foundation                          0x00007fff8b9f771d NSKeyValueNotifyObserver + 350
	42  Foundation                          0x00007fff8ba6e9a4 -[NSObject(NSKeyValueObservingPrivate) _notifyObserversForKeyPath:change:] + 990
	43  AppKit                              0x00007fff87ca8861 -[NSController _notifyObserversForKeyPath:change:] + 194
	44  AppKit                              0x00007fff87cb1716 -[NSController observeValueForKeyPath:ofObject:change:context:] + 919
	45  Fraise                              0x0000000100015b3d -[FRAApplication sendEvent:] + 4605
	46  AppKit                              0x00007fff87ac8f81 -[NSApplication run] + 1002
	47  AppKit                              0x00007fff87a93850 NSApplicationMain + 1237
	48  Fraise                              0x000000010000abcb main + 43
	49  libdyld.dylib                       0x00007fff9f5a0255 start + 1
)
(lldb)

Too few issue details.
Didn't observe this issue for long time => close.