flutterfire icon indicating copy to clipboard operation
flutterfire copied to clipboard

🐛 [firebase_dynamic_links] Crash when generating a short link or dynamic link with no internet connection on iOS

Open Tom3652 opened this issue 3 years ago • 10 comments

Bug report

Describe the bug

A crash happens when there is no internet connection and building a new short dynamic link on iOS.
This doesn't crash on Android but throw an error :

[firebase_dynamic_links/unknown] com.google.android.gms.common.api.ApiException: 8: 
I/flutter (25265): │ StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
I/flutter (25265): │ MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167:18)
I/flutter (25265): │ <asynchronous suspension>
I/flutter (25265): │ MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:367:43)
I/flutter (25265): │ <asynchronous suspension>
I/flutter (25265): │ MethodChannelFirebaseDynamicLinks.buildShortLink (package:firebase_dynamic_links_platform_interface/src/method_channel/method_channel_firebase_dynamic_links.dart:163:11)

You will find the crash log below :

Connection 36: received failure notification
Connection 36: failed to connect 1:50, reason -1
Connection 36: encountered error(1:50)
Task <CD0A9626-6428-4FC5-B71D-8A95E161370B>.<1> HTTP load failed, 0/0 bytes (error code: -1009 [1:50])
Task <CD0A9626-6428-4FC5-B71D-8A95E161370B>.<1> finished with error [-1009] Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo={_kCFStreamErrorCodeKey=50, NSUnderlyingError=0x2826668e0 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)" UserInfo={_NSURLErrorNWPathKey=unsatisfied (No network route), _kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <CD0A9626-6428-4FC5-B71D-8A95E161370B>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask <CD0A9626-6428-4FC5-B71D-8A95E161370B>.<1>"
), NSLocalizedDescription=The Internet connection appears to be offline., NSErrorFailingURLStringKey=https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=AIzaSyA2m62zqnYe2l19bxplVzZn4ehCQ8QLqYY, NSErrorFailingURLKey=https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=AIzaSyA2m62zqnYe2l19bxplVzZn4ehCQ8QLqYY, _kCFStreamErrorDomainKey=1}
FLTFirebaseDynamicLinks: An error occurred while calling method FirebaseDynamicLinks#buildShortLink, errorOrNil => {
    NSErrorFailingURLKey = "https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=AIzaSyA2m62zqnYe2l19bxplVzZn4ehCQ8QLqYY";
    NSErrorFailingURLStringKey = "https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=AIzaSyA2m62zqnYe2l19bxplVzZn4ehCQ8QLqYY";
    NSLocalizedDescription = "The Internet connection appears to be offline.";
    NSUnderlyingError = "Error Domain=kCFErrorDomainCFNetwork Code=-1009 \"(null)\" UserInfo={_NSURLErrorNWPathKey=unsatisfied (No network route), _kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1}";
    "_NSURLErrorFailingURLSessionTaskErrorKey" = "LocalDataTask <CD0A9626-6428-4FC5-B71D-8A95E161370B>.<1>";
    "_NSURLErrorRelatedURLSessionTaskErrorKey" =     (
        "LocalDataTask <CD0A9626-6428-4FC5-B71D-8A95E161370B>.<1>"
    );
    "_kCFStreamErrorCodeKey" = 50;
    "_kCFStreamErrorDomainKey" = 1;
}
Unsupported value: Error Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)" UserInfo={_NSURLErrorNWPathKey=unsatisfied (No network route), _kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1} of type NSError
*** Assertion failure in -[FlutterStandardWriter writeValue:], FlutterStandardCodec.mm:334
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unsupported value for standard codec'
*** First throw call stack:
(0x181a12d3c 0x198d766a8 0x1831e399c 0x108a60284 0x108a603b8 0x108a603b8 0x108a609e4 0x108a5d9e4 0x1016fc7a4 0x1016fcdf8 0x10467cb24 0x1816de1a4 0x1816df1a8 0x1816c04b8 0x1819ce888 0x18198c188 0x18199ee1c 0x1a1d199a0 0x1841d2600 0x183f67b08 0x100dc5760 0x1043bc250)
libc++abi: terminating with uncaught exception of type NSException
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00000001bbb079e8 libsystem_kernel.dylib`__pthread_kill + 8
libsystem_kernel.dylib`__pthread_kill:
->  0x1bbb079e8 <+8>:  b.lo   0x1bbb07a04               ; <+36>
    0x1bbb079ec <+12>: stp    x29, x30, [sp, #-0x10]!
    0x1bbb079f0 <+16>: mov    x29, sp
    0x1bbb079f4 <+20>: bl     0x1bbb03670               ; cerror_nocancel
Target 0: (Runner) stopped.

Steps to reproduce

Steps to reproduce the behavior:

  1. Run your project
  2. Turn off mobile data and wifi
  3. Try to generate a short link using : FirebaseDynamicLinks.instance.buildShortLink()
  4. See the crash

Expected behavior

The application should not crash.

Flutter doctor

Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-x64, locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.63.2)
[✓] Connected device (3 available)

• No issues found!

Flutter dependencies

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

Click To Expand
Dart SDK 2.15.1
Flutter SDK 2.8.1
myappname 1.0.0+1

