When double tapping on the ("+") Button on the Home Screen ScribbleLab will Crash, enters llDB and a fence hang of 504ms will be reported. Furthermore hang-detection detected a hang over +9000ms.
[!Note]
This crash appears on a real device - so it's not a Xcode failure and it was reproduced more than 2 times
Build and run ScribbleLab (in Xcode for logs and debug sessions)
Log-In (if not logged in)
visit HomeScreen
double tap '+' icon in NavigationBar
See Xcode
Expected Behavior
The confirmation dialogue should show up and application shouldn't crash.
Additional Context
Console output:
*** Terminating app due to uncaught exception 'NSGenericException', reason:
'Your application has presented a UIAlertController (<SwiftUI.PlatformAlertController: 0x15f017e00>) of style UIAlertControllerStyleActionSheet from
_TtGC7SwiftUI19UIHostingControllerGVS_15ModifiedContentVS_7AnyViewVS_12RootModifier__ (<_TtGC7SwiftUI19UIHostingControllerGVS_15ModifiedContentVS_7AnyViewVS_12RootModifier__: 0x15c01c400>).
The modalPresentationStyle of a UIAlertController with this style is UIModalPresentationPopover.
You must provide location information for this popover through the alert controller's popoverPresentationController. You must provide either a sourceView and sourceRect or a barButtonItem.
If this information is not known when you present the alert controller, you may provide it in the UIPopoverPresentationControllerDelegate method -prepareForPopoverPresentation.'
*** First throw call stack:
(0x187f8e69c 0x180293c80 0x18a79a73c 0x18a2a3c08 0x18a2a2b38 0x18a17835c 0x18a178140 0x18a178058
0x18a177de4 0x18a177ce0 0x18a1777e4 0x18a176ed4 0x18a176f90 0x187ed912c 0x187ed83a8 0x187ed6b5c 0x187ed5898
0x187ed5478 0x1cb42e4f8 0x18a2f962c 0x18a2f8c68 0x18cd094b8 0x18cd092fc 0x18c979e90 0x100eddcd8
0x100eddf3c 0x1aabfadcc)
libc++abi: terminating due to uncaught exception of type NSException
Description
When double tapping on the ("+") Button on the Home Screen ScribbleLab will Crash, enters llDB and a fence hang of 504ms will be reported. Furthermore hang-detection detected a hang over +9000ms.
Version
To Reproduce
Expected Behavior
The confirmation dialogue should show up and application shouldn't crash.
Additional Context
Console output:
Screenshots
https://github.com/ScribbleLabApp/ScribbleLab/assets/129311622/bc969698-e7b0-4bb3-8a12-bd1dfae5d4fc
Is there an existing issue for this?