Termination Reason: FRONTBOARD 2343432205

App crashing when clicking the icon of the app.

Log:

hread 0 name: Dispatch queue: la_client Thread 0 Crashed: 0 libsystem_kernel.dylib 0x1d6bb5af8 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1d6bb5890 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x1d6bb57a8 mach_msg_overwrite + 436 3 libsystem_kernel.dylib 0x1d6bb55e8 mach_msg + 24 4 libdispatch.dylib 0x1965d9b18 _dispatch_mach_send_and_wait_for_reply + 544 5 libdispatch.dylib 0x1965d9eb8 dispatch_mach_send_with_result_and_wait_for_reply + 60 6 libxpc.dylib 0x1ea64ab90 xpc_connection_send_message_with_reply_sync + 264 7 Foundation 0x18d58d770 NSXPCCONNECTION_IS_WAITING_FOR_A_SYNCHRONOUS_REPLY + 16 8 Foundation 0x18d578b0c -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:] + 2160 9 CoreFoundation 0x18e6f40d4 forwarding + 1016 10 CoreFoundation 0x18e835760 _CF_forwarding_prep_0 + 96 11 LocalAuthentication 0x1c3eee998 __71-[LAClient evaluateACL:operation:options:uiDelegate:synchronous:reply:]_block_invoke + 236 12 LocalAuthentication 0x1c3edc9b0 __47-[LAClient _performSynchronous:callId:finally:]_block_invoke + 504 13 libdispatch.dylib 0x1965bedd4 _dispatch_client_callout + 20 14 libdispatch.dylib 0x1965ce8f8 _dispatch_sync_invoke_and_complete + 56 15 LocalAuthentication 0x1c3edc768 -[LAClient performSynchronous:callId:finally:] + 196 16 LocalAuthentication 0x1c3eee858 -[LAClient evaluateACL:operation:options:uiDelegate:synchronous:reply:] + 340 17 LocalAuthentication 0x1c3efa590 -[LAContext evaluateAccessControl:operation:options:log:cid:synchronous:reply:] + 468 18 LocalAuthentication 0x1c3efad24 -[LAContext evaluateAccessControl:aksOperation:options:error:] + 304 19 Security 0x196e9815c SecItemAuthDoQuery + 1712 20 Security 0x196e97aa0 __SecItemCopyMatching_block_invoke + 140 21 Security 0x196e97900 SecOSStatusWith + 56 22 Security 0x196e9ed9c SecItemCopyMatching + 400 23 SalesforceSDKCommon 0x103a1e080 specialized static KeychainHelper.setAccessibleAttribute(:) + 1056 24 SalesforceSDKCommon 0x103a1a468 @objc static KeychainHelper.setAccessibleAttribute(:) + 16 25 SalesforceSDKCore 0x103e8ee50 +[SFSDKSalesforceSDKUpgradeManager upgrade] + 208 26 SalesforceSDKCore 0x103e509ec -[SalesforceSDKManager init] + 1544 27 SmartStore 0x103c58cbc -[SmartStoreSDKManager init] + 44 28 SalesforceSDKCore 0x103e50194 __37+[SalesforceSDKManager sharedManager]_block_invoke + 128 29 libdispatch.dylib 0x1965bedd4 _dispatch_client_callout + 20 30 libdispatch.dylib 0x1965c0654 _dispatch_once_callout + 32 31 SalesforceSDKCore 0x103e50110 +[SalesforceSDKManager sharedManager] + 112 32 SalesforceSDKCore 0x103e50090 +[SalesforceSDKManager initializeSDKWithClass:] + 24 33 SalesforceHybridSDK 0x10384c414 +[SalesforceHybridSDKManager initializeSDK] + 56 34 ConferenceConnect 0x102dda9e4 0x102dd4000 + 27108 35 UIKitCore 0x190b68a5c _UIApplicationMainPreparations + 1312 36 UIKitCore 0x190b68504 UIApplicationMain + 320 37 ConferenceConnect 0x102dda6f8 0x102dd4000 + 26360 38 dyld 0x1b1c16d84 start + 2240

2343432205 is 0x8badf00d (“ate bad food”). See Addressing watchdog terminations.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

It’s hard to say anything about this without a readable crash report. Please post one, per the advice in Posting a Crash Report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thanks for the crash report.

Watchdog crashes usually mean that your main thread was blocked, so the first step is to look at the backtrace of that thread:

Thread 0 name:   Dispatch queue: la_client
Thread 0 Crashed:
0   libsystem_kernel.dylib … mach_msg2_trap + 8
1   libsystem_kernel.dylib … mach_msg2_internal + 80
2   libsystem_kernel.dylib … mach_msg_overwrite + 436
3   libsystem_kernel.dylib … mach_msg + 24
4   libdispatch.dylib      … _dispatch_mach_send_and_wait_for_reply + 544
5   libdispatch.dylib      … dispatch_mach_send_with_result_and_wait_for_reply + 60
6   libxpc.dylib           … xpc_connection_send_message_with_reply_sync + 264
7   Foundation             … __NSXPCCONNECTION_IS_WAITING_FOR_A_SYNCHRONOUS_REPLY__ + 16
8   Foundation             … -[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withP…
9   CoreFoundation         … ___forwarding___ + 1016
10  CoreFoundation         … _CF_forwarding_prep_0 + 96
11  LocalAuthentication    … __71-[LAClient evaluateACL:operation:options:uiDelegate:synchronous:reply:]_block_…
12  LocalAuthentication    … __47-[LAClient _performSynchronous:callId:finally:]_block_invoke + 504
13  libdispatch.dylib      … _dispatch_client_callout + 20
14  libdispatch.dylib      … _dispatch_sync_invoke_and_complete + 56
15  LocalAuthentication    … -[LAClient _performSynchronous:callId:finally:] + 196
16  LocalAuthentication    … -[LAClient evaluateACL:operation:options:uiDelegate:synchronous:reply:] + 340
17  LocalAuthentication    … -[LAContext _evaluateAccessControl:operation:options:log:cid:synchronous:reply:] +…
18  LocalAuthentication    … -[LAContext evaluateAccessControl:aksOperation:options:error:] + 304
19  Security               … SecItemAuthDoQuery + 1712
20  Security               … __SecItemCopyMatching_block_invoke + 140
21  Security               … SecOSStatusWith + 56
22  Security               … SecItemCopyMatching + 400
23  SalesforceSDKCommon    … specialized static KeychainHelper.setAccessibleAttribute(_:) + 1056
24  SalesforceSDKCommon    … @objc static KeychainHelper.setAccessibleAttribute(_:) + 16
25  SalesforceSDKCore      … +[SFSDKSalesforceSDKUpgradeManager upgrade] + 208
26  SalesforceSDKCore      … -[SalesforceSDKManager init] + 1544
27  SmartStore             … -[SmartStoreSDKManager init] + 44
28  SalesforceSDKCore      … __37+[SalesforceSDKManager sharedManager]_block_invoke + 128
29  libdispatch.dylib      … _dispatch_client_callout + 20
30  libdispatch.dylib      … _dispatch_once_callout + 32
31  SalesforceSDKCore      … +[SalesforceSDKManager sharedManager] + 112
32  SalesforceSDKCore      … +[SalesforceSDKManager initializeSDKWithClass:] + 24
33  SalesforceHybridSDK    … +[SalesforceHybridSDKManager initializeSDK] + 56
34  MyApp                  … 0x102dd4000 + 27108
35  UIKitCore              … _UIApplicationMainPreparations + 1312
36  UIKitCore              … UIApplicationMain + 320
37  MyApp                  … 0x102dd4000 + 26360
38  dyld                   … start + 2240

Frame 38 is the system starting your process. Frame 37 is your app calling UIApplicationMain. That eventually calls out to your app at frame 34. It’s hard to say what that code is, because your crash report is not symbolicated. If you want to learn more about that, see Adding identifiable symbol names to a crash report.

However, it’s likely that frame 34 is your application(_:didFinishLaunchingWithOptions:) app delegate method, or something similar. Regardless, it’s clear that it’s calling into a third-party library at frame 33.

That library does a bunch of step, eventually calling SecItemCopyMatching at frame 22. That ends up in Local Authentication framework (frame 12), which does a synchronous IPC to its helper daemon (frames 8 and 7). Based on the backtrace (specifically frame 19) it’s likely that the SecItemCopyMatching call has found a keychain item that requires user authorisation to access.

I think you should escalate this via the support channel for the third-party library you’re using. There’s no evidence that iOS is doing anything weird. Specifically, frame 25 suggests that the library is choosing this time to upgrade its keychain items, and it’s not clear whether that’s a problem with the library itself or whether it expects you not to call it from the main thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thanks for you response @DTS Engineer. In Salesforce SDK we have an option to enable authentication using iPad passcode, when user prompts passcode authentication this issue is happening. I also have few queries like with respect to this scenario,

  1. why this issue is coming for random users. If it's SDK specific issue then it should come to everyone using this app? Even after deleting the app & re-installing not solves this issue, whenever the user prompts for ipad passcode the app got quits.
  2. We're suspecting whether this issue involves the user's ipad got installed with some application like 3rd pary keyboard, app unlock, etc., or the user's ipad don't have sufficient memory cycles to run the main thread of this action leading local authenticaion?
  3. Our application uses Vision Kit, but that got invoked only after 2nd screen of the app, only when hitting the button it invokes vision kit related qrcode scan. Will it comes into picture of this issue by any chance.

Thanks in advacne. I really appreciate your help on responding back to my queries.

Termination Reason: FRONTBOARD 2343432205
 
 
Q