firebase-ios-sdk: Crashed at FIRComponentContainer on 6.7.0
[REQUIRED] Step 2: Describe your environment
- Firebase SDK version: 6.7.0
- Firebase Component: Below is from my
Podfile.
pod 'Firebase/Core', '~> 6.0'
pod 'Firebase/AdMob'
pod 'Firebase/Auth'
pod 'Google-Mobile-Ads-SDK'
pod 'Firebase/Messaging'
pod 'Firebase/Functions'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Performance'
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
Not sure how to reproduce so far, I just found some users of my app got this crash due to this issue. Seems it accesses non-existent key against cached instances. https://github.com/firebase/firebase-ios-sdk/blob/bb563c8497c0a8fb4d237604062535701dd7ba25/Firebase/Core/FIRComponentContainer.m#L150
Crashed: com.google.perf.FPREventsQueue
0 libobjc.A.dylib 0x223548d68 objc_msgSend + 8
1 CoreFoundation 0x22424bb60 -[__NSDictionaryM objectForKeyedSubscript:] + 212
2 MyApp 0x104e26d78 -[FIRComponentContainer instanceForProtocol:] + 150 (FIRComponentContainer.m:150)
3 MyApp 0x104e2710c +[FIRComponentType instanceForProtocol:inContainer:] + 25 (FIRComponentType.m:25)
4 MyApp 0x104ef7eac -[FIRRemoteConfigComponent remoteConfigForNamespace:] + 4380917420
5 MyApp 0x104ef4438 +[FIRRemoteConfig remoteConfigWithFIRNamespace:app:] + 4380902456
6 MyApp 0x104e714c0 __38+[FPRRemoteConfigFlags sharedInstance]_block_invoke + 4380366016
7 ??? 0x223d9a484 (Missing)
8 ??? 0x223d6a234 (Missing)
9 MyApp 0x104e71468 +[FPRRemoteConfigFlags sharedInstance] + 4380365928
10 MyApp 0x104e702cc -[FPRConfigurations setupRemoteConfigFlags] + 4380361420
11 MyApp 0x104e7020c -[FPRConfigurations update] + 4380361228
12 MyApp 0x104e73500 __42-[FPRClient startWithConfiguration:error:]_block_invoke + 4380374272
(snip)
Iβd like to help as much as possible if needed. Thanks!
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (4 by maintainers)
Commits related to this issue
- Gate access to cached instances. This is causing an issue in #3728. Hopefully this will fix it, but no repro is available yet to test. There's still an underlying race condition where a `creationBloc... — committed to firebase/firebase-ios-sdk by ryanwilson 5 years ago
- Gate access to cached instances. (#3766) * Gate access to cached instances. This is causing an issue in #3728. Hopefully this will fix it, but no repro is available yet to test. There's still an ... — committed to firebase/firebase-ios-sdk by ryanwilson 5 years ago
- Gate access to cached instances. (#3766) * Gate access to cached instances. This is causing an issue in #3728. Hopefully this will fix it, but no repro is available yet to test. There's still an ... — committed to firebase/firebase-ios-sdk by ryanwilson 5 years ago
- Release 6.8.0: cherry pick of #3764 and #3766 (#3772) * Gate access to cached instances. (#3766) * Gate access to cached instances. This is causing an issue in #3728. Hopefully this will fix it... — committed to firebase/firebase-ios-sdk by maksymmalyhin 5 years ago
- Merging the 6.8.0 release into master (#3783) * Update versions for Release 6.8.0 * RemoteConfig fix pod spec lint (#3715) (#3716) * ABTesting: add protos to private headers. * RemoteConfig:... — committed to firebase/firebase-ios-sdk by maksymmalyhin 5 years ago
- Merges release-6.8.0 into master (#3841) * Update versions for Release 6.8.0 * RemoteConfig fix pod spec lint (#3715) (#3716) * ABTesting: add protos to private headers. * RemoteConfig: #imp... — committed to firebase/firebase-ios-sdk by mikehaney24 5 years ago
- Squashed commit of the following: commit 62c4fa30d2b1ec52d556a6ae5a4b97009bd7d5fa Author: Gil <mcg@google.com> Date: Mon Sep 30 13:17:53 2019 -0700 Migrate FSTQueryListenerTests to C++ (#3901)... — committed to firebase/firebase-ios-sdk by renkelvin 5 years ago
- Squashed commit of the following: commit 725fb866463207f083bb4ee5ce0192d65afd3730 Author: christibbs <43829046+christibbs@users.noreply.github.com> Date: Tue Oct 1 17:59:14 2019 -0400 Remove R... — committed to firebase/firebase-ios-sdk by renkelvin 5 years ago
@ryanwilson we have released an app today with V6.8.1, and after the first 10K sessions, we have not seen a firebase related crash. We had plenty of crashes after 10K sessions in the app that was released with V6.7.0 SDK, so I think itβs fair to say the problem is solved π π