Skip to content

🐛 [FirebaseFirestore] App crash occur when sub collection document query in iPhone13 simulator #7451

@neatnoin

Description

@neatnoin

Bug report

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x112ba4 (누락)
1  libobjc.A.dylib                0x1fbe7 objc_exception_throw
2  CoreFoundation                 0x121821 (누락)
3  CoreFoundation                 0x1170bc (누락)
4  CoreFoundation                 0x1191e8 (누락)
5  Runner                         0xc02a3 -[FLTFirebaseFirestorePlugin queryGet:withMethodCallResult:] + 463 (FLTFirebaseFirestorePlugin.m:463)
6  Runner                         0xbd35b -[FLTFirebaseFirestorePlugin handleMethodCall:result:] + 205 (FLTFirebaseFirestorePlugin.m:205)
7  Flutter                        0x583e65 (누락)
8  Flutter                        0x35d29 (누락)
9  Flutter                        0x3b011 (누락)
10 Flutter                        0x3e0817 (누락)
11 Flutter                        0x369f02 (누락)
12 Flutter                        0x36f3fc (누락)
13 CoreFoundation                 0x816c6 (누락)
14 CoreFoundation                 0x811c2 (누락)
15 CoreFoundation                 0x80781 (누락)
16 CoreFoundation                 0x7adc0 (누락)
17 CoreFoundation                 0x7a103 (누락)
18 GraphicsServices               0x3cd3 (누락)
19 UIKitCore                      0xcc7e63 (누락)
20 UIKitCore                      0xccca53 (누락)
21 Runner                         0x509f main + 6 (AppDelegate.swift:6)
22 ???                            0x106b77e1e (누락)
23 ???                            0x1124574fe (누락)

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. '...'
  3. See error or incorrect behavior

Expected behavior

A clear and concise description of what you expected to happen.

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

Add any other context about the problem here.


Flutter doctor

Run flutter doctor and paste the output below:

Click To Expand

[✓] Flutter (Channel stable, 2.5.2, on macOS 12.0.1 21A559 darwin-x64, locale ko-KR)
• Flutter version 2.5.2 at /Users/nis/Documents/Developer/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 3595343e20 (9 weeks ago), 2021-09-30 12:58:18 -0700
• Engine revision 6ac856380f
• Dart version 2.14.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/nis/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.1, Build version 13A1030d
• CocoaPods version 1.10.1

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.54.1)
• VS Code at /Users/nis/Downloads/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
• iPhone 13 (mobile) • 069ECD14-A9A9-4EDF-ADAC-AE3C80F877DB • ios • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.55


Flutter dependencies

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

Click To Expand

get: ^4.3.8
provider: ^6.0.1
path_provider: ^2.0.5
path: ^1.8.0
font_awesome_flutter: ^9.1.0
rxdart: ^0.27.2
firebase_core: ^1.10.0
firebase_auth: ^3.2.0
cloud_firestore: ^3.1.0
cloud_functions: ^3.1.1
firebase_storage: ^10.1.0
image_picker: ^0.8.4+2
image_cropper: ^1.4.1
cached_network_image: ^3.1.0
permission_handler: ^8.2.2
app_settings: ^4.1.1
pin_code_fields: ^7.3.0
equatable: ^2.0.3
contacts_service: ^0.6.3


Metadata

Metadata

Assignees

No one assigned

    Labels

    resolution: userThis was a user issue, e.g. invalid configuration or code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions