-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Description
We released the app with 10.24.0 and noticed a large number of crash reports caused by FirebaseApp.configure causing a hang. Not sure how to reproduce. It is random on device that this happens.
Reproducing the issue
No response
Firebase SDK Version
10.25.0
Xcode Version
15.2
Installation Method
Swift Package Manager
Firebase Product(s)
AB Testing, Analytics, Authentication, Crashlytics, DynamicLinks, Firestore, Functions, In-App Messaging, Performance, Remote Config, Storage
Targeted Platforms
iOS
Relevant Log Output
#0 (null) in _dispatch_sync_f ()
#1 0x00000001032fddb0 in -[FIRCLSRolloutsPersistenceManager updateRolloutsStateToPersistenceWithRollouts:reportID:] at /Users/jona/Library/Developer/Xcode/DerivedData/flipaclip-behvdimhwqhunhbioxirkxfgelqm/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/Crashlytics/Controllers/FIRCLSRolloutsPersistenceManager.m:60
#2 0x00000001033452dc in CrashlyticsRemoteConfigManager.updateRolloutsState(rolloutsState:reportID:) at /Users/jona/Library/Developer/Xcode/DerivedData/flipaclip-behvdimhwqhunhbioxirkxfgelqm/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/Crashlytics/Rollouts/CrashlyticsRemoteConfigManager.swift:56
#3 (null) in @objc CrashlyticsRemoteConfigManager.updateRolloutsState(rolloutsState:reportID:) ()
#4 0x0000000103300be8 in -[FIRCrashlytics rolloutsStateDidChange:] at /Users/jona/Library/Developer/Xcode/DerivedData/flipaclip-behvdimhwqhunhbioxirkxfgelqm/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/Crashlytics/FIRCrashlytics.m:448
#5 0x00000001032de638 in __52-[FIRRemoteConfig addRemoteConfigInteropSubscriber:]_block_invoke at /Users/jona/Library/Developer/Xcode/DerivedData/flipaclip-behvdimhwqhunhbioxirkxfgelqm/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/FIRRemoteConfig.m:645
#6 (null) in __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ ()
#7 (null) in ___CFXRegistrationPost_block_invoke ()
#8 (null) in _CFXRegistrationPost ()
#9 (null) in _CFXNotificationPost ()
#10 (null) in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
#11 0x00000001032de720 in -[FIRRemoteConfig notifyRolloutsStateChange:versionNumber:] at /Users/jona/Library/Developer/Xcode/DerivedData/flipaclip-behvdimhwqhunhbioxirkxfgelqm/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/FIRRemoteConfig.m:665
#12 0x00000001032de598 in -[FIRRemoteConfig addRemoteConfigInteropSubscriber:] at /Users/jona/Library/Developer/Xcode/DerivedData/flipaclip-behvdimhwqhunhbioxirkxfgelqm/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/FIRRemoteConfig.m:651
#13 0x00000001032df348 in -[FIRRemoteConfigComponent registerRolloutsStateSubscriber:for:] at /Users/jona/Library/Developer/Xcode/DerivedData/flipaclip-behvdimhwqhunhbioxirkxfgelqm/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/FIRRemoteConfigComponent.m:152
#14 0x00000001032ffcc8 in -[FIRCrashlytics initWithApp:appInfo:installations:analytics:sessions:remoteConfig:] at /Users/jona/Library/Developer/Xcode/DerivedData/flipaclip-behvdimhwqhunhbioxirkxfgelqm/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/Crashlytics/FIRCrashlytics.m:218
#15 0x0000000103300178 in __38+[FIRCrashlytics componentsToRegister]_block_invoke at /Users/jona/Library/Developer/Xcode/DerivedData/flipaclip-behvdimhwqhunhbioxirkxfgelqm/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/Crashlytics/FIRCrashlytics.m:251
#16 0x00000001031e2574 in -[FIRComponentContainer instantiateInstanceForProtocol:withBlock:] at /Users/jona/Library/Developer/Xcode/DerivedData/flipaclip-behvdimhwqhunhbioxirkxfgelqm/SourcePackages/checkouts/firebase-ios-sdk/FirebaseCore/Sources/FIRComponentContainer.m:160
#17 0x00000001031e26f0 in -[FIRComponentContainer instanceForProtocol:] at /Users/jona/Library/Developer/Xcode/DerivedData/flipaclip-behvdimhwqhunhbioxirkxfgelqm/SourcePackages/checkouts/firebase-ios-sdk/FirebaseCore/Sources/FIRComponentContainer.m:199
#18 0x00000001031e2480 in -[FIRComponentContainer instantiateEagerComponents] at /Users/jona/Library/Developer/Xcode/DerivedData/flipaclip-behvdimhwqhunhbioxirkxfgelqm/SourcePackages/checkouts/firebase-ios-sdk/FirebaseCore/Sources/FIRComponentContainer.m:137
#19 0x00000001031df4dc in +[FIRApp configureWithName:options:] at /Users/jona/Library/Developer/Xcode/DerivedData/flipaclip-behvdimhwqhunhbioxirkxfgelqm/SourcePackages/checkouts/firebase-ios-sdk/FirebaseCore/Sources/FIRApp.m:199
#20 0x00000001031df18c in +[FIRApp configureWithOptions:] at /Users/jona/Library/Developer/Xcode/DerivedData/flipaclip-behvdimhwqhunhbioxirkxfgelqm/SourcePackages/checkouts/firebase-ios-sdk/FirebaseCore/Sources/FIRApp.m:132
#21 0x000000010329df7c in FirebaseServiceSdk.start() at /Users/jona/Developer/git/flipaclip-ios/flipaclip/Engagement/Sources/Engagement/data/firebase/FirebaseServiceSdk.swift:60
#22 (null) in protocol witness for ServiceSdk.start() in conformance FirebaseServiceSdk ()
#23 0x000000010329a194 in closure #1 in ServiceSdkManagerImpl.start() at /Users/jona/Developer/git/flipaclip-ios/flipaclip/Engagement/Sources/Engagement/data/ServiceSdkManagerImpl.swift:43
#24 (null) in specialized Sequence.forEach(_:) ()
#25 0x000000010329a194 in ServiceSdkManagerImpl.start() at /Users/jona/Developer/git/flipaclip-ios/flipaclip/Engagement/Sources/Engagement/data/ServiceSdkManagerImpl.swift:42
#26 (null) in protocol witness for ServiceSdkManager.start() in conformance ServiceSdkManagerImpl ()
#27 0x00000001032b0cac in Container.initEngagementModule() at /Users/jona/Developer/git/flipaclip-ios/flipaclip/Engagement/Sources/Engagement/di/EngagementModule.swift:65
#28 0x0000000102ea0034 in specialized ColdBootAppInitUseCaseImpl.execute(completion:) at /Users/jona/Developer/git/flipaclip-ios/flipaclip/flipaclip/di/data/usecase/ColdBootAppInitUseCaseImpl.swift:33
#29 (null) in ColdBootAppInitUseCaseImpl.execute(completion:) ()
#30 (null) in protocol witness for ColdBootAppInitUseCase.execute(completion:) in conformance ColdBootAppInitUseCaseImpl ()
#31 0x000000010376d400 in StartupFlowRepositoryImpl.start() at /Users/jona/Developer/git/flipaclip-ios/flipaclip/FeatureStartup/Sources/FeatureStartup/data/StartupFlowRepositoryImpl.swift:67
#32 0x000000010379c030 in StartupCoordinator.start() at /Users/jona/Developer/git/flipaclip-ios/flipaclip/FeatureStartup/Sources/FeatureStartup/presentation/coordinator/StartupCoordinator.swift:90
#33 0x0000000103135d50 in Coordinator.startChild(coordinator:) at /Users/jona/Developer/git/flipaclip-ios/flipaclip/CoreUI/Sources/CoreUI/presentation/coordinator/Coordinator.swift:48
#34 0x0000000102f96604 in AppCoordinator.startStartupFlow() at /Users/jona/Developer/git/flipaclip-ios/flipaclip/flipaclip/Coordinators/AppCoordinator.swift:66
#35 0x0000000102ed9718 in AppCoordinator.start() at /Users/jona/Developer/git/flipaclip-ios/flipaclip/flipaclip/Coordinators/AppCoordinator.swift:25
#36 0x0000000102ed9718 in AppDelegate.application(_:didFinishLaunchingWithOptions:) at /Users/jona/Developer/git/flipaclip-ios/flipaclip/flipaclip/Application/AppDelegate.swift:46
#37 (null) in @objc AppDelegate.application(_:didFinishLaunchingWithOptions:) ()
#38 (null) in -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] ()
#39 (null) in -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] ()
#40 (null) in -[UIApplication _runWithMainScene:transitionContext:completion:] ()
#41 (null) in -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] ()
#42 (null) in _UIScenePerformActionsWithLifecycleActionMask ()
#43 (null) in __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke ()
#44 (null) in -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] ()
#45 (null) in -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] ()
#46 (null) in -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] ()
#47 (null) in __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block... ()
#48 (null) in +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] ()
#49 (null) in _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion ()
#50 (null) in -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] ()
#51 (null) in __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.214 ()
#52 (null) in -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] ()
#53 (null) in -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] ()
#54 (null) in -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] ()
#55 (null) in -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] ()
#56 (null) in -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] ()
#57 (null) in __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.78 ()
#58 (null) in -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] ()
#59 (null) in __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke ()
#60 (null) in _dispatch_client_callout ()
#61 (null) in _dispatch_block_invoke_direct ()
#62 (null) in __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ ()
#63 (null) in -[FBSSerialQueue _targetQueue_performNextIfPossible] ()
#64 (null) in -[FBSSerialQueue _performNextFromRunLoopSource] ()
#65 (null) in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ()
#66 (null) in __CFRunLoopDoSource0 ()
#67 (null) in __CFRunLoopDoSources0 ()
#68 (null) in __CFRunLoopRun ()
#69 (null) in CFRunLoopRunSpecific ()
#70 (null) in GSEventRunModal ()
#71 (null) in -[UIApplication _run] ()
#72 (null) in UIApplicationMain ()
#73 0x0000000102eda128 in main at /Users/jona/Developer/git/flipaclip-ios/flipaclip/flipaclip/Application/AppDelegate.swift:24
#74 (null) in start ()If using Swift Package Manager, the project's Package.resolved
Expand Package.resolved snippet
{
"pins" : [
{
"identity" : "abseil-cpp-binary",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/abseil-cpp-binary.git",
"state" : {
"revision" : "748c7837511d0e6a507737353af268484e1745e2",
"version" : "1.2024011601.1"
}
},
{
"identity" : "alamofire",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Alamofire/Alamofire.git",
"state" : {
"revision" : "723fa5a6c65812aec4a0d7cc432ee198883b6e00",
"version" : "5.9.0"
}
},
{
"identity" : "app-check",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/app-check.git",
"state" : {
"revision" : "7d2688de038d5484866d835acb47b379722d610e",
"version" : "10.19.0"
}
},
{
"identity" : "appauth-ios",
"kind" : "remoteSourceControl",
"location" : "https://github.com/openid/AppAuth-iOS.git",
"state" : {
"revision" : "71cde449f13d453227e687458144bde372d30fc7",
"version" : "1.6.2"
}
},
{
"identity" : "clevertap-ios-sdk",
"kind" : "remoteSourceControl",
"location" : "https://github.com/CleverTap/clevertap-ios-sdk",
"state" : {
"revision" : "4326cc44d928b062a04ec770e20c318cc2699076",
"version" : "6.2.1"
}
},
{
"identity" : "facebook-ios-sdk",
"kind" : "remoteSourceControl",
"location" : "https://github.com/facebook/facebook-ios-sdk",
"state" : {
"revision" : "3fe31c168903759de1c5752d12856c5c437c6862",
"version" : "16.3.1"
}
},
{
"identity" : "factory",
"kind" : "remoteSourceControl",
"location" : "https://github.com/hmlongco/Factory",
"state" : {
"revision" : "587995f7d5cc667951d635fbf6b4252324ba0439",
"version" : "2.3.2"
}
},
{
"identity" : "firebase-ios-sdk",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/firebase-ios-sdk.git",
"state" : {
"revision" : "97940381e57703c07f31a8058d8f39ec53b7c272",
"version" : "10.25.0"
}
},
{
"identity" : "flanimatedimage",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Flipboard/FLAnimatedImage",
"state" : {
"revision" : "d4f07b6f164d53c1212c3e54d6460738b1981e9f",
"version" : "1.0.17"
}
},
{
"identity" : "fmdb",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ccgus/fmdb",
"state" : {
"revision" : "61e51fde7f7aab6554f30ab061cc588b28a97d04",
"version" : "2.7.7"
}
},
{
"identity" : "google-api-objectivec-client-for-rest",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/google-api-objectivec-client-for-rest",
"state" : {
"revision" : "260501c0425e95e038c65436436161266bf548e9",
"version" : "3.0.0"
}
},
{
"identity" : "googleappmeasurement",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleAppMeasurement.git",
"state" : {
"revision" : "16244d177c4e989f87b25e9db1012b382cfedc55",
"version" : "10.25.0"
}
},
{
"identity" : "googledatatransport",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleDataTransport.git",
"state" : {
"revision" : "a732a4b47f59e4f725a2ea10f0c77e93a7131117",
"version" : "9.3.0"
}
},
{
"identity" : "googlesignin-ios",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleSignIn-iOS",
"state" : {
"revision" : "9c9b36af86a4dd3da16048a36cf37351e63ccfe1",
"version" : "6.2.4"
}
},
{
"identity" : "googleutilities",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleUtilities.git",
"state" : {
"revision" : "bc27fad73504f3d4af235de451f02ee22586ebd3",
"version" : "7.12.1"
}
},
{
"identity" : "grpc-binary",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/grpc-binary.git",
"state" : {
"revision" : "e9fad491d0673bdda7063a0341fb6b47a30c5359",
"version" : "1.62.2"
}
},
{
"identity" : "gtm-session-fetcher",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/gtm-session-fetcher.git",
"state" : {
"revision" : "5ccda3981422a84186387dbb763ba739178b529c",
"version" : "2.3.0"
}
},
{
"identity" : "gtmappauth",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GTMAppAuth.git",
"state" : {
"revision" : "6dee0cde8a1b223737a5159e55e6b4ec16bbbdd9",
"version" : "1.3.1"
}
},
{
"identity" : "interop-ios-for-google-sdks",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/interop-ios-for-google-sdks.git",
"state" : {
"revision" : "2d12673670417654f08f5f90fdd62926dc3a2648",
"version" : "100.0.0"
}
},
{
"identity" : "ios_sdk",
"kind" : "remoteSourceControl",
"location" : "https://github.com/adjust/ios_sdk",
"state" : {
"revision" : "2fd82b11e329e9c8357eaa77e28799ca2d629ab5",
"version" : "4.38.2"
}
},
{
"identity" : "iqkeyboardmanager",
"kind" : "remoteSourceControl",
"location" : "https://github.com/hackiftekhar/IQKeyboardManager",
"state" : {
"revision" : "aa656e1f0d95f0154622f453599318602848be3b",
"version" : "7.0.1"
}
},
{
"identity" : "leanplum-ios-sdk",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Leanplum/Leanplum-iOS-SDK",
"state" : {
"revision" : "ef892ed5c50ebad476bf600ce4c06ec557c4782d",
"version" : "6.4.2"
}
},
{
"identity" : "leveldb",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/leveldb.git",
"state" : {
"revision" : "0706abcc6b0bd9cedfbb015ba840e4a780b5159b",
"version" : "1.22.2"
}
},
{
"identity" : "lottie-spm",
"kind" : "remoteSourceControl",
"location" : "https://github.com/airbnb/lottie-spm.git",
"state" : {
"revision" : "3bd43e12d6fb54654366a61f7cfaca787318b8ce",
"version" : "4.4.1"
}
},
{
"identity" : "mbprogresshud",
"kind" : "remoteSourceControl",
"location" : "https://github.com/jdg/MBProgressHUD.git",
"state" : {
"revision" : "bca42b801100b2b3a4eda0ba8dd33d858c780b0d",
"version" : "1.2.0"
}
},
{
"identity" : "nanopb",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/nanopb.git",
"state" : {
"revision" : "819d0a2173aff699fb8c364b6fb906f7cdb1a692",
"version" : "2.30909.0"
}
},
{
"identity" : "observable",
"kind" : "remoteSourceControl",
"location" : "https://github.com/roberthein/Observable",
"state" : {
"revision" : "c789e973131a4c2aba2a575345a91bcc06eef38d",
"version" : "2.2.0"
}
},
{
"identity" : "otpublishersheadlesssdk",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Zentrust/OTPublishersHeadlessSDK",
"state" : {
"revision" : "98957a36b9afb5371bb8b9151d57943557d9d373",
"version" : "202404.1.0"
}
},
{
"identity" : "promises",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/promises.git",
"state" : {
"revision" : "e70e889c0196c76d22759eb50d6a0270ca9f1d9e",
"version" : "2.3.1"
}
},
{
"identity" : "purchasely-ios",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Purchasely/Purchasely-iOS",
"state" : {
"revision" : "f5c72bca19158f46b148412efa83c0ae449a43fd",
"version" : "4.3.5"
}
},
{
"identity" : "rxdatasources",
"kind" : "remoteSourceControl",
"location" : "https://github.com/RxSwiftCommunity/RxDataSources",
"state" : {
"revision" : "90c29b48b628479097fe775ed1966d75ac374518",
"version" : "5.0.2"
}
},
{
"identity" : "rxswift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/ReactiveX/RxSwift",
"state" : {
"revision" : "9dcaa4b333db437b0fbfaf453fad29069044a8b4",
"version" : "6.6.0"
}
},
{
"identity" : "sdwebimage",
"kind" : "remoteSourceControl",
"location" : "https://github.com/SDWebImage/SDWebImage.git",
"state" : {
"revision" : "1f06ef5007b6a580b3873ed2adee19e05d3b215a",
"version" : "5.18.3"
}
},
{
"identity" : "swift-protobuf",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-protobuf.git",
"state" : {
"revision" : "3c54ab05249f59f2c6641dd2920b8358ea9ed127",
"version" : "1.24.0"
}
},
{
"identity" : "swift-snapshot-testing",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-snapshot-testing",
"state" : {
"revision" : "5c3d2141fb0e55da411577012c917962b6b3517e",
"version" : "1.8.0"
}
}
],
"version" : 2
}
If using CocoaPods, the project's Podfile.lock
Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
jruston, tajchert and 5anniversary