Post

Replies

Boosts

Views

Activity

Crash in -[FBSSceneSnapshotRequestHandle performRequestForScene:]
My app got this crash report. The app crashed right away when loading. I couldn't reproduce it on my device but there are a significant number of reported crashes. Some users had this problem on iOS 15.0.1 and gone after upgrading to iOS 15.4.1. But there are still people having this crash even after upgrading to 15.4.1. I also checked the forum and it said to be related to background processing. However, I don't have any background processing except calls like this when starting the app. dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0) I don't think it is considered as background processing, right? #1 (null) in _dispatch_sema4_wait () #2 (null) in _dispatch_semaphore_wait_slow () #3 (null) in -[FBSSceneSnapshotRequestHandle performRequestForScene:] () #4 (null) in -[FBSSceneSnapshotAction snapshotRequest:performWithContext:] () #5 (null) in -[FBSSceneSnapshotRequest performSnapshotWithContext:] () #6 (null) in __65-[UIApplication _performSnapshotsWithAction:forScene:completion:]_block_invoke_3 () #7 (null) in -[FBSSceneSnapshotAction _executeNextRequest] () #8 (null) in -[FBSSceneSnapshotAction executeRequestsWithHandler:completionHandler:expirationHandler:] () #9 (null) in __65-[UIApplication _performSnapshotsWithAction:forScene:completion:]_block_invoke_2 () #10 (null) in -[UIApplication _beginSnapshotSessionForScene:withSnapshotBlock:] () #11 (null) in __65-[UIApplication _performSnapshotsWithAction:forScene:completion:]_block_invoke () #12 (null) in -[UIScene _enableOverrideSettingsForActions:] () #13 (null) in -[UIScene _performSystemSnapshotWithActions:] () #14 (null) in -[UIApplication _performSnapshotsWithAction:forScene:completion:] () #15 (null) in __98-[_UISceneSnapshotBSActionsHandler _respondToActions:forFBSScene:inUIScene:fromTransitionContext:]_block_invoke_3 () #16 (null) in __98-[_UISceneSnapshotBSActionsHandler _respondToActions:forFBSScene:inUIScene:fromTransitionContext:]_block_invoke_2 () #17 (null) in -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] () #18 (null) in -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] () #19 (null) in -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] () #20 (null) in -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:] () #21 (null) in __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2 () #22 (null) in -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] () #23 (null) in __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke () #24 (null) in _dispatch_client_callout () #25 (null) in _dispatch_block_invoke_direct () #26 (null) in __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ () #27 (null) in -[FBSSerialQueue _targetQueue_performNextIfPossible] () #28 (null) in -[FBSSerialQueue _performNextFromRunLoopSource] () #29 (null) in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ () #30 (null) in __CFRunLoopDoSource0 () #31 (null) in __CFRunLoopDoSources0 () #32 (null) in __CFRunLoopRun () #33 (null) in CFRunLoopRunSpecific () #34 (null) in GSEventRunModal () #35 (null) in -[UIApplication _run] () #36 (null) in UIApplicationMain () code-block
3
2
1.5k
Apr ’22