Skip to content

[BUG]: Crash in FIRInstanceIDAuthKeyChain.m line 79 -[FIRInstanceIDAuthKeychain itemsMatchingService:account:] #4205

@skuske

Description

@skuske

[READ] Step 1: Are you in the right place?

Yes, I think so... :o)

[REQUIRED] Step 2: Describe your environment

  • Xcode version: Version 11.1 (11A1027)
  • Firebase SDK version: 6.10
  • Firebase Component: Analytics, Fabric, Crashlytics, Performance, RemoteConfig
  • Component version: RemoteConfig 4.4.3

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

Crash reported by Crashlytics:

iOS 13.2.0 (17B84)
iPad Pro (12.9-inch, 2nd generation)

FIRInstanceIDAuthKeyChain.m line 79
-[FIRInstanceIDAuthKeychain itemsMatchingService:account:]

Stack Trace 1:

Crashed: com.google.GoogleConfigService.FIRRemoteConfig
0  CoreFoundation                 0x18467f214 <redacted> + 144
1  AppName                        0x10279c460 -[FIRInstanceIDAuthKeychain itemsMatchingService:account:] + 79 (FIRInstanceIDAuthKeyChain.m:79)
2  AppName                        0x10279ca64 -[FIRInstanceIDAuthKeychain dataForService:account:] + 142 (FIRInstanceIDAuthKeyChain.m:142)
3  AppName                        0x1027abc78 -[FIRInstanceIDTokenStore tokenInfoWithAuthorizedEntity:scope:] + 59 (FIRInstanceIDTokenStore.m:59)
4  AppName                        0x1027a61a4 -[FIRInstanceIDStore tokenInfoWithAuthorizedEntity:scope:] + 191 (FIRInstanceIDStore.m:191)
5  AppName                        0x1027a9884 -[FIRInstanceIDTokenManager cachedTokenInfoWithAuthorizedEntity:scope:] + 141 (FIRInstanceIDTokenManager.m:141)
6  AppName                        0x102797578 __65-[FIRInstanceID tokenWithAuthorizedEntity:scope:options:handler:]_block_invoke.127 + 336 (FIRInstanceID.m:336)
7  AppName                        0x10279e17c -[FIRInstanceIDAuthService notifyCheckinHandlersWithCheckin:error:] + 286 (FIRInstanceIDAuthService.m:286)
8  AppName                        0x10279db4c -[FIRInstanceIDAuthService fetchCheckinInfoWithHandler:] + 181 (FIRInstanceIDAuthService.m:181)
9  AppName                        0x1027972ac -[FIRInstanceID tokenWithAuthorizedEntity:scope:options:handler:] + 368 (FIRInstanceID.m:368)
10 AppName                        0x102821f68 -[RCNConfigFetch refreshInstanceIDTokenAndFetchCheckInInfoWithCompletionHandler:] + 230 (RCNFetch.m:230)
11 AppName                        0x102821bd8 __74-[RCNConfigFetch fetchAllConfigsWithExpirationDuration:completionHandler:]_block_invoke + 190 (RCNFetch.m:190)
12 libdispatch.dylib              0x184470610 <redacted> + 24
13 libdispatch.dylib              0x184471184 <redacted> + 16
14 libdispatch.dylib              0x18441d404 <redacted> + 608
15 libdispatch.dylib              0x18441ddf8 <redacted> + 420
16 libdispatch.dylib              0x184427314 <redacted> + 588
17 libsystem_pthread.dylib        0x1844c0f88 _pthread_wqthread + 276
18 libsystem_pthread.dylib        0x1844c3ad4 start_wqthread + 8

Steps to reproduce:

We cannot reproduce the issue, and it seems to be very rare.

Relevant Code:

Internal firebase crash, not sure if any of our code is directly related.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions