Open freemansion opened 4 months ago
UPD: we have spike of 230 similar crashes, below you can see the stack trace:
Crashed: com.apple.main-thread 0 app-name 0xbe7ba0 closure #1 in RollbarCrashFormattingFilter.backtrace(for:process:) + 153556 (
:153556) 1 app-name 0xbe6078 closure #1 in RollbarCrashFormattingFilter.threadInfo(for:process:) + 57 (FormatBuilder.swift:57) 2 app-name 0xbe12c4 closure #1 in RollbarCrashFormattingFilter.format(:) + 57 (FormatBuilder.swift:57) 3 app-name 0xbe0d84 RollbarCrashFormattingFilter.filterReports(:onCompletion:) + 57 (FormatBuilder.swift:57) 4 app-name 0xbe0fb0 @objc RollbarCrashFormattingFilter.filterReports(_:onCompletion:) + 125924 ( :125924) 5 app-name 0xbcfdec 63-[RollbarCrashReportFilterPipeline filterReports:onCompletion:]_block_invoke_3 + 336 (RollbarCrashReportFilterBasic.m:336) 6 app-name 0xbe0b6c thunk for @escaping @calleeunowned @convention(block) (@unowned NSArray?, @unowned ObjCBool, @unowned NSError?) -> () + 124832 ( :124832) 7 app-name 0xbdb124 RollbarCrashDiagnosticFilter.filterReports( :onCompletion:) + 29 (RollbarCrashDiagnosticFilter.swift:29) 8 app-name 0xbdb534 @objc RollbarCrashDiagnosticFilter.filterReports(_:onCompletion:) + 102760 (:102760) 9 app-name 0xbcfbe4 -[RollbarCrashReportFilterPipeline filterReports:onCompletion:] + 349 (RollbarCrashReportFilterBasic.m:349) 10 app-name 0xbcfdec 63-[RollbarCrashReportFilterPipeline filterReports:onCompletion:]_block_invoke3 + 336 (RollbarCrashReportFilterBasic.m:336) 11 app-name 0xbcfc60 -[RollbarCrashReportFilterPipeline filterReports:onCompletion:] + 349 (RollbarCrashReportFilterBasic.m:349) 12 app-name 0xbcfbe4 -[RollbarCrashReportFilterPipeline filterReports:onCompletion:] + 349 (RollbarCrashReportFilterBasic.m:349) 13 app-name 0xbc9214 -[RollbarCrashHandler sendReports:onCompletion:] + 443 (RollbarCrashHandler.m:443) 14 app-name 0xbc8d30 -[RollbarCrashHandler sendAllReportsWithCompletion:] + 349 (RollbarCrashHandler.m:349) 15 app-name 0xbce5ac -[RollbarCrashInstallation sendAllReportsWithCompletion:] + 355 (RollbarCrashInstallation.m:355) 16 app-name 0xc05050 -[RollbarInfrastructure configureWith:] + 51 (RollbarInfrastructure.m:51) 17 app-name 0xc02b68 +[Rollbar initWithConfiguration:] + 36 (Rollbar.m:36) 18 app-name 0x2e6f78 RollbarHandler.initRollbarWithUser(phone:userName:) + 49 (RollbarHandler.swift:49) 19 app-name 0x4d0ae0 AppDelegate.application(:didFinishLaunchingWithOptions:) + 87 (AppDelegate.swift:87) 20 app-name 0x4d7c70 @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) + 4312497264 (:4312497264) 21 UIKitCore 0x35af40 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 300 22 UIKitCore 0x35a664 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 2848 23 UIKitCore 0x359640 -[UIApplication _runWithMainScene:transitionContext:completion:] + 856 24 UIKitCore 0x35928c -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 132 25 UIKitCore 0x9ed64 _UIScenePerformActionsWithLifecycleActionMask + 108 26 UIKitCore 0x3e0c3c 101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 216 27 UIKitCore 0x291888 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 220 28 UIKitCore 0x2916b0 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 620 29 UIKitCore 0x291260 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 252 30 UIKitCore 0x29112c __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 148 31 UIKitCore 0x96f5a0 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 736 32 UIKitCore 0xa0796c _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 224 33 UIKitCore 0x13d2d8 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 316 34 UIKitCore 0x5af048 64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.215 + 556 35 UIKitCore 0x20fbec -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 216 36 UIKitCore 0x20fa5c -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244 37 UIKitCore 0x20efb0 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 520 38 UIKitCore 0x20ed3c -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 288 39 FrontBoardServices 0x2d48 -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 344 40 FrontBoardServices 0x42104 92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.78 + 120 41 FrontBoardServices 0x6ae4 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168 42 FrontBoardServices 0x41d3c 92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke + 360 43 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20 44 libdispatch.dylib 0x7a5c _dispatch_block_invoke_direct + 264 45 FrontBoardServices 0x10f2c FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 52 46 FrontBoardServices 0x10ac8 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220 47 FrontBoardServices 0x132a8 -[FBSSerialQueue _performNextFromRunLoopSource] + 28 48 CoreFoundation 0xd622c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28 49 CoreFoundation 0xe2614 CFRunLoopDoSource0 + 176 50 CoreFoundation 0x6657c CFRunLoopDoSources0 + 340 51 CoreFoundation 0x7beb8 __CFRunLoopRun + 836 52 CoreFoundation 0x811e4 CFRunLoopRunSpecific + 612 53 GraphicsServices 0x1368 GSEventRunModal + 164 54 UIKitCore 0x3a2d88 -[UIApplication _run] + 888 55 UIKitCore 0x3a29ec UIApplicationMain + 340 56 app-name 0x4da148 main + 29 (AppDelegate.swift:29) 57 ??? 0x1b6f71948 (Missing)
any plans to resolve this issue?
Hi there. We're currently experiencing crash due improperly handled
nil
value inside Rollbar SDK. Here is more context:Crash description App crashes during cold start with following end of stacktrace:
Rollbar-Apple SDK version: v.3.2.1 revision: 8f22deced5e5c58cfcf923395a9ac8496b3bc371
46 crashes / 18 users Operating systems 65% iOS 16 35% iOS 17