Closed
Description
- Xcode version: 10.0
- Firebase SDK version: 5.5.0
- Component version:
- FirebaseAuth | 5.0.3
- FirebaseAuthInterop | 1.0.0
- FirebaseCore | 5.1.0
- FirebaseDatabase | 5.0.2
- FirebaseFirestore | 0.13.0
- FirebaseMessaging | 3.1.0
- FirebasePerformance | 2.1.0
- FirebaseStorage | 3.0.0
We are seeing crashes in +[FPRFeatureControl featureForceState:]
on the com.google.FPRScreenTraceTracker as well as the main thread.
There are no specific steps to reproduce this crash. They popped up in Firebase on devices mainly on iOS 12.0
Stack trace for com.google.FPRScreenTraceTracker
Crashed: com.google.FPRScreenTraceTracker
0 libobjc.A.dylib 0x1a7400d68 objc_msgSend + 8
1 CoreFoundation 0x1a8105090 -[__NSDictionaryM objectForKeyedSubscript:] + 212
2 xxxxx 0x100782b58 +[FPRFeatureControl featureForceState:] + 2228
3 xxxxx 0x1007826a0 +[FPRFeatureControl featureEnabled:] + 1020
4 xxxxx 0x10077f54c -[FPRScreenTraceTracker shouldCreateScreenTraceForViewController:] + 1442668
5 xxxxx 0x10077f048 -[FPRScreenTraceTracker startScreenTraceForViewController:currentTotalFrames:currentFrozenFrames:currentSlowFrames:] + 1441384
6 libdispatch.dylib 0x1a7c536c8 _dispatch_call_block_and_release + 24
7 libdispatch.dylib 0x1a7c54484 _dispatch_client_callout + 16
8 libdispatch.dylib 0x1a7bfbd4c _dispatch_lane_serial_drain$VARIANT$mp + 900
9 libdispatch.dylib 0x1a7bfc760 _dispatch_lane_invoke$VARIANT$mp + 432
10 libdispatch.dylib 0x1a7c04f00 _dispatch_workloop_worker_thread + 600
11 libsystem_pthread.dylib 0x1a7e360f0 _pthread_wqthread + 312
12 libsystem_pthread.dylib 0x1a7e38d00 start_wqthread + 4
Stack trace of main thread
Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x1d8327d68 objc_msgSend + 8
1 CoreFoundation 0x1d902c090 -[__NSDictionaryM objectForKeyedSubscript:] + 212
2 xxxxx 0x102b6eb58 +[FPRFeatureControl featureForceState:] + 2228
3 xxxxx 0x102b6e6a0 +[FPRFeatureControl featureEnabled:] + 1020
4 xxxxx 0x102b6b70c -[FPRScreenTraceTracker viewControllerDidAppear:trackedByAnalytics:] + 1443116
5 xxxxx 0x102c647d0 -[APMScreenViewReporter viewControllerDidAppear:] + 6848
6 xxxxx 0x102c660dc __44+[UIViewController(APMScreenClassName) load]_block_invoke_2 + 13260
7 UIKitCore 0x20563e3bc -[_UIResilientRemoteViewContainerViewController viewDidAppear:] + 52
8 UIKitCore 0x2055a2b40 -[UIViewController _setViewAppearState:isAnimating:] + 808
9 UIKitCore 0x2055a2f5c __52-[UIViewController _setViewAppearState:isAnimating:]_block_invoke + 264
10 CoreFoundation 0x1d902681c -[__NSSingleObjectArrayI enumerateObjectsWithOptions:usingBlock:] + 76
11 UIKitCore 0x2055a2cec -[UIViewController _setViewAppearState:isAnimating:] + 1236
12 UIKitCore 0x2055a54d4 __64-[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:]_block_invoke + 44
13 UIKitCore 0x2055a3b18 -[UIViewController _executeAfterAppearanceBlock] + 92
14 UIKitCore 0x205b6c90c _runAfterCACommitDeferredBlocks + 564
15 UIKitCore 0x205b5a840 _cleanUpAfterCAFlushAndRunDeferredBlocks + 384
16 UIKitCore 0x205b7b378 __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 152
17 CoreFoundation 0x1d90d1408 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
18 CoreFoundation 0x1d90d0d08 __CFRunLoopDoBlocks + 272
19 CoreFoundation 0x1d90cbcfc __CFRunLoopRun + 1060
20 CoreFoundation 0x1d90cb5b8 CFRunLoopRunSpecific + 436
21 GraphicsServices 0x1db33f584 GSEventRunModal + 100
22 UIKitCore 0x205b60bc8 UIApplicationMain + 212
23 xxxxx 0x102a0b294 main (main.swift:12)
24 libdyld.dylib 0x1d8b8bb94 start + 4
Activity
paulb777 commentedon Oct 23, 2018
Internally tracked at b/118274589
adrianortuzar commentedon Nov 29, 2018
I have exactly the same issue, any news about how to fix this crash?
visumickey commentedon Nov 29, 2018
This should be fixed in next release of Firebase Performance (planned mid December, release M40).
Igor-Palaguta commentedon Dec 18, 2018
Hello,
Please can you also update Carthage version files. They don't include 5.15.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseABTestingBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebasePerformanceBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json"
paulb777 commentedon Dec 19, 2018
@Igor-Palaguta Carthage was updated with 5.15.0 today.
Igor-Palaguta commentedon Dec 19, 2018
Thanks!
vbrittes commentedon Jan 23, 2019
Reduced the occurrence, but still happening.
senryxie commentedon Feb 20, 2019
Still happening with Firebase/Performance (5.16.0).
paulb777 commentedon Feb 20, 2019
@senryxie Do you have the same backtrace as the original issue? What is the version of the FirebasePerformance pod from Podfile.lock?
senryxie commentedon Feb 20, 2019
@paulb777 Firebase/Performance (5.16.0) is from the Podfile.lock. It's happening in production, I got this from Fabric.
paulb777 commentedon Feb 20, 2019
Thanks - It looks like a different crash, but we may be able to track here. I'll reopen.
11 remaining items