Skip to content

What could be the reason of this crash? #5

Description

@kunalzigma

Last Exception Backtrace:
0 CoreFoundation 0x193c28f20 __exceptionPreprocess + 164 (NSException.m:249)
1 libobjc.A.dylib 0x18bad2018 objc_exception_throw + 60 (objc-exception.mm:356)
2 UIKitCore 0x196394154 -[UIViewController _presentViewController:withAnimationController:completion:] + 4272 (UIViewController.m:0)
3 UIKitCore 0x1963957e4 __63-[UIViewController _presentViewController:animated:completion:]_block_invoke + 88 (UIViewController.m:9733)
4 UIKitCore 0x19638f81c -[UIViewController _performCoordinatedPresentOrDismiss:animated:] + 484 (UIViewController.m:9999)
5 UIKitCore 0x19638f544 -[UIViewController _presentViewController:animated:completion:] + 188 (UIViewController.m:9740)
6 UIKitCore 0x19638f3d8 -[UIViewController presentViewController:animated:completion:] + 164 (UIViewController.m:9936)
7 GameCenterUICore 0x21941d91c -[GKLocalPlayer(iOSAuthenticationUI) showViewController:usingPresentingViewController:wrapInNavController:] + 492 (GKLocalPlayer+iOSAuthenticationUI.m:87)
8 GameCenterUI 0x1bc2db5f8 __87-[GKLocalPlayer(AuthenticationExtras) showOnboardingUIFromViewController:signInOrigin:]_block_invoke.20 + 64 (GKLocalPlayer+AuthenticationExtras.m:248)
9 libdispatch.dylib 0x19bacddd4 _dispatch_client_callout + 20 (object.m:576)
10 libdispatch.dylib 0x19bad12d8 _dispatch_continuation_pop + 600 (queue.c:321)
11 libdispatch.dylib 0x19bae51c8 _dispatch_source_latch_and_call + 420 (source.c:596)
12 libdispatch.dylib 0x19bae3d8c _dispatch_source_invoke + 832 (source.c:961)
13 libdispatch.dylib 0x19badc4b4 _dispatch_main_queue_drain + 748 (queue.c:7898)
14 libdispatch.dylib 0x19badc1b8 _dispatch_main_queue_callback_4CF + 44 (queue.c:8058)
15 CoreFoundation 0x193bfb710 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 (CFRunLoop.c:1780)
16 CoreFoundation 0x193bf8914 __CFRunLoopRun + 1996 (CFRunLoop.c:3149)
17 CoreFoundation 0x193bf7cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
18 GraphicsServices 0x1d8aa81a8 GSEventRunModal + 164 (GSEvent.c:2196)
19 UIKitCore 0x19623090c -[UIApplication _run] + 888 (UIApplication.m:3713)
20 UIKitCore 0x1962e49d0 UIApplicationMain + 340 (UIApplication.m:5303)
21 MyApp 0x102875f7c main + 64 (AppDelegate.swift:20)
22 dyld 0x1b72a9e4c start + 2240 (dyldMain.cpp:1298)

Seeing many presentViewController crashes from past year. But this is the first one and only one of GameCenter since i included this framework 72 days back.

Seems like after iOS 16, presentViewController is broken.

Was seeing these with viewWilltransition and UIAlertController. Contacted DTS. Removed both of them, but now only saw one error which is this one. It popped up only now when i removed viewWilltransition and UIAlertController from my code.

Seems like an Apple bug to me. What could be the workaround to this? Am not sure if i will see more of these, cant say.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions