Skip to content

iOS 13 Crash - [FIRInstanceIDKeychain itemWithQuery:] #3270

@milo-

Description

@milo-
  • Xcode version: 10.2.1
  • Firebase SDK version: 6.3.0
  • Firebase Component: Core (Auth, Core, Database, Firestore, Messaging, Storage, etc)
  • Component version: 6.3.0

Describe the problem

We released an update yesterday, going from Firebase 6.0.0 to firebase 6.3.0. We've been getting reports of the app crashing on startup for users with iOS 13 beta (17A5508m).

We've not been able to reproduce this ourselves, but we've had at least 5 crashes in the last 12 hours caused by this. Users have reported that uninstalling and reinstalling the app doesn't fix things.

The thread that crashes:

Thread 10 Crashed:
0   libdispatch.dylib             	0x00000001c3caebe0 __DISPATCH_WAIT_FOR_QUEUE__ + 452 (queue.c:1615)
1   libdispatch.dylib             	0x00000001c3cae758 _dispatch_sync_f_slow + 144 (queue.c:1728)
2   App                     	0x0000000102764448 -[FIRRemoteConfig configValueForKey:namespace:] + 220
3   App                     	0x00000001026dedb8 -[FPRRemoteConfigFlags sessionSamplingRate] + 60
4   App                     	0x00000001026de44c -[FPRConfigurations sessionsSamplingPercentage] + 212
5   App                     	0x00000001026d7ec4 -[FPRSessionManager isGaugeCollectionEnabledForSessionId:] + 60
6   App                     	0x00000001026d7d4c -[FPRSessionManager updateSessionId:] + 292
7   App                     	0x00000001026d7a6c -[FPRSessionManager initWithNotificationCenter:] + 128
8   App                     	0x00000001026d79c8 __35+[FPRSessionManager sharedInstance]_block_invoke + 84
9   libdispatch.dylib             	0x00000001c3ca2114 _dispatch_client_callout + 20 (object.m:495)
10  libdispatch.dylib             	0x00000001c3ca37f0 _dispatch_once_callout + 32 (once.c:52)
11  App                     	0x00000001026d796c +[FPRSessionManager sharedInstance] + 56
12  App                     	0x00000001026e987c -[FPRNetworkTrace start] + 228
13  App                     	0x00000001026f0870 __InstrumentDataTaskWithRequestCompletionHandler_block_invoke + 368
14  App                     	0x00000001026f07ec __InstrumentDataTaskWithRequestCompletionHandler_block_invoke + 236
15  App                     	0x00000001026a7930 -[FIRInstanceIDCheckinService checkinWithExistingCheckin:completion:] + 652 (FIRInstanceIDCheckinService.m:189)
16  App                     	0x00000001026a509c -[FIRInstanceIDAuthService fetchCheckinInfoWithHandler:] + 496 (FIRInstanceIDAuthService.m:188)
17  App                     	0x000000010269e648 -[FIRInstanceID tokenWithAuthorizedEntity:scope:options:handler:] + 1092 (FIRInstanceID.m:324)
18  App                     	0x00000001027729fc -[RCNConfigFetch refreshInstanceIDTokenAndFetchCheckInInfoWithCompletionHandler:] + 392
19  App                     	0x00000001027725c8 __74-[RCNConfigFetch fetchAllConfigsWithExpirationDuration:completionHandler:]_block_invoke + 288
20  libdispatch.dylib             	0x00000001c3ca0cb8 _dispatch_call_block_and_release + 32 (init.c:1408)
21  libdispatch.dylib             	0x00000001c3ca2114 _dispatch_client_callout + 20 (object.m:495)
22  libdispatch.dylib             	0x00000001c3ca8534 _dispatch_lane_serial_drain + 568 (inline_internal.h:2487)
23  libdispatch.dylib             	0x00000001c3ca8f5c _dispatch_lane_invoke + 364 (inline_internal.h:1854)
24  libdispatch.dylib             	0x00000001c3cb1fd0 _dispatch_workloop_worker_thread + 580 (queue.c:6380)
25  libsystem_pthread.dylib       	0x00000001c3cdfa64 _pthread_wqthread + 308 (pthread.c:2329)
26  libsystem_pthread.dylib       	0x00000001c3ce5c44 start_wqthread + 8

I've attached the full crash log, let me know if I can provide any more info

2019-06-27_02-12-29.9158_+0100-8692347274dbd966774cf859c53577c33a82cbb0.txt

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions