firebase / flutterfire

πŸ”₯ A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.68k stars 3.97k forks source link

πŸ› [cloud_firestore] -[FLTQuerySnapshotStreamHandler onListenWithArguments:eventSink:] NSInvalidArgumentException - -[NSNull addSnapshotListenerWithIncludeMetadataChanges:listener:]: unrecognized selector sent to instance <address> #10292

Closed rtessler closed 9 months ago

rtessler commented 1 year ago

Bug report

Description

Flutter IOS app crashes on startup follow the suggestions in https://github.com/firebase/flutterfire/issues/6900 I made sure all query wherein statements are avoided where array is empty. Crash does not happen in debug or release on my iphone 11 but does happen on another user's iphone XR

Firebase Crashlytics:

-[FLTQuerySnapshotStreamHandler onListenWithArguments:eventSink:]
NSInvalidArgumentException - -[NSNull addSnapshotListenerWithIncludeMetadataChanges:listener:]: unrecognized selector sent to instance <address>

Fatal Exception: NSInvalidArgumentException
-[NSNull addSnapshotListenerWithIncludeMetadataChanges:listener:]: unrecognized selector sent to instance 0x223ba8920
Click To Expand ``` Fatal Exception: NSInvalidArgumentException 0 CoreFoundation 0x9e88 __exceptionPreprocess 1 libobjc.A.dylib 0x178d8 objc_exception_throw 2 CoreFoundation 0x17e84c +[NSObject(NSObject) _copyDescription] 3 CoreFoundation 0x1ffa0 ___forwarding___ 4 CoreFoundation 0x88350 _CF_forwarding_prep_0 5 Runner 0xdaf4c -[FLTQuerySnapshotStreamHandler onListenWithArguments:eventSink:] + 54 (FLTQuerySnapshotStreamHandler.m:54) 6 Flutter 0x57822c (Missing UUID 3adbf2891ee63561a26df1652313df7e) 7 Flutter 0x43de4 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 8 libdispatch.dylib 0x24b4 _dispatch_call_block_and_release 9 libdispatch.dylib 0x3fdc _dispatch_client_callout 10 libdispatch.dylib 0x127f4 _dispatch_main_queue_drain 11 libdispatch.dylib 0x12444 _dispatch_main_queue_callback_4CF 12 CoreFoundation 0x9a6f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 13 CoreFoundation 0x7c058 __CFRunLoopRun 14 CoreFoundation 0x80ed4 CFRunLoopRunSpecific 15 GraphicsServices 0x1368 GSEventRunModal 16 UIKitCore 0x3a23d0 -[UIApplication _run] 17 UIKitCore 0x3a2034 UIApplicationMain 18 Runner 0x7768 main + 5 (AppDelegate.swift:5) 19 ??? 0x1ea824960 (Missing) ```

Sample project

Providing a minimal example project which demonstrates the bug in isolation from your main App greatly enhances the chance of a timely fix. Please link to the public repository URL.


Additional context

full crash dump

Click To Expand ``` # Crashlytics - Stack trace # Application: co.swaymusic.swaymusic # Platform: apple # Version: 1.0.9 (82) # Issue: ba4b4d6ec52305271083b401209e0a01 # Session: 0629b0357b86418aa74bea8162f45459_DNE_0_v2 # Date: Wed Jan 18 2023 11:38:48 GMT+0100 (Central European Standard Time) Fatal Exception: NSInvalidArgumentException 0 CoreFoundation 0x9e88 __exceptionPreprocess 1 libobjc.A.dylib 0x178d8 objc_exception_throw 2 CoreFoundation 0x17e84c +[NSObject(NSObject) _copyDescription] 3 CoreFoundation 0x1ffa0 ___forwarding___ 4 CoreFoundation 0x88350 _CF_forwarding_prep_0 5 Runner 0xdaf4c -[FLTQuerySnapshotStreamHandler onListenWithArguments:eventSink:] + 54 (FLTQuerySnapshotStreamHandler.m:54) 6 Flutter 0x57822c (Missing UUID 3adbf2891ee63561a26df1652313df7e) 7 Flutter 0x43de4 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 8 libdispatch.dylib 0x24b4 _dispatch_call_block_and_release 9 libdispatch.dylib 0x3fdc _dispatch_client_callout 10 libdispatch.dylib 0x127f4 _dispatch_main_queue_drain 11 libdispatch.dylib 0x12444 _dispatch_main_queue_callback_4CF 12 CoreFoundation 0x9a6f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 13 CoreFoundation 0x7c058 __CFRunLoopRun 14 CoreFoundation 0x80ed4 CFRunLoopRunSpecific 15 GraphicsServices 0x1368 GSEventRunModal 16 UIKitCore 0x3a23d0 -[UIApplication _run] 17 UIKitCore 0x3a2034 UIApplicationMain 18 Runner 0x7768 main + 5 (AppDelegate.swift:5) 19 ??? 0x1ea824960 (Missing) Crashed: com.google.firebase.crashlytics.ios.exception 0 FirebaseCrashlytics 0x1eee4 FIRCLSProcessRecordAllThreads + 184 1 FirebaseCrashlytics 0x1f2c4 FIRCLSProcessRecordAllThreads + 1176 2 FirebaseCrashlytics 0x16518 FIRCLSHandler + 48 3 FirebaseCrashlytics 0x111e0 __FIRCLSExceptionRecord_block_invoke + 92 4 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20 5 libdispatch.dylib 0x13574 _dispatch_lane_barrier_sync_invoke_and_complete + 56 6 FirebaseCrashlytics 0x10218 FIRCLSExceptionRecord + 204 7 FirebaseCrashlytics 0x10d00 FIRCLSExceptionRecordNSException + 452 8 FirebaseCrashlytics 0xfe70 FIRCLSTerminateHandler() + 404 9 libc++abi.dylib 0x10f28 std::__terminate(void (*)()) + 20 10 libc++abi.dylib 0x10ec4 std::terminate() + 56 11 libobjc.A.dylib 0x33bec objc_terminate + 16 12 libdispatch.dylib 0x3ff0 _dispatch_client_callout + 40 13 libdispatch.dylib 0x127f4 _dispatch_main_queue_drain + 928 14 libdispatch.dylib 0x12444 _dispatch_main_queue_callback_4CF + 44 15 CoreFoundation 0x9a6f8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 16 CoreFoundation 0x7c058 __CFRunLoopRun + 2036 17 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612 18 GraphicsServices 0x1368 GSEventRunModal + 164 19 UIKitCore 0x3a23d0 -[UIApplication _run] + 888 20 UIKitCore 0x3a2034 UIApplicationMain + 340 21 Runner 0x7768 main + 5 (AppDelegate.swift:5) 22 ??? 0x1ea824960 (Missing) Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8 Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8 Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8 com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x108c mach_msg + 24 4 CoreFoundation 0x7aaf0 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x7bd34 __CFRunLoopRun + 1232 6 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612 7 Foundation 0x42334 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 8 Foundation 0x4221c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 9 UIKitCore 0x4d733c -[UIEventFetcher threadMain] + 436 10 Foundation 0x5b808 __NSThread__start__ + 716 11 libsystem_pthread.dylib 0x16cc _pthread_start + 148 12 libsystem_pthread.dylib 0xba4 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8 io.flutter.1.ui 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 Flutter 0x6774c0 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 3 Flutter 0x67a920 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 4 Flutter 0x679fc0 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 5 Flutter 0x67352c (Missing UUID 3adbf2891ee63561a26df1652313df7e) 6 Flutter 0x674b20 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 7 Flutter 0x573488 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 8 Flutter 0x3cf134 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 9 Flutter 0x3d7dfc (Missing UUID 3adbf2891ee63561a26df1652313df7e) 10 Flutter 0x3ca840 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 11 Flutter 0x2f5ec4 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 12 Flutter 0x2f91fc (Missing UUID 3adbf2891ee63561a26df1652313df7e) 13 CoreFoundation 0xce35c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32 14 CoreFoundation 0x8a9d8 __CFRunLoopDoTimer + 940 15 CoreFoundation 0x2e598 __CFRunLoopDoTimers + 288 16 CoreFoundation 0x7bfcc __CFRunLoopRun + 1896 17 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612 18 Flutter 0x2f90cc (Missing UUID 3adbf2891ee63561a26df1652313df7e) 19 Flutter 0x2f8acc (Missing UUID 3adbf2891ee63561a26df1652313df7e) 20 libsystem_pthread.dylib 0x16cc _pthread_start + 148 21 libsystem_pthread.dylib 0xba4 thread_start + 8 io.flutter.1.raster 0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x108c mach_msg + 24 4 libdispatch.dylib 0x1f364 _dispatch_mach_send_and_wait_for_reply + 540 5 libdispatch.dylib 0x1f6ec dispatch_mach_send_with_result_and_wait_for_reply + 60 6 libxpc.dylib 0x102e4 xpc_connection_send_message_with_reply_sync + 240 7 Metal 0x27928 XPCCompilerConnection::BuildRequestInternal(MTLCompilerRequest*, char const*, NSObject*, int, bool, void (unsigned int, void const*, unsigned long, char const*) block_pointer) + 1192 8 Metal 0x300a4 invocation function for block in XPCCompilerConnection::BuildRequest(MTLCompilerRequest*, char const*, NSObject*, int, bool, void (unsigned int, void const*, unsigned long, char const*) block_pointer) + 64 9 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20 10 libdispatch.dylib 0x13574 _dispatch_lane_barrier_sync_invoke_and_complete + 56 11 Metal 0x2f39c XPCCompilerConnection::BuildRequest(MTLCompilerRequest*, char const*, NSObject*, int, bool, void (unsigned int, void const*, unsigned long, char const*) block_pointer) + 136 12 Metal 0x3564c MTLCompilerConnectionManagerPrivate::buildRequest(unsigned int, MTLCompilerRequest*, bool, void (MTLCompilerError, NSObject*, char const*) block_pointer) + 400 13 Metal 0x3f24 -[MTLCompiler compileFunctionRequestInternal:frameworkLinking:linkDataSize:reflectionOnly:completionHandler:] + 5852 14 AGXMetalA12 0x24778 (Missing UUID 01f13b434e113e4f8d6686bef87f2d68) 15 AGXMetalA12 0x1ecac (Missing UUID 01f13b434e113e4f8d6686bef87f2d68) 16 AGXMetalA12 0x57b0c (Missing UUID 01f13b434e113e4f8d6686bef87f2d68) 17 AGXMetalA12 0x58160 (Missing UUID 01f13b434e113e4f8d6686bef87f2d68) 18 AGXMetalA12 0x22960 (Missing UUID 01f13b434e113e4f8d6686bef87f2d68) 19 AGXMetalA12 0x1f908 (Missing UUID 01f13b434e113e4f8d6686bef87f2d68) 20 AGXMetalA12 0x57428 (Missing UUID 01f13b434e113e4f8d6686bef87f2d68) 21 AGXMetalA12 0x62c7c (Missing UUID 01f13b434e113e4f8d6686bef87f2d68) 22 Flutter 0x27eea0 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 23 Flutter 0x281b94 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 24 Flutter 0x27ae7c (Missing UUID 3adbf2891ee63561a26df1652313df7e) 25 Flutter 0x1a12f4 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 26 Flutter 0x1a09f8 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 27 Flutter 0x22c384 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 28 Flutter 0x223f18 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 29 Flutter 0x195a1c (Missing UUID 3adbf2891ee63561a26df1652313df7e) 30 Flutter 0x195e18 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 31 Flutter 0x5f5a0 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 32 Flutter 0x5818e8 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 33 Flutter 0x498884 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 34 Flutter 0x3d3584 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 35 Flutter 0x3d3b80 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 36 Flutter 0x2f76b0 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 37 Flutter 0x3d2f90 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 38 Flutter 0x3d4ba4 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 39 Flutter 0x3d3e8c (Missing UUID 3adbf2891ee63561a26df1652313df7e) 40 Flutter 0x3ddc34 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 41 Flutter 0x2f5ec4 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 42 Flutter 0x2f91fc (Missing UUID 3adbf2891ee63561a26df1652313df7e) 43 CoreFoundation 0xce35c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32 44 CoreFoundation 0x8a9d8 __CFRunLoopDoTimer + 940 45 CoreFoundation 0x2e598 __CFRunLoopDoTimers + 288 46 CoreFoundation 0x7bfcc __CFRunLoopRun + 1896 47 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612 48 Flutter 0x2f90cc (Missing UUID 3adbf2891ee63561a26df1652313df7e) 49 Flutter 0x2f8acc (Missing UUID 3adbf2891ee63561a26df1652313df7e) 50 libsystem_pthread.dylib 0x16cc _pthread_start + 148 51 libsystem_pthread.dylib 0xba4 thread_start + 8 io.flutter.1.io 0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x108c mach_msg + 24 4 CoreFoundation 0x7aaf0 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x7bd34 __CFRunLoopRun + 1232 6 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612 7 Flutter 0x2f90cc (Missing UUID 3adbf2891ee63561a26df1652313df7e) 8 Flutter 0x2f8acc (Missing UUID 3adbf2891ee63561a26df1652313df7e) 9 libsystem_pthread.dylib 0x16cc _pthread_start + 148 10 libsystem_pthread.dylib 0xba4 thread_start + 8 io.worker.1 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 libc++.1.dylib 0xcacc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Flutter 0x2f3840 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 4 libsystem_pthread.dylib 0x16cc _pthread_start + 148 5 libsystem_pthread.dylib 0xba4 thread_start + 8 io.worker.2 0 Flutter 0x2c257c (Missing UUID 3adbf2891ee63561a26df1652313df7e) 1 Flutter 0x2b3550 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 2 Flutter 0x2afe8c (Missing UUID 3adbf2891ee63561a26df1652313df7e) 3 Flutter 0x2ac3f4 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 4 Flutter 0x2acc68 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 5 Flutter 0x12934c (Missing UUID 3adbf2891ee63561a26df1652313df7e) 6 Flutter 0x129cb0 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 7 Flutter 0x4c60cc (Missing UUID 3adbf2891ee63561a26df1652313df7e) 8 Flutter 0x4c13b0 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 9 Flutter 0x4be400 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 10 Flutter 0x2f3a00 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 11 libsystem_pthread.dylib 0x16cc _pthread_start + 148 12 libsystem_pthread.dylib 0xba4 thread_start + 8 io.worker.3 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 libc++.1.dylib 0xcacc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Flutter 0x2f3840 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 4 libsystem_pthread.dylib 0x16cc _pthread_start + 148 5 libsystem_pthread.dylib 0xba4 thread_start + 8 io.worker.4 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 libc++.1.dylib 0xcacc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Flutter 0x2f3840 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 4 libsystem_pthread.dylib 0x16cc _pthread_start + 148 5 libsystem_pthread.dylib 0xba4 thread_start + 8 io.worker.5 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 libc++.1.dylib 0xcacc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Flutter 0x2f3840 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 4 libsystem_pthread.dylib 0x16cc _pthread_start + 148 5 libsystem_pthread.dylib 0xba4 thread_start + 8 io.worker.6 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 libc++.1.dylib 0xcacc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Flutter 0x2f3840 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 4 libsystem_pthread.dylib 0x16cc _pthread_start + 148 5 libsystem_pthread.dylib 0xba4 thread_start + 8 dart:io EventHandler 0 libsystem_kernel.dylib 0x2480 kevent + 8 1 Flutter 0x4e432c (Missing UUID 3adbf2891ee63561a26df1652313df7e) 2 Flutter 0x513414 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 3 libsystem_pthread.dylib 0x16cc _pthread_start + 148 4 libsystem_pthread.dylib 0xba4 thread_start + 8 com.google.firebase.firestore.rpc 0 libsystem_kernel.dylib 0x422c poll + 8 1 grpc 0x83234 pollset_work(grpc_pollset*, grpc_pollset_worker**, long long) + 1276 2 grpc 0x850b0 pollset_work(grpc_pollset*, grpc_pollset_worker**, long long) + 72 3 grpc 0x6852c cq_next(grpc_completion_queue*, gpr_timespec, void*) + 320 4 grpcpp 0x1a2cc grpc::CompletionQueue::AsyncNextInternal(void**, bool*, gpr_timespec) + 60 5 FirebaseFirestore 0x2ba4c firebase::firestore::remote::Datastore::PollGrpcQueue() + 104 6 FirebaseFirestore 0x149ab8 firebase::firestore::util::Task::ExecuteAndRelease() + 184 7 libdispatch.dylib 0x3fdc _dispatch_client_callout + 20 8 libdispatch.dylib 0xb694 _dispatch_lane_serial_drain + 672 9 libdispatch.dylib 0xc1e0 _dispatch_lane_invoke + 384 10 libdispatch.dylib 0x16e10 _dispatch_workloop_worker_thread + 652 11 libsystem_pthread.dylib 0xdf8 _pthread_wqthread + 288 12 libsystem_pthread.dylib 0xb98 start_wqthread + 8 Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8 Thread 0 libsystem_kernel.dylib 0x1050 __workq_kernreturn + 8 1 libsystem_pthread.dylib 0xe44 _pthread_wqthread + 364 2 libsystem_pthread.dylib 0xb98 start_wqthread + 8 com.google.firebase.crashlytics.MachExceptionServer 0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x108c mach_msg + 24 4 FirebaseCrashlytics 0x18a94 FIRCLSMachExceptionServer + 108 5 libsystem_pthread.dylib 0x16cc _pthread_start + 148 6 libsystem_pthread.dylib 0xba4 thread_start + 8 JavaScriptCore libpas scavenger 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 JavaScriptCore 0xf63ec scavenger_thread_main + 1364 3 libsystem_pthread.dylib 0x16cc _pthread_start + 148 4 libsystem_pthread.dylib 0xba4 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 grpc 0x16e904 gpr_cv_wait + 124 3 grpc 0x87400 grpc_core::Executor::ThreadMain(void*) + 180 4 grpc 0x179838 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::__invoke(void*) + 140 5 libsystem_pthread.dylib 0x16cc _pthread_start + 148 6 libsystem_pthread.dylib 0xba4 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 grpc 0x16e904 gpr_cv_wait + 124 3 grpc 0x87400 grpc_core::Executor::ThreadMain(void*) + 180 4 grpc 0x179838 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::__invoke(void*) + 140 5 libsystem_pthread.dylib 0x16cc _pthread_start + 148 6 libsystem_pthread.dylib 0xba4 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 grpc 0x16e8f4 gpr_cv_wait + 108 3 grpc 0x17d75c timer_thread(void*) + 552 4 grpc 0x179838 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::__invoke(void*) + 140 5 libsystem_pthread.dylib 0x16cc _pthread_start + 148 6 libsystem_pthread.dylib 0xba4 thread_start + 8 com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0xb48 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x13008 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x13248 mach_msg_overwrite + 388 3 libsystem_kernel.dylib 0x108c mach_msg + 24 4 CoreFoundation 0x7aaf0 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x7bd34 __CFRunLoopRun + 1232 6 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612 7 CFNetwork 0x2565a8 _CFURLStorageSessionDisableCache + 61088 8 Foundation 0x5b808 __NSThread__start__ + 716 9 libsystem_pthread.dylib 0x16cc _pthread_start + 148 10 libsystem_pthread.dylib 0xba4 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x8098 _pthread_cond_wait + 1276 2 Flutter 0x62a8fc (Missing UUID 3adbf2891ee63561a26df1652313df7e) 3 Flutter 0x66b9a0 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 4 Flutter 0x62a224 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 5 libsystem_pthread.dylib 0x16cc _pthread_start + 148 6 libsystem_pthread.dylib 0xba4 thread_start + 8 DartWorker 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x8098 _pthread_cond_wait + 1276 2 Flutter 0x62a8fc (Missing UUID 3adbf2891ee63561a26df1652313df7e) 3 Flutter 0x66b9a0 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 4 Flutter 0x62a224 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 5 libsystem_pthread.dylib 0x16cc _pthread_start + 148 6 libsystem_pthread.dylib 0xba4 thread_start + 8 Thread 0 libsystem_kernel.dylib 0x141c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x806c _pthread_cond_wait + 1232 2 grpc 0x16e904 gpr_cv_wait + 124 3 grpc 0x17d75c timer_thread(void*) + 552 4 grpc 0x179838 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::__invoke(void*) + 140 5 libsystem_pthread.dylib 0x16cc _pthread_start + 148 6 libsystem_pthread.dylib 0xba4 thread_start + 8 DartWorker 0 libsystem_malloc.dylib 0x73a8 free_small + 156 1 Flutter 0x47dc0c (Missing UUID 3adbf2891ee63561a26df1652313df7e) 2 Flutter 0x4796d4 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 3 Flutter 0x41991c (Missing UUID 3adbf2891ee63561a26df1652313df7e) 4 Flutter 0x418764 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 5 Flutter 0x4d821c (Missing UUID 3adbf2891ee63561a26df1652313df7e) 6 Flutter 0x675920 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 7 Flutter 0x6775f0 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 8 Flutter 0x677e1c (Missing UUID 3adbf2891ee63561a26df1652313df7e) 9 Flutter 0x66b888 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 10 Flutter 0x62a224 (Missing UUID 3adbf2891ee63561a26df1652313df7e) 11 libsystem_pthread.dylib 0x16cc _pthread_start + 148 12 libsystem_pthread.dylib 0xba4 thread_start + 8 ```

Flutter doctor

flutter doctor

Doctor summary (to see all details, run flutter doctor -v): [βœ“] Flutter (Channel stable, 3.3.10, on macOS 13.1 22C65 darwin-x64, locale en-GB) [βœ“] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) [βœ“] Xcode - develop for iOS and macOS (Xcode 14.2) [βœ“] Chrome - develop for the web [!] Android Studio (version 2022.1) βœ— Unable to find bundled Java version. [βœ“] IntelliJ IDEA Community Edition (version 2022.2.4) [βœ“] VS Code (version 1.74.3) [βœ“] Connected device (4 available) [βœ“] HTTP Host Availability

! Doctor found issues in 1 category.


Flutter dependencies

Run flutter pub deps -- --style=compact and paste the output below:

Click To Expand ``` flutter pub deps -- --style=compact Dart SDK 2.18.6 Flutter SDK 3.3.10 swaymusic 1.0.9+82 dependencies: - aligned_dialog 0.0.6 [flutter] - audio_video_progress_bar 0.11.0 [flutter] - auto_size_text 3.0.0 [flutter] - blur 3.1.0 [flutter] - cached_network_image 3.2.1 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web] - cloud_firestore 4.3.1 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta] - connectivity_plus 3.0.2 [flutter flutter_web_plugins connectivity_plus_platform_interface js meta nm] - crypto 3.0.2 [typed_data] - cupertino_icons 1.0.5 - device_apps 2.2.0 [flutter] - device_info_plus 3.2.4 [flutter device_info_plus_platform_interface device_info_plus_macos device_info_plus_linux device_info_plus_web device_info_plus_windows] - document_analysis 0.2.0 - easy_debounce 2.0.2+1 - equatable 2.0.3 [collection meta] - firebase_analytics 10.0.7 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter] - firebase_auth 4.2.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta] - firebase_auth_oauth 1.2.2 [flutter firebase_auth firebase_core firebase_auth_oauth_platform_interface firebase_auth_oauth_web] - firebase_core 2.4.1 [firebase_core_platform_interface firebase_core_web flutter meta] - firebase_crashlytics 3.0.7 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace] - firebase_dynamic_links 5.0.8 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface] - firebase_messaging 14.1.4 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta] - firebase_storage 11.0.7 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter] - flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine] - flutter_bloc 8.0.1 [flutter bloc provider] - flutter_dotenv 5.0.2 [flutter] - flutter_facebook_auth 5.0.6 [flutter flutter_facebook_auth_platform_interface flutter_facebook_auth_web facebook_auth_desktop] - flutter_flushbar 0.0.2 [flutter] - flutter_local_notifications 12.0.4 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone] - flutter_markdown 0.6.10+3 [flutter markdown meta path] - flutter_riverpod 2.0.0-dev.9 [collection flutter meta riverpod state_notifier] - flutter_spinkit 5.1.0 [flutter] - flutter_staggered_grid_view 0.6.2 [flutter] - flutter_svg 1.1.0 [flutter meta path_drawing vector_math xml] - geocoding 2.0.4 [flutter geocoding_platform_interface] - geolocator 9.0.2 [flutter geolocator_platform_interface geolocator_android geolocator_apple geolocator_web geolocator_windows] - google_sign_in 5.4.1 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web] - gradient_ui_widgets 1.0.2-nullsafety [flutter] - grouped_list 5.1.2 [flutter] - http 0.13.5 [async http_parser meta path] - image 3.1.3 [archive meta xml] - image_picker 0.8.5+3 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_platform_interface] - intl 0.17.0 [clock path] - json_annotation 4.6.0 [meta] - logging 1.0.2 - lottie 2.0.0 [archive flutter path vector_math] - material_floating_search_bar 0.3.7 [flutter meta] - modal_bottom_sheet 2.1.0 [flutter] - music 1.0.0+2 [uuid audius apple_music spotify] - network_info_plus 3.0.1 [collection nm flutter flutter_web_plugins meta network_info_plus_platform_interface] - outline_gradient_button 2.0.0+1 [flutter] - package_info_plus 1.4.2 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web] - pin_code_text_field 1.8.0 [flutter] - share_plus 4.0.10 [meta mime flutter share_plus_platform_interface share_plus_linux share_plus_macos share_plus_windows share_plus_web] - shared_preferences 2.0.15 [flutter shared_preferences_android shared_preferences_ios shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows] - sign_in_with_apple 4.1.0 [flutter meta sign_in_with_apple_platform_interface sign_in_with_apple_web] - smooth_page_indicator 1.0.0+2 [flutter] - timeago 3.2.2 - transparent_image 2.0.0 - url_launcher 6.1.5 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows] - uuid 3.0.6 [crypto] dev dependencies: - bloc_test 9.0.3 [bloc diff_match_patch meta mocktail test] - build_runner 2.2.0 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml] - dart_code_metrics 4.19.2 [analyzer analyzer_plugin ansicolor args collection crypto file glob html meta path source_span xml yaml] - dependency_validator 3.2.2 [args build_config checked_yaml glob io json_annotation logging package_config path pub_semver pubspec_parse yaml] - firebase_auth_mocks 0.9.2 [flutter firebase_auth meta equatable dart_jsonwebtoken uuid] - firebase_core_platform_interface 4.5.2 [collection flutter flutter_test meta plugin_platform_interface] - flutter_driver 0.0.0 [file flutter flutter_test fuchsia_remote_debug_protocol path meta vm_service webdriver archive async boolean_selector characters clock collection crypto matcher material_color_utilities platform process source_span stack_trace stream_channel string_scanner sync_http term_glyph test_api typed_data vector_math] - flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph] - freezed 2.1.0+1 [analyzer build build_config collection meta source_gen freezed_annotation json_annotation] - freezed_annotation 2.1.0 [collection json_annotation meta] - json_serializable 6.3.1 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper] - test 1.21.4 [analyzer async boolean_selector collection coverage http_multi_server io js node_preamble package_config path pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel typed_data web_socket_channel webkit_inspection_protocol yaml test_api test_core] transitive dependencies: - _fe_analyzer_shared 42.0.0 [meta] - _flutterfire_internals 1.0.12 [collection firebase_core firebase_core_platform_interface flutter meta] - analyzer 4.3.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml] - analyzer_plugin 0.10.0 [analyzer collection dart_style pub_semver yaml] - ansicolor 2.0.1 - apple_music 0.0.1 [dart_jsonwebtoken flutter flutter_dotenv http metadata_fetch device_info_plus shared_preferences music] - archive 3.3.0 [crypto path] - args 2.3.1 - async 2.9.0 [collection meta] - audio_service 0.18.7 [audio_service_platform_interface audio_service_web audio_session rxdart flutter_cache_manager clock js flutter flutter_web_plugins] - audio_service_platform_interface 0.1.0 [flutter plugin_platform_interface meta] - audio_service_web 0.1.1 [audio_service_platform_interface rxdart js flutter flutter_web_plugins] - audio_session 0.1.10 [flutter flutter_web_plugins rxdart meta] - audius 1.0.0+2 [http intl json_annotation just_audio just_audio_background] - bloc 8.0.3 [meta] - boolean_selector 2.1.0 [source_span string_scanner] - build 2.3.0 [analyzer async convert crypto glob logging meta path] - build_config 1.1.0 [checked_yaml json_annotation path pubspec_parse yaml] - build_daemon 3.1.0 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel] - build_resolvers 2.0.9 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml] - build_runner_core 7.2.3 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml] - built_collection 5.1.1 - built_value 8.4.0 [built_collection collection fixnum meta] - cached_network_image_platform_interface 1.0.0 [flutter flutter_cache_manager] - cached_network_image_web 1.0.1 [flutter flutter_cache_manager cached_network_image_platform_interface] - characters 1.2.1 - charcode 1.3.1 - checked_yaml 2.0.1 [json_annotation source_span yaml] - clock 1.1.1 - cloud_firestore_platform_interface 5.10.1 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - cloud_firestore_web 3.2.1 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js] - code_builder 4.1.0 [built_collection built_value collection matcher meta] - collection 1.16.0 - connectivity_plus_platform_interface 1.2.3 [flutter meta plugin_platform_interface] - convert 3.0.2 [typed_data] - coverage 1.5.0 [args logging package_config path source_maps stack_trace vm_service] - cross_file 0.3.3+1 [js meta] - csslib 0.17.2 [source_span] - dart_jsonwebtoken 2.4.1 [crypto pointycastle convert collection] - dart_style 2.2.3 [analyzer args path pub_semver source_span] - dbus 0.7.3 [args ffi meta xml] - device_info_plus_linux 2.1.1 [device_info_plus_platform_interface file flutter meta] - device_info_plus_macos 2.2.3 [device_info_plus_platform_interface flutter] - device_info_plus_platform_interface 2.3.0+1 [flutter meta plugin_platform_interface] - device_info_plus_web 2.1.0 [device_info_plus_platform_interface flutter_web_plugins flutter] - device_info_plus_windows 2.1.1 [device_info_plus_platform_interface ffi flutter win32] - diff_match_patch 0.4.1 - facebook_auth_desktop 0.0.7 [flutter http flutter_secure_storage flutter_facebook_auth_platform_interface] - fake_async 1.3.1 [clock collection] - ffi 1.2.1 - file 6.1.2 [meta path] - firebase 9.0.3 [http http_parser js] - firebase_analytics_platform_interface 3.3.15 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_analytics_web 0.5.1+6 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js] - firebase_auth_oauth_platform_interface 1.0.3 [flutter firebase_auth firebase_core] - firebase_auth_oauth_web 1.1.1 [flutter flutter_web_plugins firebase firebase_auth firebase_core firebase_auth_oauth_platform_interface js] - firebase_auth_platform_interface 6.11.4 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_auth_web 5.2.1 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta] - firebase_core_web 2.1.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta] - firebase_crashlytics_platform_interface 3.3.8 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_dynamic_links_platform_interface 0.2.3+24 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_messaging_platform_interface 4.2.8 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_messaging_web 3.2.9 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta] - firebase_storage_platform_interface 4.1.25 [collection firebase_core flutter meta plugin_platform_interface] - firebase_storage_web 3.3.17 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta] - fixnum 1.0.1 - flutter_blurhash 0.7.0 [flutter] - flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid] - flutter_facebook_auth_platform_interface 4.1.1 [flutter plugin_platform_interface] - flutter_facebook_auth_web 4.1.1 [flutter flutter_web_plugins js flutter_facebook_auth_platform_interface] - flutter_local_notifications_linux 1.0.0 [flutter flutter_local_notifications_platform_interface dbus path xdg_directories] - flutter_local_notifications_platform_interface 6.0.0 [flutter plugin_platform_interface] - flutter_plugin_android_lifecycle 2.0.7 [flutter] - flutter_secure_storage 6.1.0 [flutter flutter_secure_storage_linux flutter_secure_storage_macos flutter_secure_storage_platform_interface flutter_secure_storage_web flutter_secure_storage_windows meta] - flutter_secure_storage_linux 1.1.2 [flutter flutter_secure_storage_platform_interface] - flutter_secure_storage_macos 1.1.2 [flutter flutter_secure_storage_platform_interface] - flutter_secure_storage_platform_interface 1.0.1 [flutter plugin_platform_interface] - flutter_secure_storage_web 1.1.1 [flutter flutter_secure_storage_platform_interface flutter_web_plugins js] - flutter_secure_storage_windows 1.1.3 [flutter flutter_secure_storage_platform_interface] - flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math] - frontend_server_client 2.1.3 [async path] - fuchsia_remote_debug_protocol 0.0.0 [process vm_service file meta path platform] - geocoding_platform_interface 2.0.1 [flutter meta plugin_platform_interface] - geolocator_android 4.1.4 [flutter geolocator_platform_interface] - geolocator_apple 2.2.1 [flutter geolocator_platform_interface] - geolocator_platform_interface 4.0.6 [flutter plugin_platform_interface vector_math meta] - geolocator_web 2.1.6 [flutter flutter_web_plugins geolocator_platform_interface] - geolocator_windows 0.1.1 [flutter geolocator_platform_interface] - glob 2.1.0 [async collection file path string_scanner] - google_sign_in_android 6.0.1 [flutter google_sign_in_platform_interface] - google_sign_in_ios 5.4.0 [flutter google_sign_in_platform_interface] - google_sign_in_platform_interface 2.2.0 [flutter quiver] - google_sign_in_web 0.10.2 [flutter flutter_web_plugins google_sign_in_platform_interface js] - graphs 2.1.0 [collection] - html 0.15.0 [csslib source_span] - http_multi_server 3.2.1 [async] - http_parser 4.0.1 [collection source_span string_scanner typed_data] - image_picker_android 0.8.5+1 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface] - image_picker_for_web 2.1.8 [flutter flutter_web_plugins image_picker_platform_interface] - image_picker_ios 0.8.5+6 [flutter image_picker_platform_interface] - image_picker_platform_interface 2.5.0 [cross_file flutter http plugin_platform_interface] - io 1.0.3 [meta path string_scanner] - js 0.6.4 - just_audio 0.9.28 [just_audio_platform_interface just_audio_web audio_session rxdart path path_provider async uuid crypto meta flutter] - just_audio_background 0.0.1-beta.7 [just_audio_platform_interface audio_service audio_session flutter flutter_web_plugins meta rxdart] - just_audio_platform_interface 4.2.0 [flutter plugin_platform_interface] - just_audio_web 0.4.7 [just_audio_platform_interface flutter flutter_web_plugins] - logger 1.1.0 - markdown 5.0.0 [args charcode meta] - matcher 0.12.12 [stack_trace] - material_color_utilities 0.1.5 - meta 1.8.0 - metadata_fetch 0.4.1 [http string_validator html] - mime 1.0.2 - mocktail 0.3.0 [collection matcher test] - nested 1.0.0 [flutter] - network_info_plus_platform_interface 1.1.3 [flutter meta plugin_platform_interface] - nm 0.5.0 [dbus] - node_preamble 2.0.1 - octo_image 1.0.2 [flutter flutter_blurhash] - package_config 2.1.0 [path] - package_info_plus_linux 1.0.5 [package_info_plus_platform_interface flutter path] - package_info_plus_macos 1.3.0 [flutter] - package_info_plus_platform_interface 1.0.2 [flutter meta plugin_platform_interface] - package_info_plus_web 1.0.5 [flutter flutter_web_plugins http meta package_info_plus_platform_interface] - package_info_plus_windows 1.0.5 [package_info_plus_platform_interface ffi flutter win32] - path 1.8.2 - path_drawing 1.0.0 [vector_math meta path_parsing flutter] - path_parsing 1.0.0 [vector_math meta] - path_provider 2.0.11 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows] - path_provider_android 2.0.16 [flutter path_provider_platform_interface] - path_provider_ios 2.0.10 [flutter path_provider_platform_interface] - path_provider_linux 2.1.7 [ffi flutter path path_provider_platform_interface xdg_directories] - path_provider_macos 2.0.6 [flutter path_provider_platform_interface] - path_provider_platform_interface 2.0.4 [flutter platform plugin_platform_interface] - path_provider_windows 2.0.7 [ffi flutter path path_provider_platform_interface win32] - pedantic 1.11.1 - petitparser 5.0.0 [meta] - platform 3.1.0 - plugin_platform_interface 2.1.3 [meta] - pointycastle 3.6.1 [collection convert js] - pool 1.5.1 [async stack_trace] - process 4.2.4 [file path platform] - provider 6.0.3 [collection flutter nested] - pub_semver 2.1.1 [collection meta] - pubspec_parse 1.2.0 [checked_yaml collection json_annotation pub_semver yaml] - quiver 3.1.0 [matcher] - riverpod 2.0.0-dev.9 [collection meta stack_trace state_notifier] - rxdart 0.27.5 - share_plus_linux 3.0.0 [share_plus_platform_interface file flutter meta url_launcher] - share_plus_macos 3.0.1 [share_plus_platform_interface flutter] - share_plus_platform_interface 3.0.3 [flutter meta mime plugin_platform_interface] - share_plus_web 3.0.1 [share_plus_platform_interface url_launcher flutter flutter_web_plugins meta] - share_plus_windows 3.0.1 [share_plus_platform_interface flutter meta url_launcher] - shared_preferences_android 2.0.12 [flutter shared_preferences_platform_interface] - shared_preferences_ios 2.1.1 [flutter shared_preferences_platform_interface] - shared_preferences_linux 2.1.1 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface] - shared_preferences_macos 2.0.4 [flutter shared_preferences_platform_interface] - shared_preferences_platform_interface 2.0.0 [flutter] - shared_preferences_web 2.0.4 [flutter flutter_web_plugins shared_preferences_platform_interface] - shared_preferences_windows 2.1.1 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface] - shelf 1.3.1 [async collection http_parser path stack_trace stream_channel] - shelf_packages_handler 3.0.1 [path shelf shelf_static] - shelf_static 1.1.1 [convert http_parser mime path shelf] - shelf_web_socket 1.0.2 [shelf stream_channel web_socket_channel] - sign_in_with_apple_platform_interface 1.0.0 [flutter plugin_platform_interface meta] - sign_in_with_apple_web 1.0.1 [flutter flutter_web_plugins sign_in_with_apple_platform_interface js] - sky_engine 0.0.99 - source_gen 1.2.2 [analyzer async build dart_style glob meta path source_span yaml] - source_helper 1.3.2 [analyzer collection source_gen] - source_map_stack_trace 2.1.0 [path stack_trace source_maps] - source_maps 0.10.10 [source_span] - source_span 1.9.0 [collection path term_glyph] - spotify 0.0.1 [flutter plugin_platform_interface music logger http json_annotation flutter_dotenv] - sqflite 2.0.3 [flutter sqflite_common path] - sqflite_common 2.2.1+1 [synchronized path meta] - stack_trace 1.10.0 [path] - state_notifier 0.7.2+1 [meta] - stream_channel 2.1.0 [async] - stream_transform 2.0.0 - string_scanner 1.1.1 [source_span] - string_validator 0.3.0 - sync_http 0.3.1 - synchronized 3.0.0+2 - term_glyph 1.2.1 - test_api 0.4.12 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher] - test_core 0.4.16 [analyzer async args boolean_selector collection coverage frontend_server_client glob io meta package_config path pool source_map_stack_trace source_maps source_span stack_trace stream_channel vm_service yaml matcher test_api] - timezone 0.9.0 [path] - timing 1.0.0 [json_annotation] - typed_data 1.3.1 [collection] - url_launcher_android 6.0.17 [flutter url_launcher_platform_interface] - url_launcher_ios 6.0.17 [flutter url_launcher_platform_interface] - url_launcher_linux 3.0.1 [flutter url_launcher_platform_interface] - url_launcher_macos 3.0.1 [flutter url_launcher_platform_interface] - url_launcher_platform_interface 2.1.0 [flutter plugin_platform_interface] - url_launcher_web 2.0.12 [flutter flutter_web_plugins url_launcher_platform_interface] - url_launcher_windows 3.0.1 [flutter url_launcher_platform_interface] - vector_math 2.1.2 - vm_service 9.0.0 - watcher 1.0.1 [async path] - web_socket_channel 2.2.0 [async crypto stream_channel] - webdriver 3.0.0 [archive matcher path stack_trace sync_http] - webkit_inspection_protocol 1.1.0 [logging] - win32 2.6.1 [ffi] - xdg_directories 0.2.0+1 [meta path process] - xml 5.4.1 [collection meta petitparser] - yaml 3.1.1 [collection source_span string_scanner] ```

darshankawar commented 1 year ago

Thanks for the report @rtessler Is there a way for you to provide a reproducible code sample that consistently throws this error ? That way it'll help us to address this issue better.

rtessler commented 1 year ago

Difficult to provide reproducible code to produce error It doesn’t happen on my device It happens on my bosses iPhone XR the bug description is from firebase crashlytics Can you confirm it is in the cloud_firestore code

thanks

Robert

On 18 Jan 2023, at 1:22 pm, darshankawar @.***> wrote:

Thanks for the report @rtesslerhttps://github.com/rtessler Is there a way for you to provide a reproducible code sample that consistently throws this error ? That way it'll help us to address this issue better.

β€” Reply to this email directly, view it on GitHubhttps://github.com/firebase/flutterfire/issues/10292#issuecomment-1386968144, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAOZWVXSAN5BTE7HVLIIW6TWS7OAFANCNFSM6AAAAAAT663FVQ. You are receiving this because you were mentioned.Message ID: @.***>

darshankawar commented 1 year ago

From the crash log, I see below entries related to Firestore:

5  FirebaseFirestore              0x2ba4c firebase::firestore::remote::Datastore::PollGrpcQueue() + 104
6  FirebaseFirestore              0x149ab8 firebase::firestore::util::Task::ExecuteAndRelease() + 184

