Closed SPHthabib closed 6 months ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Hi @SPHthabib, it seems like there's no Firebase-related logs in the stack trace. The com.google.firebase.crashlytics.ios.exception
thread only captures exceptions thrown elsewhere in order to record crash information. We'll need more information to be able to help.
@rizafran I am not able to reproduce this locally or any other information from Crashlytics
Hi @SPHthabib, as @rizafran said, this crash was captured by Crashlytics rather than caused by it. The issue looks to be in UICollectionView
. I would double check that any changes to the view's cells are done on the main thread, and that any changes to the collection view's data source are synchronized correctly.
Additionally, since the crash seems to happen during an animation/redraw, I would drop a symbolic breakpoint on one of those view-related symbols (like CA::Transaction::commit()
or _updateVisibleCellsNow
) and try to better understand what user input would trigger those code paths.
I'm marking this as closed since this does not appear to be caused by a Firebase SDK.
Description
We are experiencing a consistent crash on Firebase Crashlytics which is in Firebase SDK with the Foundation framework on iOS and iPadOS.
95% of the crashes happen on iPhones, 5% on iPad devices, and 77% on iOS 17 devices. Less than 1% of devices on the background state.
Reproducing the issue
Only reported in production, not able to replicate on local.
Firebase SDK Version
10.22
Xcode Version
15.2
Installation Method
CocoaPods
Firebase Product(s)
AB Testing, Analytics, Crashlytics, Database, In-App Messaging, Messaging, Performance, Remote Config
Targeted Platforms
iOS, App Extensions
Relevant Log Output
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippet```json Replace this line with the contents of your Package.resolved. ```
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippet```yml - Firebase (10.22.0): - Firebase/Core (= 10.22.0) - Firebase/Analytics (10.22.0): - Firebase/Core - Firebase/Auth (10.22.0): - Firebase/CoreOnly - FirebaseAuth (~> 10.22.0) - Firebase/Core (10.22.0): - Firebase/CoreOnly - FirebaseAnalytics (~> 10.22.0) - Firebase/CoreOnly (10.22.0): - FirebaseCore (= 10.22.0) - Firebase/Crashlytics (10.22.0): - Firebase/CoreOnly - FirebaseCrashlytics (~> 10.22.0) - Firebase/Database (10.22.0): - Firebase/CoreOnly - FirebaseDatabase (~> 10.22.0) - Firebase/InAppMessaging (10.22.0): - Firebase/CoreOnly - FirebaseInAppMessaging (~> 10.22.0-beta) - Firebase/Messaging (10.22.0): - Firebase/CoreOnly - FirebaseMessaging (~> 10.22.0) - Firebase/Performance (10.22.0): - Firebase/CoreOnly - FirebasePerformance (~> 10.22.0) - Firebase/RemoteConfig (10.22.0): - Firebase/CoreOnly - FirebaseRemoteConfig (~> 10.22.0) - FirebaseABTesting (10.22.0): - FirebaseCore (~> 10.0) - FirebaseAnalytics (10.22.0): - FirebaseAnalytics/AdIdSupport (= 10.22.0) - FirebaseCore (~> 10.0) - FirebaseInstallations (~> 10.0) - GoogleUtilities/AppDelegateSwizzler (~> 7.11) - GoogleUtilities/MethodSwizzler (~> 7.11) - GoogleUtilities/Network (~> 7.11) - "GoogleUtilities/NSData+zlib (~> 7.11)" - nanopb (< 2.30911.0, >= 2.30908.0) - FirebaseAnalytics/AdIdSupport (10.22.0): - FirebaseCore (~> 10.0) - FirebaseInstallations (~> 10.0) - GoogleAppMeasurement (= 10.22.0) - GoogleUtilities/AppDelegateSwizzler (~> 7.11) - GoogleUtilities/MethodSwizzler (~> 7.11) - GoogleUtilities/Network (~> 7.11) - "GoogleUtilities/NSData+zlib (~> 7.11)" - nanopb (< 2.30911.0, >= 2.30908.0) - FirebaseAppCheckInterop (10.22.0) - FirebaseAuth (10.22.0): - FirebaseAppCheckInterop (~> 10.17) - FirebaseCore (~> 10.0) - GoogleUtilities/AppDelegateSwizzler (~> 7.8) - GoogleUtilities/Environment (~> 7.8) - GTMSessionFetcher/Core (< 4.0, >= 2.1) - RecaptchaInterop (~> 100.0) - FirebaseCore (10.22.0): - FirebaseCoreInternal (~> 10.0) - GoogleUtilities/Environment (~> 7.12) - GoogleUtilities/Logger (~> 7.12) - FirebaseCoreExtension (10.22.0): - FirebaseCore (~> 10.0) - FirebaseCoreInternal (10.22.0): - "GoogleUtilities/NSData+zlib (~> 7.8)" - FirebaseCrashlytics (10.22.0): - FirebaseCore (~> 10.5) - FirebaseInstallations (~> 10.0) - FirebaseSessions (~> 10.5) - GoogleDataTransport (~> 9.2) - GoogleUtilities/Environment (~> 7.8) - nanopb (< 2.30911.0, >= 2.30908.0) - PromisesObjC (~> 2.1) - FirebaseDatabase (10.22.0): - FirebaseAppCheckInterop (~> 10.17) - FirebaseCore (~> 10.0) - FirebaseSharedSwift (~> 10.0) - leveldb-library (~> 1.22) - FirebaseInAppMessaging (10.22.0-beta): - FirebaseABTesting (~> 10.0) - FirebaseCore (~> 10.0) - FirebaseInstallations (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - nanopb (< 2.30911.0, >= 2.30908.0) - FirebaseInstallations (10.22.0): - FirebaseCore (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - GoogleUtilities/UserDefaults (~> 7.8) - PromisesObjC (~> 2.1) - FirebaseMessaging (10.22.0): - FirebaseCore (~> 10.0) - FirebaseInstallations (~> 10.0) - GoogleDataTransport (~> 9.3) - GoogleUtilities/AppDelegateSwizzler (~> 7.8) - GoogleUtilities/Environment (~> 7.8) - GoogleUtilities/Reachability (~> 7.8) - GoogleUtilities/UserDefaults (~> 7.8) - nanopb (< 2.30911.0, >= 2.30908.0) - FirebasePerformance (10.22.0): - FirebaseCore (~> 10.5) - FirebaseInstallations (~> 10.0) - FirebaseRemoteConfig (~> 10.0) - FirebaseSessions (~> 10.5) - GoogleDataTransport (~> 9.2) - GoogleUtilities/Environment (~> 7.8) - GoogleUtilities/ISASwizzler (~> 7.8) - GoogleUtilities/MethodSwizzler (~> 7.8) - nanopb (< 2.30911.0, >= 2.30908.0) - FirebaseRemoteConfig (10.22.0): - FirebaseABTesting (~> 10.0) - FirebaseCore (~> 10.0) - FirebaseInstallations (~> 10.0) - FirebaseSharedSwift (~> 10.0) - GoogleUtilities/Environment (~> 7.8) - "GoogleUtilities/NSData+zlib (~> 7.8)" - FirebaseSessions (10.22.0): - FirebaseCore (~> 10.5) - FirebaseCoreExtension (~> 10.0) - FirebaseInstallations (~> 10.0) - GoogleDataTransport (~> 9.2) - GoogleUtilities/Environment (~> 7.10) - nanopb (< 2.30911.0, >= 2.30908.0) - PromisesSwift (~> 2.1) - FirebaseSharedSwift (10.22.0) DEPENDENCIES: - Firebase (= 10.22.0) - Firebase/Analytics - Firebase/Auth - Firebase/Crashlytics - Firebase/Database - Firebase/InAppMessaging - Firebase/Messaging - Firebase/Performance - Firebase/RemoteConfig ```