Skip to content

[firebase_auth]: Flutter ios app crash with this log. #17375

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

Open
1 task done
baotq2k2 opened this issue May 21, 2025 · 5 comments
Open
1 task done

[firebase_auth]: Flutter ios app crash with this log. #17375

baotq2k2 opened this issue May 21, 2025 · 5 comments
Labels
Needs Attention This issue needs maintainer attention. platform: ios Issues / PRs which are specifically for iOS. plugin: auth type: bug Something isn't working

Comments

@baotq2k2
Copy link

baotq2k2 commented May 21, 2025

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

No response

Which platforms are affected?

No response

Description

My app was crashing occasionally. I checked log in Firebase Craslytics and this is log.

Reproducing the issue

My app was crashing occasionally. I checked log in Firebase Craslytics and this is log.

Firebase Core version

3.13.0

Flutter Version

3.27.4

Relevant Log Output

Crashed: com.apple.main-thread
0  libswiftCore.dylib             0x43a1a8 swift_unknownObjectRetain + 44
1  libswiftCore.dylib             0xf0624 String._bridgeToObjectiveCImpl() + 92
2  Runner                         0xe7c70 @objc Auth.userAccessGroup.getter + 4299471984
3  Runner                         0x666e2c +[PigeonParser getPigeonUserInfo:] + 42 (PigeonParser.m:42)
4  Runner                         0x666cf4 +[PigeonParser getPigeonDetails:] + 30 (PigeonParser.m:30)
5  Runner                         0x664810 __46-[FLTFirebaseAuthPlugin reloadApp:completion:]_block_invoke + 1916 (FLTFirebaseAuthPlugin.m:1916)
6  Runner                         0x17cf74 thunk for @escaping @callee_unowned @convention(block) (@unowned NSError?) -> () + 4300083060 (<compiler-generated>:4300083060)
7  Runner                         0x106940 partial apply for closure #1 in static Auth.wrapMainAsync(_:_:) + 2275 (Auth.swift:2275)
8  Runner                         0x5abc thunk for @escaping @callee_guaranteed () -> () + 4298545852 (<compiler-generated>:4298545852)
9  libdispatch.dylib              0x2248 _dispatch_call_block_and_release + 32
10 libdispatch.dylib              0x3fa8 _dispatch_client_callout + 20
11 libdispatch.dylib              0x12a34 _dispatch_main_queue_drain + 984
12 libdispatch.dylib              0x1264c _dispatch_main_queue_callback_4CF + 44
13 CoreFoundation                 0x79bcc __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
14 CoreFoundation                 0x761c0 __CFRunLoopRun + 1996
15 CoreFoundation                 0xc8284 CFRunLoopRunSpecific + 588
16 GraphicsServices               0x14c0 GSEventRunModal + 164
17 UIKitCore                      0x3ee674 -[UIApplication _run] + 816
18 UIKitCore                      0x14e88 UIApplicationMain + 340
19 UIKitCore                      0x75115c keypath_get_selector_hoverStyle + 15924
20 Runner                         0x5ed0 main + 4298546896 (AppDelegate.swift:4298546896)
21 ???                            0x1a96a5de8 (Missing)

Flutter dependencies

In pubspeck.yaml

firebase_core: ^3.13.0
firebase_auth: ^5.5.3
firebase_messaging: ^15.0.1
firebase_storage: ^12.0.1
firebase_analytics: ^11.0.1
firebase_remote_config: ^5.3.0
firebase_dynamic_links: ^6.1.5
firebase_crashlytics: ^4.0.1
firebase_performance: ^0.10.0+1
firebase_in_app_messaging: ^0.8.0+1
cloud_firestore: ^5.6.6

In podfile.lock

$FirebaseSDKVersion = '11.10.0'

Additional context and comments

No response

@baotq2k2 baotq2k2 added type: bug Something isn't working Needs Attention This issue needs maintainer attention. labels May 21, 2025
@baotq2k2
Copy link
Author

Im sorry for some fields is empty, I dont know how to fill it.
Please help me resolve it, my app is in production now.
Thank you guys so much.

@MichaelVerdon MichaelVerdon added the platform: ios Issues / PRs which are specifically for iOS. label May 21, 2025
@MichaelVerdon
Copy link
Contributor

Hi there, this appears to be related to Auth checking out the logs. Is this only happening in production? And If so what authentication capabilities do you have included e.t.c (Apple, Google vice versa). A minimal reproducible example would be very helpful.

@MichaelVerdon MichaelVerdon added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels May 21, 2025
@baotq2k2
Copy link
Author

@MichaelVerdon
Thank you for being here. This error only occurs when my users log in with Google in the production environment. I’ve tried several solutions, such as updating firebase_core and firebase_auth to their latest versions, but the issue still persists.
If you need more informations, I am willing to provide it.

@google-oss-bot google-oss-bot added Needs Attention This issue needs maintainer attention. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. labels May 22, 2025
@SelaseKay
Copy link
Contributor

Kindly provide a minimal reproducible example that reproduces this crash.

@SelaseKay SelaseKay added plugin: auth blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed Needs Attention This issue needs maintainer attention. labels May 22, 2025
@baotq2k2
Copy link
Author

baotq2k2 commented May 22, 2025

@SelaseKay
I was trying to reproduce this issue. But I can't. I had just received the report from our customer and trying to find it out from Firebase Crashlytics.
I checked the event tracking from customer that there are similar actions between them.

  • Step 1: Login by using Google.
  • Step 2: Go through our screens (especially our social network screen).
  • Step 3: The app's crashing showing randomly.

Our app have a screen that like a social network screen. In that screen take users's information.
The customer meet that bug randomly and I can't reproduce it.

@google-oss-bot google-oss-bot added Needs Attention This issue needs maintainer attention. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. labels May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Attention This issue needs maintainer attention. 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

4 participants