С момента выпуска iOS 13.0 я часто видел этот сбой в нашем приложении:
Fatal Exception: NSRangeException
0 CoreFoundation 0x1846cf278 __exceptionPreprocess
1 libobjc.A.dylib 0x1843f80a4 objc_exception_throw
2 Foundation 0x184998480 -[NSConcretePointerArray dealloc]
3 UIKitCore 0x1888da3b8 -[UIWindowScene _enumerateWindowsIncludingInternalWindows:onlyVisibleWindows:asCopy:stopped:withBlock:]
4 UIKitCore 0x1888d9f74 -[UIWindowScene _topVisibleWindowPassingTest:]
5 UIKitCore 0x1886fc4c4 +[UIWindow _hitTestToPoint:forEvent:windowServerHitTestWindow:]
6 UIKitCore 0x1886fc854 -[UIWindow _targetWindowForPathIndex:atPoint:forEvent:windowServerHitTestWindow:]
7 UIKitCore 0x18873c080 ____updateTouchesWithDigitizerEventAndDetermineIfShouldSend_block_invoke.52
8 UIKitCore 0x18874b738 _UIEventHIDEnumerateChildren
9 UIKitCore 0x18873f8d0 __dispatchPreprocessedEventFromEventQueue
10 UIKitCore 0x188742dc4 __handleEventQueueInternal
11 UIKitCore 0x18873bc38 __handleHIDEventFetcherDrain
12 CoreFoundation 0x18464d090 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
13 CoreFoundation 0x18464cfe8 __CFRunLoopDoSource0
14 CoreFoundation 0x18464c780 __CFRunLoopDoSources0
15 CoreFoundation 0x1846478cc __CFRunLoopRun
16 CoreFoundation 0x18464716c CFRunLoopRunSpecific
17 GraphicsServices 0x18e47f328 GSEventRunModal
18 UIKitCore 0x1886b1d0c UIApplicationMain
19 MyApp 0x100d3ba64 main + 18 (main.swift:18)
20 libdyld.dylib 0x1844d2424 start
Это происходит только в iOS 13.0.0 (17A577)
У нас нет большого контекста о том, какие шаги вызывают это, в данный момент у нас есть только трассировка стека.
Кто-нибудь еще испытывает нечто подобное?
Есть идеи о том, что может быть причиной этого?