Skip to content

[Bug] FireStore - iOS 12 crash on fetch data #851

@rameshporeddy

Description

@rameshporeddy

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2020.3.41f1
  • Firebase Unity SDK version: v11.3, v11.0
  • Source you installed the SDK: .unitypackage
  • Problematic Firebase Component: Firestore
  • Other Firebase Components in use: Auth, Crashlytics, Analytics,Installations
  • Additional SDKs you are using: Ironsource,facebook
  • Platform you are using the Unity editor on: Mac
  • Platform you are targeting: iOS, Android
  • Scripting Runtime: IL2CPP
  • Pre-built SDK from the website or open-source from this repo: this repo

Downgrading to v10.2.0 is working properly

[REQUIRED] Please describe the issue here:

0  grpcpp +0x4f18                  0x4f18 (0x4ea8 + 112)
1  grpcpp +0x2b1a4                 0x2b1a4 (0x2b18c + 24)
2  grpcpp +0x2b2e8                 0x2b2e8 (0x2b2d8 + 16)
3  FirebaseFirestore +0x905e4      firebase::firestore::remote::GrpcConnection::CreateChannel() const
4  FirebaseFirestore +0x9034c      firebase::firestore::remote::GrpcConnection::EnsureActiveStub()
5  FirebaseFirestore +0x90a90      firebase::firestore::remote::GrpcConnection::CreateStream(absl::lts_20220623::string_view, firebase::firestore::credentials::AuthToken const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, firebase::firestore::remote::GrpcStreamObserver*)
6  FirebaseFirestore +0x136290     firebase::firestore::remote::Stream::ResumeStartWithCredentials(firebase::firestore::util::StatusOr<firebase::firestore::credentials::AuthToken> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
7  FirebaseFirestore +0x137954     0x137954 (0x137910 + 68)
8  FirebaseFirestore +0x8258       firebase::firestore::util::AsyncQueue::ExecuteBlocking(std::__1::function<void ()> const&)
9  FirebaseFirestore +0x14841c     firebase::firestore::util::Task::ExecuteAndRelease()
10 libdispatch.dylib +0x607d0      __dispatch_client_callout
11 libdispatch.dylib +0x9320       __dispatch_lane_serial_drain$VARIANT$mp
12 libdispatch.dylib +0x9e3c       __dispatch_lane_invoke$VARIANT$mp
13 libdispatch.dylib +0x124a8      __dispatch_workloop_worker_thread
14 libsystem_pthread.dylib +0xc110 __pthread_wqthread

Steps to reproduce:

App is getting crashed on calling GetSnapshotAsync() on iOS devices

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions