CoreText在多个线程中运行时崩溃

时间:2017-11-09 06:31:47

标签: ios objective-c iphone multithreading core-text

在多线程中计算布局时崩溃了。我查了解答案,但大部分已经过时了。他们说有Apple的CoreText错误,并且已经修复。但坠毁的型号包括iPhone6,iPhone6s,iPhone7,iPhone8,操作系统从ios 10到11.1。 所以,任何人都可以提供帮助,thx

Thread 42 Crashed:
0   CoreFoundation                  0x0000000181313568 __CFBasicHashDrain :216 
    (in CoreFoundation)
1   CoreFoundation                  0x0000000181289b44 _CFRelease :224 (in 
CoreFoundation)
2   CoreText                        0x0000000184a7dbf4 
    TDescriptor::~TDescriptor() :132 (in CoreText)
3   CoreFoundation                  0x0000000181289b44 _CFRelease :224 (in 
    CoreFoundation)
4   CoreText                        0x0000000184a9533c TFont::~TFont() :248 
    (in CoreText)
5   CoreFoundation                  0x0000000181289b44 _CFRelease :224 (in 
    CoreFoundation)
6   CoreFoundation                  0x00000001813135c8 __CFBasicHashDrain :312 
    (in CoreFoundation)
7   CoreFoundation                  0x0000000181289b44 _CFRelease :224 (in 
    CoreFoundation)
8   CoreText                        0x0000000184a8cc9c 
    TFontCascade::~TFontCascade() :40 (in CoreText)
9   CoreText                        0x0000000184abd35c 
    TGlyphEncoder::EncodeChars(CFRange, TAttributes const&, 
    TGlyphEncoder::Fallbacks) :1420 (in CoreText)
10  CoreText                        0x0000000184a8a46c 
    TTypesetterAttrString::Initialize(__CFAttributedString const*) :240 (in 
    CoreText)
11  CoreText                        0x0000000184a8a250 
    TTypesetterAttrString::TTypesetterAttrString(__CFAttributedString const*) 
    :112 (in CoreText)
12  CoreText                        0x0000000184ac7f10 
    _CTTypesetterCreateWithAttributedString :56 (in CoreText)

0 个答案:

没有答案