[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GSHorizontalTypesetter flooding the log
From: |
Philippe Roussel |
Subject: |
GSHorizontalTypesetter flooding the log |
Date: |
Mon, 30 Jan 2012 22:57:30 +0100 |
Hi,
Sometimes when I run my probably buggy application the console is
flooded with the following log :
GSHorizontalTypesetter - Glyph generation was triggered for a layout
manager while the text storage it was attached to had unprocessed
editing. This is not allowed. Glyph generation may be triggered only at
points where calls to -beginEditing and -endEditing are balanced.
and the exception panel is never shown. The first backtrace I captured
looks like this :
#0 -[GSLayoutManager(GlyphsHelpers) _generateGlyphsUpToCharacter:]
(self=0x86a46cc, _cmd=0x6ffbe520, last=0) at GSLayoutManager.m:716
#1 0x6fe02008 in -[GSLayoutManager(GlyphsHelpers) _generateGlyphsUpToGlyph:]
(self=0x86a46cc, _cmd=0x6ffbe538, last=0) at GSLayoutManager.m:758
#2 0x6fe023f8 in -[GSLayoutManager(glyphs) glyphAtIndex:isValidIndex:]
(self=0x86a46cc, _cmd=0x6ffbfeb0, glyphIndex=0, isValidIndex=0x77ffdf3f "") at
GSLayoutManager.m:863
#3 0x6fe09f28 in -[GSHorizontalTypesetter _cacheMoveTo:] (self=0x86a001c,
_cmd=0x6ffbff58, glyph=0) at GSHorizontalTypesetter.m:175
#4 0x6fe0aed4 in -[GSHorizontalTypesetter layoutLineNewParagraph:]
(self=0x86a001c, _cmd=0x6ffc0070, newParagraph=1 '\001') at
GSHorizontalTypesetter.m:540
#5 0x6fe0d198 in -[GSHorizontalTypesetter
layoutGlyphsInLayoutManager:inTextContainer:startingAtGlyphIndex:previousLineFragmentRect:nextGlyphIndex:numberOfLineFragments:]
(self=0x86a001c, _cmd=0x6ffbe5a0, layoutManager=0x86a46cc,
textContainer=0x86a486c, glyphIndex=0, previousLineFragRect=...,
nextGlyphIndex=0x77ffe244, howMany=0) at GSHorizontalTypesetter.m:1261
#6 0x6fe05577 in -[GSLayoutManager(LayoutHelpers) _doLayoutToContainer:]
(self=0x86a46cc, _cmd=0x6ffbe588, cindex=0) at GSLayoutManager.m:1981
#7 0x6fe072bf in -[GSLayoutManager(layout) usedRectForTextContainer:]
(self=0x86a46cc, _cmd=0x6ff79c60, container=0x86a486c) at GSLayoutManager.m:2607
#8 0x6fd2eed7 in cache_lookup_string (string=0x8594314, attributes=0x8595324,
hasSize=0, size=..., useScreenFonts=1) at NSStringDrawing.m:323
#9 0x6fd306a1 in -[NSString(NSStringDrawing) sizeWithAttributes:]
(self=0x8594314, _cmd=0x6ffcfd48, attrs=0x8595324) at NSStringDrawing.m:748
#10 0x6fe3ed0d in -[GSTitleView titleSize] (self=0x85951fc, _cmd=0x6ff4af10) at
GSTitleView.m:204
#11 0x6fcad613 in -[NSMenuView sizeToFit] (self=0x8594efc, _cmd=0x6ff4af50) at
NSMenuView.m:746
#12 0x6fcae1b2 in -[NSMenuView rectOfItemAtIndex:] (self=0x8594efc,
_cmd=0x6ff4af58, index=1) at NSMenuView.m:969
#13 0x6fcae558 in -[NSMenuView setNeedsDisplayForItemAtIndex:] (self=0x8594efc,
_cmd=0x6ff4ad88, index=1) at NSMenuView.m:1036
#14 0x6fcac0cd in -[NSMenuView itemChanged:] (self=0x8594efc, _cmd=0x6ff4acf0,
notification=0x865c67c) at NSMenuView.m:474
#15 0x6f6c687e in -[NSNotificationCenter _postAndRelease:] (self=0x8174d2c,
_cmd=0x6f98f108, notification=0x865c67c) at NSNotificationCenter.m:1223
#16 0x6f6c69dd in -[NSNotificationCenter postNotification:] (self=0x8174d2c,
_cmd=0x6ff48280, notification=0x865c67c) at NSNotificationCenter.m:1252
#17 0x6fca41b2 in -[NSMenu itemChanged:] (self=0x8594344, _cmd=0x6ff4c698,
anObject=0x86ec23c) at NSMenu.m:846
#18 0x6fcb4748 in -[NSMenuItem setTarget:] (self=0x86ec23c, _cmd=0x6fef8980,
anObject=0x85ab2bc) at NSMenuItem.m:464
#19 0x6fbb96c0 in -[NSApplication changeWindowsItem:title:filename:]
(self=0x835bfec, _cmd=0x6ffa55a0, aWindow=0x85ab2bc, aString=0x83294bc,
isFilename=0 '\000') at NSApplication.m:3103
#20 0x6fdb461b in -[NSWindow setTitle:] (self=0x85ab2bc, _cmd=0x809de58,
aString=0x83294bc) at NSWindow.m:1241
#21 0x0804f45b in -[AppController setWindowTitle] (self=0x859fc0c,
_cmd=0x809e2a8) at AppController.m:200
but I got others with -[NSException raise] in the middle.
Any ideas ?
- GSHorizontalTypesetter flooding the log,
Philippe Roussel <=
- Re: GSHorizontalTypesetter flooding the log, Philippe Roussel, 2012/01/30
- Re: GSHorizontalTypesetter flooding the log, Fred Kiefer, 2012/01/30
- Re: GSHorizontalTypesetter flooding the log, Philippe Roussel, 2012/01/31
- Re: GSHorizontalTypesetter flooding the log, Fred Kiefer, 2012/01/31
- Re: GSHorizontalTypesetter flooding the log, Philippe Roussel, 2012/01/31
- Re: GSHorizontalTypesetter flooding the log, Fred Kiefer, 2012/01/31
- Re: GSHorizontalTypesetter flooding the log, Sebastian Reitenbach, 2012/01/31
- Re: GSHorizontalTypesetter flooding the log, Fred Kiefer, 2012/01/31
- Re: GSHorizontalTypesetter flooding the log, Philippe Roussel, 2012/01/31