gpt4 book ai didi

iPhone应用程序崩溃: Assertion failed function evict_glyph_entry_from_strike,文件Fonts/CGFontCache.c

转载 作者:行者123 更新时间:2023-12-03 19:01:39 25 4
gpt4 key购买 nike

这发生得很随机。我没有删除任何tableview单元格,回溯信息:

Assertion failed: (d->entry[identifier.glyph] == g), function evict_glyph_entry_from_strike, file Fonts/CGFontCache.c, line 810.
Program received signal: “SIGABRT”.
(gdb) bt
#0 0x97da5972 in __kill ()
#1 0x97da5964 in kill$UNIX2003 ()
#2 0x97e38ba5 in raise ()
#3 0x97e4ec5c in abort ()
#4 0x97e3b804 in __assert_rtn ()
#5 0x0037fe0e in evict_glyph_entry_from_cache ()
#6 0x003226aa in expire_glyphs_nl ()
#7 0x00322645 in CGFontCacheUnlock ()
#8 0x00321fef in CGGlyphLockUnlock ()
#9 0x0240f9b7 in ripc_DrawGlyphs ()
#10 0x0031b0d4 in draw_glyphs ()
#11 0x0031a91f in CGContextShowGlyphsWithAdvances ()
#12 0x35814178 in WebCore::Font::drawGlyphs ()
#13 0x35813da5 in WebCore::Font::drawGlyphBuffer ()
#14 0x35813aca in WebCore::Font::drawSimpleText ()
#15 0x35813760 in drawAtPoint ()
#16 0x3581307e in -[NSString(WebStringDrawing) _web_drawAtPoint:forWidth:withFont:ellipsis:letterSpacing:includeEmoji:] ()
#17 0x3090d2e9 in -[NSString(UIStringDrawing) drawAtPoint:forWidth:withFont:lineBreakMode:letterSpacing:includeEmoji:] ()
#18 0x3090cfe3 in -[NSString(UIStringDrawing) drawAtPoint:forWidth:withFont:lineBreakMode:] ()
#19 0x3093d853 in -[UINavigationItemView drawText:inRect:] ()
#20 0x3093a96b in -[UINavigationItemButtonView drawRect:] ()
#21 0x3091ff61 in -[UIView(CALayerDelegate) drawLayer:inContext:] ()
#22 0x0060daeb in -[CALayer drawInContext:] ()
#23 0x0060d8f9 in backing_callback ()
#24 0x0060d1b4 in CABackingStoreUpdate ()
#25 0x0060c3cc in -[CALayer _display] ()
#26 0x0060bf56 in CALayerDisplayIfNeeded ()
#27 0x0060b3bd in CA::Context::commit_transaction ()
#28 0x0060b022 in CA::Transaction::commit ()
#29 0x006132e0 in CA::Transaction::observer_callback ()
#30 0x30245c32 in __CFRunLoopDoObservers ()
#31 0x3024503f in CFRunLoopRunSpecific ()
#32 0x30244628 in CFRunLoopRunInMode ()
#33 0x32044c31 in GSEventRunModal ()
#34 0x32044cf6 in GSEventRun ()
#35 0x309021ee in UIApplicationMain ()

最佳答案

https://discussions.apple.com/message/8213970?messageID=8213970指出它似乎与使用动画 block 内部的函数有关...

just.do.it 评论到一半了:

Hi, may be you can show us some code where this happens.

I had this assertion-failure occasionally in different apps. As far as i can tell, it seems that it is no good idea to use more than one of the follwing methods:

deleteRowsAtIndexPaths:withRowAnimation:
deleteSections:withRowAnimation:
insertRowsAtIndexPaths:withRowAnimation:
insertSections:withRowAnimation:

within a beginUpdate / endUpdates block.

What also seems to be at least problematic is to call one of these methods wich have an animation within a datasources method that itself is accompanied by an animation such as tableView:moveRowAtIndexPath:toIndexPath:

关于iPhone应用程序崩溃: Assertion failed function evict_glyph_entry_from_strike,文件Fonts/CGFontCache.c,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1978997/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com