Skip to content

Crash on iOS 12 (Crashed: com.tonymillion.reachability) #174

Open
@shashankmeddo

Description

My app is crashing oftenly for users PFA crashatics logs.
I am using block based notifier and starting it on app launch

Method called on didfinishlaunching ----->>>>
func listenInternetConnection () {
self.reach = Reachability.forLocalWiFi();

self.reach!.reachableBlock = {
  (reach: Reachability?) -> Void in
  self.checkAndUploadPendingConsultations();
}

self.reach!.unreachableBlock = {
  (reach: Reachability?) -> Void in
  //print("UNREACHABLE!")
}


self.reach!.startNotifier()

}

Please find logs ------->>>>>>

#19. Crashed: com.tonymillion.reachability
0 myapp 0x1025c51d4 specialized AppDelegate.checkAndUploadPendingConsultations() (AppDelegate.swift:118)
1 myapp 0x1025c3758 thunk for @escaping @callee_guaranteed (@guaranteed Reachability?) -> () ()
2 Arctern 0x102587f74 -[Reachability reachabilityChanged:] (Reachability.m:450)
3 Arctern 0x1025879fc TMReachabilityCallback (Reachability.m:83)
4 SystemConfiguration 0x193a6fa14 reachPerformAndUnlock + 540
5 libdispatch.dylib 0x1926ed6c8 _dispatch_call_block_and_release + 24
6 libdispatch.dylib 0x1926ee484 _dispatch_client_callout + 16
7 libdispatch.dylib 0x192695bd0 _dispatch_lane_serial_drain$VARIANT$mp + 592
8 libdispatch.dylib 0x192696718 _dispatch_lane_invoke$VARIANT$mp + 432
9 libdispatch.dylib 0x19269eeb8 _dispatch_workloop_worker_thread + 600
10 libsystem_pthread.dylib 0x1928d10dc _pthread_wqthread + 312
11 libsystem_pthread.dylib 0x1928d3cec start_wqthread + 4

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions