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]: Crash on ios : specialized withCheckedThrowingContinuation<A>(isolation:function:_:) #13451

Open
1 task done
Tom3652 opened this issue Oct 1, 2024 · 2 comments
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. 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

@Tom3652
Copy link

Tom3652 commented Oct 1, 2024

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 some repetitive crashes from my live users as you can see on my crashlytics dashboard :

Capture d’écran 2024-10-03 à 07 24 45

I have never encountered this crash in debug mode neither i am able to reproduce it unfortunately but it's a very important crash that seems to occur frequently.

My users that had this crash told me they simply tried to login using Google Sign In or Apple Sign In, so i am guessing this has something to do with one of these two methods : FirebaseAuth.instance.signInWithProvider(provider) with the AppleAuthProvider as input from :

AppleAuthProvider appleAuthProvider = AppleAuthProvider();
appleAuthProvider.addScope("email");
appleAuthProvider.addScope("fullName");

Or FirebaseAuth.instance.signInWithCredential(credential) with the OAuthCredential coming from :

final OAuthCredential credential = GoogleAuthProvider.credential(
      accessToken: googleAuth.accessToken,
      idToken: googleAuth.idToken,
 );

I only have these 2 ways of sign in inside my app.
I am using the firebase_auth: ^5.3.1 package in my app.

Also, i have checked all of the crashes, it seems to happen only on iOS 18 and on any phone : iPhone 12 pro max / iPhone 11 / iPhone SE / iPhone XR / iPhone 12 so far

Reproducing the issue

I wish i had a reproductible example code to provide, but i can only provide the Stack trace with the code that is crashing.

Firebase Core version

3.6.0

Flutter Version

3.24.3

Relevant Log Output

# Crashlytics - Stack trace
# Application: com.myappname
# Platform: apple
# Version: 1.0.3 (1)
# Issue: cb3920a4fa012030d2c5642f319fbee7
# Session: 01bc11b3b4c449e9ad6386aef86aaa87_DNE_0_v2
# Date: Mon Sep 30 2024 13:42:47 GMT+0200 (heure d’été d’Europe centrale)

com.apple.main-thread
0  libsystem_kernel.dylib         0x1708 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e18 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4d30 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4b7c mach_msg + 24
4  CoreFoundation                 0x54634 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53ce0 __CFRunLoopRun + 1236
6  CoreFoundation                 0x53368 CFRunLoopRunSpecific + 572
7  GraphicsServices               0x11c4 GSEventRunModal + 164
8  UIKitCore                      0x3e27d8 -[UIApplication _run] + 816
9  UIKitCore                      0x490b7c UIApplicationMain + 340
10 UIKitCore                      0x7af618 block_destroy_helper.23 + 10212
11 Runner                         0x4a00 main (AppDelegate.swift)
12 ???                            0x1c5c10734 (Missing)

Thread
0  libsystem_pthread.dylib        0x1480 start_wqthread + 9244169342

Crashed: com.apple.root.user-initiated-qos.cooperative
0  FirebaseAuth                   0x10ec4 specialized withCheckedThrowingContinuation<A>(isolation:function:_:) (<compiler-generated>)
1  libswift_Concurrency.dylib     0x5e8d4 swift::runJobInEstablishedExecutorContext(swift::Job*) + 252
2  libswift_Concurrency.dylib     0x5fde4 swift_job_runImpl(swift::Job*, swift::SerialExecutorRef) + 76
3  libdispatch.dylib              0x15d94 _dispatch_root_queue_drain + 392
4  libdispatch.dylib              0x16598 _dispatch_worker_thread2 + 156
5  libsystem_pthread.dylib        0x4c40 _pthread_wqthread + 228
6  libsystem_pthread.dylib        0x1488 start_wqthread + 8

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x1708 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e18 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4d30 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4b7c mach_msg + 24
4  CoreFoundation                 0x54634 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53ce0 __CFRunLoopRun + 1236
6  CoreFoundation                 0x53368 CFRunLoopRunSpecific + 572
7  Foundation                     0xb90c0 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0xb8f10 -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9  UIKitCore                      0x3f5b90 -[UIEventFetcher threadMain] + 420
10 Foundation                     0xcc3d8 __NSThread__start__ + 724
11 libsystem_pthread.dylib        0x637c _pthread_start + 136
12 libsystem_pthread.dylib        0x1494 thread_start + 8

Thread
0  libsystem_pthread.dylib        0x1480 start_wqthread + 9244169342

Thread
0  libsystem_kernel.dylib         0x1490 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4cc8 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1488 start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0x1480 start_wqthread + 9244169342

io.flutter.1.ui
0  libsystem_kernel.dylib         0x1708 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e18 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4d30 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4b7c mach_msg + 24
4  CoreFoundation                 0x54634 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53ce0 __CFRunLoopRun + 1236
6  CoreFoundation                 0x53368 CFRunLoopRunSpecific + 572
7  Flutter                        0x81f48 fml::MessageLoopDarwin::Run() + 52 (message_loop_darwin.mm:52)
8  Flutter                        0x81b90 std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 94 (message_loop_impl.cc:94)
9  Flutter                        0x81820 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 470 (function.h:470)
10 libsystem_pthread.dylib        0x637c _pthread_start + 136
11 libsystem_pthread.dylib        0x1494 thread_start + 8

io.flutter.1.raster
0  libsystem_kernel.dylib         0x1708 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e18 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4d30 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4b7c mach_msg + 24
4  CoreFoundation                 0x54634 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53ce0 __CFRunLoopRun + 1236
6  CoreFoundation                 0x53368 CFRunLoopRunSpecific + 572
7  Flutter                        0x81f48 fml::MessageLoopDarwin::Run() + 52 (message_loop_darwin.mm:52)
8  Flutter                        0x81b90 std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 94 (message_loop_impl.cc:94)
9  Flutter                        0x81820 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 470 (function.h:470)
10 libsystem_pthread.dylib        0x637c _pthread_start + 136
11 libsystem_pthread.dylib        0x1494 thread_start + 8

io.flutter.1.io
0  libsystem_kernel.dylib         0x1708 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e18 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4d30 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4b7c mach_msg + 24
4  CoreFoundation                 0x54634 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53ce0 __CFRunLoopRun + 1236
6  CoreFoundation                 0x53368 CFRunLoopRunSpecific + 572
7  Flutter                        0x81f48 fml::MessageLoopDarwin::Run() + 52 (message_loop_darwin.mm:52)
8  Flutter                        0x81b90 std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 94 (message_loop_impl.cc:94)
9  Flutter                        0x81820 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 470 (function.h:470)
10 libsystem_pthread.dylib        0x637c _pthread_start + 136
11 libsystem_pthread.dylib        0x1494 thread_start + 8

io.worker.1
0  libsystem_kernel.dylib         0x7010 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x3a50 _pthread_cond_wait + 1204
2  Flutter                        0x60800 std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 47 (condition_variable.cpp:47)
3  Flutter                        0x7b0dc void* std::_fl::__thread_proxy[abi:v15000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 398 (__mutex_base:398)
4  libsystem_pthread.dylib        0x637c _pthread_start + 136
5  libsystem_pthread.dylib        0x1494 thread_start + 8

io.worker.2
0  libsystem_kernel.dylib         0x7010 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x3a50 _pthread_cond_wait + 1204
2  Flutter                        0x60800 std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 47 (condition_variable.cpp:47)
3  Flutter                        0x7b0dc void* std::_fl::__thread_proxy[abi:v15000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 398 (__mutex_base:398)
4  libsystem_pthread.dylib        0x637c _pthread_start + 136
5  libsystem_pthread.dylib        0x1494 thread_start + 8

io.worker.3
0  libsystem_kernel.dylib         0x7010 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x3a50 _pthread_cond_wait + 1204
2  Flutter                        0x60800 std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 47 (condition_variable.cpp:47)
3  Flutter                        0x7b0dc void* std::_fl::__thread_proxy[abi:v15000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 398 (__mutex_base:398)
4  libsystem_pthread.dylib        0x637c _pthread_start + 136
5  libsystem_pthread.dylib        0x1494 thread_start + 8

dart:io EventHandler
0  libsystem_kernel.dylib         0x844c kevent + 8
1  Flutter                        0x56da6c dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 459 (eventhandler_macos.cc:459)
2  Flutter                        0x59926c dart::bin::ThreadStart(void*) + 91 (thread_macos.cc:91)
3  libsystem_pthread.dylib        0x637c _pthread_start + 136
4  libsystem_pthread.dylib        0x1494 thread_start + 8

com.google.firebase.crashlytics.MachExceptionServer
0  FirebaseCrashlytics            0x21104 FIRCLSProcessRecordAllThreads + 392 (FIRCLSProcess.c:392)
1  FirebaseCrashlytics            0x214e8 FIRCLSProcessRecordAllThreads + 423 (FIRCLSProcess.c:423)
2  FirebaseCrashlytics            0x18e34 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  FirebaseCrashlytics            0x1b7c8 FIRCLSMachExceptionServer + 525 (FIRCLSMachException.c:525)
4  libsystem_pthread.dylib        0x637c _pthread_start + 136
5  libsystem_pthread.dylib        0x1494 thread_start + 8

DartWorker
0  libsystem_kernel.dylib         0x7010 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x3a7c _pthread_cond_wait + 1248
2  Flutter                        0x696ff0 dart::Monitor::WaitMicros(long long) + 451 (os_thread_macos.cc:451)
3  Flutter                        0x63238c dart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*) + 112 (intrusive_dlist.h:112)
4  Flutter                        0x6d2a28 dart::ThreadPool::Worker::Main(unsigned long) + 112 (intrusive_dlist.h:112)
5  Flutter                        0x6969bc dart::ThreadStart(void*) + 136 (os_thread_macos.cc:136)
6  libsystem_pthread.dylib        0x637c _pthread_start + 136
7  libsystem_pthread.dylib        0x1494 thread_start + 8

DartWorker
0  libsystem_kernel.dylib         0x7010 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x3a7c _pthread_cond_wait + 1248
2  Flutter                        0x696ff0 dart::Monitor::WaitMicros(long long) + 451 (os_thread_macos.cc:451)
3  Flutter                        0x6d29f4 dart::ThreadPool::Worker::Main(unsigned long) + 112 (intrusive_dlist.h:112)
4  Flutter                        0x6969bc dart::ThreadStart(void*) + 136 (os_thread_macos.cc:136)
5  libsystem_pthread.dylib        0x637c _pthread_start + 136
6  libsystem_pthread.dylib        0x1494 thread_start + 8

DartWorker
0  libsystem_kernel.dylib         0x7010 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x3a7c _pthread_cond_wait + 1248
2  Flutter                        0x696ff0 dart::Monitor::WaitMicros(long long) + 451 (os_thread_macos.cc:451)
3  Flutter                        0x6d29f4 dart::ThreadPool::Worker::Main(unsigned long) + 112 (intrusive_dlist.h:112)
4  Flutter                        0x6969bc dart::ThreadStart(void*) + 136 (os_thread_macos.cc:136)
5  libsystem_pthread.dylib        0x637c _pthread_start + 136
6  libsystem_pthread.dylib        0x1494 thread_start + 8

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0x1708 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x4e18 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0x4d30 mach_msg_overwrite + 424
3  libsystem_kernel.dylib         0x4b7c mach_msg + 24
4  CoreFoundation                 0x54634 __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x53ce0 __CFRunLoopRun + 1236
6  CoreFoundation                 0x53368 CFRunLoopRunSpecific + 572
7  CFNetwork                      0xfd1d8 +[__CFN_CoreSchedulingSetRunnable _run:] + 416
8  Foundation                     0xcc3d8 __NSThread__start__ + 724
9  libsystem_pthread.dylib        0x637c _pthread_start + 136
10 libsystem_pthread.dylib        0x1494 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x1490 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x4cc8 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1488 start_wqthread + 8

Flutter dependencies

Expand Flutter dependencies snippet
Dart SDK 3.5.3
Flutter SDK 3.24.3
my_app_name 1.0.4+1

dependencies:
- app_links 6.3.2 [flutter app_links_linux app_links_platform_interface app_links_web]
- app_settings 5.1.1 [flutter plugin_platform_interface]
- app_tracking_transparency 2.0.6 [flutter]
- auto_size_text 3.0.0 [flutter]
- cached_network_image 3.4.1 [cached_network_image_platform_interface cached_network_image_web flutter flutter_cache_manager octo_image]
- circle_list 1.0.5 [flutter]
- country_picker 2.0.26 [collection universal_io flutter]
- cupertino_back_gesture 0.1.0 [flutter]
- cupertino_icons 1.0.8
- extended_image 8.3.0 [extended_image_library flutter meta]
- firebase_analytics 11.3.3 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_app_check 0.3.1+3 [firebase_app_check_platform_interface firebase_app_check_web firebase_core firebase_core_platform_interface flutter]
- firebase_auth 5.3.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 3.6.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 4.1.3 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_database 11.1.4 [firebase_core firebase_core_platform_interface firebase_database_platform_interface firebase_database_web flutter]
- firebase_in_app_messaging 0.8.0+8 [firebase_core firebase_core_platform_interface firebase_in_app_messaging_platform_interface flutter meta]
- firebase_messaging 15.1.3 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_performance 0.10.0+8 [firebase_core firebase_core_platform_interface firebase_performance_platform_interface firebase_performance_web flutter]
- firebase_remote_config 5.1.3 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface firebase_remote_config_web flutter]
- firebase_storage 12.3.2 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- fl_chart 0.68.0 [equatable flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]
- flutter_app_badger 1.3.0 [flutter]
- flutter_email_sender 6.0.3 [flutter]
- flutter_linkify 6.0.0 [flutter linkify]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math]
- flutter_secure_storage 9.2.2 [flutter flutter_secure_storage_linux flutter_secure_storage_macos flutter_secure_storage_platform_interface flutter_secure_storage_web flutter_secure_storage_windows meta]
- flutter_signin_button 2.0.0 [flutter font_awesome_flutter]
- flutter_svg 2.0.10+1 [flutter http vector_graphics vector_graphics_codec vector_graphics_compiler]
- fluttertoast 8.2.8 [flutter flutter_web_plugins web]
- google_fonts 6.2.1 [flutter http path_provider crypto]
- google_mobile_ads 5.1.0 [meta flutter webview_flutter_android webview_flutter_wkwebview webview_flutter]
- http 1.2.2 [async http_parser meta web]
- image_editor 1.5.1 [flutter image_editor_platform_interface image_editor_common image_editor_ohos]
- image_picker 1.1.2 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_linux image_picker_macos image_picker_platform_interface image_picker_windows]
- in_app_review 2.0.9 [flutter in_app_review_platform_interface]
- login 0.0.1 [flutter firebase_core firebase_auth firebase_app_check connectivity_plus google_sign_in]
- mime 1.0.6
- package_info_plus 8.0.2 [ffi flutter flutter_web_plugins http meta path package_info_plus_platform_interface web win32 clock]
- path_provider 2.1.4 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows]
- provider 6.1.2 [collection flutter nested]
- pull_to_refresh_flutter3 2.0.2 [flutter]
- qr_flutter 4.1.0 [flutter qr]
- rive 0.13.14 [collection flutter flutter_web_plugins http meta plugin_platform_interface rive_common]
- screenshot 3.0.0 [flutter]
- share_plus 10.0.2 [cross_file meta mime flutter flutter_web_plugins share_plus_platform_interface file url_launcher_web url_launcher_windows url_launcher_linux url_launcher_platform_interface ffi web win32]
- shared_preferences 2.3.2 [flutter shared_preferences_android shared_preferences_foundation shared_preferences_linux shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- translator 1.0.0 [http]
- uploader 0.0.1 [flutter firebase_core firebase_storage flutter_image_compress video_thumbnail video_compress]
- url_launcher 6.3.0 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- uuid 4.5.1 [crypto sprintf meta fixnum]
- video_player 2.9.1 [flutter html video_player_android video_player_avfoundation video_player_platform_interface video_player_web]
- video_thumbnail 0.5.3 [flutter]
- visibility_detector 0.4.0+2 [flutter]

dev dependencies:
- flutter_launcher_icons 0.14.1 [args checked_yaml cli_util image json_annotation path yaml]
- flutter_lints 5.0.0 [lints]
- flutter_native_splash 2.4.1 [args flutter flutter_web_plugins html image meta path universal_io xml yaml ansicolor]
- flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math leak_tracker_flutter_testing async boolean_selector characters collection leak_tracker leak_tracker_testing material_color_utilities meta source_span stream_channel string_scanner term_glyph vm_service]