dependencies:
- app_settings 4.1.1 [flutter]
- app_tracking_transparency 2.0.2+1 [flutter]
- apple_maps_flutter 1.0.1 [flutter]
- audioplayers 0.20.1 [uuid path_provider http flutter flutter_web_plugins]
- auto_size_text 3.0.0 [flutter]
- badges 2.0.2 [flutter]
- cached_network_image 3.2.0 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- camera 0.9.4+5 [camera_platform_interface camera_web flutter pedantic quiver flutter_plugin_android_lifecycle]
- clipboard 0.1.3 [flutter]
- cloud_functions 3.2.5 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- connectivity_plus 2.2.0 [flutter connectivity_plus_platform_interface connectivity_plus_linux connectivity_plus_macos connectivity_plus_web connectivity_plus_windows]
- country_code_picker 2.0.2 [flutter modal_bottom_sheet collection universal_platform]
- crypto 3.0.1 [collection typed_data]
- cupertino_back_gesture 0.1.0 [flutter]
- cupertino_icons 1.0.4
- dio 4.0.4 [http_parser path]
- disk_space 0.2.1 [flutter]
- emoji_picker_flutter 1.0.8 [flutter shared_preferences]
- extended_image 6.0.1 [extended_image_library flutter meta]
- extended_tabs 2.3.0 [flutter]
- firebase_analytics 9.0.5 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_auth 3.3.5 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.11.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 2.4.5 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_database 9.0.5 [firebase_core firebase_core_platform_interface firebase_database_platform_interface firebase_database_web flutter]
- firebase_dynamic_links 4.0.4 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface]
- firebase_messaging 11.2.5 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_performance 0.8.0+4 [firebase_core firebase_core_platform_interface firebase_performance_platform_interface firebase_performance_web flutter]
- firebase_storage 10.2.5 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_app_badger 1.3.0 [flutter]
- flutter_arc_text 0.5.0 [characters flutter]
- flutter_contacts 1.1.2 [flutter]
- flutter_facebook_auth 4.0.1 [flutter flutter_facebook_auth_platform_interface flutter_facebook_auth_web]
- flutter_ffmpeg 0.4.2 [flutter]
- flutter_image_compress 1.1.0 [flutter]
- flutter_localizations 0.0.0 [flutter intl characters clock collection meta path typed_data vector_math]
- flutter_native_text_input 2.0.0 [flutter]
- flutter_staggered_grid_view 0.6.0 [flutter]
- flutter_svg 1.0.2 [flutter meta path_drawing vector_math xml]
- geocoding 2.0.2 [flutter geocoding_platform_interface]
- geolocator 8.0.3 [flutter geolocator_platform_interface geolocator_android geolocator_apple geolocator_web]
- google_fonts 2.2.0 [flutter http path_provider crypto]
- google_maps_flutter 2.1.1 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface]
- google_mobile_ads 1.0.1 [meta flutter]
- google_sign_in 5.2.3 [flutter google_sign_in_platform_interface google_sign_in_web]
- hive 2.0.5 [meta crypto]
- hive_flutter 1.1.0 [flutter hive path_provider path]
- http 0.13.4 [async http_parser meta path]
- image_editor 1.0.2 [flutter]
- in_app_purchase 2.0.1 [flutter in_app_purchase_platform_interface in_app_purchase_android in_app_purchase_storekit]
- in_app_review 2.0.4 [flutter in_app_review_platform_interface]
- logger 1.1.0
- native_admob_flutter 1.5.0 [flutter]
- package_info_plus 1.3.0 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web]
- path 1.8.0
- path_provider 2.0.8 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- percent_indicator 4.0.0 [flutter]
- perfect_volume_control 1.0.5 [flutter]
- permission_handler 8.3.0 [flutter meta permission_handler_platform_interface]
- photo_manager 2.0.0-dev.3 [flutter]
- provider 6.0.2 [collection flutter nested]
- pull_to_refresh 2.0.0 [flutter]
- record 3.0.2 [flutter record_platform_interface record_web]
- rive 0.8.1 [collection flutter graphs http meta]
- screen_capture_event 1.0.0+1 [flutter permission_handler]
- scrollable_positioned_list 0.2.3 [flutter collection]
- share_plus 3.0.4 [meta mime flutter share_plus_platform_interface share_plus_linux share_plus_macos share_plus_windows share_plus_web]
- shared_preferences 2.0.12 [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 3.3.0 [flutter meta sign_in_with_apple_platform_interface sign_in_with_apple_web]
- sliver_tools 0.2.5 [flutter]
- sqflite 2.0.2 [flutter sqflite_common path]
- translator 0.1.7 [http]
- url_launcher 6.0.18 [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.5 [crypto]
- video_compress 3.1.1 [flutter]
- video_player 2.2.13 [flutter video_player_platform_interface video_player_web html]
- video_thumbnail 0.4.3 [flutter]
- visibility_detector 0.2.2 [flutter]

dev dependencies:
- build_runner 2.1.7 [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]
- flutter_lints 1.0.4 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]
- hive_generator 1.1.2 [build source_gen hive analyzer source_helper]

transitive dependencies:
- _fe_analyzer_shared 34.0.0 [meta]
- analyzer 3.2.0 [_fe_analyzer_shared cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- args 2.3.0
- async 2.8.2 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 2.2.1 [analyzer async convert crypto glob logging meta path]
- build_config 1.0.0 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.0.1 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.0.6 [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.1.4 [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]
- camera_platform_interface 2.1.4 [cross_file flutter plugin_platform_interface stream_transform]
- camera_web 0.2.1+1 [camera_platform_interface flutter flutter_web_plugins stream_transform]
- characters 1.2.0
- charcode 1.3.1
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- cli_util 0.3.5 [meta path]
- clock 1.1.0
- cloud_functions_platform_interface 5.0.20 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.2.6 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.1.0 [built_collection built_value collection matcher meta]
- collection 1.15.0
- connectivity_plus_linux 1.2.0 [flutter connectivity_plus_platform_interface meta nm]
- connectivity_plus_macos 1.2.1 [connectivity_plus_platform_interface flutter]
- connectivity_plus_platform_interface 1.2.0 [flutter meta plugin_platform_interface]
- connectivity_plus_web 1.2.0 [connectivity_plus_platform_interface flutter_web_plugins flutter]
- connectivity_plus_windows 1.2.0 [connectivity_plus_platform_interface flutter]
- convert 3.0.1 [typed_data]
- cross_file 0.3.2 [flutter js meta]
- csslib 0.17.1 [source_span]
- dart_style 2.2.1 [analyzer args path pub_semver source_span]
- dbus 0.6.8 [args ffi meta xml]
- extended_image_library 3.1.2 [crypto flutter http_client_helper path path_provider]
- fake_async 1.2.0 [clock collection]
- ffi 1.1.2
- file 6.1.2 [meta path]
- firebase 9.0.2 [http http_parser js]
- firebase_analytics_platform_interface 3.0.4 [firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.4.0+5 [firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_auth_platform_interface 6.1.10 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 3.3.6 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.2.3 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.5.3 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.1.12 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_platform_interface 0.2.0+4 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_web 0.2.0+4 [firebase_core firebase_core_web firebase_database_platform_interface flutter flutter_web_plugins js]
- firebase_dynamic_links_platform_interface 0.2.0+4 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 3.1.5 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 2.2.6 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_performance_platform_interface 0.1.0+4 [firebase_core flutter plugin_platform_interface]
- firebase_performance_web 0.1.0+4 [firebase firebase_core firebase_core_web firebase_performance_platform_interface flutter flutter_web_plugins js]
- firebase_storage_platform_interface 4.0.12 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.2.6 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.0
- flutter_blurhash 0.6.0 [flutter meta pedantic]
- flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid]
- flutter_facebook_auth_platform_interface 3.0.1 [flutter plugin_platform_interface]
- flutter_facebook_auth_web 3.0.0+1 [flutter flutter_web_plugins js flutter_facebook_auth_platform_interface]
- flutter_plugin_android_lifecycle 2.0.5 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- frontend_server_client 2.1.2 [async path]
- geocoding_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- geolocator_android 3.0.2 [flutter geolocator_platform_interface]
- geolocator_apple 2.0.1 [flutter geolocator_platform_interface]
- geolocator_platform_interface 4.0.1 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.1.4 [flutter flutter_web_plugins geolocator_platform_interface]
- glob 2.0.2 [async collection file path string_scanner]
- google_maps_flutter_platform_interface 2.1.5 [collection flutter plugin_platform_interface stream_transform]
- google_sign_in_platform_interface 2.1.1 [flutter quiver]
- google_sign_in_web 0.10.0+4 [flutter flutter_web_plugins google_sign_in_platform_interface js pedantic]
- graphs 2.1.0 [collection]
- html 0.15.0 [csslib source_span]
- http_client_helper 2.0.2 [http]
- http_multi_server 3.0.1 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- in_app_purchase_android 0.2.2+1 [collection flutter in_app_purchase_platform_interface json_annotation]
- in_app_purchase_platform_interface 1.3.1 [flutter plugin_platform_interface]
- in_app_purchase_storekit 0.2.1 [collection flutter in_app_purchase_platform_interface json_annotation meta]
- in_app_review_platform_interface 2.0.3 [flutter url_launcher plugin_platform_interface platform]
- intl 0.17.0 [clock path]
- io 1.0.3 [meta path string_scanner]
- js 0.6.3
- json_annotation 4.4.0 [meta]
- lints 1.0.1
- logging 1.0.2
- matcher 0.12.11 [stack_trace]
- meta 1.7.0
- mime 1.0.1
- modal_bottom_sheet 2.0.0 [flutter]
- nested 1.0.0 [flutter]
- nm 0.4.2 [dbus]
- octo_image 1.0.1 [flutter flutter_blurhash]
- package_config 2.0.2 [path]
- package_info_plus_linux 1.0.3 [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.4 [flutter flutter_web_plugins http meta package_info_plus_platform_interface]
- package_info_plus_windows 1.0.4 [package_info_plus_platform_interface ffi flutter win32]
- path_drawing 1.0.0 [vector_math meta path_parsing flutter]
- path_parsing 1.0.0 [vector_math meta]
- path_provider_android 2.0.11 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.7 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.5 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.5 [flutter path_provider_platform_interface]
- path_provider_platform_interface 2.0.3 [flutter platform plugin_platform_interface]
- path_provider_windows 2.0.5 [ffi flutter path path_provider_platform_interface win32]
- pedantic 1.11.1
- permission_handler_platform_interface 3.7.0 [flutter meta plugin_platform_interface]
- petitparser 4.4.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.2 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.2.4 [file path platform]
- pub_semver 2.1.0 [collection meta]
- pubspec_parse 1.2.0 [checked_yaml collection json_annotation pub_semver yaml]
- quiver 3.0.1+1 [matcher]
- record_platform_interface 0.2.0 [flutter plugin_platform_interface]
- record_web 0.2.1 [flutter flutter_web_plugins record_platform_interface]
- rxdart 0.27.3
- share_plus_linux 2.0.4 [share_plus_platform_interface file flutter meta url_launcher]
- share_plus_macos 2.0.2 [share_plus_platform_interface flutter]
- share_plus_platform_interface 2.0.1 [flutter meta mime plugin_platform_interface]
- share_plus_web 2.0.4 [share_plus_platform_interface url_launcher flutter flutter_web_plugins meta]
- share_plus_windows 2.0.3 [share_plus_platform_interface flutter meta url_launcher]
- shared_preferences_android 2.0.10 [flutter shared_preferences_platform_interface]
- shared_preferences_ios 2.0.9 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.0.4 [file flutter path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 2.0.2 [flutter shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.3 [flutter flutter_web_plugins shared_preferences_platform_interface]
- shared_preferences_windows 2.0.4 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- shelf 1.2.0 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 1.0.1 [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.1 [analyzer async build dart_style glob meta path source_span yaml]
- source_helper 1.3.1 [analyzer collection source_gen]
- source_span 1.8.1 [collection path term_glyph]
- sqflite_common 2.2.0 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.0 [charcode source_span]
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.4.3 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 1.0.0 [json_annotation]
- typed_data 1.3.0 [collection]
- universal_platform 1.0.0+1
- url_launcher_android 6.0.14 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.0.14 [flutter url_launcher_platform_interface]
- url_launcher_linux 2.0.3 [flutter]
- url_launcher_macos 2.0.2 [flutter]
- url_launcher_platform_interface 2.0.5 [flutter plugin_platform_interface]
- url_launcher_web 2.0.6 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 2.0.2 [flutter]
- vector_math 2.1.1
- video_player_platform_interface 5.0.1 [flutter plugin_platform_interface]
- video_player_web 2.0.6 [flutter flutter_web_plugins pedantic video_player_platform_interface]
- watcher 1.0.1 [async path]
- web_socket_channel 2.1.0 [async crypto stream_channel]
- win32 2.3.6 [ffi]
- xdg_directories 0.2.0 [meta path process]
- xml 5.3.1 [collection meta petitparser]
- yaml 3.1.0 [collection source_span string_scanner]

Tom3652 avatar Jan 20 '22 19:01 Tom3652

@Tom3652 Looking at the error log coming from iOS, it seems to properly identify that there isn't an internet connection while processing the request:

Finished with error [-1009] Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." NSLocalizedDescription=The Internet connection appears to be offline., NSErrorFailingURLStringKey=https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=AIzaSyA2m62zqnYe2l19bxplVzZn4ehCQ8QLqYY, NSErrorFailingURLKey=https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=AIzaSyA2m62zqnYe2l19bxplVzZn4ehCQ8QLqYY, _kCFStreamErrorDomainKey=1}

And if we look further down in the log, it seems to be pointing to Flutter's standard code which probably isn't handling the exception and the assertion failure seems to be coming from Flutter itself:


*** Assertion failure in -[FlutterStandardWriter writeValue:], FlutterStandardCodec.mm:334
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unsupported value for standard codec'

For this, there's an open issue in flutter repo that you can track for further updates: https://github.com/flutter/flutter/issues/128764

This seems to be a framework issue rather than flutterfire plugin. Also, any scenario related to network connection doesn't belong to flutterfire. Closing from here. If you disagree, write in comments and I'll reopen it.

darshankawar avatar Jan 21 '22 11:01 darshankawar

As the issue you are referred to is from has been inactive since 2018 is there something more that can be looked in to from the firebase_dynamic_links team, or do we just have to accept that the app crashes without a network connection for some time?

It looks like there have been some similar issue fixed for "in_app_purchase" -> https://github.com/flutter/plugins/pull/4138

andaas4 avatar Jan 25 '22 08:01 andaas4

Reopening based on above comment and also looking at recent comments in https://github.com/flutter/flutter/issues/128764.

@Tom3652 / @andaas4 / @maitycyrus would be helpful if either of you could confirm if this occurs using latest plugin version and framework version.

Thanks.

darshankawar avatar Jun 07 '22 13:06 darshankawar

Hi @darshankawar, i confirm that this is still crashing the app :

Connection 17: received failure notification
Connection 17: failed to connect 1:50, reason -1
Connection 17: encountered error(1:50)
Task <950E98CC-B04D-4B27-AE42-BBDFE86DF587>.<1> HTTP load failed, 0/0 bytes (error code: -1009 [1:50])
Task <950E98CC-B04D-4B27-AE42-BBDFE86DF587>.<1> finished with error [-1009] Error Domain=NSURLErrorDomain Code=-1009 "The internet connection appears to be offline." UserInfo={_kCFStreamErrorCodeKey=50, NSUnderlyingError=0x280995320 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)" UserInfo={_NSURLErrorNWPathKey=unsatisfied (No network route), _kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <950E98CC-B04D-4B27-AE42-BBDFE86DF587>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask <950E98CC-B04D-4B27-AE42-BBDFE86DF587>.<1>"
), NSLocalizedDescription=The internet connection appears to be offline., NSErrorFailingURLStringKey=https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=AIzaSyA2m62zqnYe2l19bxplVzZn4ehCQ8QLqYY, NSErrorFailingURLKey=https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=AIzaSyA2m62zqnYe2l19bxplVzZn4ehCQ8QLqYY, _kCFStreamErrorDomainKey=1}
FLTFirebaseDynamicLinks: An error occurred while calling method FirebaseDynamicLinks#buildShortLink, errorOrNil => {
    NSErrorFailingURLKey = "https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=AIzaSyA2m62zqnYe2l19bxplVzZn4ehCQ8QLqYY";
    NSErrorFailingURLStringKey = "https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=AIzaSyA2m62zqnYe2l19bxplVzZn4ehCQ8QLqYY";
    NSLocalizedDescription = "The internet connection appears to be offline.";
    NSUnderlyingError = "Error Domain=kCFErrorDomainCFNetwork Code=-1009 \"(null)\" UserInfo={_NSURLErrorNWPathKey=unsatisfied (No network route), _kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1}";
    "_NSURLErrorFailingURLSessionTaskErrorKey" = "LocalDataTask <950E98CC-B04D-4B27-AE42-BBDFE86DF587>.<1>";
    "_NSURLErrorRelatedURLSessionTaskErrorKey" =     (
        "LocalDataTask <950E98CC-B04D-4B27-AE42-BBDFE86DF587>.<1>"
    );
    "_kCFStreamErrorCodeKey" = 50;
    "_kCFStreamErrorDomainKey" = 1;
}
Unsupported value: Error Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)" UserInfo={_NSURLErrorNWPathKey=unsatisfied (No network route), _kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1} of type NSError
*** Assertion failure in -[FlutterStandardWriter writeValue:], FlutterStandardCodec.mm:338
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unsupported value for standard codec'
*** First throw call stack:
(0x18085bd0c 0x19804cee4 0x182001c90 0x10b2413d4 0x10b241508 0x10b241508 0x10b241b34 0x10b23eb08 0x103855968 0x10385632c 0x106873bc0 0x18051b094 0x18051c094 0x1804fd858 0x1804fd4d0 0x1808170c4 0x1807d45e8 0x1807e7240 0x1a12d1988 0x182fe741c 0x182d80b88 0x102f23de8 0x1065483d0)
libc++abi: terminating with uncaught exception of type NSException
* thread flutter/flutter#1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00000001bb0bcbbc libsystem_kernel.dylib`__pthread_kill + 8
libsystem_kernel.dylib`__pthread_kill:
->  0x1bb0bcbbc <+8>:  b.lo   0x1bb0bcbd8               ; <+36>
    0x1bb0bcbc0 <+12>: stp    x29, x30, [sp, #-0x10]!
    0x1bb0bcbc4 <+16>: mov    x29, sp
    0x1bb0bcbc8 <+20>: bl     0x1bb0b860c               ; cerror_nocancel
Target 0: (Runner) stopped.

I have wrapped my code by a connectivity check for safety using connectivity_plus but the problem is still here.

Tom3652 avatar Jun 07 '22 13:06 Tom3652

Bug still exists, tested with firebase_dynamic_links 4.2.5.

maitycyrus avatar Jun 08 '22 09:06 maitycyrus

Thanks for the updates. I am also seeing the same behavior and crash log using plugin's example. It crashes while trying to generate dynamic link and short link when there's no internet / wifi, but doesn't crash while generating initial link and long link.

Screenshot 2022-06-08 at 3 45 40 PM
console crash log

Debug service listening on ws://127.0.0.1:50444/ljq4WNsjnUM=/ws
Syncing files to device iPhone 13...
FLTFirebaseDynamicLinks: An error occurred while calling method FirebaseDynamicLinks#buildShortLink, errorOrNil => {
    NSErrorFailingURLKey = "https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=AIzaSyAHAsf51D0A407EklG1bs-5wA7EbyfNFg0";
    NSErrorFailingURLStringKey = "https://firebasedynamiclinks.googleapis.com/v1/shortLinks?key=AIzaSyAHAsf51D0A407EklG1bs-5wA7EbyfNFg0";
    NSLocalizedDescription = "cannot parse response";
    NSUnderlyingError = "Error Domain=kCFErrorDomainCFNetwork Code=-1017 \"(null)\" UserInfo={_kCFStreamErrorCodeKey=-1, _kCFStreamErrorDomainKey=4}";
    "_NSURLErrorFailingURLSessionTaskErrorKey" = "LocalDataTask <505D1CA0-D42E-4503-A2CA-D1A268B1FADC>.<2>";
    "_NSURLErrorRelatedURLSessionTaskErrorKey" =     (
        "LocalDataTask <505D1CA0-D42E-4503-A2CA-D1A268B1FADC>.<2>"
    );
    "_kCFStreamErrorCodeKey" = "-1";
    "_kCFStreamErrorDomainKey" = 4;
}
Unsupported value: Error Domain=kCFErrorDomainCFNetwork Code=-1017 "(null)" UserInfo={_kCFStreamErrorCodeKey=-1, _kCFStreamErrorDomainKey=4} of type NSError
Lost connection to device.

ios simulator crash log

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: 92B1E30B-9CDA-4483-95A7-010751F5614D
CrashReporter Key:   61D12090-CD56-B877-7B8C-9C3A0B4CF7D4
Hardware Model:      MacBookPro16,2
Process:             Runner [3608]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/3BD8F2FF-FDB5-4074-8C91-54F99C79156D/data/Containers/Bundle/Application/A7A3B4DD-16B8-4DA4-8AFB-BC14EA981E20/Runner.app/Runner
Identifier:          io.invertase.testing
Version:             1.0 (1)
Code Type:           X86-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [2185]
Coalition:           com.apple.CoreSimulator.SimDevice.3BD8F2FF-FDB5-4074-8C91-54F99C79156D [2033]
Responsible Process: SimulatorTrampoline [890]

Date/Time:           2022-06-08 15:37:06.8002 +0530
Launch Time:         2022-06-08 15:36:00.4626 +0530
OS Version:          macOS 12.2.1 (21D62)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  0

Application Specific Information:
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot
CoreSimulator 783.5 - Device: iPhone 13 (3BD8F2FF-FDB5-4074-8C91-54F99C79156D) - Runtime: iOS 15.2 (19C51) - DeviceType: iPhone 13
abort() called
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unsupported value for standard codec'
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot
terminating with uncaught exception of type NSException


Last Exception Backtrace:
0   CoreFoundation                	    0x7fff203feb94 __exceptionPreprocess + 226
1   libobjc.A.dylib               	    0x7fff201a1be7 objc_exception_throw + 48
2   Foundation                    	    0x7fff20753aa2 _userInfoForFileAndLine + 0
3   Flutter                       	       0x104a48c8b -[FlutterStandardWriter writeValue:] + 1895
4   Flutter                       	       0x104a48bdf -[FlutterStandardWriter writeValue:] + 1723
5   Flutter                       	       0x104a48bdf -[FlutterStandardWriter writeValue:] + 1723
6   Flutter                       	       0x104a47a7d -[FlutterStandardMethodCodec encodeErrorEnvelope:] + 172
7   Flutter                       	       0x104a460a6 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke_2 + 124
8   Runner                        	       0x101897b8b __57-[FLTFirebaseDynamicLinksPlugin handleMethodCall:result:]_block_invoke + 667 (FLTFirebaseDynamicLinksPlugin.m:125)
9   Runner                        	       0x10189822a __69-[FLTFirebaseDynamicLinksPlugin buildShortLink:withMethodCallResult:]_block_invoke + 170 (FLTFirebaseDynamicLinksPlugin.m:167)
10  Runner                        	       0x101850edc __58+[FIRDynamicLinkComponents shortenURL:options:completion:]_block_invoke_2 + 44 (FDLURLComponents.m:593)
11  libdispatch.dylib             	    0x7fff2011265a _dispatch_call_block_and_release + 12
12  libdispatch.dylib             	    0x7fff2011383a _dispatch_client_callout + 8
13  libdispatch.dylib             	    0x7fff20120c88 _dispatch_main_queue_callback_4CF + 1075
14  CoreFoundation                	    0x7fff2036c84d __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
15  CoreFoundation                	    0x7fff203670aa __CFRunLoopRun + 2772
16  CoreFoundation                	    0x7fff203660f3 CFRunLoopRunSpecific + 567
17  GraphicsServices              	    0x7fff2c995cd3 GSEventRunModal + 139
18  UIKitCore                     	    0x7fff25059f42 -[UIApplication _run] + 928
19  UIKitCore                     	    0x7fff2505eb5e UIApplicationMain + 101
20  Runner                        	       0x10183d318 main + 104 (main.m:7)
21  dyld_sim                      	       0x101b68ee9 start_sim + 10
22  dyld                          	       0x107fd64fe start + 462

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	    0x7fff6d9db112 __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7fff6da32214 pthread_kill + 263
2   libsystem_c.dylib             	    0x7fff20108684 abort + 123
3   libc++abi.dylib               	    0x7fff202565c2 abort_message + 241
4   libc++abi.dylib               	    0x7fff2024776d demangling_terminate_handler() + 266
5   libobjc.A.dylib               	    0x7fff20187c1b _objc_terminate() + 96
6   libc++abi.dylib               	    0x7fff202559e7 std::__terminate(void (*)()) + 8
7   libc++abi.dylib               	    0x7fff20255998 std::terminate() + 56
8   libdispatch.dylib             	    0x7fff2011384e _dispatch_client_callout + 28
9   libdispatch.dylib             	    0x7fff20120c88 _dispatch_main_queue_callback_4CF + 1075
10  CoreFoundation                	    0x7fff2036c84d __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
11  CoreFoundation                	    0x7fff203670aa __CFRunLoopRun + 2772
12  CoreFoundation                	    0x7fff203660f3 CFRunLoopRunSpecific + 567
13  GraphicsServices              	    0x7fff2c995cd3 GSEventRunModal + 139
14  UIKitCore                     	    0x7fff25059f42 -[UIApplication _run] + 928
15  UIKitCore                     	    0x7fff2505eb5e UIApplicationMain + 101
16  Runner                        	       0x10183d318 main + 104 (main.m:7)
17  dyld_sim                      	       0x101b68ee9 start_sim + 10
18  dyld                          	       0x107fd64fe start + 462

Thread 1:: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib        	    0x7fff6d9d4aba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7fff6d9d4e2b mach_msg + 59
2   CoreFoundation                	    0x7fff2036c440 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7fff20366ae3 __CFRunLoopRun + 1293
4   CoreFoundation                	    0x7fff203660f3 CFRunLoopRunSpecific + 567
5   Foundation                    	    0x7fff2081c754 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
6   Foundation                    	    0x7fff2081c9cb -[NSRunLoop(NSRunLoop) runUntilDate:] + 72
7   UIKitCore                     	    0x7fff2511a2d1 -[UIEventFetcher threadMain] + 491
8   Foundation                    	    0x7fff20845550 __NSThread__start__ + 1025
9   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
10  libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 2:: io.flutter.1.ui
0   libsystem_kernel.dylib        	    0x7fff6d9d4aba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7fff6d9d4e2b mach_msg + 59
2   CoreFoundation                	    0x7fff2036c440 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7fff20366ae3 __CFRunLoopRun + 1293
4   CoreFoundation                	    0x7fff203660f3 CFRunLoopRunSpecific + 567
5   Flutter                       	       0x1047d7d75 fml::MessageLoopDarwin::Run() + 65
6   Flutter                       	       0x1047d19cc fml::MessageLoopImpl::DoRun() + 22
7   Flutter                       	       0x1047d6b9f void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 187
8   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 3:: io.flutter.1.raster
0   libsystem_kernel.dylib        	    0x7fff6d9d4aba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7fff6d9d4e2b mach_msg + 59
2   CoreFoundation                	    0x7fff2036c440 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7fff20366ae3 __CFRunLoopRun + 1293
4   CoreFoundation                	    0x7fff203660f3 CFRunLoopRunSpecific + 567
5   Flutter                       	       0x1047d7d75 fml::MessageLoopDarwin::Run() + 65
6   Flutter                       	       0x1047d19cc fml::MessageLoopImpl::DoRun() + 22
7   Flutter                       	       0x1047d6b9f void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 187
8   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 4:: io.flutter.1.io
0   libsystem_kernel.dylib        	    0x7fff6d9d4aba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7fff6d9d4e2b mach_msg + 59
2   CoreFoundation                	    0x7fff2036c440 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7fff20366ae3 __CFRunLoopRun + 1293
4   CoreFoundation                	    0x7fff203660f3 CFRunLoopRunSpecific + 567
5   Flutter                       	       0x1047d7d75 fml::MessageLoopDarwin::Run() + 65
6   Flutter                       	       0x1047d19cc fml::MessageLoopImpl::DoRun() + 22
7   Flutter                       	       0x1047d6b9f void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 187
8   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 5:: io.flutter.1.profiler
0   libsystem_kernel.dylib        	    0x7fff6d9d4aba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7fff6d9d4e2b mach_msg + 59
2   CoreFoundation                	    0x7fff2036c440 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7fff20366ae3 __CFRunLoopRun + 1293
4   CoreFoundation                	    0x7fff203660f3 CFRunLoopRunSpecific + 567
5   Flutter                       	       0x1047d7d75 fml::MessageLoopDarwin::Run() + 65
6   Flutter                       	       0x1047d19cc fml::MessageLoopImpl::DoRun() + 22
7   Flutter                       	       0x1047d6b9f void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 187
8   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 6:: io.worker.1
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   libc++.1.dylib                	    0x7fff202799e2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   Flutter                       	       0x1047cea91 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x1047cf26f void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 7:: io.worker.2
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   libc++.1.dylib                	    0x7fff202799e2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   Flutter                       	       0x1047cea91 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x1047cf26f void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 8:: io.worker.3
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   libc++.1.dylib                	    0x7fff202799e2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   Flutter                       	       0x1047cea91 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x1047cf26f void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 9:: io.worker.4
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   libc++.1.dylib                	    0x7fff202799e2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   Flutter                       	       0x1047cea91 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x1047cf26f void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 10:: io.worker.5
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   libc++.1.dylib                	    0x7fff202799e2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   Flutter                       	       0x1047cea91 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x1047cf26f void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 11:: io.worker.6
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   libc++.1.dylib                	    0x7fff202799e2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   Flutter                       	       0x1047cea91 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x1047cf26f void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 12:: io.worker.7
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   libc++.1.dylib                	    0x7fff202799e2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   Flutter                       	       0x1047cea91 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x1047cf26f void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 13:: io.worker.8
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   libc++.1.dylib                	    0x7fff202799e2 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3   Flutter                       	       0x1047cea91 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x1047cf26f void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 190
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 14:: dart:io EventHandler
0   libsystem_kernel.dylib        	    0x7fff6d9d945e kevent + 10
1   Flutter                       	       0x1049dc8f8 dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 312
2   Flutter                       	       0x1049fb5e8 dart::bin::ThreadStart(void*) + 40
3   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
4   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 15:: Dart Profiler ThreadInterrupter
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   Flutter                       	       0x104b836ce dart::Monitor::WaitMicros(long long) + 158
3   Flutter                       	       0x104c084df dart::ThreadInterrupter::ThreadMain(unsigned long) + 447
4   Flutter                       	       0x104b82c9f dart::ThreadStart(void*) + 159
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 16:: Dart Profiler SampleBlockProcessor
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a9f _pthread_cond_wait + 1278
2   Flutter                       	       0x104b836b6 dart::Monitor::WaitMicros(long long) + 134
3   Flutter                       	       0x104b89385 dart::SampleBlockProcessor::ThreadMain(unsigned long) + 181
4   Flutter                       	       0x104b82c9f dart::ThreadStart(void*) + 159
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 17:: DartWorker
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a9f _pthread_cond_wait + 1278
2   Flutter                       	       0x104b836b6 dart::Monitor::WaitMicros(long long) + 134
3   Flutter                       	       0x104ab21bf dart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*) + 207
4   Flutter                       	       0x104c092dd dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 637
5   Flutter                       	       0x104c094be dart::ThreadPool::Worker::Main(unsigned long) + 110
6   Flutter                       	       0x104b82c9f dart::ThreadStart(void*) + 159
7   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 18:: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib        	    0x7fff6d9d4aba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7fff6d9d4e2b mach_msg + 59
2   CoreFoundation                	    0x7fff2036c440 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7fff20366ae3 __CFRunLoopRun + 1293
4   CoreFoundation                	    0x7fff203660f3 CFRunLoopRunSpecific + 567
5   CFNetwork                     	    0x7fff2403edaa 0x7fff23e05000 + 2334122
6   Foundation                    	    0x7fff20845550 __NSThread__start__ + 1025
7   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 19:
0   libsystem_pthread.dylib       	    0x7fff6da2dfec start_wqthread + 0

Thread 20:
0   libsystem_pthread.dylib       	    0x7fff6da2dfec start_wqthread + 0

Thread 21:
0   libsystem_pthread.dylib       	    0x7fff6da2dfec start_wqthread + 0

Thread 22:
0   libsystem_pthread.dylib       	    0x7fff6da2dfec start_wqthread + 0


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000108051600  rcx: 0x00007ff7be6c1d18  rdx: 0x0000000000000000
  rdi: 0x0000000000000103  rsi: 0x0000000000000006  rbp: 0x00007ff7be6c1d40  rsp: 0x00007ff7be6c1d18
   r8: 0x00007ff7be6c1be0   r9: 0x00007fff20259455  r10: 0x0000000000000000  r11: 0x0000000000000246
  r12: 0x0000000000000103  r13: 0x0000003000000008  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007fff6d9db112  rfl: 0x0000000000000246  cr2: 0x00007fff800237d0
  
Logical CPU:     0
Error Code:      0x02000148 
Trap Number:     133


Binary Images:
    0x7fff6d9d4000 -     0x7fff6da0afff libsystem_kernel.dylib (*) <c1d58a50-5a4d-3bcb-a1fc-ec0902ce34d3> /usr/lib/system/libsystem_kernel.dylib
    0x7fff6da2c000 -     0x7fff6da37fff libsystem_pthread.dylib (*) <ee564342-d8f2-396d-b642-40092cf34d82> /usr/lib/system/libsystem_pthread.dylib
    0x7fff2008c000 -     0x7fff2010ffff libsystem_c.dylib (*) <cc1fe35f-cb2d-3d2d-87d6-c3fa0845fed0> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_c.dylib
    0x7fff20246000 -     0x7fff2025bfff libc++abi.dylib (*) <5debcb1f-4943-370c-a370-b609f398b840> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libc++abi.dylib
    0x7fff20182000 -     0x7fff201b3fff libobjc.A.dylib (*) <93f5b266-3aac-3bce-ac53-eb50f1246ea9> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libobjc.A.dylib
    0x7fff20110000 -     0x7fff20157fff libdispatch.dylib (*) <20999e62-bcc2-377e-8ce7-afda271eb914> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib
    0x7fff202ec000 -     0x7fff2068bfff com.apple.CoreFoundation (6.9) <c6308add-135b-3a70-9b81-1ce4d994c215> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    0x7fff2c992000 -     0x7fff2c99afff com.apple.GraphicsServices (1.0) <adea8ae1-c723-351b-ac2e-22fd2c861c30> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
    0x7fff2438c000 -     0x7fff25934fff com.apple.UIKitCore (1.0) <3ef2c381-8193-3e3c-801f-925bd1050bd7> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
       0x10183b000 -        0x1018b6fff io.invertase.testing (1.0) <2d196aaa-86d3-3a7d-92e0-14d2e7f28e94> /Users/USER/Library/Developer/CoreSimulator/Devices/3BD8F2FF-FDB5-4074-8C91-54F99C79156D/data/Containers/Bundle/Application/A7A3B4DD-16B8-4DA4-8AFB-BC14EA981E20/Runner.app/Runner
       0x101b67000 -        0x101bb4fff dyld_sim (*) <3f15c197-2d43-3490-98ff-de85f18dadf2> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
       0x107fd1000 -        0x10803cfff dyld (*) <7de33963-bbc5-3996-ba6e-f1d562c17c95> /usr/lib/dyld
    0x7fff206fa000 -     0x7fff209b0fff com.apple.Foundation (6.9) <61dcc68e-1236-3624-bb6d-a3a850adf63a> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation
       0x10444a000 -        0x106009fff io.flutter.flutter (1.0) <3c65f8ee-3c14-30fc-96a1-ac9fa1b29cdc> /Users/USER/Library/Developer/CoreSimulator/Devices/3BD8F2FF-FDB5-4074-8C91-54F99C79156D/data/Containers/Bundle/Application/A7A3B4DD-16B8-4DA4-8AFB-BC14EA981E20/Runner.app/Frameworks/Flutter.framework/Flutter
    0x7fff20271000 -     0x7fff202c6fff libc++.1.dylib (*) <e8cad74f-72e8-33e0-9029-03722edb18f7> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libc++.1.dylib
    0x7fff23e05000 -     0x7fff24272fff com.apple.CFNetwork (1327.0.4) <d02fc3a2-1e6b-31ab-b708-ed6116093dcb> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CFNetwork.framework/CFNetwork

EOF

-----------
Full Report
-----------

{"app_name":"Runner","timestamp":"2022-06-08 15:37:12.00 +0530","app_version":"1.0","slice_uuid":"2d196aaa-86d3-3a7d-92e0-14d2e7f28e94","build_version":"1","platform":7,"bundleID":"io.invertase.testing","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.2.1 (21D62)","incident_id":"92B1E30B-9CDA-4483-95A7-010751F5614D","name":"Runner"}
{
  "uptime" : 15000,
  "procLaunch" : "2022-06-08 15:36:00.4626 +0530",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,2",
  "procStartAbsTime" : 15833740042711,
  "coalitionID" : 2033,
  "osVersion" : {
    "train" : "macOS 12.2.1",
    "build" : "21D62",
    "releaseType" : "User"
  },
  "captureTime" : "2022-06-08 15:37:06.8002 +0530",
  "incident" : "92B1E30B-9CDA-4483-95A7-010751F5614D",
  "bug_type" : "309",
  "pid" : 3608,
  "procExitAbsTime" : 15900045009121,
  "cpuType" : "X86-64",
  "procName" : "Runner",
  "procPath" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/3BD8F2FF-FDB5-4074-8C91-54F99C79156D\/data\/Containers\/Bundle\/Application\/A7A3B4DD-16B8-4DA4-8AFB-BC14EA981E20\/Runner.app\/Runner",
  "bundleInfo" : {"CFBundleShortVersionString":"1.0","CFBundleVersion":"1","CFBundleIdentifier":"io.invertase.testing"},
  "storeInfo" : {"deviceIdentifierForVendor":"C5E852BD-B6C4-5068-A2C0-A60020EDEE6D","thirdParty":true},
  "parentProc" : "launchd_sim",
  "parentPid" : 2185,
  "coalitionName" : "com.apple.CoreSimulator.SimDevice.3BD8F2FF-FDB5-4074-8C91-54F99C79156D",
  "crashReporterKey" : "61D12090-CD56-B877-7B8C-9C3A0B4CF7D4",
  "responsiblePid" : 890,
  "responsibleProc" : "SimulatorTrampoline",
  "wakeTime" : 2039,
  "bridgeVersion" : {"build":"19P744","train":"6.2"},
  "sleepWakeUUID" : "CF5CE1CB-8CE9-460D-B8BD-6756E1B1ACDE",
  "sip" : "enabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "asi" : {"dyld_sim":["dyld4 config: DYLD_ROOT_PATH=\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot"],"libsystem_sim_platform.dylib":["CoreSimulator 783.5 - Device: iPhone 13 (3BD8F2FF-FDB5-4074-8C91-54F99C79156D) - Runtime: iOS 15.2 (19C51) - DeviceType: iPhone 13"],"libc++abi.dylib":["terminating with uncaught exception of type NSException"],"CoreFoundation":["*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unsupported value for standard codec'"],"dyld":["dyld4 config: DYLD_ROOT_PATH=\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot"],"libsystem_c.dylib":["abort() called"]},
  "asiBacktraces" : ["0   CoreFoundation                      0x00007fff203feba4 __exceptionPreprocess + 242\n1   libobjc.A.dylib                     0x00007fff201a1be7 objc_exception_throw + 48\n2   Foundation                          0x00007fff20753aa2 _userInfoForFileAndLine + 0\n3   Flutter                             0x0000000104a48c8b -[FlutterStandardWriter writeValue:] + 1895\n4   Flutter                             0x0000000104a48bdf -[FlutterStandardWriter writeValue:] + 1723\n5   Flutter                             0x0000000104a48bdf -[FlutterStandardWriter writeValue:] + 1723\n6   Flutter                             0x0000000104a47a7d -[FlutterStandardMethodCodec encodeErrorEnvelope:] + 172\n7   Flutter                             0x0000000104a460a6 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke_2 + 124\n8   Runner                              0x0000000101897b8b __57-[FLTFirebaseDynamicLinksPlugin handleMethodCall:result:]_block_invoke + 667\n9   Runner                              0x000000010189822a __69-[FLTFirebaseDynamicLinksPlugin buildShortLink:withMethodCallResult:]_block_invoke + 170\n10  Runner                              0x0000000101850edc __58+[FIRDynamicLinkComponents shortenURL:options:completion:]_block_invoke_2 + 44\n11  libdispatch.dylib                   0x00007fff2011265a _dispatch_call_block_and_release + 12\n12  libdispatch.dylib                   0x00007fff2011383a _dispatch_client_callout + 8\n13  libdispatch.dylib                   0x00007fff20120c88 _dispatch_main_queue_callback_4CF + 1075\n14  CoreFoundation                      0x00007fff2036c84d __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\n15  CoreFoundation                      0x00007fff203670aa __CFRunLoopRun + 2772\n16  CoreFoundation                      0x00007fff203660f3 CFRunLoopRunSpecific + 567\n17  GraphicsServices                    0x00007fff2c995cd3 GSEventRunModal + 139\n18  UIKitCore                           0x00007fff25059f42 -[UIApplication _run] + 928\n19  UIKitCore                           0x00007fff2505eb5e UIApplicationMain + 101\n20  Runner                              0x000000010183d318 main + 104\n21  dyld                                0x0000000101b68ee9 start_sim + 10\n22  ???                                 0x0000000107fd64fe 0x0 + 4429014270"],
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "lastExceptionBacktrace" : [{"imageOffset":1125268,"symbol":"__exceptionPreprocess","symbolLocation":226,"imageIndex":6},{"imageOffset":130023,"symbol":"objc_exception_throw","symbolLocation":48,"imageIndex":4},{"imageOffset":367266,"symbol":"_userInfoForFileAndLine","symbolLocation":0,"imageIndex":12},{"imageOffset":6286475,"symbol":"-[FlutterStandardWriter writeValue:]","symbolLocation":1895,"imageIndex":13},{"imageOffset":6286303,"symbol":"-[FlutterStandardWriter writeValue:]","symbolLocation":1723,"imageIndex":13},{"imageOffset":6286303,"symbol":"-[FlutterStandardWriter writeValue:]","symbolLocation":1723,"imageIndex":13},{"imageOffset":6281853,"symbol":"-[FlutterStandardMethodCodec encodeErrorEnvelope:]","symbolLocation":172,"imageIndex":13},{"imageOffset":6275238,"symbol":"__45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke_2","symbolLocation":124,"imageIndex":13},{"imageOffset":379787,"sourceLine":125,"sourceFile":"FLTFirebaseDynamicLinksPlugin.m","symbol":"__57-[FLTFirebaseDynamicLinksPlugin handleMethodCall:result:]_block_invoke","imageIndex":9,"symbolLocation":667},{"imageOffset":381482,"sourceLine":167,"sourceFile":"FLTFirebaseDynamicLinksPlugin.m","symbol":"__69-[FLTFirebaseDynamicLinksPlugin buildShortLink:withMethodCallResult:]_block_invoke","imageIndex":9,"symbolLocation":170},{"imageOffset":89820,"sourceLine":593,"sourceFile":"FDLURLComponents.m","symbol":"__58+[FIRDynamicLinkComponents shortenURL:options:completion:]_block_invoke_2","imageIndex":9,"symbolLocation":44},{"imageOffset":9818,"symbol":"_dispatch_call_block_and_release","symbolLocation":12,"imageIndex":5},{"imageOffset":14394,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":5},{"imageOffset":68744,"symbol":"_dispatch_main_queue_callback_4CF","symbolLocation":1075,"imageIndex":5},{"imageOffset":526413,"symbol":"__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__","symbolLocation":9,"imageIndex":6},{"imageOffset":503978,"symbol":"__CFRunLoopRun","symbolLocation":2772,"imageIndex":6},{"imageOffset":499955,"symbol":"CFRunLoopRunSpecific","symbolLocation":567,"imageIndex":6},{"imageOffset":15571,"symbol":"GSEventRunModal","symbolLocation":139,"imageIndex":7},{"imageOffset":13426498,"symbol":"-[UIApplication _run]","symbolLocation":928,"imageIndex":8},{"imageOffset":13445982,"symbol":"UIApplicationMain","symbolLocation":101,"imageIndex":8},{"imageOffset":8984,"sourceLine":7,"sourceFile":"main.m","symbol":"main","imageIndex":9,"symbolLocation":104},{"imageOffset":7913,"symbol":"start_sim","symbolLocation":10,"imageIndex":10},{"imageOffset":21758,"symbol":"start","symbolLocation":462,"imageIndex":11}],
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":105202,"threadState":{"r13":{"value":206158430216},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":6},"rsi":{"value":6},"r8":{"value":140702028405728},"cr2":{"value":140735341017040},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":140733732721749},"r15":{"value":22},"rbx":{"value":4429518336,"symbolLocation":0,"symbol":"_main_thread"},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140735032439058,"matchesCrashFrame":1},"rbp":{"value":140702028406080},"rsp":{"value":140702028406040},"r12":{"value":259},"rcx":{"value":140702028406040},"flavor":"x86_THREAD_STATE","rdi":{"value":259}},"queue":"com.apple.main-thread","frames":[{"imageOffset":28946,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":0},{"imageOffset":25108,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":1},{"imageOffset":509572,"symbol":"abort","symbolLocation":123,"imageIndex":2},{"imageOffset":67010,"symbol":"abort_message","symbolLocation":241,"imageIndex":3},{"imageOffset":5997,"symbol":"demangling_terminate_handler()","symbolLocation":266,"imageIndex":3},{"imageOffset":23579,"symbol":"_objc_terminate()","symbolLocation":96,"imageIndex":4},{"imageOffset":63975,"symbol":"std::__terminate(void (*)())","symbolLocation":8,"imageIndex":3},{"imageOffset":63896,"symbol":"std::terminate()","symbolLocation":56,"imageIndex":3},{"imageOffset":14414,"symbol":"_dispatch_client_callout","symbolLocation":28,"imageIndex":5},{"imageOffset":68744,"symbol":"_dispatch_main_queue_callback_4CF","symbolLocation":1075,"imageIndex":5},{"imageOffset":526413,"symbol":"__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__","symbolLocation":9,"imageIndex":6},{"imageOffset":503978,"symbol":"__CFRunLoopRun","symbolLocation":2772,"imageIndex":6},{"imageOffset":499955,"symbol":"CFRunLoopRunSpecific","symbolLocation":567,"imageIndex":6},{"imageOffset":15571,"symbol":"GSEventRunModal","symbolLocation":139,"imageIndex":7},{"imageOffset":13426498,"symbol":"-[UIApplication _run]","symbolLocation":928,"imageIndex":8},{"imageOffset":13445982,"symbol":"UIApplicationMain","symbolLocation":101,"imageIndex":8},{"imageOffset":8984,"sourceLine":7,"sourceFile":"main.m","symbol":"main","imageIndex":9,"symbolLocation":104},{"imageOffset":7913,"symbol":"start_sim","symbolLocation":10,"imageIndex":10},{"imageOffset":21758,"symbol":"start","symbolLocation":462,"imageIndex":11}]},{"id":105222,"name":"com.apple.uikit.eventfetch-thread","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":0},{"imageOffset":525376,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":6},{"imageOffset":502499,"symbol":"__CFRunLoopRun","symbolLocation":1293,"imageIndex":6},{"imageOffset":499955,"symbol":"CFRunLoopRunSpecific","symbolLocation":567,"imageIndex":6},{"imageOffset":1189716,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":213,"imageIndex":12},{"imageOffset":1190347,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":72,"imageIndex":12},{"imageOffset":14213841,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":491,"imageIndex":8},{"imageOffset":1357136,"symbol":"__NSThread__start__","symbolLocation":1025,"imageIndex":12},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105239,"name":"io.flutter.1.ui","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":0},{"imageOffset":525376,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":6},{"imageOffset":502499,"symbol":"__CFRunLoopRun","symbolLocation":1293,"imageIndex":6},{"imageOffset":499955,"symbol":"CFRunLoopRunSpecific","symbolLocation":567,"imageIndex":6},{"imageOffset":3726709,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":13},{"imageOffset":3701196,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":13},{"imageOffset":3722143,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)","symbolLocation":187,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105240,"name":"io.flutter.1.raster","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":0},{"imageOffset":525376,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":6},{"imageOffset":502499,"symbol":"__CFRunLoopRun","symbolLocation":1293,"imageIndex":6},{"imageOffset":499955,"symbol":"CFRunLoopRunSpecific","symbolLocation":567,"imageIndex":6},{"imageOffset":3726709,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":13},{"imageOffset":3701196,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":13},{"imageOffset":3722143,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)","symbolLocation":187,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105241,"name":"io.flutter.1.io","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":0},{"imageOffset":525376,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":6},{"imageOffset":502499,"symbol":"__CFRunLoopRun","symbolLocation":1293,"imageIndex":6},{"imageOffset":499955,"symbol":"CFRunLoopRunSpecific","symbolLocation":567,"imageIndex":6},{"imageOffset":3726709,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":13},{"imageOffset":3701196,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":13},{"imageOffset":3722143,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)","symbolLocation":187,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105242,"name":"io.flutter.1.profiler","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":0},{"imageOffset":525376,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":6},{"imageOffset":502499,"symbol":"__CFRunLoopRun","symbolLocation":1293,"imageIndex":6},{"imageOffset":499955,"symbol":"CFRunLoopRunSpecific","symbolLocation":567,"imageIndex":6},{"imageOffset":3726709,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":13},{"imageOffset":3701196,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":13},{"imageOffset":3722143,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)","symbolLocation":187,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105243,"name":"io.worker.1","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":1},{"imageOffset":35298,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":14},{"imageOffset":3689105,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":13},{"imageOffset":3691119,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105244,"name":"io.worker.2","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":1},{"imageOffset":35298,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":14},{"imageOffset":3689105,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":13},{"imageOffset":3691119,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105245,"name":"io.worker.3","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":1},{"imageOffset":35298,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":14},{"imageOffset":3689105,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":13},{"imageOffset":3691119,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105246,"name":"io.worker.4","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":1},{"imageOffset":35298,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":14},{"imageOffset":3689105,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":13},{"imageOffset":3691119,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105247,"name":"io.worker.5","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":1},{"imageOffset":35298,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":14},{"imageOffset":3689105,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":13},{"imageOffset":3691119,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105248,"name":"io.worker.6","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":1},{"imageOffset":35298,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":14},{"imageOffset":3689105,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":13},{"imageOffset":3691119,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105249,"name":"io.worker.7","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":1},{"imageOffset":35298,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":14},{"imageOffset":3689105,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":13},{"imageOffset":3691119,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105250,"name":"io.worker.8","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":1},{"imageOffset":35298,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":18,"imageIndex":14},{"imageOffset":3689105,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":13},{"imageOffset":3691119,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":190,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105252,"name":"dart:io EventHandler","frames":[{"imageOffset":21598,"symbol":"kevent","symbolLocation":10,"imageIndex":0},{"imageOffset":5843192,"symbol":"dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long)","symbolLocation":312,"imageIndex":13},{"imageOffset":5969384,"symbol":"dart::bin::ThreadStart(void*)","symbolLocation":40,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105253,"name":"Dart Profiler ThreadInterrupter","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":1},{"imageOffset":7575246,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":158,"imageIndex":13},{"imageOffset":8119519,"symbol":"dart::ThreadInterrupter::ThreadMain(unsigned long)","symbolLocation":447,"imageIndex":13},{"imageOffset":7572639,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105254,"name":"Dart Profiler SampleBlockProcessor","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27295,"symbol":"_pthread_cond_wait","symbolLocation":1278,"imageIndex":1},{"imageOffset":7575222,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":13},{"imageOffset":7598981,"symbol":"dart::SampleBlockProcessor::ThreadMain(unsigned long)","symbolLocation":181,"imageIndex":13},{"imageOffset":7572639,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105273,"name":"DartWorker","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27295,"symbol":"_pthread_cond_wait","symbolLocation":1278,"imageIndex":1},{"imageOffset":7575222,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":13},{"imageOffset":6717887,"symbol":"dart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*)","symbolLocation":207,"imageIndex":13},{"imageOffset":8123101,"symbol":"dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)","symbolLocation":637,"imageIndex":13},{"imageOffset":8123582,"symbol":"dart::ThreadPool::Worker::Main(unsigned long)","symbolLocation":110,"imageIndex":13},{"imageOffset":7572639,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":13},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":105942,"name":"com.apple.NSURLConnectionLoader","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":0},{"imageOffset":525376,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":6},{"imageOffset":502499,"symbol":"__CFRunLoopRun","symbolLocation":1293,"imageIndex":6},{"imageOffset":499955,"symbol":"CFRunLoopRunSpecific","symbolLocation":567,"imageIndex":6},{"imageOffset":2334122,"imageIndex":15},{"imageOffset":1357136,"symbol":"__NSThread__start__","symbolLocation":1025,"imageIndex":12},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":106184,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":106990,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":106991,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":106992,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140735032410112,
    "size" : 225280,
    "uuid" : "c1d58a50-5a4d-3bcb-a1fc-ec0902ce34d3",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140735032770560,
    "size" : 49152,
    "uuid" : "ee564342-d8f2-396d-b642-40092cf34d82",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733730832384,
    "size" : 540672,
    "uuid" : "cc1fe35f-cb2d-3d2d-87d6-c3fa0845fed0",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733732642816,
    "size" : 90112,
    "uuid" : "5debcb1f-4943-370c-a370-b609f398b840",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/libc++abi.dylib",
    "name" : "libc++abi.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733731840000,
    "size" : 204800,
    "uuid" : "93f5b266-3aac-3bce-ac53-eb50f1246ea9",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/libobjc.A.dylib",
    "name" : "libobjc.A.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733731373056,
    "size" : 294912,
    "uuid" : "20999e62-bcc2-377e-8ce7-afda271eb914",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733733322752,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 3801088,
    "uuid" : "c6308add-135b-3a70-9b81-1ce4d994c215",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/CoreFoundation.framework\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1856.105"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733941620736,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.GraphicsServices",
    "size" : 36864,
    "uuid" : "adea8ae1-c723-351b-ac2e-22fd2c861c30",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/GraphicsServices.framework\/GraphicsServices",
    "name" : "GraphicsServices",
    "CFBundleVersion" : "1.0"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733801086976,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.UIKitCore",
    "size" : 22712320,
    "uuid" : "3ef2c381-8193-3e3c-801f-925bd1050bd7",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/UIKitCore.framework\/UIKitCore",
    "name" : "UIKitCore",
    "CFBundleVersion" : "5205.0.101"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4320374784,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "io.invertase.testing",
    "size" : 507904,
    "uuid" : "2d196aaa-86d3-3a7d-92e0-14d2e7f28e94",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/3BD8F2FF-FDB5-4074-8C91-54F99C79156D\/data\/Containers\/Bundle\/Application\/A7A3B4DD-16B8-4DA4-8AFB-BC14EA981E20\/Runner.app\/Runner",
    "name" : "Runner",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4323700736,
    "size" : 319488,
    "uuid" : "3f15c197-2d43-3490-98ff-de85f18dadf2",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/dyld_sim",
    "name" : "dyld_sim"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4428992512,
    "size" : 442368,
    "uuid" : "7de33963-bbc5-3996-ba6e-f1d562c17c95",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733737574400,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 2846720,
    "uuid" : "61dcc68e-1236-3624-bb6d-a3a850adf63a",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/Foundation.framework\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1856.105"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4366573568,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "io.flutter.flutter",
    "size" : 29097984,
    "uuid" : "3c65f8ee-3c14-30fc-96a1-ac9fa1b29cdc",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/3BD8F2FF-FDB5-4074-8C91-54F99C79156D\/data\/Containers\/Bundle\/Application\/A7A3B4DD-16B8-4DA4-8AFB-BC14EA981E20\/Runner.app\/Frameworks\/Flutter.framework\/Flutter",
    "name" : "Flutter",
    "CFBundleVersion" : "1.0"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733732818944,
    "size" : 352256,
    "uuid" : "e8cad74f-72e8-33e0-9029-03722edb18f7",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/libc++.1.dylib",
    "name" : "libc++.1.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733795291136,
    "CFBundleShortVersionString" : "1327.0.4",
    "CFBundleIdentifier" : "com.apple.CFNetwork",
    "size" : 4644864,
    "uuid" : "d02fc3a2-1e6b-31ab-b708-ed6116093dcb",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/CFNetwork.framework\/CFNetwork",
    "name" : "CFNetwork",
    "CFBundleVersion" : "1327.0.4"
  }
],
  "sharedCache" : {
  "base" : 140733730258944,
  "size" : 3265314816,
  "uuid" : "7db4aea4-c6ef-3298-b8b5-3fd2caf4ea49"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=996.6M resident=0K(0%) swapped_out_or_unallocated=996.6M(100%)\nWritable regions: Total=779.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=779.1M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nColorSync                           88K        5 \nCoreAnimation                        4K        1 \nFoundation                          16K        1 \nIOSurface                         35.2M        4 \nKernel Alloc Once                    8K        1 \nMALLOC                           221.1M       76 \nMALLOC guard page                   48K       11 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSQLite page cache                  192K        3 \nSTACK GUARD                       56.1M       23 \nStack                             21.2M       24 \nVM_ALLOCATE                        4.0G      233 \n__DATA                            16.7M      469 \n__DATA_CONST                      39.6M      468 \n__DATA_DIRTY                        22K       10 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       532.1M        7 \n__OBJC_RO                         62.4M        1 \n__OBJC_RW                         3136K        1 \n__TEXT                           464.5M      478 \n__UNICODE                          588K        1 \ndyld private memory               2048K        2 \nlibnetwork                         128K        8 \nmapped file                       75.3M       14 \nshared memory                       16K        1 \n===========                     =======  ======= \nTOTAL                              5.9G     1845 \nTOTAL, minus reserved VM space     5.5G     1845 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "607844aa04477260f58a8077",
      "factorPackIds" : {
        "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
      },
      "deploymentId" : 240000066
    },
    {
      "rolloutId" : "602ad4dac86151000cf27e46",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "6193d03f2171a2330e561dfc"
      },
      "deploymentId" : 240000305
    },
    {
      "rolloutId" : "60da5e84ab0ca017dace9abf",
      "factorPackIds" : {

      },
      "deploymentId" : 240000008
    },
    {
      "rolloutId" : "601d9415f79519000ccd4b69",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "622657ce37186c771d5404ad"
      },
      "deploymentId" : 240000414
    },
    {
      "rolloutId" : "5fb4245a1bbfe8005e33a1e1",
      "factorPackIds" : {

      },
      "deploymentId" : 240000015
    },
    {
      "rolloutId" : "5fc94383418129005b4e9ae0",
      "factorPackIds" : {

      },
      "deploymentId" : 240000370
    },
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000158
    }
  ],
  "experiments" : [

  ]
}
}

Model: MacBookPro16,2, BootROM 1715.81.2.0.0 (iBridge: 19.16.10744.0.0,0), 4 processors, Quad-Core Intel Core i5, 2 GHz, 16 GB, SMC 
Graphics: Intel Iris Plus Graphics, Intel Iris Plus Graphics, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, LPDDR4X, 3733 MHz, Samsung, K4UBE3D4AA-MGCL
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, LPDDR4X, 3733 MHz, Samsung, K4UBE3D4AA-MGCL
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Jul 12 2021 18:02:56 version 9.30.464.0.32.5.76 FWID 01-c081cfed
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: T2Bus
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 85.0
Thunderbolt Bus: MacBook Pro, Apple Inc., 85.0

/cc @russellwheatley

darshankawar avatar Jun 08 '22 10:06 darshankawar

Is there any progress on that issue?

maitycyrus avatar Jul 21 '22 11:07 maitycyrus

Has anyone found a solution to this problem?

hovanhung98hust avatar Jul 22 '22 04:07 hovanhung98hust

@maitycyrus @hovanhung98hust

as @darshankawar said, this crash is from flutter and ios error handling. So, as i see currently, there is no perfect way to avoid this issue.

but there is always sides ways. Here is how i avoid.

import 'package:http/http.dart' as http;
...
final DynamicLinkParameters parameters = DynamicLinkParameters(
  uriPrefix: uriPrefix // your dynamic link prefix
  link: link // link which you want to make shorten
)
try {
  await http.get(parameters.link); 
} catch (e) {
  // display error or show toast 
  return;
}
final result = await FirebaseDynamicLinks.instance.buildShortLink(parameters)

the reason why error has occur is the state of offline. or it also can be occured when dynamic link server down. so, simply check you can reach that link or not first. and then try to generate shorten link.

hope this helpful.

peacekimjapan avatar Jul 25 '22 07:07 peacekimjapan

Any updates regarding this issue ?

pranavo72bex avatar Sep 14 '22 05:09 pranavo72bex

Any updates here??

rahulVlogicwind avatar Oct 05 '22 06:10 rahulVlogicwind

I've just tested airplane mode on my iPhone and I was able to consistently build long/short dynamic links. Not sure how that is possible. Does anyone else find it does not crash anymore?

russellwheatley avatar Nov 11 '22 11:11 russellwheatley

Hi @russellwheatley , i am still having the issue with the current latest version of firebase_dynamic_links by setting the airplane mode :/

I just set the airplane mode (without wifi or any network connections) and call :

final ShortDynamicLink dynamicLink = await FirebaseDynamicLinks.instance.buildShortLink(parameters, shortLinkType: ShortDynamicLinkType.unguessable);

Tom3652 avatar Nov 11 '22 14:11 Tom3652

Ah, I think my iPhone was using the network via my mac, I'm now able to reproduce 👍

russellwheatley avatar Nov 11 '22 14:11 russellwheatley