firebase / flutterfire

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

🐛 [firebase_dynamic_links] App hanging on iOS semaphore causing firebase dynamic links not to work on iOS #11509

Closed mortenthansen closed 10 months ago

mortenthansen commented 1 year ago

Bug report

Describe the bug I have multiple production error reports from different iOS devices where the app hangs in firebase dynamic link after installation on a new device. The event seems to happen right after installation and I have correlated the error reports (through timestamps) to customer complaints about firebase dynamic links not working. It seems that the universal links are never verified on these devices.

Steps to reproduce

Not sure.

Expected behavior

No hanging and firebase dynamic links to work.

Sample project

N/A. I only see this in production on iOS. Have no iOS Phone for development.


Additional context

Full Sentry stack trace

Click To Expand ``` OS Version: iOS 16.6 (20G75) Report Version: 104 Application Specific Information: App hanging for at least 2000 ms. Thread 0 Crashed: 0 libsystem_kernel.dylib 0x3910ecc20 semaphore_wait_trap 1 libdispatch.dylib 0x321b0c444 _dispatch_sema4_wait 2 libdispatch.dylib 0x321b0caf8 _dispatch_semaphore_wait_slow 3 UIKitCore 0x317f14514 _coerceItemToClass 4 UIKitCore 0x317f14624 -[_UIConcretePasteboard string] 5 FirebaseDynamicLinks 0x102e7ee34 + 92 6 FirebaseDynamicLinks 0x102e7ecb4 + 44 7 FirebaseDynamicLinks 0x102e7e8e8 + 316 8 FirebaseDynamicLinks 0x102e7f2fc + 64 9 FirebaseDynamicLinks 0x102e7f66c + 80 10 WebKit 0x338f166ec WebKit::WebPageProxy::runJavaScriptInFrameInScriptWorld::lambda::operator() 11 WebKit 0x338f16314 WTF::Detail::CallableWrapper::call 12 WebKit 0x338e4c818 WTF::Detail::CallableWrapper::call 13 WebKit 0x339328004 IPC::Connection::dispatchMessage 14 WebKit 0x339328368 IPC::Connection::dispatchIncomingMessages 15 JavaScriptCore 0x33a053ce0 WTF::RunLoop::performWork 16 JavaScriptCore 0x33a054bac WTF::RunLoop::performWork 17 CoreFoundation 0x313241124 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 18 CoreFoundation 0x31324d7b0 __CFRunLoopDoSource0 19 CoreFoundation 0x3131d25e4 __CFRunLoopDoSources0 20 CoreFoundation 0x3131e80d0 __CFRunLoopRun 21 CoreFoundation 0x3131ed3e8 CFRunLoopRunSpecific 22 GraphicsServices 0x389c97358 GSEventRunModal 23 UIKitCore 0x3175e8f54 -[UIApplication _run] 24 UIKitCore 0x3175e8bb8 UIApplicationMain 25 Runner 0x202917d5c Thread 0 0 libsystem_kernel.dylib 0x3910ecc20 semaphore_wait_trap 1 libdispatch.dylib 0x321b0c444 _dispatch_sema4_wait 2 libdispatch.dylib 0x321b0caf8 _dispatch_semaphore_wait_slow 3 UIKitCore 0x317f14514 _coerceItemToClass 4 UIKitCore 0x317f14624 -[_UIConcretePasteboard string] 5 FirebaseDynamicLinks 0x102e7ee34 + 92 6 FirebaseDynamicLinks 0x102e7ecb4 + 44 7 FirebaseDynamicLinks 0x102e7e8e8 + 316 8 FirebaseDynamicLinks 0x102e7f2fc + 64 9 FirebaseDynamicLinks 0x102e7f66c + 80 10 WebKit 0x338f166ec WebKit::WebPageProxy::runJavaScriptInFrameInScriptWorld::lambda::operator() 11 WebKit 0x338f16314 WTF::Detail::CallableWrapper::call 12 WebKit 0x338e4c818 WTF::Detail::CallableWrapper::call 13 WebKit 0x339328004 IPC::Connection::dispatchMessage 14 WebKit 0x339328368 IPC::Connection::dispatchIncomingMessages 15 JavaScriptCore 0x33a053ce0 WTF::RunLoop::performWork 16 JavaScriptCore 0x33a054bac WTF::RunLoop::performWork 17 CoreFoundation 0x313241124 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 18 CoreFoundation 0x31324d7b0 __CFRunLoopDoSource0 19 CoreFoundation 0x3131d25e4 __CFRunLoopDoSources0 20 CoreFoundation 0x3131e80d0 __CFRunLoopRun 21 CoreFoundation 0x3131ed3e8 CFRunLoopRunSpecific 22 GraphicsServices 0x389c97358 GSEventRunModal 23 UIKitCore 0x3175e8f54 -[UIApplication _run] 24 UIKitCore 0x3175e8bb8 UIApplicationMain 25 Runner 0x202917d5c Thread 1 0 libsystem_kernel.dylib 0x3910ed1ac __workq_kernreturn 1 libsystem_pthread.dylib 0x3d2de2e24 _pthread_wqthread Thread 2 0 libsystem_kernel.dylib 0x3910ed1ac __workq_kernreturn 1 libsystem_pthread.dylib 0x3d2de2e24 _pthread_wqthread Thread 3 0 libsystem_kernel.dylib 0x3910ed7dc __ulock_wait 1 libdispatch.dylib 0x321b0c898 _dlock_wait 2 libdispatch.dylib 0x321b0c64c _dispatch_thread_event_wait_slow 3 libdispatch.dylib 0x321b1b710 __DISPATCH_WAIT_FOR_QUEUE__ 4 libdispatch.dylib 0x321b1b2bc _dispatch_sync_f_slow 5 Runner 0x2029551c8 6 Runner 0x20296deb4 7 Runner 0x202973f74 8 Runner 0x2029761a0 9 Runner 0x2029738f4 10 Runner 0x2029c480c 11 Runner 0x202932abc 12 Runner 0x20297366c 13 Runner 0x2029732b4 14 Runner 0x202972ba0 15 Runner 0x202972958 16 Runner 0x202963438 17 Runner 0x2029621a0 18 Runner 0x20296198c 19 Runner 0x202960fe4 20 Runner 0x202960ec4 21 Runner 0x2029b9c50 22 libdispatch.dylib 0x321b0a31c _dispatch_call_block_and_release 23 libdispatch.dylib 0x321b0bea8 _dispatch_client_callout 24 libdispatch.dylib 0x321b13530 _dispatch_lane_serial_drain 25 libdispatch.dylib 0x321b140a0 _dispatch_lane_invoke 26 libdispatch.dylib 0x321b1ecd8 _dispatch_workloop_worker_thread 27 libsystem_pthread.dylib 0x3d2de2dd8 _pthread_wqthread Thread 4 0 libsystem_kernel.dylib 0x3910ed1ac __workq_kernreturn 1 libsystem_pthread.dylib 0x3d2de2e24 _pthread_wqthread Thread 5 0 libsystem_kernel.dylib 0x3910ed1ac __workq_kernreturn 1 libsystem_pthread.dylib 0x3d2de2e24 _pthread_wqthread Thread 6 name: com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x3910ecca4 mach_msg2_trap 1 libsystem_kernel.dylib 0x3910ffb70 mach_msg2_internal 2 libsystem_kernel.dylib 0x3910ffe48 mach_msg_overwrite 3 libsystem_kernel.dylib 0x3910ed1e4 mach_msg 4 CoreFoundation 0x3131e7020 __CFRunLoopServiceMachPort 5 CoreFoundation 0x3131e824c __CFRunLoopRun 6 CoreFoundation 0x3131ed3e8 CFRunLoopRunSpecific 7 Foundation 0x307723fb0 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 8 Foundation 0x307723e98 -[NSRunLoop(NSRunLoop) runUntilDate:] 9 UIKitCore 0x31771bcc4 -[UIEventFetcher threadMain] 10 Foundation 0x30773d520 __NSThread__start__ 11 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 7 0 libsystem_pthread.dylib 0x3d2de2b74 start_wqthread Thread 8 name: io.flutter.1.ui 0 libsystem_kernel.dylib 0x3910ecca4 mach_msg2_trap 1 libsystem_kernel.dylib 0x3910ffb70 mach_msg2_internal 2 libsystem_kernel.dylib 0x3910ffe48 mach_msg_overwrite 3 libsystem_kernel.dylib 0x3910ed1e4 mach_msg 4 CoreFoundation 0x3131e7020 __CFRunLoopServiceMachPort 5 CoreFoundation 0x3131e824c __CFRunLoopRun 6 CoreFoundation 0x3131ed3e8 CFRunLoopRunSpecific 7 Flutter 0x10437a54c 8 Flutter 0x10437a03c 9 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 9 name: io.flutter.1.raster 0 libsystem_kernel.dylib 0x3910ecca4 mach_msg2_trap 1 libsystem_kernel.dylib 0x3910ffb70 mach_msg2_internal 2 libsystem_kernel.dylib 0x3910ffe48 mach_msg_overwrite 3 libsystem_kernel.dylib 0x3910ed1e4 mach_msg 4 CoreFoundation 0x3131e7020 __CFRunLoopServiceMachPort 5 CoreFoundation 0x3131e824c __CFRunLoopRun 6 CoreFoundation 0x3131ed3e8 CFRunLoopRunSpecific 7 Flutter 0x10437a54c 8 Flutter 0x10437a03c 9 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 10 name: io.flutter.1.io 0 libsystem_kernel.dylib 0x3910ecca4 mach_msg2_trap 1 libsystem_kernel.dylib 0x3910ffb70 mach_msg2_internal 2 libsystem_kernel.dylib 0x3910ffe48 mach_msg_overwrite 3 libsystem_kernel.dylib 0x3910ed1e4 mach_msg 4 CoreFoundation 0x3131e7020 __CFRunLoopServiceMachPort 5 CoreFoundation 0x3131e824c __CFRunLoopRun 6 CoreFoundation 0x3131ed3e8 CFRunLoopRunSpecific 7 Flutter 0x10437a54c 8 Flutter 0x10437a03c 9 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 11 name: io.worker.1 0 libsystem_kernel.dylib 0x3910ed578 __psynch_cvwait 1 libsystem_pthread.dylib 0x3d2dea074 _pthread_cond_wait 2 Flutter 0x1040dca60 3 Flutter 0x1043740cc 4 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 12 name: io.worker.2 0 libsystem_kernel.dylib 0x3910ed578 __psynch_cvwait 1 libsystem_pthread.dylib 0x3d2dea074 _pthread_cond_wait 2 Flutter 0x1040dca60 3 Flutter 0x1043740cc 4 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 13 name: io.worker.3 0 libsystem_kernel.dylib 0x3910ed578 __psynch_cvwait 1 libsystem_pthread.dylib 0x3d2dea074 _pthread_cond_wait 2 Flutter 0x1040dca60 3 Flutter 0x1043740cc 4 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 14 name: io.worker.4 0 libsystem_kernel.dylib 0x3910ed578 __psynch_cvwait 1 libsystem_pthread.dylib 0x3d2dea074 _pthread_cond_wait 2 Flutter 0x1040dca60 3 Flutter 0x1043740cc 4 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 15 name: io.worker.5 0 libsystem_kernel.dylib 0x3910ed578 __psynch_cvwait 1 libsystem_pthread.dylib 0x3d2dea074 _pthread_cond_wait 2 Flutter 0x1040dca60 3 Flutter 0x1043740cc 4 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 16 name: io.worker.6 0 libsystem_kernel.dylib 0x3910ed578 __psynch_cvwait 1 libsystem_pthread.dylib 0x3d2dea074 _pthread_cond_wait 2 Flutter 0x1040dca60 3 Flutter 0x1043740cc 4 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 17 name: dart:io EventHandler 0 libsystem_kernel.dylib 0x3910ee5dc kevent 1 Flutter 0x10456b7e0 2 Flutter 0x10459a780 3 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 18 0 libsystem_kernel.dylib 0x3910ed1ac __workq_kernreturn 1 libsystem_pthread.dylib 0x3d2de2e24 _pthread_wqthread Thread 19 name: JavaScriptCore libpas scavenger 0 libsystem_kernel.dylib 0x3910ed578 __psynch_cvwait 1 libsystem_pthread.dylib 0x3d2dea074 _pthread_cond_wait 2 JavaScriptCore 0x33a113d80 scavenger_thread_main 3 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 20 0 libsystem_kernel.dylib 0x3910ed164 __semwait_signal 1 libsystem_c.dylib 0x321b9b884 nanosleep 2 libsystem_c.dylib 0x321bacb18 sleep 3 Sentry 0x1034bcbdc + 676 4 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 21 name: SentryCrash Exception Handler (Secondary) 0 libsystem_kernel.dylib 0x3910ecca4 mach_msg2_trap 1 libsystem_kernel.dylib 0x3910ffb70 mach_msg2_internal 2 libsystem_kernel.dylib 0x3910f9880 thread_suspend 3 Sentry 0x1034c8e44 + 128 4 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 22 name: SentryCrash Exception Handler (Primary) 0 libsystem_kernel.dylib 0x3910ecca4 mach_msg2_trap 1 libsystem_kernel.dylib 0x3910ffb70 mach_msg2_internal 2 libsystem_kernel.dylib 0x3910ffe48 mach_msg_overwrite 3 libsystem_kernel.dylib 0x3910ed1e4 mach_msg 4 Sentry 0x1034c8e70 + 172 5 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start Thread 23 name: io.sentry.app-hang-tracker 0 Foundation 0x30773d524 __NSThread__start__ 1 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start 2 libsystem_pthread.dylib 0x3d2de2b84 thread_start Thread 24 0 libsystem_kernel.dylib 0x3910ed1ac __workq_kernreturn 1 libsystem_pthread.dylib 0x3d2de2e24 _pthread_wqthread Thread 25 name: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x3910ecca4 mach_msg2_trap 1 libsystem_kernel.dylib 0x3910ffb70 mach_msg2_internal 2 libsystem_kernel.dylib 0x3910ffe48 mach_msg_overwrite 3 libsystem_kernel.dylib 0x3910ed1e4 mach_msg 4 CoreFoundation 0x3131e7020 __CFRunLoopServiceMachPort 5 CoreFoundation 0x3131e824c __CFRunLoopRun 6 CoreFoundation 0x3131ed3e8 CFRunLoopRunSpecific 7 CFNetwork 0x3153ea6ec _CFURLStorageSessionDisableCache 8 Foundation 0x30773d520 __NSThread__start__ 9 libsystem_pthread.dylib 0x3d2de36b4 _pthread_start EOF ```

Flutter doctor

Run flutter doctor and paste the output below:

Click To Expand ``` [✓] Flutter (Channel stable, 3.10.6, on macOS 13.3.1 22E261 darwin-arm64, locale en-US) • Flutter version 3.10.6 on channel stable at /Users/builder/programs/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision f468f3366c (5 weeks ago), 2023-07-12 15:19:05 -0700 • Engine revision cdbeda788a • Dart version 3.0.6 • DevTools version 2.23.1 [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at /usr/local/share/android-sdk • Platform android-33, build-tools 33.0.0 • ANDROID_HOME = /usr/local/share/android-sdk • ANDROID_SDK_ROOT = /usr/local/share/android-sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.3.1) • Xcode at /Applications/Xcode-14.3.app/Contents/Developer • Build 14E300c • CocoaPods version 1.12.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2021.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) [✓] Connected device (2 available) • macOS (desktop) • macos • darwin-arm64 • macOS 13.3.1 22E261 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 115.0.5790.170 [✓] Network resources • All expected network resources are available. • No issues found! ```

Flutter dependencies

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

Click To Expand ``` Resolving dependencies... _fe_analyzer_shared 61.0.0 (63.0.0 available) _flutterfire_internals 1.3.2 (1.3.4 available) analyzer 5.13.0 (6.1.0 available) app_settings 4.2.0 (5.0.0 available) bloc_test 9.1.3 (9.1.4 available) build 2.4.0 (2.4.1 available) build_resolvers 2.2.0 (2.2.1 available) build_runner 2.4.4 (2.4.6 available) collection 1.17.1 (1.18.0 available) dart_style 2.3.1 (2.3.2 available) device_info_plus 9.0.2 (9.0.3 available) duration 3.0.12 (3.0.13 available) ffi 2.0.2 (2.1.0 available) file 6.1.4 (7.0.0 available) firebase_analytics 10.4.2 (10.4.4 available) firebase_analytics_platform_interface 3.6.2 (3.6.4 available) firebase_analytics_web 0.5.4+2 (0.5.4+4 available) firebase_app_installations 0.2.3+2 (0.2.3+4 available) firebase_app_installations_platform_interface 0.1.4+2 (0.1.4+4 available) firebase_app_installations_web 0.1.3+2 (0.1.3+4 available) firebase_core 2.13.1 (2.15.0 available) firebase_core_web 2.5.0 (2.6.0 available) firebase_dynamic_links 5.3.2 (5.3.4 available) firebase_dynamic_links_platform_interface 0.2.6+2 (0.2.6+4 available) firebase_messaging 14.6.2 (14.6.5 available) firebase_messaging_platform_interface 4.5.2 (4.5.4 available) firebase_messaging_web 3.5.2 (3.5.4 available) firebase_performance 0.9.2+2 (0.9.2+4 available) firebase_performance_platform_interface 0.1.4+2 (0.1.4+4 available) firebase_performance_web 0.1.4+2 (0.1.4+4 available) flutter_appauth 6.0.0 (6.0.2 available) flutter_cache_manager 3.3.0 (3.3.1 available) flutter_lints 2.0.1 (2.0.2 available) flutter_svg 2.0.6 (2.0.7 available) http 0.13.6 (1.1.0 available) injector 2.0.0 (3.0.0 available) intl 0.18.0 (0.18.1 available) matcher 0.12.15 (0.12.16 available) material_color_utilities 0.2.0 (0.8.0 available) mocktail 0.3.0 (1.0.0 available) nfc_manager 3.2.0 (3.3.0 available) package_info_plus 4.0.2 (4.1.0 available) path_provider 2.0.15 (2.1.0 available) path_provider_android 2.0.27 (2.1.0 available) path_provider_foundation 2.2.3 (2.3.0 available) path_provider_linux 2.1.11 (2.2.0 available) path_provider_platform_interface 2.0.6 (2.1.0 available) path_provider_windows 2.1.6 (2.2.0 available) plugin_platform_interface 2.1.4 (2.1.5 available) process 4.2.4 (5.0.0 available) sentry 7.7.0 (7.9.0 available) sentry_dart_plugin 1.3.0 (1.5.0 available) sentry_flutter 7.7.0 (7.9.0 available) shimmer 2.0.0 (3.0.0 available) sliver_tools 0.2.10 (0.2.12 available) source_span 1.9.1 (1.10.0 available) sqflite 2.2.8+4 (2.3.0 available) sqflite_common 2.4.5 (2.5.0 available) stack_trace 1.11.0 (1.11.1 available) stream_channel 2.1.1 (2.1.2 available) test 1.24.1 (1.24.6 available) test_api 0.5.1 (0.6.1 available) test_core 0.5.1 (0.5.6 available) url_launcher 6.1.11 (6.1.12 available) url_launcher_android 6.0.35 (6.0.38 available) url_launcher_macos 3.0.5 (3.0.6 available) url_launcher_platform_interface 2.1.2 (2.1.3 available) url_launcher_web 2.0.17 (2.0.18 available) url_launcher_windows 3.0.6 (3.0.7 available) vector_graphics 1.1.6 (1.1.7 available) vector_graphics_codec 1.1.6 (1.1.7 available) vector_graphics_compiler 1.1.6 (1.1.7 available) vibration 1.7.7 (1.8.1 available) vm_service 11.3.0 (11.9.0 available) win32 4.1.4 (5.0.6 available) win32_registry 1.1.0 (1.1.1 available) xdg_directories 1.0.0 (1.0.2 available) ```

mortenthansen commented 1 year ago

Another stack trace:

Click To Expand ``` OS Version: iOS 16.3.1 (20D67) Report Version: 104 Application Specific Information: App hanging for at least 2000 ms. Thread 0 Crashed: 0 libsystem_kernel.dylib 0x3bed64d24 semaphore_wait_trap 1 libdispatch.dylib 0x35236a520 _dispatch_sema4_wait 2 libdispatch.dylib 0x35236abd4 _dispatch_semaphore_wait_slow 3 UIKitCore 0x34878b040 _coerceItemToClass 4 UIKitCore 0x34878b150 -[_UIConcretePasteboard string] 5 FirebaseDynamicLinks 0x102fb2e34 + 92 6 FirebaseDynamicLinks 0x102fb2cb4 + 44 7 FirebaseDynamicLinks 0x102fb28e8 + 316 8 FirebaseDynamicLinks 0x102fb32fc + 64 9 FirebaseDynamicLinks 0x102fb366c + 80 10 WebKit 0x369183c50 11 WebKit 0x3694c5ea0 12 WebKit 0x3691838b4 13 WebKit 0x3690ce87c 14 WebKit 0x368f1c50c 15 WebKit 0x368f1bae8 16 JavaScriptCore 0x36a53e0b0 17 JavaScriptCore 0x36a53ede8 18 CoreFoundation 0x3437fff20 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 19 CoreFoundation 0x34380c2f8 __CFRunLoopDoSource0 20 CoreFoundation 0x3437901bc __CFRunLoopDoSources0 21 CoreFoundation 0x3437a5b78 __CFRunLoopRun 22 CoreFoundation 0x3437aaeac CFRunLoopRunSpecific 23 GraphicsServices 0x3b7c15364 GSEventRunModal 24 UIKitCore 0x347e75664 -[UIApplication _run] 25 UIKitCore 0x347e752c8 UIApplicationMain 26 Runner 0x202af7d5c Thread 0 0 libsystem_kernel.dylib 0x3bed64d24 semaphore_wait_trap 1 libdispatch.dylib 0x35236a520 _dispatch_sema4_wait 2 libdispatch.dylib 0x35236abd4 _dispatch_semaphore_wait_slow 3 UIKitCore 0x34878b040 _coerceItemToClass 4 UIKitCore 0x34878b150 -[_UIConcretePasteboard string] 5 FirebaseDynamicLinks 0x102fb2e34 + 92 6 FirebaseDynamicLinks 0x102fb2cb4 + 44 7 FirebaseDynamicLinks 0x102fb28e8 + 316 8 FirebaseDynamicLinks 0x102fb32fc + 64 9 FirebaseDynamicLinks 0x102fb366c + 80 10 WebKit 0x369183c50 11 WebKit 0x3694c5ea0 12 WebKit 0x3691838b4 13 WebKit 0x3690ce87c 14 WebKit 0x368f1c50c 15 WebKit 0x368f1bae8 16 JavaScriptCore 0x36a53e0b0 17 JavaScriptCore 0x36a53ede8 18 CoreFoundation 0x3437fff20 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 19 CoreFoundation 0x34380c2f8 __CFRunLoopDoSource0 20 CoreFoundation 0x3437901bc __CFRunLoopDoSources0 21 CoreFoundation 0x3437a5b78 __CFRunLoopRun 22 CoreFoundation 0x3437aaeac CFRunLoopRunSpecific 23 GraphicsServices 0x3b7c15364 GSEventRunModal 24 UIKitCore 0x347e75664 -[UIApplication _run] 25 UIKitCore 0x347e752c8 UIApplicationMain 26 Runner 0x202af7d5c Thread 1 0 libsystem_kernel.dylib 0x3bed652b0 __workq_kernreturn 1 libsystem_pthread.dylib 0x3dfc2ce40 _pthread_wqthread Thread 2 0 libsystem_kernel.dylib 0x3bed652b0 __workq_kernreturn 1 libsystem_pthread.dylib 0x3dfc2ce40 _pthread_wqthread Thread 3 0 libsystem_kernel.dylib 0x3bed652b0 __workq_kernreturn 1 libsystem_pthread.dylib 0x3dfc2ce40 _pthread_wqthread Thread 4 0 libsystem_kernel.dylib 0x3bed652b0 __workq_kernreturn 1 libsystem_pthread.dylib 0x3dfc2ce40 _pthread_wqthread Thread 5 0 libsystem_kernel.dylib 0x3bed652b0 __workq_kernreturn 1 libsystem_pthread.dylib 0x3dfc2ce40 _pthread_wqthread Thread 6 0 libsystem_kernel.dylib 0x3bed652b0 __workq_kernreturn 1 libsystem_pthread.dylib 0x3dfc2ce40 _pthread_wqthread Thread 7 name: com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x3bed64da8 mach_msg2_trap 1 libsystem_kernel.dylib 0x3bed77a18 mach_msg2_internal 2 libsystem_kernel.dylib 0x3bed77c58 mach_msg_overwrite 3 libsystem_kernel.dylib 0x3bed652e8 mach_msg 4 CoreFoundation 0x3437a4ac0 __CFRunLoopServiceMachPort 5 CoreFoundation 0x3437a5d04 __CFRunLoopRun 6 CoreFoundation 0x3437aaeac CFRunLoopRunSpecific 7 Foundation 0x337e42050 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 8 Foundation 0x337e41f38 -[NSRunLoop(NSRunLoop) runUntilDate:] 9 UIKitCore 0x347faa6a0 -[UIEventFetcher threadMain] 10 Foundation 0x337e5b514 __NSThread__start__ 11 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 8 name: io.flutter.1.ui 0 libsystem_kernel.dylib 0x3bed64da8 mach_msg2_trap 1 libsystem_kernel.dylib 0x3bed77a18 mach_msg2_internal 2 libsystem_kernel.dylib 0x3bed77c58 mach_msg_overwrite 3 libsystem_kernel.dylib 0x3bed652e8 mach_msg 4 CoreFoundation 0x3437a4ac0 __CFRunLoopServiceMachPort 5 CoreFoundation 0x3437a5d04 __CFRunLoopRun 6 CoreFoundation 0x3437aaeac CFRunLoopRunSpecific 7 Flutter 0x1045ba54c 8 Flutter 0x1045ba03c 9 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 9 name: io.flutter.1.raster 0 libsystem_kernel.dylib 0x3bed64da8 mach_msg2_trap 1 libsystem_kernel.dylib 0x3bed77a18 mach_msg2_internal 2 libsystem_kernel.dylib 0x3bed77c58 mach_msg_overwrite 3 libsystem_kernel.dylib 0x3bed652e8 mach_msg 4 CoreFoundation 0x3437a4ac0 __CFRunLoopServiceMachPort 5 CoreFoundation 0x3437a5d04 __CFRunLoopRun 6 CoreFoundation 0x3437aaeac CFRunLoopRunSpecific 7 Flutter 0x1045ba54c 8 Flutter 0x1045ba03c 9 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 10 name: io.flutter.1.io 0 libsystem_kernel.dylib 0x3bed64da8 mach_msg2_trap 1 libsystem_kernel.dylib 0x3bed77a18 mach_msg2_internal 2 libsystem_kernel.dylib 0x3bed77c58 mach_msg_overwrite 3 libsystem_kernel.dylib 0x3bed652e8 mach_msg 4 CoreFoundation 0x3437a4ac0 __CFRunLoopServiceMachPort 5 CoreFoundation 0x3437a5d04 __CFRunLoopRun 6 CoreFoundation 0x3437aaeac CFRunLoopRunSpecific 7 Flutter 0x1045ba54c 8 Flutter 0x1045ba03c 9 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 11 name: io.worker.1 0 libsystem_kernel.dylib 0x3bed6567c __psynch_cvwait 1 libsystem_pthread.dylib 0x3dfc34068 _pthread_cond_wait 2 Flutter 0x10431ca60 3 Flutter 0x1045b40cc 4 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 12 name: io.worker.2 0 libsystem_kernel.dylib 0x3bed6567c __psynch_cvwait 1 libsystem_pthread.dylib 0x3dfc34068 _pthread_cond_wait 2 Flutter 0x10431ca60 3 Flutter 0x1045b40cc 4 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 13 name: io.worker.3 0 libsystem_kernel.dylib 0x3bed6567c __psynch_cvwait 1 libsystem_pthread.dylib 0x3dfc34068 _pthread_cond_wait 2 Flutter 0x10431ca60 3 Flutter 0x1045b40cc 4 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 14 name: io.worker.4 0 libsystem_kernel.dylib 0x3bed6567c __psynch_cvwait 1 libsystem_pthread.dylib 0x3dfc34068 _pthread_cond_wait 2 Flutter 0x10431ca60 3 Flutter 0x1045b40cc 4 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 15 name: io.worker.5 0 libsystem_kernel.dylib 0x3bed6567c __psynch_cvwait 1 libsystem_pthread.dylib 0x3dfc34068 _pthread_cond_wait 2 Flutter 0x10431ca60 3 Flutter 0x1045b40cc 4 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 16 name: io.worker.6 0 libsystem_kernel.dylib 0x3bed6567c __psynch_cvwait 1 libsystem_pthread.dylib 0x3dfc34068 _pthread_cond_wait 2 Flutter 0x10431ca60 3 Flutter 0x1045b40cc 4 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 17 name: dart:io EventHandler 0 libsystem_kernel.dylib 0x3bed666e0 kevent 1 Flutter 0x1047ab7e0 2 Flutter 0x1047da780 3 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 18 name: JavaScriptCore libpas scavenger 0 libsystem_kernel.dylib 0x3bed6567c __psynch_cvwait 1 libsystem_pthread.dylib 0x3dfc34068 _pthread_cond_wait 2 JavaScriptCore 0x36a5e3104 3 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 19 0 libsystem_kernel.dylib 0x3bed652b0 __workq_kernreturn 1 libsystem_pthread.dylib 0x3dfc2ce40 _pthread_wqthread Thread 20 0 libsystem_kernel.dylib 0x3bed65268 __semwait_signal 1 libsystem_c.dylib 0x3523f97d4 nanosleep 2 libsystem_c.dylib 0x35240dad4 sleep 3 Sentry 0x10374cbdc + 676 4 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 21 name: SentryCrash Exception Handler (Secondary) 0 libsystem_kernel.dylib 0x3bed64da8 mach_msg2_trap 1 libsystem_kernel.dylib 0x3bed77a18 mach_msg2_internal 2 libsystem_kernel.dylib 0x3bed71984 thread_suspend 3 Sentry 0x103758e44 + 128 4 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 22 name: SentryCrash Exception Handler (Primary) 0 libsystem_kernel.dylib 0x3bed64da8 mach_msg2_trap 1 libsystem_kernel.dylib 0x3bed77a18 mach_msg2_internal 2 libsystem_kernel.dylib 0x3bed77c58 mach_msg_overwrite 3 libsystem_kernel.dylib 0x3bed652e8 mach_msg 4 Sentry 0x103758e70 + 172 5 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start Thread 23 name: io.sentry.app-hang-tracker 0 Foundation 0x337e5b518 __NSThread__start__ 1 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start 2 libsystem_pthread.dylib 0x3dfc2cba0 thread_start Thread 24 0 libsystem_kernel.dylib 0x3bed652b0 __workq_kernreturn 1 libsystem_pthread.dylib 0x3dfc2ce40 _pthread_wqthread Thread 25 0 libsystem_kernel.dylib 0x3bed658e0 __ulock_wait 1 libdispatch.dylib 0x35236a974 _dlock_wait 2 libdispatch.dylib 0x35236a728 _dispatch_thread_event_wait_slow 3 libdispatch.dylib 0x35237985c __DISPATCH_WAIT_FOR_QUEUE__ 4 libdispatch.dylib 0x352379408 _dispatch_sync_f_slow 5 Runner 0x202b351c8 6 Runner 0x202b4deb4 7 Runner 0x202b53f74 8 Runner 0x202b561a0 9 Runner 0x202b538f4 10 Runner 0x202ba480c 11 Runner 0x202b12abc 12 Runner 0x202b5366c 13 Runner 0x202b532b4 14 Runner 0x202b52ba0 15 Runner 0x202b52958 16 Runner 0x202b43438 17 Runner 0x202b421a0 18 Runner 0x202b4198c 19 Runner 0x202b40fe4 20 Runner 0x202b40ec4 21 Runner 0x202b99c50 22 libdispatch.dylib 0x35236845c _dispatch_call_block_and_release 23 libdispatch.dylib 0x352369f84 _dispatch_client_callout 24 libdispatch.dylib 0x35237163c _dispatch_lane_serial_drain 25 libdispatch.dylib 0x352372188 _dispatch_lane_invoke 26 libdispatch.dylib 0x35237ce0c _dispatch_workloop_worker_thread 27 libsystem_pthread.dylib 0x3dfc2cdf4 _pthread_wqthread Thread 26 name: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x3bed64da8 mach_msg2_trap 1 libsystem_kernel.dylib 0x3bed77a18 mach_msg2_internal 2 libsystem_kernel.dylib 0x3bed77c58 mach_msg_overwrite 3 libsystem_kernel.dylib 0x3bed652e8 mach_msg 4 CoreFoundation 0x3437a4ac0 __CFRunLoopServiceMachPort 5 CoreFoundation 0x3437a5d04 __CFRunLoopRun 6 CoreFoundation 0x3437aaeac CFRunLoopRunSpecific 7 CFNetwork 0x345ca9fec _CFURLStorageSessionDisableCache 8 Foundation 0x337e5b514 __NSThread__start__ 9 libsystem_pthread.dylib 0x3dfc2d6c8 _pthread_start EOF ```
danagbemava-nc commented 1 year ago

