Skip to content

Occasionally crashes when starting the app #13843

Open
@zhangbokika

Description

Description

Occasionally crashes when starting the app

Reproducing the issue

No response

Firebase SDK Version

17.6.1 18.0

Xcode Version

15.4

Installation Method

CocoaPods

Firebase Product(s)

Crashlytics

Targeted Platforms

iOS

Relevant Log Output

# Crashlytics - Stack trace
# Application: xxx
# Platform: apple
# Version: 4.9.3
# Issue: 13e07f0782e5a707fe366c8d3d96727b
# Session: e40b2b89f70c49f48f2f93ae71b15fea_DNE_0_v2
# Date: Tue Oct 08 2024 07:30:03 GMT+0800

Fatal Exception: NSGenericException
0  CoreFoundation                 0x83f20 __exceptionPreprocess
1  libobjc.A.dylib                0x172b8 objc_exception_throw
2  CFNetwork                      0xc7e48 CFHostCreateWithName
3  FirebasePerformance            0x18050 __InstrumentDataTaskWithRequestCompletionHandler_block_invoke + 312 (FPRNSURLSessionInstrument.m:312)
4  FirebasePerformance            0x18050 __InstrumentDataTaskWithRequestCompletionHandler_block_invoke + 312 (FPRNSURLSessionInstrument.m:312)
5 our app                               0x159ca7c NotificationService.sendNotification(urlString:key:attempt:)
6  our app                           0x159e548 closure #1 in NotificationService.sendStoredTpats()
7  our app                            0x15c6034 closure #1 in Persistence.readStoredTpats(callback:)
8  our app                             0x2d0308 thunk for @escaping @callee_guaranteed @Sendable () -> ()
9  libdispatch.dylib              0x213c _dispatch_call_block_and_release
10 libdispatch.dylib              0x3dd4 _dispatch_client_callout
11 libdispatch.dylib              0xb400 _dispatch_lane_serial_drain
12 libdispatch.dylib              0xbf30 _dispatch_lane_invoke
13 libdispatch.dylib              0x16cb4 _dispatch_root_queue_drain_deferred_wlh
14 libdispatch.dylib              0x16528 _dispatch_workloop_worker_thread
15 libsystem_pthread.dylib        0x4934 _pthread_wqthread
16 libsystem_pthread.dylib        0x10cc start_wqthread

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

No response

If using CocoaPods, the project's Podfile.lock

  • FirebaseAnalytics/AdIdSupport (10.29.0):
    • FirebaseCore (~> 10.0)
    • FirebaseInstallations (~> 10.0)
    • GoogleAppMeasurement (= 10.29.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)
    • FirebaseAnalyticsOnDeviceConversion (9.6.0):
      • GoogleAppMeasurementOnDeviceConversion (= 9.6.0)
    • FirebaseAppCheckInterop (10.29.0)
    • FirebaseAuth (10.29.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.29.0):
      • FirebaseCoreInternal (~> 10.0)
      • GoogleUtilities/Environment (~> 7.12)
      • GoogleUtilities/Logger (~> 7.12)
    • FirebaseCoreExtension (10.29.0):
      • FirebaseCore (~> 10.0)
    • FirebaseCoreInternal (10.29.0):
      • "GoogleUtilities/NSData+zlib (~> 7.8)"
    • FirebaseCrashlytics (10.29.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)
    • FirebaseDatabase (10.29.0):
      • FirebaseAppCheckInterop (~> 10.17)
      • FirebaseCore (~> 10.0)
      • FirebaseSharedSwift (~> 10.0)
      • GoogleUtilities/UserDefaults (~> 7.13)
      • leveldb-library (~> 1.22)
    • FirebaseInstallations (10.29.0):
      • FirebaseCore (~> 10.0)
      • GoogleUtilities/Environment (~> 7.8)
      • GoogleUtilities/UserDefaults (~> 7.8)
      • PromisesObjC (~> 2.1)
    • FirebaseMessaging (10.29.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.29.0):
      • FirebaseCore (~> 10.5)
      • FirebaseInstallations (~> 10.0)
      • FirebaseRemoteConfig (~> 10.0)
      • FirebaseSessions (~> 10.5)
      • GoogleDataTransport (~> 9.2)
      • GoogleUtilities/Environment (~> 7.13)
      • GoogleUtilities/ISASwizzler (~> 7.13)
      • GoogleUtilities/MethodSwizzler (~> 7.13)
      • GoogleUtilities/UserDefaults (~> 7.13)
      • nanopb (< 2.30911.0, >= 2.30908.0)
    • FirebaseRemoteConfig (10.29.0):
      • FirebaseABTesting (~> 10.0)
      • FirebaseCore (~> 10.0)
      • FirebaseInstallations (~> 10.0)
      • FirebaseRemoteConfigInterop (~> 10.23)
      • FirebaseSharedSwift (~> 10.0)
      • GoogleUtilities/Environment (~> 7.8)
      • "GoogleUtilities/NSData+zlib (~> 7.8)"
    • FirebaseRemoteConfigInterop (10.29.0)
    • FirebaseSessions (10.29.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)
    • FirebaseSharedSwift (10.29.0)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions