firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

Auth listener Crashed

Open jesus-mg-ios opened this issue 1 year ago • 3 comments

Description

Crash on production. FirAuthListener in Extension. Maybe this bug can set a spot of light on this one: https://github.com/firebase/firebase-ios-sdk/issues/13231

Crashed: com.google.firebase.auth.globalWorkQueue
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x004433669efa7ae0

Reproducing the issue

No response

Firebase SDK Version

10.25.0

Xcode Version

15.2

Installation Method

Swift Package Manager

Firebase Product(s)

Authentication

Targeted Platforms

iOS

Relevant Log Output

Crashed: com.google.firebase.auth.globalWorkQueue
0  libobjc.A.dylib                0x3020 objc_msgSend + 32
1  Extension              0xa8710 -[FIRAuth possiblyPostAuthStateChangeNotification] + 2063 (FIRAuth.m:2063)
2  Extension              0xa893c -[FIRAuth updateKeychainWithUser:error:] + 2097 (FIRAuth.m:2097)
3  Extension              0xcb100 -[FIRUser updateKeychain:] + 558 (FIRUser.m:558)
4  Extension              0xcd5fc __51-[FIRUser internalGetTokenForcingRefresh:callback:]_block_invoke + 1031 (FIRUser.m:1031)
5  Extension              0xc8cbc __65-[FIRSecureTokenService fetchAccessTokenForcingRefresh:callback:]_block_invoke_2 + 108 (FIRSecureTokenService.m:108)
6  Extension              0xc91a8 __53-[FIRSecureTokenService requestAccessToken:callback:]_block_invoke + 202 (FIRSecureTokenService.m:202)
7  Extension              0xb7244 __69-[FIRAuthBackendRPCImplementation callWithRequest:response:callback:]_block_invoke + 1345 (FIRAuthBackend.m:1345)
8  Extension              0xe7ab4 __106-[GTMSessionFetcher invokeFetchCallbacksOnCallbackQueueWithData:error:mayDecorate:shouldReleaseCallbacks:]_block_invoke + 2759 (GTMSessionFetcher.m:2759)
9  libdispatch.dylib              0x213c _dispatch_call_block_and_release + 32
10 libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
11 libdispatch.dylib              0xb4d0 _dispatch_lane_serial_drain + 956
12 libdispatch.dylib              0xbf30 _dispatch_lane_invoke + 380
13 libdispatch.dylib              0x16cb4 _dispatch_root_queue_drain_deferred_wlh + 288
14 libdispatch.dylib              0x16528 _dispatch_workloop_worker_thread + 404
15 libsystem_pthread.dylib        0x4934 _pthread_wqthread + 288
16 libsystem_pthread.dylib        0x10cc start_wqthread + 8

jesus-mg-ios avatar Jul 06 '24 15:07 jesus-mg-ios

Does 11.0.0 (released today) make any difference?

paulb777 avatar Jul 31 '24 00:07 paulb777

Hey @jesus-mg-ios. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot avatar Aug 06 '24 01:08 google-oss-bot

I couldn't test it cause is a major update and we have to review all changes and test them before going with it.

jesus-mg-ios avatar Aug 12 '24 07:08 jesus-mg-ios

Is this still an issue on Firebase 11.x?

paulb777 avatar Feb 05 '25 00:02 paulb777

Hey @jesus-mg-ios. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot avatar Feb 11 '25 02:02 google-oss-bot

Since there haven't been any recent updates here, I am going to close this issue.

@jesus-mg-ios if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

google-oss-bot avatar Feb 18 '25 02:02 google-oss-bot