May be related to native Firebase ios sdk, but will keep this issue open for team's insights, as there's no replicable use case.

Similar issues reported earlier:

https://github.com/firebase/flutterfire/issues/6900 https://github.com/firebase/flutterfire/issues/6821

Lyokone commented 1 year ago

I'll investigate

Does running your app in an iPhone XR simulator in Debug or Release mode triggers the bug? @rtessler

rtessler commented 1 year ago

I found the cause when you use whereIn and the number of items in the array is greater than 10 the app crashes in release mode does not crash in debug mode

thanks

Robert

On 20 Jan 2023, at 10:29 am, Guillaume Bernos @.***> wrote:

I'll investigate

β€” Reply to this email directly, view it on GitHubhttps://github.com/firebase/flutterfire/issues/10292#issuecomment-1398128067, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAOZWVX6YZF2DYLWP6G6A5DWTJLGTANCNFSM6AAAAAAT663FVQ. You are receiving this because you were mentioned.Message ID: @.***>

Lyokone commented 1 year ago

I've opened an issue in Firebase iOS SDK repository. The SDK crashes without any error to send to dart. Thanks for catching this.

yugalkalyan commented 1 year ago

any solution or way to handle this crash ?

josiahsrc commented 1 year ago

Same issue. I found that this only happens (so far) when I use collection group queries. Trying to figure out why

josiahsrc commented 1 year ago

The solution for me was to ensure that I never send any invalid arguments in my queries. For example, before I had a query that was occasionally passing in an empty array in a whereIn constraint. This is an invalid query and caused the SDK to fail spectacularly.

In my case, I turned this

// let cities = [];
return FirebaseFirestore.instance.collectionGroup('group').where('cities', whereIn: cities).snapshots();

Into this

if (cities.isEmpty) return Stream.value([]);
return FirebaseFirestore.instance.collectionGroup('group').where('cities', whereIn: cities).snapshots();

And it works now. The SDK really should report these errors. It's currently a guessing game to figure out what wrong.

russellwheatley commented 10 months ago

@rtessler - the issue has been fixed upstream in the firebase iOS SDK: https://github.com/firebase/firebase-ios-sdk/issues/10728

Can you confirm it works for you now? Thanks.

google-oss-bot commented 9 months ago

Hey @rtessler. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 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 commented 9 months ago

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

@rtessler 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.