Skip to content

FIRInstanceID is crashing after updating to 5.17.0 / 5.18.0 #2534

Closed
@tfonfara

Description

@tfonfara

Environment

  • Xcode version: 10.1 (10B61)
  • Firebase SDK version: 5.17.0 / 5.18.0
  • Firebase Component: Auth
  • Component version: 5.6.0

Describe the problem

Steps to reproduce:

I'm not able to reproduce it myself but getting a lot of Crashlytics logs.
After updating from version 5.15.0 to 5.17.0 (I skipped 5.16.0 so it might affect this version as well) I'm receiving a large number of crashes from FIRInstanceID. Updating to latest 5.18.0 didn't solve this issue, I'm still receiving those crashes.

Crash report:

Fatal Exception: NSGenericException
Task created in a session that has been invalidated

0  CoreFoundation                 0x21e2a1ea4 __exceptionPreprocess
1  libobjc.A.dylib                0x21d471a50 objc_exception_throw
2  CFNetwork                      0x21e851f38 -[__NSCFURLLocalSessionConnection _tick_initialize]
3  AppName                        0x1027b3b00 __InstrumentDataTaskWithRequestCompletionHandler_block_invoke
4  AppName                        0x1027b3b00 __InstrumentDataTaskWithRequestCompletionHandler_block_invoke
5  AppName                        0x102768a28 -[FIRInstanceIDCheckinService checkinWithExistingCheckin:completion:]
6  AppName                        0x1027660f8 -[FIRInstanceIDAuthService fetchCheckinInfoWithHandler:]
7  AppName                        0x102765d10 -[FIRInstanceIDAuthService performScheduledCheckin]
8  Foundation                     0x21ed56488 __NSFireTimer
9  CoreFoundation                 0x21e232718 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
10 CoreFoundation                 0x21e232448 __CFRunLoopDoTimer
11 CoreFoundation                 0x21e231c7c __CFRunLoopDoTimers
12 CoreFoundation                 0x21e22cb58 __CFRunLoopRun
13 CoreFoundation                 0x21e22c0e0 CFRunLoopRunSpecific
14 GraphicsServices               0x2204a5584 GSEventRunModal
15 UIKitCore                      0x24b5c0c00 UIApplicationMain
16 AppName                        0x10256dca0 main
17 libdyld.dylib                  0x21dceabb4 start

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions