Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes while logging App start session event #14166

Open
BotyThieng opened this issue Nov 25, 2024 · 7 comments
Open

App crashes while logging App start session event #14166

BotyThieng opened this issue Nov 25, 2024 · 7 comments
Labels
needs-attention sessions Changes pertaining to the Firebase Sessions SDK

Comments

@BotyThieng
Copy link

BotyThieng commented Nov 25, 2024

Description

Screenshot 2024-11-25 at 5.04.48 PM

Reproducing the issue

No response

Firebase SDK Version

10.24.0

Xcode Version

16.1

Installation Method

CocoaPods

Firebase Product(s)

Analytics, Crashlytics, DynamicLinks, Messaging

Targeted Platforms

iOS

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
PODS:
  - Alamofire (4.7.3)
  - BakongKHQR (1.0.0.14)
  - BartyCrouch (4.11.0)
  - CryptoSwift (1.4.0)
  - DeviceKit (5.1.0)
  - Firebase/Analytics (10.24.0):
    - Firebase/Core
  - Firebase/Core (10.24.0):
    - Firebase/CoreOnly
    - FirebaseAnalytics (~> 10.24.0)
  - Firebase/CoreOnly (10.24.0):
    - FirebaseCore (= 10.24.0)
  - Firebase/Crashlytics (10.24.0):
    - Firebase/CoreOnly
    - FirebaseCrashlytics (~> 10.24.0)
  - Firebase/DynamicLinks (10.24.0):
    - Firebase/CoreOnly
    - FirebaseDynamicLinks (~> 10.24.0)
  - Firebase/Messaging (10.24.0):
    - Firebase/CoreOnly
    - FirebaseMessaging (~> 10.24.0)
  - FirebaseAnalytics (10.24.0):
    - FirebaseAnalytics/AdIdSupport (= 10.24.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.24.0):
    - FirebaseCore (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleAppMeasurement (= 10.24.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)
  - FirebaseCore (10.24.0):
    - FirebaseCoreInternal (~> 10.0)
    - GoogleUtilities/Environment (~> 7.12)
    - GoogleUtilities/Logger (~> 7.12)
  - FirebaseCoreDiagnostics (9.6.0):
    - GoogleDataTransport (< 10.0.0, >= 9.1.4)
    - GoogleUtilities/Environment (~> 7.7)
    - GoogleUtilities/Logger (~> 7.7)
    - nanopb (< 2.30910.0, >= 2.30908.0)
  - FirebaseCoreExtension (10.28.0):
    - FirebaseCore (~> 10.0)
  - FirebaseCoreInternal (10.28.0):
    - "GoogleUtilities/NSData+zlib (~> 7.8)"
  - FirebaseCrashlytics (10.24.0):
    - FirebaseCore (~> 10.5)
    - FirebaseInstallations (~> 10.0)
    - FirebaseRemoteConfigInterop (~> 10.23)
    - FirebaseSessions (~> 10.5)
    - GoogleDataTransport (~> 9.2)
    - GoogleUtilities/Environment (~> 7.8)
    - nanopb (< 2.30911.0, >= 2.30908.0)
    - PromisesObjC (~> 2.1)
  - FirebaseDynamicLinks (10.24.0):
    - FirebaseCore (~> 10.0)
  - FirebaseInstallations (10.28.0):
    - FirebaseCore (~> 10.0)
    - GoogleUtilities/Environment (~> 7.8)
    - GoogleUtilities/UserDefaults (~> 7.8)
    - PromisesObjC (~> 2.1)
  - FirebaseMessaging (10.24.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)
  - FirebaseRemoteConfigInterop (10.28.0)
  - FirebaseSessions (10.28.0):
    - FirebaseCore (~> 10.5)
    - FirebaseCoreExtension (~> 10.0)
    - FirebaseInstallations (~> 10.0)
    - GoogleDataTransport (~> 9.2)
    - GoogleUtilities/Environment (~> 7.13)
    - GoogleUtilities/UserDefaults (~> 7.13)
    - nanopb (< 2.30911.0, >= 2.30908.0)
    - PromisesSwift (~> 2.1)
  - Floaty (4.2.0)
  - GoogleAppMeasurement (10.24.0):
    - GoogleAppMeasurement/AdIdSupport (= 10.24.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)
  - GoogleAppMeasurement/AdIdSupport (10.24.0):
    - GoogleAppMeasurement/WithoutAdIdSupport (= 10.24.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)
  - GoogleAppMeasurement/WithoutAdIdSupport (10.24.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)
  - GoogleDataTransport (9.4.1):
    - GoogleUtilities/Environment (~> 7.7)
    - nanopb (< 2.30911.0, >= 2.30908.0)
    - PromisesObjC (< 3.0, >= 1.2)
  - GoogleMaps (4.2.0):
    - GoogleMaps/Maps (= 4.2.0)
  - GoogleMaps/Base (4.2.0)
  - GoogleMaps/Maps (4.2.0):
    - GoogleMaps/Base
  - GooglePlaces (4.2.0):
    - GoogleMaps/Base (= 4.2.0)
  - GoogleUtilities/AppDelegateSwizzler (7.13.3):
    - GoogleUtilities/Environment
    - GoogleUtilities/Logger
    - GoogleUtilities/Network
    - GoogleUtilities/Privacy
  - GoogleUtilities/Environment (7.13.3):
    - GoogleUtilities/Privacy
    - PromisesObjC (< 3.0, >= 1.2)
  - GoogleUtilities/Logger (7.13.3):
    - GoogleUtilities/Environment
    - GoogleUtilities/Privacy
  - GoogleUtilities/MethodSwizzler (7.13.3):
    - GoogleUtilities/Logger
    - GoogleUtilities/Privacy
  - GoogleUtilities/Network (7.13.3):
    - GoogleUtilities/Logger
    - "GoogleUtilities/NSData+zlib"
    - GoogleUtilities/Privacy
    - GoogleUtilities/Reachability
  - "GoogleUtilities/NSData+zlib (7.13.3)":
    - GoogleUtilities/Privacy
  - GoogleUtilities/Privacy (7.13.3)
  - GoogleUtilities/Reachability (7.13.3):
    - GoogleUtilities/Logger
    - GoogleUtilities/Privacy
  - GoogleUtilities/UserDefaults (7.13.3):
    - GoogleUtilities/Logger
    - GoogleUtilities/Privacy
  - GzipSwift (5.1.1)
  - HMSegmentedControl (1.5.3)
  - Localize-Swift (2.0.0)
  - lottie-ios (3.1.9)
  - Material (3.1.8):
    - Material/Core (= 3.1.8)
  - Material/Core (3.1.8):
    - Motion (~> 3.1.1)
  - MenuPager (0.0.1)
  - Motion (3.1.3):
    - Motion/Core (= 3.1.3)
  - Motion/Core (3.1.3)
  - MXPagerView (0.2.1)
  - MXParallaxHeader (0.6.1)
  - MXSegmentedPager (3.3.0):
    - HMSegmentedControl (= 1.5.3)
    - MXPagerView (= 0.2.1)
    - MXParallaxHeader (= 0.6.1)
  - nanopb (2.30909.1):
    - nanopb/decode (= 2.30909.1)
    - nanopb/encode (= 2.30909.1)
  - nanopb/decode (2.30909.1)
  - nanopb/encode (2.30909.1)
  - NVActivityIndicatorView (4.4.1):
    - NVActivityIndicatorView/Presenter (= 4.4.1)
  - NVActivityIndicatorView/Presenter (4.4.1)
  - PhoneNumberKit (2.5.0):
    - PhoneNumberKit/PhoneNumberKitCore (= 2.5.0)
    - PhoneNumberKit/UIKit (= 2.5.0)
  - PhoneNumberKit/PhoneNumberKitCore (2.5.0)
  - PhoneNumberKit/UIKit (2.5.0):
    - PhoneNumberKit/PhoneNumberKitCore
  - PromisesObjC (2.4.0)
  - PromisesSwift (2.4.0):
    - PromisesObjC (= 2.4.0)
  - QRCode (2.0)
  - RSSelectionMenu (7.1.3)
  - SDWebImage (5.13.2):
    - SDWebImage/Core (= 5.13.2)
  - SDWebImage/Core (5.13.2)
  - SideMenu (5.0.3)
  - SwCrypt (5.1.2)
  - SwiftLint (0.27.0)
  - SwiftyJSON (4.2.0)
  - SwiftyRSA (1.7.0):
    - SwiftyRSA/ObjC (= 1.7.0)
  - SwiftyRSA/ObjC (1.7.0)
  - Swinject (2.6.0)
  - SwinjectStoryboard (2.2.0):
    - Swinject (~> 2.6)
  - TheMenuPopOver (0.0.3)
  - Toast-Swift (4.0.1)

DEPENDENCIES:
  - Alamofire (= 4.7.3)
  - BakongKHQR (= 1.0.0.14)
  - BartyCrouch (= 4.11)
  - CryptoSwift (= 1.4.0)
  - DeviceKit (= 5.1.0)
  - Firebase/Analytics (~> 10.24.0)
  - Firebase/Core (~> 10.24.0)
  - Firebase/Crashlytics (~> 10.24.0)
  - Firebase/DynamicLinks (~> 10.24.0)
  - Firebase/Messaging (~> 10.24.0)
  - FirebaseCoreDiagnostics
  - Floaty (= 4.2.0)
  - GoogleMaps (= 4.2.0)
  - GooglePlaces (= 4.2.0)
  - GzipSwift
  - Localize-Swift (~> 2.0)
  - lottie-ios (~> 3.1.9)
  - Material (~> 3.1.0)
  - MenuPager (from `https://github.com/Lihuo/MenuPager.git`)
  - MXSegmentedPager (= 3.3.0)
  - NVActivityIndicatorView (= 4.4.1)
  - PhoneNumberKit (= 2.5.0)
  - QRCode
  - RSSelectionMenu
  - SDWebImage (= 5.13.2)
  - SideMenu (= 5.0.3)
  - SwCrypt (from `https://github.com/soyersoyer/SwCrypt.git`, commit `7a2ec26a70f3c2d5e77df21513888acba2ea553e`)
  - SwiftLint (~> 0.27.0)
  - SwiftyJSON (= 4.2.0)
  - SwiftyRSA
  - Swinject (= 2.6.0)
  - SwinjectStoryboard (= 2.2.0)
  - TheMenuPopOver (from `https://github.com/BotyThieng/TheMenuPopOver.git`)
  - Toast-Swift (~> 4.0.0)

SPEC REPOS:
  https://github.com/CocoaPods/Specs.git:
    - Alamofire
    - BartyCrouch
    - CryptoSwift
    - DeviceKit
    - Firebase
    - FirebaseAnalytics
    - FirebaseCore
    - FirebaseCoreDiagnostics
    - FirebaseCoreExtension
    - FirebaseCoreInternal
    - FirebaseCrashlytics
    - FirebaseDynamicLinks
    - FirebaseInstallations
    - FirebaseMessaging
    - FirebaseRemoteConfigInterop
    - FirebaseSessions
    - Floaty
    - GoogleAppMeasurement
    - GoogleDataTransport
    - GoogleMaps
    - GooglePlaces
    - GoogleUtilities
    - GzipSwift
    - HMSegmentedControl
    - Localize-Swift
    - lottie-ios
    - Material
    - Motion
    - MXPagerView
    - MXParallaxHeader
    - MXSegmentedPager
    - nanopb
    - NVActivityIndicatorView
    - PhoneNumberKit
    - PromisesObjC
    - PromisesSwift
    - QRCode
    - RSSelectionMenu
    - SDWebImage
    - SideMenu
    - SwiftLint
    - SwiftyJSON
    - SwiftyRSA
    - Swinject
    - SwinjectStoryboard
    - Toast-Swift
  "https://sambo:[email protected]/khqr/khqr-ios-pod.git":
    - BakongKHQR

EXTERNAL SOURCES:
  MenuPager:
    :git: https://github.com/Lihuo/MenuPager.git
  SwCrypt:
    :commit: 7a2ec26a70f3c2d5e77df21513888acba2ea553e
    :git: https://github.com/soyersoyer/SwCrypt.git
  TheMenuPopOver:
    :git: https://github.com/BotyThieng/TheMenuPopOver.git

CHECKOUT OPTIONS:
  MenuPager:
    :commit: f4a0eb08359bd2fa90d31023356583837673681b
    :git: https://github.com/Lihuo/MenuPager.git
  SwCrypt:
    :commit: 7a2ec26a70f3c2d5e77df21513888acba2ea553e
    :git: https://github.com/soyersoyer/SwCrypt.git
  TheMenuPopOver:
    :commit: 6ed95ba81434c09895ba7b66db97122ad1b60609
    :git: https://github.com/BotyThieng/TheMenuPopOver.git

SPEC CHECKSUMS:
  Alamofire: c7287b6e5d7da964a70935e5db17046b7fde6568
  BakongKHQR: 8d8243ed5f0821eb077bd4f6faaaa88710b2c3ef
  BartyCrouch: 13832c060befe72cd1df8d3711e7aeeacb8808ba
  CryptoSwift: 7cc902df1784de3b389a387756c7d710f197730c
  DeviceKit: bcce5c26d9502e77e3a9fa5d1282877db388d922
  Firebase: 91fefd38712feb9186ea8996af6cbdef41473442
  FirebaseAnalytics: b5efc493eb0f40ec560b04a472e3e1a15d39ca13
  FirebaseCore: 11dc8a16dfb7c5e3c3f45ba0e191a33ac4f50894
  FirebaseCoreDiagnostics: 99a495094b10a57eeb3ae8efa1665700ad0bdaa6
  FirebaseCoreExtension: f63147b723e2a700fe0f34ec6fb7f358d6fe83e0
  FirebaseCoreInternal: 58d07f1362fddeb0feb6a857d1d1d1c5e558e698
  FirebaseCrashlytics: af38ea4adfa606f6e63fcc22091b61e7938fcf66
  FirebaseDynamicLinks: 96e59750f0c383258c35f5b20e3c18e14b57933a
  FirebaseInstallations: 60c1d3bc1beef809fd1ad1189a8057a040c59f2e
  FirebaseMessaging: 4d52717dd820707cc4eadec5eb981b4832ec8d5d
  FirebaseRemoteConfigInterop: 70d200c6956ef3b5c3592a95e824c1210682d785
  FirebaseSessions: 20da8500ad66bb12622743e170459bf62a0768e8
  Floaty: e2bd5a0f6f7f70899e26ff2da31081c8bee8d1b0
  GoogleAppMeasurement: f3abf08495ef2cba7829f15318c373b8d9226491
  GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a
  GoogleMaps: eb03e327edfd70b06de1e6e321653f73712df7ad
  GooglePlaces: 196a9dd88580dcb3f3df46f415057703d0d2a310
  GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15
  GzipSwift: 893f3e48e597a1a4f62fafcb6514220fcf8287fa
  HMSegmentedControl: 7c6145afb50f26cec5f3243082f6f12b9f41318f
  Localize-Swift: c798ec9286494866f7068f85f7c71283ac5bdab4
  lottie-ios: 3a3758ef5a008e762faec9c9d50a39842f26d124
  Material: a2a3f400a3b549d53ef89e56c58c4535b29db387
  MenuPager: 23eb65f59102b303ef5c279b621c4f4548405967
  Motion: cf1e060e489f6661126374d5c60dbd2ed991605c
  MXPagerView: ede184b5191b2ed689ccf05a750a9978cce42414
  MXParallaxHeader: 858c403532ed933b381556a81ce333d7065ad182
  MXSegmentedPager: a35ebaf939e1629f24db3bb26653c1c557362f59
  nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5
  NVActivityIndicatorView: f0a6b0ed2973d9544da268f4eb76696f0a9577b0
  PhoneNumberKit: 32a1cd1e0aa9e950feb01886a22fd7386b8cf903
  PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
  PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851
  QRCode: f98a1886c8f37523704a7512a4c0cd45b34c18a4
  RSSelectionMenu: 873d62ebbaef138519f6cf3f073412c2b5d94c2c
  SDWebImage: 72f86271a6f3139cc7e4a89220946489d4b9a866
  SideMenu: 1dcaabce84538c53325c287f7fe62999379a641c
  SwCrypt: ccc18b213b98c550dcc7f084e24c49d38561988f
  SwiftLint: 3207c1faa2240bf8973b191820a116113cd11073
  SwiftyJSON: c4bcba26dd9ec7a027fc8eade48e2c911f229e96
  SwiftyRSA: 8c6dd1ea7db1b8dc4fb517a202f88bb1354bc2c6
  Swinject: 48a96cda93633cf2860697b4ce76ab5db9ebaca2
  SwinjectStoryboard: 32512ef16c2b0ff5b8f823b23539c4a50f6d3383
  TheMenuPopOver: 8932a02ad753e7cff77814b94d0c6a4585684be1
  Toast-Swift: e42a638589a2f95036b4bb7626cfbdde7daf0393

PODFILE CHECKSUM: cd29c05181565a8a3ac0576ac4d786c80a9065f4

COCOAPODS: 1.16.2
@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@paulb777
Copy link
Member

This looks like #11403 that was fixed in 10.22.0. Please confirm the Firebase versions used in the app that is crashing.

@paulb777 paulb777 added sessions Changes pertaining to the Firebase Sessions SDK needs-info and removed needs-triage labels Nov 25, 2024
@BotyThieng
Copy link
Author

@paulb777 here the version i used and got that crash
pod 'Firebase/Core', '> 10.24.0'
pod 'Firebase/Messaging', '
> 10.24.0'
pod 'Firebase/Analytics', '> 10.24.0'
pod 'Firebase/Crashlytics', '
> 10.24.0'
pod 'Firebase/DynamicLinks', '~> 10.24.0'

@paulb777
Copy link
Member

Thanks. We'll likely need a fully reproducible example to help, since 10.22.0 resolved this issue for several other reports.

@BotyThieng
Copy link
Author

BotyThieng commented Nov 26, 2024

@paulb777 so i need to switch the version to 10.22.0 right ?

@paulb777
Copy link
Member

Any version newer than 10.22.0 should have the fix. #12425

@BotyThieng
Copy link
Author

Thanks. We'll likely need a fully reproducible example to help, since 10.22.0 resolved this issue for several other reports.

Uploading Screenshot 2024-11-26 at 8.44.53 AM.png…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-attention sessions Changes pertaining to the Firebase Sessions SDK
Projects
None yet
Development

No branches or pull requests

3 participants