transitive dependencies:
- _flutterfire_internals 1.3.44 [collection firebase_core firebase_core_platform_interface flutter meta]
- ansicolor 2.0.3
- app_links_linux 1.0.3 [flutter app_links_platform_interface gtk]
- app_links_platform_interface 2.0.2 [flutter plugin_platform_interface]
- app_links_web 1.0.4 [flutter flutter_web_plugins app_links_platform_interface web]
- archive 3.6.1 [crypto path]
- args 2.5.0
- async 2.11.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- cached_network_image_platform_interface 4.1.1 [flutter flutter_cache_manager]
- cached_network_image_web 1.3.1 [cached_network_image_platform_interface flutter flutter_cache_manager web]
- characters 1.3.0
- checked_yaml 2.0.3 [json_annotation source_span yaml]
- cli_util 0.4.1 [meta path]
- clock 1.1.1
- collection 1.18.0
- connectivity_plus 6.0.5 [flutter flutter_web_plugins connectivity_plus_platform_interface web meta nm collection]
- connectivity_plus_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- cross_file 0.3.4+2 [meta web]
- crypto 3.0.5 [typed_data]
- csslib 1.0.0 [source_span]
- dbus 0.7.10 [args ffi meta xml]
- equatable 2.0.5 [collection meta]
- extended_image_library 4.0.5 [crypto flutter http_client_helper js path path_provider web]
- fake_async 1.3.1 [clock collection]
- ffi 2.1.3
- file 7.0.0 [meta path]
- file_selector_linux 0.9.2+1 [cross_file file_selector_platform_interface flutter]
- file_selector_macos 0.9.4+1 [cross_file file_selector_platform_interface flutter]
- file_selector_platform_interface 2.6.2 [cross_file flutter http plugin_platform_interface]
- file_selector_windows 0.9.3+3 [cross_file file_selector_platform_interface flutter]
- firebase_analytics_platform_interface 4.2.5 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.5.10+2 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins]
- firebase_app_check_platform_interface 0.1.0+38 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_app_check_web 0.1.3+2 [_flutterfire_internals firebase_app_check_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins web]
- firebase_auth_platform_interface 7.4.7 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.13.2 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser meta web]
- firebase_core_platform_interface 5.3.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.18.1 [firebase_core_platform_interface flutter flutter_web_plugins meta web]
- firebase_crashlytics_platform_interface 3.6.44 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_platform_interface 0.2.5+44 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_web 0.2.6+2 [collection firebase_core firebase_core_web firebase_database_platform_interface flutter flutter_web_plugins]
- firebase_in_app_messaging_platform_interface 0.2.4+44 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 4.5.46 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 3.9.2 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins meta web]
- firebase_performance_platform_interface 0.1.4+44 [_flutterfire_internals firebase_core flutter plugin_platform_interface]
- firebase_performance_web 0.1.7+2 [_flutterfire_internals firebase_core firebase_core_web firebase_performance_platform_interface flutter flutter_web_plugins]
- firebase_remote_config_platform_interface 1.4.44 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_remote_config_web 1.7.2 [firebase_core firebase_core_web firebase_remote_config_platform_interface flutter flutter_web_plugins]
- firebase_storage_platform_interface 5.1.31 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.10.2 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http meta web]
- fixnum 1.1.0
- flutter_cache_manager 3.4.1 [clock collection file flutter http path path_provider rxdart sqflite uuid]
- flutter_image_compress 2.3.0 [flutter flutter_image_compress_platform_interface flutter_image_compress_common flutter_image_compress_web flutter_image_compress_macos flutter_image_compress_ohos]
- flutter_image_compress_common 1.0.5 [flutter flutter_image_compress_platform_interface]
- flutter_image_compress_macos 1.0.2 [flutter flutter_image_compress_platform_interface]
- flutter_image_compress_ohos 0.0.3 [flutter flutter_image_compress_platform_interface]
- flutter_image_compress_platform_interface 1.0.5 [flutter plugin_platform_interface cross_file]
- flutter_image_compress_web 0.1.4+1 [flutter flutter_web_plugins flutter_image_compress_platform_interface js]
- flutter_plugin_android_lifecycle 2.0.22 [flutter]
- flutter_secure_storage_linux 1.2.1 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_macos 3.1.2 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_platform_interface 1.1.2 [flutter plugin_platform_interface]
- flutter_secure_storage_web 1.2.1 [flutter flutter_secure_storage_platform_interface flutter_web_plugins js]
- flutter_secure_storage_windows 3.1.2 [ffi flutter flutter_secure_storage_platform_interface path path_provider win32]
- flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math]
- font_awesome_flutter 9.2.0 [flutter]
- google_identity_services_web 0.3.1+4 [meta web]
- google_sign_in 6.2.1 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web]
- google_sign_in_android 6.1.30 [flutter google_sign_in_platform_interface]
- google_sign_in_ios 5.7.7 [flutter google_sign_in_platform_interface]
- google_sign_in_platform_interface 2.4.5 [flutter plugin_platform_interface]
- google_sign_in_web 0.12.4+2 [flutter flutter_web_plugins google_identity_services_web google_sign_in_platform_interface http web]
- graphs 2.3.2 [collection]
- gtk 2.1.0 [ffi flutter meta]
- html 0.15.4 [csslib source_span]
- http_client_helper 3.0.0 [http]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- image 4.2.0 [archive meta xml]
- image_editor_common 1.1.2 [flutter image_editor_platform_interface]
- image_editor_ohos 0.0.9 [flutter image_editor_platform_interface]
- image_editor_platform_interface 1.1.0 [flutter platform plugin_platform_interface]
- image_picker_android 0.8.12+13 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 3.0.5 [flutter flutter_web_plugins image_picker_platform_interface mime web]
- image_picker_ios 0.8.12 [flutter image_picker_platform_interface]
- image_picker_linux 0.2.1+1 [file_selector_linux file_selector_platform_interface flutter image_picker_platform_interface]
- image_picker_macos 0.2.1+1 [file_selector_macos file_selector_platform_interface flutter image_picker_platform_interface]
- image_picker_platform_interface 2.10.0 [cross_file flutter http plugin_platform_interface]
- image_picker_windows 0.2.1+1 [file_selector_platform_interface file_selector_windows flutter image_picker_platform_interface]
- in_app_review_platform_interface 2.0.5 [flutter url_launcher plugin_platform_interface platform]
- intl 0.19.0 [clock meta path]
- js 0.6.7 [meta]
- json_annotation 4.9.0 [meta]
- leak_tracker 10.0.5 [clock collection meta path vm_service]
- leak_tracker_flutter_testing 3.0.5 [flutter leak_tracker leak_tracker_testing matcher meta]
- leak_tracker_testing 3.0.1 [leak_tracker matcher meta]
- linkify 5.0.0
- lints 5.0.0
- matcher 0.12.16+1 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.11.1 [collection]
- meta 1.15.0
- nested 1.0.0 [flutter]
- nm 0.5.0 [dbus]
- octo_image 2.1.0 [flutter]
- package_info_plus_platform_interface 3.0.1 [flutter meta plugin_platform_interface]
- path 1.9.0
- path_parsing 1.0.1 [vector_math meta]
- path_provider_android 2.2.10 [flutter path_provider_platform_interface]
- path_provider_foundation 2.4.0 [flutter path_provider_platform_interface]
- path_provider_linux 2.2.1 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.1.2 [flutter platform plugin_platform_interface]
- path_provider_windows 2.3.0 [ffi flutter path path_provider_platform_interface]
- petitparser 6.0.2 [meta]
- platform 3.1.5
- plugin_platform_interface 2.1.8 [meta]
- qr 3.0.2 [meta]
- rive_common 0.4.11 [collection ffi flutter flutter_web_plugins graphs http meta plugin_platform_interface web]
- rxdart 0.28.0
- share_plus_platform_interface 5.0.0 [cross_file flutter meta mime plugin_platform_interface path_provider uuid]
- shared_preferences_android 2.3.2 [flutter shared_preferences_platform_interface]
- shared_preferences_foundation 2.5.2 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.4.1 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.4.1 [flutter plugin_platform_interface]
- shared_preferences_web 2.4.2 [flutter flutter_web_plugins shared_preferences_platform_interface web]
- shared_preferences_windows 2.4.1 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- sky_engine 0.0.99
- source_span 1.10.0 [collection path term_glyph]
- sprintf 7.0.0
- sqflite 2.3.3+2 [flutter sqflite_common path]
- sqflite_common 2.5.4+4 [synchronized path meta]
- stack_trace 1.11.1 [path]
- stream_channel 2.1.2 [async]
- string_scanner 1.2.0 [source_span]
- synchronized 3.3.0+3
- term_glyph 1.2.1
- test_api 0.7.2 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph]
- typed_data 1.3.2 [collection]
- universal_io 2.2.2 [collection meta typed_data]
- url_launcher_android 6.3.10 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.3.1 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.2.0 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.2.1 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.3.2 [flutter plugin_platform_interface]
- url_launcher_web 2.3.3 [flutter flutter_web_plugins url_launcher_platform_interface web]
- url_launcher_windows 3.1.2 [flutter url_launcher_platform_interface]
- vector_graphics 1.1.11+1 [flutter http vector_graphics_codec]
- vector_graphics_codec 1.1.11+1
- vector_graphics_compiler 1.1.11+1 [args meta path_parsing xml vector_graphics_codec path]
- vector_math 2.1.4
- video_compress 3.1.1 [flutter]
- video_player_android 2.7.5 [flutter video_player_platform_interface]
- video_player_avfoundation 2.6.1 [flutter video_player_platform_interface]
- video_player_platform_interface 6.2.2 [flutter plugin_platform_interface]
- video_player_web 2.3.2 [flutter flutter_web_plugins video_player_platform_interface web]
- vm_service 14.2.5
- web 1.1.0
- webview_flutter 4.9.0 [flutter webview_flutter_android webview_flutter_platform_interface webview_flutter_wkwebview]
- webview_flutter_android 3.16.8 [flutter webview_flutter_platform_interface]
- webview_flutter_platform_interface 2.10.0 [flutter meta plugin_platform_interface]
- webview_flutter_wkwebview 3.15.0 [flutter path webview_flutter_platform_interface]
- win32 5.5.4 [ffi]
- xdg_directories 1.0.4 [meta path]
- xml 6.5.0 [collection meta petitparser]
- yaml 3.1.2 [collection source_span string_scanner]