Hi @mortenthansen, can we get a list of affected devices and their various OS versions?

mortenthansen commented 1 year ago

This is the combination of iPhones and iOS versions that I have so far seen this happen to.

Click To Expand ``` iPhone15.3 - iOS 17.0 - iOS 16.6 iPhone15.3 - iOS 16.6 - iOS 16.5.1 iPhone14.8 - iOS 16.6 iPhone14.7 - iOS 16.6 - iOS 16.3.1 iPhone14.6 - iOS 16.5.1 iPhone14.5 - iOS 16.6 - iOS 16.5.1 - iOS 16.3.1 - iOS 16.2 - iOS 16.1.1 - iOS 16.0.2 iPhone14.4 - iOS 16.6 - iOS 16.5.1 iPhone14.3 - iOS 16.5.1 iPhone14.2 - iOS 16.6 - iOS 16.5.1 - iOS 16.1.2 iPhone13.4 - iOS 16.5.1 - iOS 16.5 - iOS 16.0 iPhone13.3 - iOS 16.6 - iOS 16.5.1 iPhone13.2 - iOS 16.6 - iOS 16.5.1 - iOS 16.3.1 iPhone13.1 - iOS 16.6 - iOS 16.5.1 iPhone12.8 - iOS 16.6 - iOS 16.5.1 - iOS 16.3.1 iPhone12.5 - iOS 16.6 - iOS 16.5.1 iPhone12.3 - iOS 16.6 - iOS 16.5.1 iPhone12.1 - iOS 16.6 - iOS 16.3 - iOS 16.2 - iOS 16.0 - iOS 16.5.1 - iOS 16.3.1 iPhone11.8 - iOS 16.6 - iOS 16.5.1 iPhone11.6 - iOS 16.6 - iOS 16.5.1 iPhone11.2 - iOS 16.6 - iOS 16.5.1 iPhone10.4 - iOS 16.6 - iOS 16.5.1 iPhone10.1 - iOS 16.6 ```
danagbemava-nc commented 1 year ago

Thanks for the details. There's a similar issue with dynamic links on in https://github.com/firebase/flutterfire/issues/11385 although this is a crash.

Labeling for further investigation based on the crash report and the affected device list.

russellwheatley commented 10 months ago

Hi folks, we'd like to inform you that the Firebase Dynamic Links service will be shutdown on August 25, 2025. In the meantime, only critical or security issues will be fixed in the SDK.

More at firebase.google.com/support/dynamic-links-faq