Post

Replies

Boosts

Views

Activity

Crash: WebCore::LayerRepresentation::makePlatformLayerTypeless(CALayer*)
Hi, I was wondering if I could get some insight on this crash. it seems that the app was on the background for a couple of hours, and crashed upon returning to the foreground. We have some parts of the app with WKWebView, I'm assuming they put the app to the background while on the screen that has the webview. I couldn't find much of the "makePlatformLayerTypeless". Here's the full logs. 2022-04-18_08-07-38.3680_-0400-crash.txt Thanks!
3
0
1.1k
May ’22
Crash on launch. Possibly LAContext/LAClient causing the crash.
Hey, I've been trying to pinpoint what is causing this crash, but I'm having troubles understanding the Apple Crash log. I understand that this crash is happening after the app is launched, because I know we call canEvaluatePolicy() and evaluatePolicy() when the login screen finished loading. But if you notice, the following error lines after that are not related to LocalAuthentication (or so I think), therefore I'm confused. Here's the log: Thread 0 Crashed: 0 libsystem_platform.dylib 0x0000000217f95fc4 _platform_strlen + 4 1 Foundation 0x00000001a803539c -[NSXPCEncoder _encodeInvocation:isReply:into:] + 132 (NSXPCCoder.m:456) 2 Foundation 0x00000001a800686c -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:] + 1388 (NSXPCConnection.m:1506) 3 CoreFoundation 0x00000001a680270c ___forwarding___ + 1128 (NSForwarding.m:3618) 4 CoreFoundation 0x00000001a6801a60 _CF_forwarding_prep_0 + 96 5 LocalAuthentication 0x00000001dd83c6b4 __64-[LAClient evaluatePolicy:options:uiDelegate:synchronous:reply:]_block_invoke + 240 (LAClient.m:541) 6 LocalAuthentication 0x00000001dd83bc80 __47-[LAClient _performSynchronous:callId:finally:]_block_invoke + 584 (LAClient.m:441) 7 libdispatch.dylib 0x00000001a64d4a2c _dispatch_client_callout + 20 (object.m:560) 8 libdispatch.dylib 0x00000001a64e42d4 _dispatch_sync_invoke_and_complete + 56 (queue.c:1028) 9 LocalAuthentication 0x00000001dd83b9e8 -[LAClient _performSynchronous:callId:finally:] + 220 (LAClient.m:460) 10 LocalAuthentication 0x00000001dd83c57c -[LAClient evaluatePolicy:options:uiDelegate:synchronous:reply:] + 392 (LAClient.m:540) 11 LocalAuthentication 0x00000001dd842d48 -[LAContext _evaluatePolicy:options:log:cid:synchronous:reply:] + 472 (LAContext.m:340) 12 LocalAuthentication 0x00000001dd838364 -[LAContext _evaluatePolicy:options:log:cid:error:] + 284 (LAContext.m:387) 13 LocalAuthentication 0x00000001dd838090 -[LAContext canEvaluatePolicy:error:] + 304 (LAContext.m:533) 14 APIGuard 0x0000000101fbb144 0x101fac000 + 61764 15 APIGuard 0x0000000101fb99b8 0x101fac000 + 55736 16 CoreFoundation 0x00000001a67ff324 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 28 (CFNotificationCenter.c:652) 17 CoreFoundation 0x00000001a689bac4 ___CFXRegistrationPost_block_invoke + 52 (CFNotificationCenter.c:173) 18 CoreFoundation 0x00000001a686ecc0 _CFXRegistrationPost + 456 (CFNotificationCenter.c:199) 19 CoreFoundation 0x00000001a681539c _CFXNotificationPost + 728 (CFNotificationCenter.c:1147) 20 Foundation 0x00000001a7fdc704 -[NSNotificationCenter postNotificationName:object:userInfo:] + 96 (NSNotification.m:560)
8
0
3.7k
Apr ’22