Additional context and comments

Please note on the screenshot of the issue 2 other traces that may be related, but with much less crash occurrences :

          Crashed: com.apple.root.default-qos.cooperative
0  libswiftCore.dylib             0x4388c8 swift_unknownObjectRetain + 8
1  FirebaseAuth                   0xa0738 (1) suspend resume partial function for specialized AuthBackendRPCImplementation.callInternal<A>(with:) + 259 (AuthBackend.swift:259)
2  libswift_Concurrency.dylib     0x610e4 <redacted> + 252
3  libswift_Concurrency.dylib     0x63a08 <redacted> + 480
4  libswift_Concurrency.dylib     0x611a4 <redacted> + 444
5  libswift_Concurrency.dylib     0x624f4 <redacted> + 144
6  libdispatch.dylib              0x15d8c _dispatch_root_queue_drain + 392
7  libdispatch.dylib              0x16590 _dispatch_worker_thread2 + 156
8  libsystem_pthread.dylib        0x4c40 _pthread_wqthread + 228
9  libsystem_pthread.dylib        0x1488 start_wqthread + 8
        
@Tom3652 Tom3652 added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Oct 1, 2024
@SelaseKay SelaseKay added plugin: auth platform: ios Issues / PRs which are specifically for iOS. labels Oct 2, 2024
@Tom3652
Copy link
Author

Tom3652 commented Oct 3, 2024

Hi @SelaseKay I have checked the release notes on iOS and saw that 4 days ago a release was made :

Capture d’écran 2024-10-03 à 07 54 45

In my current app release i have the Firebase iOS SDK : 11.2.0 which have introduce a lot of changes to Firebase Auth :

Capture d’écran 2024-10-03 à 07 53 09

Is it possible that the second point of 11.3.0 fixes the issue ?

Prevent a bad memory access crash by using non-ObjC Swift types in the SDK's networking layer, and moving synchronous work off of the shared Swift concurrency queue ([#13650](https://github.com/firebase/firebase-ios-sdk/issues/13650)).

Let's see if i stil have more crashes once the new Firebase iOS SDK will be landed. Thanks !

@SelaseKay
Copy link
Contributor

Hi @Tom3652 , thanks for sharing additional insights on the issue. You're most likely right. firebase-ios-sdk 11.3.0 should resolve this issue.

@SelaseKay SelaseKay added the blocked: customer-response Waiting for customer response, e.g. more information was requested. label Oct 4, 2024
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. 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

2 participants