Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[firebase_auth]: iOS release crash with +[PigeonParser getProviderData:] #17129

Open
1 task done
Tom3652 opened this issue Feb 21, 2025 · 1 comment
Open
1 task done
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. platform: ios Issues / PRs which are specifically for iOS. plugin: auth type: bug Something isn't working

Comments

@Tom3652
Copy link

Tom3652 commented Feb 21, 2025

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Auth

Which platforms are affected?

iOS

Description

I have received a new crash report yesterday in Crashlytics regarding firebase_auth :

          Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x3c20 objc_msgSend + 32
1  Runner                         0x1ac9b4c +[PigeonParser getProviderData:] + 58 (PigeonParser.m:58)
2  Runner                         0x1ac9750 +[PigeonParser getPigeonDetails:] + 31 (PigeonParser.m:31)
3  Runner                         0x1ac8458 __61-[FLTFirebaseAuthPlugin updateProfileApp:profile:completion:]_block_invoke_2 + 2126 (FLTFirebaseAuthPlugin.m:2126)
4  FirebaseAuth                   0xa0f0c thunk for @escaping @callee_unowned @convention(block) (@unowned NSError?) -> () + 52 (<compiler-generated>:52)
5  FirebaseAuth                   0x29d28 partial apply for closure #2 in closure #1 in MultiFactor.enroll(with:displayName:completion:) + 28
6  FirebaseAuth                   0xda34 thunk for @escaping @callee_guaranteed () -> () + 28
7  libdispatch.dylib              0x2370 _dispatch_call_block_and_release + 32
8  libdispatch.dylib              0x40d0 _dispatch_client_callout + 20
9  libdispatch.dylib              0x129e0 _dispatch_main_queue_drain + 980
10 libdispatch.dylib              0x125fc _dispatch_main_queue_callback_4CF + 44
11 CoreFoundation                 0x56204 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
12 CoreFoundation                 0x53440 __CFRunLoopRun + 1996
13 CoreFoundation                 0x52830 CFRunLoopRunSpecific + 588
14 GraphicsServices               0x11c4 GSEventRunModal + 164
15 UIKitCore                      0x3d2eb0 -[UIApplication _run] + 816
16 UIKitCore                      0x4815b4 UIApplicationMain + 340
17 UIKitCore                      0x7bbfa8 block_destroy_helper.23 + 10212
18 Runner                         0x8d80 main + 4363013504 (AppDelegate.swift:4363013504)
19 ???                            0x1b8c06ec8 (Missing)   

I can provide the whole trace if needed.

In my live app i am using the 11.7.0 version of the SDK, not the 11.8.0 but i don't see in the releases notes anything related to this crash so upgrading will probably not solve it (but i will upgrade anyway for my next release)

Reproducing the issue

I have no idea how to reproduce it, but in the trace we see 3 Runner 0x1ac8458 __61-[FLTFirebaseAuthPlugin updateProfileApp:profile:completion:]_block_invoke_2 + 2126 (FLTFirebaseAuthPlugin.m:2126)

And indeed i am calling :

FirebaseAuth.instance.currentUser?.updateDisplayName("${user.firstName} ${user.lastName}");
FirebaseAuth.instance.currentUser?.updatePhotoURL(user.photoUrl);

When updating my users' information and it might be crashing here somehow...

Firebase Core version

3.11.0

Flutter Version

The stable version right before 3.29.0, not sure if it's 3.27.2

Relevant Log Output

Flutter dependencies

Expand Flutter dependencies snippet

Not relevant here since they have been upgraded, but was on the latest version of all plugins bounded to firebase_core: 3.11.0

Additional context and comments

No response

@Tom3652 Tom3652 added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Feb 21, 2025
@SelaseKay SelaseKay added plugin: auth platform: ios Issues / PRs which are specifically for iOS. labels Feb 21, 2025
@SelaseKay
Copy link
Contributor

Hi @Tom3652, there isn't much we can do it without a repro. I'll keep this opened for further investigation. Also, kindly monitor your dashboard after upgrading to 11.8.0 to see if the issue persists.

@SelaseKay SelaseKay added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. platform: ios Issues / PRs which are specifically for iOS. plugin: auth type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants