Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.5.3
-
None
-
Crash occurs on iOS 17 and iOS 18 on any iPad models (as far as we tested)
Description
The crash randomly occurs.
To reproduce it, the example "layouts" can be used.
Start the app, and open other apps as well on the ipad.
Then execute the following gestures many many times in any order:
- Switch between applications by using the 4 fingers gesture
- Call the undo/redo by using the 3 fingers gesture
At random time the application crashes with the following stack:
1 objc_msgSend (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/usr/lib/libobjc.A.dylib 0x191e66c14 2 -[_NSUndoStack popAndInvoke] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/Frameworks/Foundation.framework/Foundation 0x199233c2c 3 -[NSUndoManager undoNestedGroup] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/Frameworks/Foundation.framework/Foundation 0x1992321bc 4 -[UIUndoGestureInteraction undo:] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x19ca68118 5 -[UIUndoGestureInteraction performActionWithDirection:] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x19ca67b78 6 -[UIUndoGestureInteraction _endPanWithDirection:] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x19ca678c8 7 -[UIUndoGestureInteraction performGestureWithDirection:authenticationMessage:] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x19ca67c88 8 -[_UIProductivityGestureAction _handleActionForWindowScene:] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x19c3f71d4 9 -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x19c1dded4 10 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x19bf74108 11 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x19c0334bc 12 -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x19c0330d4 13 -[FBSScene updater:didReceiveActions:forExtension:] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices 0x1b110f7b4 14 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices 0x1b10f4198 15 __71-[FBSWorkspaceScenesClient sceneID:sendActions:toExtension:completion:]_block_invoke (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices 0x1b112779c 16 _dispatch_client_callout (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/usr/lib/system/libdispatch.dylib 0x1a1326cc0 17 _dispatch_block_invoke_direct$VARIANT$mp (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/usr/lib/system/libdispatch.dylib 0x1a12caeac 18 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices 0x1b10f56b4 19 -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices 0x1b10f563c 20 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices 0x1b10f5550 21 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x199c34114 22 __CFRunLoopDoSource0 (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x199c340ac 23 __CFRunLoopDoSources0 (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x199c31de8 24 __CFRunLoopRun (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x199c30f2c 25 CFRunLoopRunSpecific (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation 0x199c307c8 26 GSEventRunModal (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices 0x1d9664814 27 -[UIApplication _run] (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x19c12d268 28 UIApplicationMain (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore 0x19c1d790c 29 qt_main_wrapper qioseventdispatcher.mm 206 0x102392474 30 start (arm64) /Users/jerome.desfieux/Library/Developer/Xcode/iOS DeviceSupport/iPad7,5 17.7.5 (21H420)/Symbols/usr/lib/dyld 0x1bb173228
For giving an order of magnitude, I need to play with gestures for about 30 minutes before having a crash. (note that with thousand of devices using our app, the crash happens every day and is critical for us).
It looks very similar to this issue found in flutter (same stack):
https://github.com/flutter/flutter/issues/154493
which has been corrected by: https://github.com/flutter/engine/pull/53553
Attachments
Issue Links
- relates to
-
QTBUG-113569 iOS Crash (reported via Apple)
-
- Closed
-