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

Crash ASTextKitRenderer drawInContext #2102

Open
Bekabeshka opened this issue Mar 29, 2024 · 0 comments
Open

Crash ASTextKitRenderer drawInContext #2102

Bekabeshka opened this issue Mar 29, 2024 · 0 comments

Comments

@Bekabeshka
Copy link

Crash occurs when ASTextKitRenderer drawInContext:bounds block invoked. I can't reproduce the error. All info taken from Crashlytics.

Texture version: from master
iOS versions: only 17+

Here the exception:
Fatal Exception: NSInvalidArgumentException
*** -[NSBigMutableString rangeOfCharacterFromSet:options:range:]: nil argument

Details

Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0xec678 (Missing UUID 5a6c1f41bf7032f6a1d65b894dd21362)
1 libobjc.A.dylib 0x2bc80 objc_exception_throw
2 Foundation 0x130ac (Missing UUID 5623831d571933a99691759f47d714d1)
3 UIFoundation 0x3b350 (Missing UUID 5abb482d3c0a3832916c8d0ac2eaa7cb)
4 UIFoundation 0x59168 (Missing UUID 5abb482d3c0a3832916c8d0ac2eaa7cb)
5 AsyncDisplayKit 0x98c40 __42-[ASTextKitRenderer drawInContext:bounds:]_block_invoke + 236 (ASTextKitRenderer.mm:236)
6 AsyncDisplayKit 0x95fd4 -[ASTextKitContext performBlockWithLockedTextKitComponents:] + 100 (__mutex_base:100)
7 AsyncDisplayKit 0x98acc -[ASTextKitRenderer drawInContext:bounds:] + 214 (ASTextKitRenderer.mm:214)
8 AsyncDisplayKit 0xaf400 __48+[ASTextNode displayWithParameters:isCancelled:]_block_invoke + 627 (ASTextNode.mm:627)
9 UIKitCore 0x1a3a1c (Missing UUID 2d5384466e403c108a5f559c938077a0)
10 AsyncDisplayKit 0x5e0b8 ASGraphicsCreateImage + 129 (ASGraphicsContext.mm:129)
11 AsyncDisplayKit 0xaf274 +[ASTextNode displayWithParameters:isCancelled:] + 605 (ASTextNode.mm:605)
12 AsyncDisplayKit 0x48ad4 __90-[ASDisplayNode(AsyncDisplay) _displayBlockWithAsynchronous:isCancelledBlock:rasterizing:]_block_invoke.6 + 240 (ASDisplayNode+AsyncDisplay.mm:240)
13 AsyncDisplayKit 0x48988 __90-[ASDisplayNode(AsyncDisplay) _displayBlockWithAsynchronous:isCancelledBlock:rasterizing:]_block_invoke.5 + 253 (ASDisplayNode+AsyncDisplay.mm:253)
14 AsyncDisplayKit 0x4f40 __71-[_ASAsyncTransaction addOperationWithBlock:priority:queue:completion:]_block_invoke + 366 (_ASAsyncTransaction.mm:366)
15 AsyncDisplayKit 0x4808 invocation function for block in ASAsyncTransactionQueue::GroupImpl::schedule(long, NSObject<OS_dispatch_queue>*, void () block_pointer) + 250 (_ASAsyncTransaction.mm:250)
16 libdispatch.dylib 0x26a8 (Missing UUID c49a5fc2c87339139603004f5d0175e7)
17 libdispatch.dylib 0x4300 (Missing UUID c49a5fc2c87339139603004f5d0175e7)
18 libdispatch.dylib 0x77b8 (Missing UUID c49a5fc2c87339139603004f5d0175e7)
19 libdispatch.dylib 0x6dd4 (Missing UUID c49a5fc2c87339139603004f5d0175e7)
20 libdispatch.dylib 0x15be4 (Missing UUID c49a5fc2c87339139603004f5d0175e7)
21 libdispatch.dylib 0x163ec (Missing UUID c49a5fc2c87339139603004f5d0175e7)
22 libsystem_pthread.dylib 0x1928 (Missing UUID 8f9c865b29f5346badd5fde40e008c66)
23 libsystem_pthread.dylib 0x1a04 (Missing UUID 8f9c865b29f5346badd5fde40e008c66)

Снимок экрана 2024-03-29 в 12 01 40

Is there anything I can do to prevent crashes?

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

1 participant