-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
Description
We are facing an App Hang issue for our iOS app on Sentry where main thread is blocked for 2 seconds or more.
The issue seems to be happen due to some work performed on main thread in [FIRCLSReportManager crashReportingSetupCompleted] method which exist at path firebase-ios-sdk/Crashlytics/Crashlytics/Controllers/FIRCLSReportManager.m
Our team looked into above mentioned method and did not find any new changes since Firebase version 10.29.0. Could any one from the Firebase iOS team confirm if this issue is fixed in the latest version or still exists?
Thanks!
Reproducing the issue
No response
Firebase SDK Version
10.29.0
Xcode Version
16.0
Installation Method
Swift Package Manager
Firebase Product(s)
All
Targeted Platforms
iOS
Relevant Log Output
App Hanging: App hanging for at least 2000 ms.
0x1bbe5df20 <redacted>
0x1bbe5de94 <redacted>
0x1bbe5d86c <redacted>
YassirOne 0x10725899c FIRCLSLookupFunctionPointer (FIRCLSUtility.m:33)
YassirOne 0x1072549d4 FIRCLSExceptionCheckHandlers (FIRCLSException.mm:490)
YassirOne 0x10724e448 __51-[FIRCLSReportManager crashReportingSetupCompleted]_block_invoke (FIRCLSReportManager.m:438)
libdispatch 0x19cf26580 _dispatch_client_callout
libdispatch 0x19cf1155c _dispatch_continuation_pop
libdispatch 0x19cf24344 _dispatch_source_latch_and_call
libdispatch 0x19cf2301c _dispatch_source_invoke
libdispatch 0x19cf434c0 _dispatch_main_queue_drain.cold.5
libdispatch 0x19cf1bd2c _dispatch_main_queue_drain
libdispatch 0x19cf1bc68 _dispatch_main_queue_callback_4CF
CoreFoundation 0x194fedd8c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
CoreFoundation 0x194f914f0 __CFRunLoopRun
CoreFoundation 0x194f92c38 CFRunLoopRunSpecific
GraphicsServices 0x1e2171450 GSEventRunModal
UIKitCore 0x1979a5270 -[UIApplication _run]
UIKitCore 0x197970a24 UIApplicationMain
YassirOne 0x104f20074 main (main.swift:9)
0x1bbe67f08 <redacted>
Thread: Yassir.main
0x1bbe5df20 <redacted>
0x1bbe5de94 <redacted>
0x1bbe5d86c <redacted>
YassirOne 0x10725899c FIRCLSLookupFunctionPointer (FIRCLSUtility.m:33)
YassirOne 0x1072549d4 FIRCLSExceptionCheckHandlers (FIRCLSException.mm:490)
YassirOne 0x10724e448 __51-[FIRCLSReportManager crashReportingSetupCompleted]_block_invoke (FIRCLSReportManager.m:438)
libdispatch 0x19cf26580 _dispatch_client_callout
libdispatch 0x19cf1155c _dispatch_continuation_pop
libdispatch 0x19cf24344 _dispatch_source_latch_and_call
libdispatch 0x19cf2301c _dispatch_source_invoke
libdispatch 0x19cf434c0 _dispatch_main_queue_drain.cold.5
libdispatch 0x19cf1bd2c _dispatch_main_queue_drain
libdispatch 0x19cf1bc68 _dispatch_main_queue_callback_4CF
CoreFoundation 0x194fedd8c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
CoreFoundation 0x194f914f0 __CFRunLoopRun
CoreFoundation 0x194f92c38 CFRunLoopRunSpecific
GraphicsServices 0x1e2171450 GSEventRunModal
UIKitCore 0x1979a5270 -[UIApplication _run]
UIKitCore 0x197970a24 UIApplicationMain
YassirOne 0x104f20074 main (main.swift:9)
0x1bbe67f08 <redacted>If using Swift Package Manager, the project's Package.resolved
Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!