Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000030 #48

Open
vanniktech opened this issue Sep 13, 2021 · 2 comments
Open

EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000030 #48

vanniktech opened this issue Sep 13, 2021 · 2 comments

Comments

@vanniktech
Copy link

This is kind of a one off exception that only happened a few times on some devices. I can't reproduce it:

Crashed: com.apple.main-thread
0  CoreText                       0x1aae05ca4 TGlyphEncoder::RunUnicodeEncoderRecursively(unsigned int, TCFRef<CTRun*>&&, __CTFont const*, CFRange, TInlineVector<long, 30ul>&, TGlyphEncoder::Fallbacks, TFontCascade const*, __CFString const*, TGlyphEncoder::ClusterMatching, bool) + 76
1  CoreText                       0x1aae0690c TGlyphEncoder::AppendUnmappedCharRun(unsigned int, TCFRef<CTRun*>&, __CTFont const*, CFRange&, CFRange, TInlineVector<long, 30ul>&, TFontCascade const&, TGlyphEncoder::ClusterMatching, bool) + 996
2  CoreText                       0x1aae0690c TGlyphEncoder::AppendUnmappedCharRun(unsigned int, TCFRef<CTRun*>&, __CTFont const*, CFRange&, CFRange, TInlineVector<long, 30ul>&, TFontCascade const&, TGlyphEncoder::ClusterMatching, bool) + 996
3  CoreText                       0x1aae061e8 TGlyphEncoder::RunUnicodeEncoderRecursively(unsigned int, TCFRef<CTRun*>&&, __CTFont const*, CFRange, TInlineVector<long, 30ul>&, TGlyphEncoder::Fallbacks, TFontCascade const*, __CFString const*, TGlyphEncoder::ClusterMatching, bool) + 1424
4  CoreText                       0x1aae05254 TGlyphEncoder::EncodeChars(CFRange, TAttributes const&, TGlyphEncoder::Fallbacks) + 1412
5  CoreText                       0x1aae1f918 TTypesetterAttrString::Initialize(__CFAttributedString const*) + 448
6  CoreText                       0x1aae1f740 TTypesetterAttrString::TTypesetterAttrString(__CFAttributedString const*, __CFDictionary const*) + 160
7  CoreText                       0x1aae0a814 CTLineCreateWithAttributedString + 132
8  UIFoundation                   0x1af8b27f4 -[NSCoreTypesetter _stringDrawingCoreTextEngineWithOriginalString:rect:padding:graphicsContext:forceClipping:attributes:stringDrawingOptions:drawingContext:stringDrawingInterface:] + 8928
9  UIFoundation                   0x1af8ac0c4 __NSStringDrawingEngine + 1652
10 UIFoundation                   0x1af8182a4 -[NSAttributedString(NSExtendedStringDrawing) boundingRectWithSize:options:context:] + 1076
11 UIKitCore                      0x1a9a69d88 -[UILabel _textRectForBounds:limitedToNumberOfLines:includingShadow:] + 492
12 UIKitCore                      0x1a9a6df2c -[UILabel _intrinsicSizeWithinSize:] + 484
13 UIKitCore                      0x1a9a6d12c -[UILabel _ensureBaselineMetricsReturningBounds] + 172
14 UIKitCore                      0x1a9a6d344 -[UILabel _baselineOffsetFromBottom] + 92
15 UIKitCore                      0x1a9a6be24 -[UILabel _invalidateBaselineConstraints] + 92
16 UIKitCore                      0x1a9a65140 -[UILabel _setContent:adjustingFontForAccessibilityTraits:checkingForDifferences:] + 608
17 UIKitCore                      0x1a9a6ad28 -[UILabel setAttributedText:] + 136
18 ZSWTappableLabel               0x10417b314 -[ZSWTappableLabel setAttributedText:] + 218 (ZSWTappableLabel.m:218)

Is this known?

@zacwest
Copy link
Owner

zacwest commented Sep 13, 2021

I have not seen this one in the wild before. Do you know what attributed text is being set?

@vanniktech
Copy link
Author

Unfortunately, not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants