[Bug Report] Crashed when dismissing FLEXExplorerViewController
c01dsummer opened this issue · comments
c01dsummer commented
Environment
- Platform+version: iPhone Simulator iOS 16.0, Xcode 14.0 beta3 14A5270f
- FLEX version: 4.7.0
Bug Report
Crashed when dismissing FLEXExplorerViewController
stack trace:
2022-07-13 20:02:42.878940+0800 Landmarks[5343:84198] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'The status bar window cannot be accessed from within an application.'
*** First throw call stack:
(
0 CoreFoundation 0x000000018040d20c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x000000018005008c objc_exception_throw + 56
2 Foundation 0x0000000180b21858 _userInfoForFileAndLine + 0
3 UIKitCore 0x0000000107ba85e8 -[UIApplication _statusBarWindow] + 92
4 Foundation 0x0000000180b5f3b4 -[NSObject(NSKeyValueCoding) valueForKey:] + 300
5 Landmarks 0x000000010498bf20 -[FLEXExplorerViewController statusWindow] + 120
6 Landmarks 0x000000010498f61c -[FLEXExplorerViewController dismissViewControllerAnimated:completion:] + 352
7 Landmarks 0x000000010496da54 -[FLEXNavigationController dismissAnimated] + 200
8 UIKitCore 0x0000000107ba7ed0 -[UIApplication sendAction:to:from:forEvent:] + 96
9 UIKitCore 0x00000001072558a0 -[UIBarButtonItem _triggerActionForEvent:fallbackSender:] + 216
10 UIKitCore 0x0000000107234338 __45-[_UIButtonBarTargetAction _invoke:forEvent:]_block_invoke + 28
11 UIKitCore 0x000000010723423c -[_UIButtonBarTargetAction _invoke:forEvent:] + 160
12 UIKitCore 0x0000000107ba7ed0 -[UIApplication sendAction:to:from:forEvent:] + 96
13 UIKitCore 0x000000010757e344 -[UIControl sendAction:to:forEvent:] + 108
14 UIKitCore 0x000000010757e688 -[UIControl _sendActionsForEvents:withEvent:] + 268
15 UIKitCore 0x000000010757e6c4 -[UIControl _sendActionsForEvents:withEvent:] + 328
16 UIKitCore 0x000000010757d3a8 -[UIControl touchesEnded:withEvent:] + 392
17 UIKitCore 0x0000000107bdd284 -[UIWindow _sendTouchesForEvent:] + 900
18 UIKitCore 0x0000000107bde72c -[UIWindow sendEvent:] + 3184
19 UIKitCore 0x0000000107bbc75c -[UIApplication sendEvent:] + 692
20 Landmarks 0x0000000104a32bcc __35+[FLEXKeyboardShortcutManager load]_block_invoke_2 + 728
21 UIKitCore 0x0000000107c37654 __dispatchPreprocessedEventFromEventQueue + 6824
22 UIKitCore 0x0000000107c392b8 __processEventQueue + 5612
23 UIKitCore 0x0000000107c32258 __eventFetcherSourceCallback + 220
24 CoreFoundation 0x00000001803725d8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
25 CoreFoundation 0x0000000180372520 __CFRunLoopDoSource0 + 172
26 CoreFoundation 0x0000000180371c90 __CFRunLoopDoSources0 + 232
27 CoreFoundation 0x000000018036c3d0 __CFRunLoopRun + 756
28 CoreFoundation 0x000000018036bcc4 CFRunLoopRunSpecific + 584
29 GraphicsServices 0x00000001892bdc8c GSEventRunModal + 160
30 UIKitCore 0x0000000107ba2bd4 -[UIApplication _run] + 868
31 UIKitCore 0x0000000107ba6b7c UIApplicationMain + 124
32 SwiftUI 0x000000010bb67930 OUTLINED_FUNCTION_51 + 540
33 SwiftUI 0x000000010bb677d8 OUTLINED_FUNCTION_51 + 196
34 SwiftUI 0x000000010b37aca4 OUTLINED_FUNCTION_6 + 92
35 Landmarks 0x00000001049649a0 $s9Landmarks0A3AppV5$mainyyFZ + 40
36 Landmarks 0x0000000104964b38 main + 12
37 dyld 0x00000001050d1f94 start_sim + 20
38 ??? 0x0000000104ef908c 0x0 + 4377776268
39 ??? 0x6105000000000000 0x0 + 6990993996562563072
)
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'The status bar window cannot be accessed from within an application.'
terminating with uncaught exception of type NSException
CoreSimulator 857.1 - Device: iPhone 13 Pro Max (03224F11-3690-4D5C-B11E-31570733B32F) - Runtime: iOS 16.0 (20A5312e) - DeviceType: iPhone 13 Pro Max
Tanner Bennett commented
This is fixed on master
c01dsummer commented
Already fixed in pr: #607