I'm currently using analytics from AppCenter(MS), and there is a bug that is occurring very frequently but with no clue to what it can be, just saying AppDelegate.swift (L:20), witch means declaration of class.. i'll put all relevant logs, so if anyone can help me, i'll appreciate!
PS: I'm using AppAuth pod to manager login, already checked out all possible error cases. (code -2 to -15) I'm firing an event to AppCenter to register those events from error in Appauth library and comparing with crash log. Conclusion: there is no any relation each them.
The only relevant thing about the app it needs to user log at app launch and it's using a third party service from web (SSO)
Its work stuff and i'm not allowed to mention the name, so i changed app names in log from '##'
Log:
Incident Identifier: ##
CrashReporter Key: ##
Hardware Model: iPhone12,8
Process: ## [20613]
Path: /private/var/containers/Bundle/Application/##/##.app/##
Identifier: ##
Version: ##
Code Type: arm64
Parent Process: ??? [1]
Date/Time: 2021-09-30T12:33:19.999Z
Launch Time: 2021-09-30T12:31:05Z
OS Version: iPhone OS 14.4 (18D52)
Report Version: 104
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x6d6f633c6e6f6974
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x0000000198aee018 objc_release + 8
1 SafariServices 0x000000019ecf2e38 __75-[SFAuthenticationViewController dismissViewControllerAnimated:completion:]_block_invoke + 36
2 UIKitCore 0x0000000185c274b8 -[UIPresentationController transitionDidFinish:] + 1016
3 UIKitCore 0x0000000185c2bca4 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke.528 + 208
4 UIKitCore 0x0000000185d708f8 -[_UIViewControllerTransitionContext completeTransition:] + 108
5 UIKitCore 0x0000000186972d28 -[UITransitionView notifyDidCompleteTransition:] + 240
6 UIKitCore 0x00000001869729d4 -[UITransitionView _didCompleteTransition:] + 1132
7 UIKitCore 0x00000001869aa8ec -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 720
8 UIKitCore 0x000000018697cc08 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 244
9 UIKitCore 0x000000018697d170 -[UIViewAnimationState animationDidStop:finished:] + 244
10 UIKitCore 0x000000018697d2d4 -[UIViewAnimationState animationDidStop:finished:] + 600
11 QuartzCore 0x0000000186ee7474 CA::Layer::run_animation_callbacks(void*) + 276
12 libdispatch.dylib 0x00000001836a8db0 _dispatch_client_callout + 16
13 libdispatch.dylib 0x00000001836b67ac _dispatch_main_queue_callback_4CF + 832
14 CoreFoundation 0x0000000183a3011c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
15 CoreFoundation 0x0000000183a2a120 __CFRunLoopRun + 2504
16 CoreFoundation 0x0000000183a2921c CFRunLoopRunSpecific + 596
17 GraphicsServices 0x000000019b5f5784 GSEventRunModal + 160
18 UIKitCore 0x0000000186469ee8 -[UIApplication _run] + 1068
19 UIKitCore 0x000000018646f75c UIApplicationMain + 164
20 ## 0x00000001004bc1cc main (AppDelegate.swift:20)
21 libdyld.dylib 0x00000001836e96b0 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x00000001b1a87184 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001cf5e876c start_wqthread + 4
Thread 2:
0 libsystem_kernel.dylib 0x00000001b1a87184 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x00000001cf5e876c start_wqthread + 4
....