-
Notifications
You must be signed in to change notification settings - Fork 40
Description
We're getting regular crashes from our app users. Unfortunately, because Apple supplies such minimal crash reports, we don't have a lot to go on, but the backtraces all look the same and point to line 430 in GLTFAssetReader. I've looked at the code and I'm not sure if it could use some additional validity checks or something like that. I can provide more .crash files if you'd like, but they all appear nearly identical.
Last Exception Backtrace:
0 CoreFoundation 0x1a68fc870 __exceptionPreprocess + 164 (NSException.m:249)
1 libobjc.A.dylib 0x19ec6fc00 objc_exception_throw + 60 (objc-exception.mm:356)
2 Foundation 0x1a582b374 NSAllocateMemoryPages + 184 (NSPlatform.m:1865)
3 Foundation 0x1a57ddddc -[_NSPlaceholderData initWithBytes:length:copy:deallocator:] + 132 (NSData.m:241)
4 Foundation 0x1a57de7f4 +[NSData(NSData) dataWithBytes:length:] + 40 (NSData.m:773)
5 GLTFKit2 0x1035a4230 -[GLTFAssetReader convertBuffers] + 144 (GLTFAssetReader.m:430)
6 GLTFKit2 0x1035a8f68 -[GLTFAssetReader convertAsset:] + 972 (GLTFAssetReader.m:1255)
7 GLTFKit2 0x1035a39e8 -[GLTFAssetReader syncLoadAssetWithURL:data:options:handler:] + 860 (GLTFAssetReader.m:412)
8 GLTFKit2 0x1035a3464 __52+[GLTFAssetReader loadAssetWithURL:options:handler:]_block_invoke + 48 (GLTFAssetReader.m:345)
9 libdispatch.dylib 0x1ae7cb6a8 _dispatch_call_block_and_release + 32 (init.c:1530)
10 libdispatch.dylib 0x1ae7cd300 _dispatch_client_callout + 20 (object.m:561)
11 libdispatch.dylib 0x1ae7d07b8 _dispatch_continuation_pop + 600 (queue.c:306)
12 libdispatch.dylib 0x1ae7cfdd4 _dispatch_async_redirect_invoke + 584 (queue.c:830)
13 libdispatch.dylib 0x1ae7debe4 _dispatch_root_queue_drain + 392 (queue.c:7051)
14 libdispatch.dylib 0x1ae7df3ec _dispatch_worker_thread2 + 156 (queue.c:7119)
15 libsystem_pthread.dylib 0x210201928 _pthread_wqthread + 228 (pthread.c:2642)
16 libsystem_pthread.dylib 0x210201a04 start_wqthread + 8 (:-1)
2024-01-11_21-10-05.6334_-0600-ec7d7cd927f2a400a6eb081bd78ccd3246c0505b.txt