text:
Flutter WidgetTest stuck

I am trying to run the test below and it only works with code coverage otherwise it gets stuck.

Note: is a simple widget with a Row in it which contains maxRate stars and rate stars of them are drawn filled.

flutter doctor -v
[√] Flutter (Channel master, 3.8.0-13.0.pre.5, on Microsoft Windows [Version 10.0.19045.2486], locale en-US)
    • Flutter version 3.8.0-13.0.pre.5 on channel master at C:\FlutterSdk\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 17b4c70ff5 (9 days ago), 2023-02-14 10:07:02 +0000
    • Engine revision cbb7fc020b
    • Dart version 3.0.0 (build 3.0.0-233.0.dev)
    • DevTools version 2.21.1
    • Pub download mirror https://pub.flutter-io.cn

Command:
C:\FlutterSdk\flutter\bin\flutter.bat --no-color test --machine --start-paused test\shared\components\star_rate_test.dart

import 'package:drdubai/src/shared/components/star_rate.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgets('StarRate should show 1 star out of 5', (tester) async {
    await tester.runAsync(() async {
      await tester.pumpWidget(const MaterialApp(
        home: Scaffold(
          body: StarRate(
            rate: 1,
            maxRate: 5,
          ),
        ),
      ));
    });

    final findFilledIcons = find.byIcon(Icons.star_rounded);
    expect(findFilledIcons, findsNWidgets(1), reason: 'There is 1 filled star');

    final findOutlinedIcon = find.byIcon(Icons.star_border_rounded);
    expect(findOutlinedIcon, findsNWidgets(4), reason: 'There are 4 outlined stars');
  });
}

There is a missing StarRate widget as I see. Can you provide the complete sample code? Also, please provide the complete output of the test log as well. Thanks!

star_rate.dart
import 'package:flutter/material.dart';

class StarRate extends StatelessWidget {
  final double rate;
  final double maxRate;
  final Color color;
  final double iconSize;

  const StarRate(
      {Key? key,
      required this.rate,
      this.maxRate = 5,
      this.color = Colors.blue,
      this.iconSize = 14})
      : assert(rate <= maxRate),
        super(key: key);

  @override
  Widget build(BuildContext context) {
    return Row(
      children: [
        for (int i = 0; i < rate; i++)
          Icon(
            Icons.star_rounded,
            color: color,
            size: iconSize,
          ),
        for (int i = 0; i < maxRate - rate; i++)
          Icon(
            Icons.star_border_rounded,
            color: color,
            size: iconSize,
          ),
      ],
    );
  }
}

star_rate_test.dart
import 'package:drdubai/src/shared/components/star_rate.dart';
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgets('StarRate should show 1 star out of 5', (tester) async {
    await tester.runAsync(() async {
      await tester.pumpWidget(const MaterialApp(
        home: Scaffold(
          body: StarRate(
            rate: 1,
            maxRate: 5,
            color: Colors.red,
            iconSize: 12,
          ),
        ),
      ));

      final findFilledIcons = find.byType(Icon);
      expect(findFilledIcons, findsNWidgets(5), reason: 'There are 5 star icon');

      expect((tester.firstWidget(findFilledIcons) as Icon).icon, Icons.star_rounded, reason: 'The icon is `star_rounded`');
      expect((tester.firstWidget(findFilledIcons) as Icon).color, Colors.red, reason: 'The color of filled star is `red`');
      expect((tester.firstWidget(findFilledIcons) as Icon).size, 12, reason: 'The size of all stars are `12`');

      final findOutlinedIcon = find.byIcon(Icons.star_border_rounded);
      expect(findOutlinedIcon, findsNWidgets(4), reason: 'There are `4` outlined stars');
    });
  });
}

I ran this test but it succeeded from my end. Can you share the complete output of the flutter test command with verbose?

@huycozy  When I ran flutter test my test passed perfectly fine.

But running the test using Android Studio :

The test can be completed normally on my end.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.7.5, on macOS 13.0.1 22A400 darwin-x64, locale en-EE)
    • Flutter version 3.7.5 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c07f788888 (5 days ago), 2023-02-22 17:52:33 -0600
    • Engine revision 0f359063c4
    • Dart version 2.19.2
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Users/huynq/Library/Java/JavaVirtualMachines/corretto-1.8.0_302/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment Corretto-8.302.08.1 (build 1.8.0_302-b08)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

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

[!] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[!] Android Studio
    • Android Studio at /Users/huynq/Downloads/Android Studio Preview.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
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • 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

[✓] VS Code (version 1.75.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 13 (API 33)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 110.0.5481.100

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

[!] Flutter (Channel master, 3.8.0-17.0.pre.39, on macOS 13.0.1 22A400 darwin-x64, locale en-EE)
    • Flutter version 3.8.0-17.0.pre.39 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 35f191576b (24 minutes ago), 2023-02-28 01:45:11 -0500
    • Engine revision 365f348645
    • Dart version 3.0.0 (build 3.0.0-277.0.dev)
    • DevTools version 2.22.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

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

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.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
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • 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

[✓] VS Code (version 1.75.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (3 available)
    • Pixel 3a (mobile) • 964AY0WL20 • android-arm64  • Android 12 (API 32)
    • macOS (desktop)   • macos      • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)      • chrome     • web-javascript • Google Chrome 110.0.5481.100

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

So, does the issue only happen with Android Studio? Can you check this within VSCode?
Also, which Android Studio version are you using? Please provide the output of flutter doctor -v.

authors: huycozy mhbdev


text:
Unexpected/surprising behavior due to metrics updates.

EDIT: I'm updating this ticket after further investigation. I believe I've root caused the issue. I'm leaving my original post down below for reference.
I believe the root cause of this issue is a crossover between two unexpected Flutter behaviors:

The first frame in release mode doesn't know the app's screen size, and therefore builds the widget tree with a size of zero.
ListViews will attempt to build children even when the list has no size.

In the demo code that I linked, the UI happens to start with a ListView that can have infinite children. That ListView is supposed to stop building as soon as it fills the viewport.
The ListView children happen to use AspectRatios, which set the height based on the width. The constraints passed to each list item are (0, 0 < h < infinity), i.e., forcing a width of zero. That zero width, combined with the AspectRatio, forces an overall child size of zero. As a result, the ListView builds children infinitely, because the children have zero size, and they never fill the viewport.
Technically, this could be described as user error. However, this situation is so unexpected, and difficult to track down, that I'm tempted to call this a bug. We spent days trying to figure out what was going on here. I'm not sure what the best alteration would be, but I think something should be done to remove the Flutter footgun in this scenario.

I'm seeing a couple variations of an issue where Flutter UIs never appear. In my team's primary app, we get a white screen that never goes away. In a minimal repro app, we get the Flutter splash screen that never goes away.
Repro steps:

Uninstall any previous version of the given app
flutter clean
flutter pub get
Build and run in RELEASE mode

Flutter version:
Flutter 3.7.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 62bd79521d (5 days ago) • 2023-03-30 10:59:36 -0700
Engine • revision ec975089ac
Tools • Dart 2.19.6 • DevTools 2.20.1

For the white screen problem in our main app, we've gotten the problem to repro all the way back into the previous major stable release. But we can't share that code, so we're limited to what's in this ticket.
Test device: Samsung Tab S6
Here's a repository with a minimal Flutter project where this problem happens. There's some Dart code in there that I copied and tore apart from another project. My intuition is that the Dart code isn't relevant.
https://github.com/matthew-carroll/flutter_bug_repro
https://user-images.githubusercontent.com/7259036/229954117-b69d9b8d-4e8a-4fe0-a266-40338a6e4b32.MOV

It's been reported several times that having the Size(0, 0) behaviour only in release mode is a huge footgun:
https://github.com/flutter/flutter/issues/14113
https://github.com/flutter/flutter/issues/101478
https://github.com/flutter/flutter/issues/102963

@matthew-carroll
🤔 This sound like the same issue i've been having recently, but in my case it's on iOS simulator debug mode.
Not sure it's quite the same but this is what happens on my side:

The app launches but it stays on splash screen for about a minute or more
Then I get the window that has the error info below ⬇
More waiting time passes and...
After doing nothing and touching nothing, the app proceeds to fully launch as expected

Here's the report i got from "Problem Report for runner":
Incident Identifier: EC7BDDED-0D16-4C6A-8EC3-1E5ED4E0D5E8
CrashReporter Key:   76820792-D041-21D4-E3E6-843330DEC992
Hardware Model:      MacBookPro18,3
Process:             Runner [72044]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/23514999-5C83-4E98-BCA8-EC20F4FDDD8A/data/Containers/Bundle/Application/4212085C-66BC-4AE3-A3EF-FE05FDC2D8B9/Runner.app/Runner
Identifier:          MY_BUNDLE_ID
Version:             0.16.5 (77)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [70569]
Coalition:           com.apple.CoreSimulator.SimDevice.23514999-5C83-4E98-BCA8-EC20F4FDDD8A [16465]
Responsible Process: SimulatorTrampoline [1544]

Date/Time:           2023-04-07 20:36:21.1114 +0100
Launch Time:         2023-04-07 18:08:44.3045 +0100
OS Version:          macOS 13.3 (22E252)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: FRONTBOARD 2343432205
<RBSTerminateContext| domain:10 code:0x8BADF00D explanation:[application<MY_BUNDLE_ID>:72044] failed to terminate gracefully after 5.0s
ProcessVisibility: Unknown
ProcessState: Running
WatchdogEvent: process-exit
WatchdogVisibility: Background
WatchdogCPUStatistics: (
"Elapsed total CPU time (seconds): 577.920 (user 470.690, system 107.230), 93% CPU",
"Elapsed application CPU time (seconds): 1.753, 0% CPU"
) reportType:CrashLog maxTerminationResistance:Interactive>

Additional details from the one above is much Longer:
Problem Details

Triggered by Thread:  0

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x1b17e10dc __psynch_rw_wrlock + 8
1   libsystem_pthread.dylib       	       0x1b1836bd4 _pthread_rwlock_lock_wait + 80
2   libsystem_pthread.dylib       	       0x1b1834e70 _pthread_rwlock_lock_slow + 704
3   Flutter                       	       0x112de8cac fml::SyncSwitch::SetSwitch(bool) + 44
4   Flutter                       	       0x112edcf8c flutter::Shell::SetGpuAvailability(flutter::GpuAvailability) + 336
5   Flutter                       	       0x112ac040c -[FlutterEngine setIsGpuDisabled:] + 44
6   Flutter                       	       0x112ac03bc -[FlutterEngine applicationDidEnterBackground:] + 32
7   CoreFoundation                	       0x10f316ff8 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 140
8   CoreFoundation                	       0x10f316f1c ___CFXRegistrationPost_block_invoke + 84
9   CoreFoundation                	       0x10f316424 _CFXRegistrationPost + 404
10  CoreFoundation                	       0x10f315e10 _CFXNotificationPost + 664
11  Foundation                    	       0x10603109c -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
12  UIKitCore                     	       0x11ce00954 __47-[UIApplication _applicationDidEnterBackground]_block_invoke + 192
13  UIKitCore                     	       0x11c76b36c +[UIViewController _performWithoutDeferringTransitionsAllowingAnimation:actions:] + 132
14  UIKitCore                     	       0x11ce0082c -[UIApplication _applicationDidEnterBackground] + 92
15  UIKitCore                     	       0x11c54edfc __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke_2 + 584
16  UIKitCore                     	       0x11ca1b44c _UIScenePerformActionsWithLifecycleActionMask + 96
17  UIKitCore                     	       0x11c54eb24 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 188
18  UIKitCore                     	       0x11c54e68c -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 212
19  UIKitCore                     	       0x11c54e97c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 588
20  UIKitCore                     	       0x11c54e374 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 248
21  UIKitCore                     	       0x11c3c13f4 -[UIScene _invalidate] + 632
22  UIKitCore                     	       0x11d025eac -[UIWindowScene _invalidate] + 144
23  UIKitCore                     	       0x11cdf8b44 -[UIApplication workspace:willDestroyScene:withTransitionContext:completion:] + 176
24  UIKitCore                     	       0x11c957424 -[UIApplicationSceneClientAgent scene:willInvalidateWithEvent:completion:] + 260
25  FrontBoardServices            	       0x112166e18 -[FBSScene _callOutQueue_agent_willDestroyWithTransitionContext:completion:] + 208
26  FrontBoardServices            	       0x11218f538 __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke_2 + 92
27  FrontBoardServices            	       0x112172704 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 160
28  FrontBoardServices            	       0x11218f3d0 __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke + 244
29  libdispatch.dylib             	       0x10acb3708 _dispatch_client_callout + 16
30  libdispatch.dylib             	       0x10acb7644 _dispatch_block_invoke_direct + 376
31  FrontBoardServices            	       0x1121acf14 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 44
32  FrontBoardServices            	       0x1121ace08 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 176
33  FrontBoardServices            	       0x1121acf48 -[FBSSerialQueue _performNextFromRunLoopSource] + 24
34  CoreFoundation                	       0x10f345c6c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
35  CoreFoundation                	       0x10f345bb4 __CFRunLoopDoSource0 + 172
36  CoreFoundation                	       0x10f345324 __CFRunLoopDoSources0 + 232
37  CoreFoundation                	       0x10f33f958 __CFRunLoopRun + 748
38  CoreFoundation                	       0x10f33f254 CFRunLoopRunSpecific + 584
39  GraphicsServices              	       0x1113bfc9c GSEventRunModal + 160
40  UIKitCore                     	       0x11cdf6ff0 -[UIApplication _run] + 868
41  UIKitCore                     	       0x11cdfaf3c UIApplicationMain + 124
42  Runner                        	       0x104cc43d0 main + 64
43  dyld_sim                      	       0x10504d514 start_sim + 20
44  dyld                          	       0x105215f28 start + 2236

Thread 1:: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib        	       0x1b17dc190 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1b17ed258 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x1b17e4398 mach_msg_overwrite + 540
3   libsystem_kernel.dylib        	       0x1b17dc500 mach_msg + 20
4   CoreFoundation                	       0x10f3454a8 __CFRunLoopServiceMachPort + 156
5   CoreFoundation                	       0x10f33fad4 __CFRunLoopRun + 1128
6   CoreFoundation                	       0x10f33f254 CFRunLoopRunSpecific + 584
7   Foundation                    	       0x1060774bc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208
8   Foundation                    	       0x1060776e0 -[NSRunLoop(NSRunLoop) runUntilDate:] + 60
9   UIKitCore                     	       0x11ce96714 -[UIEventFetcher threadMain] + 404
10  Foundation                    	       0x10609cde0 __NSThread__start__ + 704
11  libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
12  libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 2:: io.flutter.1.ui
0   libsystem_kernel.dylib        	       0x1b17dc190 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1b17ed258 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x1b17e4398 mach_msg_overwrite + 540
3   libsystem_kernel.dylib        	       0x1b17dc500 mach_msg + 20
4   CoreFoundation                	       0x10f3454a8 __CFRunLoopServiceMachPort + 156
5   CoreFoundation                	       0x10f33fad4 __CFRunLoopRun + 1128
6   CoreFoundation                	       0x10f33f254 CFRunLoopRunSpecific + 584
7   Flutter                       	       0x112dec260 fml::MessageLoopDarwin::Run() + 88
8   Flutter                       	       0x112de5790 fml::MessageLoopImpl::DoRun() + 40
9   Flutter                       	       0x112deaf3c 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*) + 208
10  libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
11  libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 3:: io.flutter.1.raster
0   libsystem_kernel.dylib        	       0x1b17e112c __psynch_rw_rdlock + 8
1   libsystem_pthread.dylib       	       0x1b1836bcc _pthread_rwlock_lock_wait + 72
2   libsystem_pthread.dylib       	       0x1b1834e70 _pthread_rwlock_lock_slow + 704
3   Flutter                       	       0x112de8c3c fml::SyncSwitch::Execute(fml::SyncSwitch::Handlers const&) const + 44
4   Flutter                       	       0x112eceaec flutter::Rasterizer::DrawToSurface(flutter::FrameTimingsRecorder&, flutter::LayerTree&) + 264
5   Flutter                       	       0x112ecfe78 flutter::Rasterizer::DoDraw(std::__1::unique_ptr<flutter::FrameTimingsRecorder, std::__1::default_delete<flutter::FrameTimingsRecorder>>, std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree>>) + 120
6   Flutter                       	       0x112ed1290 std::__1::__function::__func<flutter::Rasterizer::Draw(std::__1::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem>>, std::__1::function<bool (flutter::LayerTree&)>)::$_2, std::__1::allocator<flutter::Rasterizer::Draw(std::__1::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem>>, std::__1::function<bool (flutter::LayerTree&)>)::$_2>, void (std::__1::unique_ptr<flutter::LayerTreeItem, std::__1::default_delete<flutter::LayerTreeItem>>)>::operator()(std::__1::unique_ptr<flutter::LayerTreeItem, std::__1::default_delete<flutter::LayerTreeItem>>&&) + 180
7   Flutter                       	       0x112ecf278 flutter::Pipeline<flutter::LayerTreeItem>::Consume(std::__1::function<void (std::__1::unique_ptr<flutter::LayerTreeItem, std::__1::default_delete<flutter::LayerTreeItem>>)> const&) + 176
8   Flutter                       	       0x112ecec9c flutter::Rasterizer::Draw(std::__1::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem>>, std::__1::function<bool (flutter::LayerTree&)>) + 152
9   Flutter                       	       0x112ee4fb4 std::__1::__function::__func<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::__1::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem>>)::$_13>, std::__1::allocator<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::__1::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem>>)::$_13>>, void ()>::operator()() + 152
10  Flutter                       	       0x112de5878 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 152
11  Flutter                       	       0x112dec130 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32
12  CoreFoundation                	       0x10f34631c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
13  CoreFoundation                	       0x10f345fd8 __CFRunLoopDoTimer + 868
14  CoreFoundation                	       0x10f3456c4 __CFRunLoopDoTimers + 284
15  CoreFoundation                	       0x10f33fd58 __CFRunLoopRun + 1772
16  CoreFoundation                	       0x10f33f254 CFRunLoopRunSpecific + 584
17  Flutter                       	       0x112dec260 fml::MessageLoopDarwin::Run() + 88
18  Flutter                       	       0x112de5790 fml::MessageLoopImpl::DoRun() + 40
19  Flutter                       	       0x112deaf3c 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*) + 208
20  libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
21  libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 4:: io.flutter.1.io
0   Flutter                       	       0x112b3fe98 SkMipmap::Build(SkPixmap const&, SkDiscardableMemory* (*)(unsigned long), bool) + 1880
1   Flutter                       	       0x112c6abb0 GrProxyProvider::createMippedProxyFromBitmap(SkBitmap const&, SkBudgeted) + 140
2   Flutter                       	       0x112c6a8fc GrProxyProvider::createProxyFromBitmap(SkBitmap const&, GrMipmapped, SkBackingFit, SkBudgeted) + 480
3   Flutter                       	       0x112cbac84 make_bmp_proxy(GrProxyProvider*, SkBitmap const&, GrColorType, GrMipmapped, SkBackingFit, SkBudgeted) + 248
4   Flutter                       	       0x112cbad70 GrMakeUncachedBitmapProxyView(GrRecordingContext*, SkBitmap const&, GrMipmapped, SkBackingFit, SkBudgeted) + 176
5   Flutter                       	       0x112cbde08 SkImage::MakeCrossContextFromPixmap(GrDirectContext*, SkPixmap const&, bool, bool) + 372
6   Flutter                       	       0x112fd6824 std::__1::__function::__func<flutter::MultiFrameCodec::State::GetNextFrameImage(fml::WeakPtr<GrDirectContext>, std::__1::shared_ptr<fml::SyncSwitch const> const&)::$_4, std::__1::allocator<flutter::MultiFrameCodec::State::GetNextFrameImage(fml::WeakPtr<GrDirectContext>, std::__1::shared_ptr<fml::SyncSwitch const> const&)::$_4>, void ()>::operator()() + 300
7   Flutter                       	       0x112de8c58 fml::SyncSwitch::Execute(fml::SyncSwitch::Handlers const&) const + 72
8   Flutter                       	       0x112fd5ce4 flutter::MultiFrameCodec::State::GetNextFrameImage(fml::WeakPtr<GrDirectContext>, std::__1::shared_ptr<fml::SyncSwitch const> const&) + 828
9   Flutter                       	       0x112fd5eb4 flutter::MultiFrameCodec::State::GetNextFrameAndInvokeCallback(std::__1::unique_ptr<tonic::DartPersistentValue, std::__1::default_delete<tonic::DartPersistentValue>>, fml::RefPtr<fml::TaskRunner>, fml::WeakPtr<GrDirectContext>, fml::RefPtr<flutter::UnrefQueue<GrDirectContext>>, std::__1::shared_ptr<fml::SyncSwitch const> const&, unsigned long) + 120
10  Flutter                       	       0x112fd70e4 std::__1::__function::__func<fml::internal::CopyableLambda<flutter::MultiFrameCodec::getNextFrame(_Dart_Handle*)::$_2>, std::__1::allocator<fml::internal::CopyableLambda<flutter::MultiFrameCodec::getNextFrame(_Dart_Handle*)::$_2>>, void ()>::operator()() + 200
11  Flutter                       	       0x112de5878 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 152
12  Flutter                       	       0x112dec130 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32
13  CoreFoundation                	       0x10f34631c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
14  CoreFoundation                	       0x10f345fd8 __CFRunLoopDoTimer + 868
15  CoreFoundation                	       0x10f3456c4 __CFRunLoopDoTimers + 284
16  CoreFoundation                	       0x10f33fd58 __CFRunLoopRun + 1772
17  CoreFoundation                	       0x10f33f254 CFRunLoopRunSpecific + 584
18  Flutter                       	       0x112dec260 fml::MessageLoopDarwin::Run() + 88
19  Flutter                       	       0x112de5790 fml::MessageLoopImpl::DoRun() + 40
20  Flutter                       	       0x112deaf3c 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*) + 208
21  libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
22  libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 5:: io.flutter.1.profiler
0   libsystem_kernel.dylib        	       0x1b17dc190 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1b17ed258 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x1b17e4398 mach_msg_overwrite + 540
3   libsystem_kernel.dylib        	       0x1b17dc500 mach_msg + 20
4   CoreFoundation                	       0x10f3454a8 __CFRunLoopServiceMachPort + 156
5   CoreFoundation                	       0x10f33fad4 __CFRunLoopRun + 1128
6   CoreFoundation                	       0x10f33f254 CFRunLoopRunSpecific + 584
7   Flutter                       	       0x112dec260 fml::MessageLoopDarwin::Run() + 88
8   Flutter                       	       0x112de5790 fml::MessageLoopImpl::DoRun() + 40
9   Flutter                       	       0x112deaf3c 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*) + 208
10  libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
11  libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 6:: io.worker.1
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   libc++.1.dylib                	       0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3   Flutter                       	       0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144
4   Flutter                       	       0x112de2e10 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*) + 184
5   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
6   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 7:: io.worker.2
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   libc++.1.dylib                	       0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3   Flutter                       	       0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144
4   Flutter                       	       0x112de2e10 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*) + 184
5   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
6   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 8:: io.worker.3
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   libc++.1.dylib                	       0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3   Flutter                       	       0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144
4   Flutter                       	       0x112de2e10 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*) + 184
5   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
6   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 9:: io.worker.4
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   libc++.1.dylib                	       0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3   Flutter                       	       0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144
4   Flutter                       	       0x112de2e10 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*) + 184
5   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
6   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 10:: io.worker.5
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   libc++.1.dylib                	       0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3   Flutter                       	       0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144
4   Flutter                       	       0x112de2e10 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*) + 184
5   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
6   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 11:: io.worker.6
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   libc++.1.dylib                	       0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3   Flutter                       	       0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144
4   Flutter                       	       0x112de2e10 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*) + 184
5   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
6   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 12:: io.worker.7
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   libc++.1.dylib                	       0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3   Flutter                       	       0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144
4   Flutter                       	       0x112de2e10 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*) + 184
5   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
6   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 13:: io.worker.8
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   libc++.1.dylib                	       0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3   Flutter                       	       0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144
4   Flutter                       	       0x112de2e10 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*) + 184
5   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
6   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 14:: io.worker.9
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   libc++.1.dylib                	       0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3   Flutter                       	       0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144
4   Flutter                       	       0x112de2e10 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*) + 184
5   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
6   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 15:: io.worker.10
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   libc++.1.dylib                	       0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3   Flutter                       	       0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144
4   Flutter                       	       0x112de2e10 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*) + 184
5   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
6   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 16:: dart:io EventHandler
0   libsystem_kernel.dylib        	       0x1b17e1d0c kevent + 8
1   Flutter                       	       0x112ff4560 dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 328
2   Flutter                       	       0x113013380 dart::bin::ThreadStart(void*) + 44
3   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
4   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 17:: Dart Profiler ThreadInterrupter
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b1838a10 _pthread_cond_wait + 1264
2   Flutter                       	       0x11319cb80 dart::Monitor::WaitMicros(long long) + 128
3   Flutter                       	       0x113214a50 dart::ThreadInterrupter::ThreadMain(unsigned long) + 404
4   Flutter                       	       0x11319c248 dart::ThreadStart(void*) + 164
5   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
6   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 18:: Dart Profiler SampleBlockProcessor
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b1838a10 _pthread_cond_wait + 1264
2   Flutter                       	       0x11319cb80 dart::Monitor::WaitMicros(long long) + 128
3   Flutter                       	       0x1131a1efc dart::SampleBlockProcessor::ThreadMain(unsigned long) + 188
4   Flutter                       	       0x11319c248 dart::ThreadStart(void*) + 164
5   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
6   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 19:: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib        	       0x1b17dc190 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1b17ed258 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x1b17e4398 mach_msg_overwrite + 540
3   libsystem_kernel.dylib        	       0x1b17dc500 mach_msg + 20
4   CoreFoundation                	       0x10f3454a8 __CFRunLoopServiceMachPort + 156
5   CoreFoundation                	       0x10f33fad4 __CFRunLoopRun + 1128
6   CoreFoundation                	       0x10f33f254 CFRunLoopRunSpecific + 584
7   CFNetwork                     	       0x11048420c 0x110278000 + 2146828
8   Foundation                    	       0x10609cde0 __NSThread__start__ + 704
9   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
10  libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 20::  Dispatch queue: com.google.firebase.firestore.rpc
0   libsystem_kernel.dylib        	       0x1b17e40a4 poll + 8
1   grpc                          	       0x10cff6db4 pollset_work(grpc_pollset*, grpc_pollset_worker**, long long) + 1444 (ev_poll_posix.cc:1026)
2   grpc                          	       0x10cffa908 pollset_work(grpc_pollset*, grpc_pollset_worker**, long long) + 124 (ev_posix.cc:323)
3   grpc                          	       0x10d152a64 grpc_pollset_work(grpc_pollset*, grpc_pollset_worker**, long long) + 52 (pollset.cc:48)
4   grpc                          	       0x10cfa925c cq_next(grpc_completion_queue*, gpr_timespec, void*) + 876 (completion_queue.cc:1047)
5   grpc                          	       0x10cfa85f4 grpc_completion_queue_next + 68 (completion_queue.cc:1126)
6   grpcpp                        	       0x10b38af0c grpc::CompletionQueue::AsyncNextInternal(void**, bool*, gpr_timespec) + 76 (completion_queue_cc.cc:146)
7   FirebaseFirestore             	       0x107a04764 grpc::CompletionQueue::Next(void**, bool*) + 116 (completion_queue.h:185)
8   FirebaseFirestore             	       0x107a04644 firebase::firestore::remote::Datastore::PollGrpcQueue() + 184 (datastore.cc:145)
9   FirebaseFirestore             	       0x107a0b134 firebase::firestore::remote::Datastore::Start()::$_0::operator()() const + 28 (datastore.cc:118)
10  FirebaseFirestore             	       0x107a0b10c decltype(std::declval<firebase::firestore::remote::Datastore::Start()::$_0&>()()) std::__1::__invoke[abi:v15006]<firebase::firestore::remote::Datastore::Start()::$_0&>(firebase::firestore::remote::Datastore::Start()::$_0&) + 24 (invoke.h:394)
11  FirebaseFirestore             	       0x107a0b0c4 void std::__1::__invoke_void_return_wrapper<void, true>::__call<firebase::firestore::remote::Datastore::Start()::$_0&>(firebase::firestore::remote::Datastore::Start()::$_0&) + 24 (invoke.h:479)
12  FirebaseFirestore             	       0x107a0b0a0 std::__1::__function::__alloc_func<firebase::firestore::remote::Datastore::Start()::$_0, std::__1::allocator<firebase::firestore::remote::Datastore::Start()::$_0>, void ()>::operator()[abi:v15006]() + 28 (function.h:185)
13  FirebaseFirestore             	       0x107a09f14 std::__1::__function::__func<firebase::firestore::remote::Datastore::Start()::$_0, std::__1::allocator<firebase::firestore::remote::Datastore::Start()::$_0>, void ()>::operator()() + 28 (function.h:359)
14  FirebaseFirestore             	       0x107992f24 std::__1::__function::__value_func<void ()>::operator()[abi:v15006]() const + 68 (function.h:512)
15  FirebaseFirestore             	       0x1079905bc std::__1::function<void ()>::operator()() const + 24 (function.h:1197)
16  FirebaseFirestore             	       0x107d980a4 firebase::firestore::util::Task::ExecuteAndRelease() + 180 (task.cc:102)
17  FirebaseFirestore             	       0x107a6f8b8 firebase::firestore::util::ExecutorLibdispatch::InvokeAsync(void*) + 32 (executor_libdispatch.mm:237)
18  libdispatch.dylib             	       0x10acb3708 _dispatch_client_callout + 16
19  libdispatch.dylib             	       0x10acbb77c _dispatch_lane_serial_drain + 776
20  libdispatch.dylib             	       0x10acbc3dc _dispatch_lane_invoke + 392
21  libdispatch.dylib             	       0x10acc8608 _dispatch_workloop_worker_thread + 768
22  libsystem_pthread.dylib       	       0x1b1834878 _pthread_wqthread + 284
23  libsystem_pthread.dylib       	       0x1b183363c start_wqthread + 8

Thread 21:: com.apple.coreaudio.AQClient
0   libsystem_kernel.dylib        	       0x1b17dc190 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1b17ed258 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x1b17e4398 mach_msg_overwrite + 540
3   libsystem_kernel.dylib        	       0x1b17dc500 mach_msg + 20
4   CoreFoundation                	       0x10f3454a8 __CFRunLoopServiceMachPort + 156
5   CoreFoundation                	       0x10f33fad4 __CFRunLoopRun + 1128
6   CoreFoundation                	       0x10f33f254 CFRunLoopRunSpecific + 584
7   AudioToolbox                  	       0x12102b538 CADeprecated::GenericRunLoopThread::Entry(void*) + 156
8   libAudioToolboxUtility.dylib  	       0x11a383fd0 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 88
9   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
10  libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 22:: caulk.messenger.shared:high
0   libsystem_kernel.dylib        	       0x1b17dc10c semaphore_wait_trap + 8
1   caulk                         	       0x11a655874 caulk::semaphore::timed_wait(double) + 208
2   caulk                         	       0x11a65be58 caulk::concurrent::details::worker_thread::run() + 32
3   caulk                         	       0x11a65becc void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 48
4   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
5   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 23:: com.apple.audio.IOThread.client
0   libsystem_kernel.dylib        	       0x1b17dc190 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1b17ed258 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x1b17e4398 mach_msg_overwrite + 540
3   libsystem_kernel.dylib        	       0x1b17dc500 mach_msg + 20
4   CoreAudio                     	       0x121a05964 HALC_ProxyIOContext::IOWorkLoop() + 4172
5   CoreAudio                     	       0x121a0428c invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 112
6   CoreAudio                     	       0x121acf6f8 HALB_IOThread::Entry(void*) + 80
7   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
8   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 24:
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   grpc                          	       0x10d2b0ab4 gpr_cv_wait + 104 (sync_posix.cc:126)
3   grpc                          	       0x10cfff178 grpc_core::Executor::ThreadMain(void*) + 424 (executor.cc:238)
4   grpc                          	       0x10d2c6024 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::operator()(void*) const + 256 (thd_posix.cc:140)
5   grpc                          	       0x10d2c5f18 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::__invoke(void*) + 28 (thd_posix.cc:110)
6   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
7   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 25:
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   grpc                          	       0x10d2b0ab4 gpr_cv_wait + 104 (sync_posix.cc:126)
3   grpc                          	       0x10cfff178 grpc_core::Executor::ThreadMain(void*) + 424 (executor.cc:238)
4   grpc                          	       0x10d2c6024 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::operator()(void*) const + 256 (thd_posix.cc:140)
5   grpc                          	       0x10d2c5f18 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::__invoke(void*) + 28 (thd_posix.cc:110)
6   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
7   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 26:
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   grpc                          	       0x10d2b0ab4 gpr_cv_wait + 104 (sync_posix.cc:126)
3   grpc                          	       0x10d2cdae4 wait_until(long long) + 460 (timer_manager.cc:200)
4   grpc                          	       0x10d2cd6ac timer_main_loop() + 188 (timer_manager.cc:255)
5   grpc                          	       0x10d2cd5ac timer_thread(void*) + 32 (timer_manager.cc:284)
6   grpc                          	       0x10d2c6024 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::operator()(void*) const + 256 (thd_posix.cc:140)
7   grpc                          	       0x10d2c5f18 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::__invoke(void*) + 28 (thd_posix.cc:110)
8   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
9   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 27:: com.apple.coremedia.imagequeue.coreanimation.common
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   CoreMedia                     	       0x11b93cb0c WaitOnCondition + 16
3   CoreMedia                     	       0x11b93c7b0 FigSemaphoreWaitRelative + 160
4   MediaToolbox                  	       0x1193c6d08 piqca_SharedPollingThread + 216
5   CoreMedia                     	       0x11b93d448 figThreadMain + 244
6   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
7   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 28:
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   grpc                          	       0x10d2b0b04 gpr_cv_wait + 184 (sync_posix.cc:140)
3   grpc                          	       0x10d2cdae4 wait_until(long long) + 460 (timer_manager.cc:200)
4   grpc                          	       0x10d2cd6ac timer_main_loop() + 188 (timer_manager.cc:255)
5   grpc                          	       0x10d2cd5ac timer_thread(void*) + 32 (timer_manager.cc:284)
6   grpc                          	       0x10d2c6024 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::operator()(void*) const + 256 (thd_posix.cc:140)
7   grpc                          	       0x10d2c5f18 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::__invoke(void*) + 28 (thd_posix.cc:110)
8   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
9   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 29:: com.apple.coremedia.audioqueue.source
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   CoreMedia                     	       0x11b93cb0c WaitOnCondition + 16
3   CoreMedia                     	       0x11b93c7b0 FigSemaphoreWaitRelative + 160
4   MediaToolbox                  	       0x119218ed4 faq_enqueueSourceDataThread + 28
5   CoreMedia                     	       0x11b93d448 figThreadMain + 244
6   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
7   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 30:: com.apple.coremedia.audioqueue.source
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   CoreMedia                     	       0x11b93cb0c WaitOnCondition + 16
3   CoreMedia                     	       0x11b93c7b0 FigSemaphoreWaitRelative + 160
4   MediaToolbox                  	       0x119218ed4 faq_enqueueSourceDataThread + 28
5   CoreMedia                     	       0x11b93d448 figThreadMain + 244
6   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
7   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 31:: com.apple.coremedia.audiomentor
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   CoreMedia                     	       0x11b93cb0c WaitOnCondition + 16
3   CoreMedia                     	       0x11b93c7b0 FigSemaphoreWaitRelative + 160
4   MediaToolbox                  	       0x1192f6194 audioMentorThread + 7384
5   CoreMedia                     	       0x11b93d448 figThreadMain + 244
6   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
7   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 32:: com.apple.coremedia.audiomentor
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   CoreMedia                     	       0x11b93cb0c WaitOnCondition + 16
3   CoreMedia                     	       0x11b93c7b0 FigSemaphoreWaitRelative + 160
4   MediaToolbox                  	       0x1192f6194 audioMentorThread + 7384
5   CoreMedia                     	       0x11b93d448 figThreadMain + 244
6   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
7   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 33:: com.apple.coremedia.audioqueue.source
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   CoreMedia                     	       0x11b93cb0c WaitOnCondition + 16
3   CoreMedia                     	       0x11b93c7b0 FigSemaphoreWaitRelative + 160
4   MediaToolbox                  	       0x119218ed4 faq_enqueueSourceDataThread + 28
5   CoreMedia                     	       0x11b93d448 figThreadMain + 244
6   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
7   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 34:: com.apple.coremedia.audiomentor
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   CoreMedia                     	       0x11b93cb0c WaitOnCondition + 16
3   CoreMedia                     	       0x11b93c7b0 FigSemaphoreWaitRelative + 160
4   MediaToolbox                  	       0x1192f560c audioMentorThread + 4432
5   CoreMedia                     	       0x11b93d448 figThreadMain + 244
6   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
7   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 35:: AQConverterThread
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   libAudioToolboxUtility.dylib  	       0x11a3a1c8c CADeprecated::CAGuard::Wait() + 56
3   AudioToolbox                  	       0x120fff9fc AQConverterManager::AQConverterThread::ConverterThreadEntry(void*) + 696
4   libAudioToolboxUtility.dylib  	       0x11a383fd0 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 88
5   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
6   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 36:: com.apple.coremedia.audioqueue.source
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   CoreMedia                     	       0x11b93cb0c WaitOnCondition + 16
3   CoreMedia                     	       0x11b93c7b0 FigSemaphoreWaitRelative + 160
4   MediaToolbox                  	       0x119218ed4 faq_enqueueSourceDataThread + 28
5   CoreMedia                     	       0x11b93d448 figThreadMain + 244
6   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
7   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 37:: com.apple.coremedia.audiomentor
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   CoreMedia                     	       0x11b93cb0c WaitOnCondition + 16
3   CoreMedia                     	       0x11b93c7b0 FigSemaphoreWaitRelative + 160
4   MediaToolbox                  	       0x1192f6194 audioMentorThread + 7384
5   CoreMedia                     	       0x11b93d448 figThreadMain + 244
6   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
7   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 38:: com.apple.coremedia.audioqueue.source
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   CoreMedia                     	       0x11b93cb0c WaitOnCondition + 16
3   CoreMedia                     	       0x11b93c7b0 FigSemaphoreWaitRelative + 160
4   MediaToolbox                  	       0x119218ed4 faq_enqueueSourceDataThread + 28
5   CoreMedia                     	       0x11b93d448 figThreadMain + 244
6   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
7   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 39:: com.apple.coremedia.audiomentor
0   libsystem_kernel.dylib        	       0x1b17df694 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1b18389e4 _pthread_cond_wait + 1220
2   CoreMedia                     	       0x11b93cb0c WaitOnCondition + 16
3   CoreMedia                     	       0x11b93c7b0 FigSemaphoreWaitRelative + 160
4   MediaToolbox                  	       0x1192f6194 audioMentorThread + 7384
5   CoreMedia                     	       0x11b93d448 figThreadMain + 244
6   libsystem_pthread.dylib       	       0x1b1838428 _pthread_start + 116
7   libsystem_pthread.dylib       	       0x1b1833648 thread_start + 8

Thread 40::  Dispatch queue: com.google.fira.worker
0   libsystem_kernel.dylib        	       0x1b17ddd48 kevent_id + 8
1   libdispatch.dylib             	       0x10acd8a94 _dispatch_kq_poll + 216
2   libdispatch.dylib             	       0x10acd9580 _dispatch_event_loop_wait_for_ownership + 540
3   libdispatch.dylib             	       0x10acc41bc __DISPATCH_WAIT_FOR_QUEUE__ + 364
4   libdispatch.dylib             	       0x10acc3cd8 _dispatch_sync_f_slow + 160
5   Runner                        	       0x104d008e8 -[APMIdentity appleConsentStatus] + 112
6   Runner                        	       0x104d1a234 APMUpdateConsentSignalsAndIdentifiers + 264
7   Runner                        	       0x104d20388 -[APMMeasurement(Event) createRawEventMetadataWithUserAttributes:] + 1596
8   Runner                        	       0x104d225b4 -[APMMeasurement(Event) writeEvent:isPublicEvent:isRealtime:] + 768
9   Runner                        	       0x104d1fd08 __57-[APMMeasurement(Event) writeFilteredEventOnWorkerQueue:]_block_invoke + 604
10  Runner                        	       0x104d72a80 -[APMSqliteStore performTransactionWithError:block:] + 176
11  Runner                        	       0x104cde850 -[APMDatabase performTransaction:] + 48
12  Runner                        	       0x104d1fa80 -[APMMeasurement(Event) writeFilteredEventOnWorkerQueue:] + 264
13  Runner                        	       0x104d1f6c8 -[APMMeasurement(Event) writeEventOnWorkerQueue:] + 1444
14  Runner                        	       0x104d1efb4 -[APMMeasurement(Event) handleEventOnWorkerQueue:] + 540
15  Runner                        	       0x104d130a8 -[APMMeasurement logEventOnWorkerQueue:notifyEventListeners:] + 76
16  Runner                        	       0x104d13058 -[APMMeasurement logEventOnWorkerQueueWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:] + 708
17  Runner                        	       0x104d12cec __151-[APMMeasurement logEventWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:]_block_invoke + 68
18  Runner                        	       0x104d67ec8 __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 44
19  libdispatch.dylib             	       0x10acb1ee4 _dispatch_call_block_and_release + 24
20  libdispatch.dylib             	       0x10acb3708 _dispatch_client_callout + 16
21  libdispatch.dylib             	       0x10acbb77c _dispatch_lane_serial_drain + 776
22  libdispatch.dylib             	       0x10acbc3dc _dispatch_lane_invoke + 392
23  libdispatch.dylib             	       0x10acc8608 _dispatch_workloop_worker_thread + 768
24  libsystem_pthread.dylib       	       0x1b1834878 _pthread_wqthread + 284
25  libsystem_pthread.dylib       	       0x1b183363c start_wqthread + 8

Thread 41:
0   libsystem_pthread.dylib       	       0x1b1833634 start_wqthread + 0

Thread 42:
0   libsystem_pthread.dylib       	       0x1b1833634 start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000004   x1: 0x0000000000000000   x2: 0xffffffff06bc5900   x3: 0x0000000006bc5b00
    x4: 0x0000000000000020   x5: 0x0000000000041c00   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x0000000000000000   x9: 0x06bc5b0106bc5b80  x10: 0x0000000006bc5b01  x11: 0x0000000006bc5b00
   x12: 0x0000000006bc5b00  x13: 0x0000000000000000  x14: 0x0000000000000000  x15: 0xffffffffffffffff
   x16: 0x0000000000000133  x17: 0x0000000112ac03e0  x18: 0x0000000000000000  x19: 0x00006000016c0278
   x20: 0xffffffff06bc5900  x21: 0x06bc5b0006bc5c85  x22: 0x0000000000000000  x23: 0x0000000006bc5b00
   x24: 0x00000001052ac320  x25: 0x0000000000000001  x26: 0x0000000000000000  x27: 0x0000000000000000
   x28: 0x06bc5b0106bc5b80   fp: 0x000000016b13b790   lr: 0x00000001b1836bd4
    sp: 0x000000016b13b760   pc: 0x00000001b17e10dc cpsr: 0x60001000
   far: 0x00000001078dd3d0  esr: 0x56000080  Address size fault

@Juliotati if you think it's the same issue that I described, you can confirm that by checking your layout size in your top level build() method. If it's zero, return a const SizedBox() for that frame. The frame after that will have non-zero size.
If that fixes your issue, then it's the same as mine. If it doesn't fix your issue, then you're probably dealing with something else.

Triage: Tried to take a quick stab at rewording the issue title. Following up with the framework folks to get some meaningful logging/error handling.

See discussion at https://github.com/flutter/flutter/issues/70147

source: gharchive/issue

authors: Juliotati chinmaygarde dnfield matthew-carroll xvrh

repo: flutter/flutter

license_type: permissive

license_source: github-api


text:
[tool_crash] FileSystemException: Cannot create link, OS Error: Incorrect function., errno = 1

Command
flutter pub get

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot create link, OS Error: Incorrect function.
, errno = 1
#0      _Link.throwIfError (dart:io/link.dart:254:7)
#1      _Link.createSync (dart:io/link.dart:182:5)
#2      ForwardingLink.createSync (package:file/src/forwarding/forwarding_link.dart:20:16)
#3      ForwardingLink.createSync (package:file/src/forwarding/forwarding_link.dart:20:16)
#4      _createPlatformPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:1055:12)
#5      createPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:985:5)
#6      refreshPluginsList (package:flutter_tools/src/flutter_plugins.dart:1087:5)
<asynchronous suspension>
#7      FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:355:5)
<asynchronous suspension>
#8      PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:326:7)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1294:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:296:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:244:5)
<asynchronous suspension>
#15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:91:9)

[✓] Flutter (Channel beta, 3.11.0-1.0.pre.1, on Microsoft Windows [Version 10.0.22621.1702], locale en-US)
    • Flutter version 3.11.0-1.0.pre.1 on channel beta at C:\dev\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 74e4b092e5 (11 days ago), 2023-05-10 07:08:22 -0700
    • Engine revision 992cdb6cd4
    • Dart version 3.1.0 (build 3.1.0-63.1.beta)
    • DevTools version 2.23.1

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\Users\Zi\AppData\Local\Android\sdk
    • Platform android-32, build-tools 32.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.15)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.32510.428
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2021.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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)

[✓] VS Code (version 1.78.2)
    • VS Code at C:\Users\Zi\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.64.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22621.1702]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 112.0.5615.138
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 113.0.1774.50

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: b4bce91dd0f168179d46a7ae5eceb3572ba9637a
Plugins
firebase_core-2.13.0
firebase_core_web-2.5.0

Closing this as a duplicate of https://github.com/flutter/flutter/issues/66224.

authors: ShihadOP huycozy


text:
WorkValidationException on add-to-app project for task ':flutter:copyFlutterAssetsRelease' on Gradle 8.1 and AGP 8.0

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Start compiling app (task :app:assembleRelease)

Flutter Stable 3.10.5
AGP 8.0.1
Gradle 8.1
Add-to-app module (named ':flutter' on logs)
Java 17
Android Studio Giraffe 2022.3.1 RC 1

Expected results
Build succeeds and app is installed on device.
Actual results
Build fails on task :flutter:copyFlutterAssetsRelease, after finishing all other native tasks for the project.
Screenshot below shows the tasks with warnings or failures for the current build.
Code sample
This issue is not related with Dart code.
Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':flutter:copyFlutterAssetsRelease' (type 'Copy').
  - Gradle detected a problem with the following location: '/home/strongville/[...]/flutter/.android/Flutter/build/intermediates/library_assets/release/out'.

    Reason: Task ':flutter:bundleReleaseLocalLintAar' uses this output of task ':flutter:copyFlutterAssetsRelease' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':flutter:copyFlutterAssetsRelease' as an input of ':flutter:bundleReleaseLocalLintAar'.
      2. Declare an explicit dependency on ':flutter:copyFlutterAssetsRelease' from ':flutter:bundleReleaseLocalLintAar' using Task#dependsOn.
      3. Declare an explicit dependency on ':flutter:copyFlutterAssetsRelease' from ':flutter:bundleReleaseLocalLintAar' using Task#mustRunAfter.

    Please refer to https://docs.gradle.org/8.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/8.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 27s
208 actionable tasks: 56 executed, 1 from cache, 151 up-to-date

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.5, on KDE neon 5.27 5.19.0-45-generic, locale es_MX.UTF-8)
    • Flutter version 3.10.5 on channel stable at /opt/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 796c8ef792 (10 days ago), 2023-06-13 15:51:02 -0700
    • Engine revision 45f6e00911
    • Dart version 3.0.5
    • DevTools version 2.23.1

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /home/strongville/Android/Sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✗] Linux toolchain - develop for Linux desktop
    ✗ clang++ is required for Linux development.
      It is likely available from your distribution (e.g.: apt install clang), or can be downloaded from
      https://releases.llvm.org/
    ✗ CMake is required for Linux development.
      It is likely available from your distribution (e.g.: apt install cmake), or can be downloaded from
      https://cmake.org/download/
    ✗ ninja is required for Linux development.
      It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from
      https://github.com/ninja-build/ninja/releases
    • pkg-config version 0.29.2
    ✗ GTK 3.0 development libraries are required for Linux development.
      They are likely available from your distribution (e.g.: apt install libgtk-3-dev)

[✓] Android Studio (version 2022.3)
    • Android Studio at
      /home/strongville/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/223.8836.35.2231.10271316
    • Flutter plugin version 74.0.3
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] Android Studio (version 2022.3)
    • Android Studio at
      /home/strongville/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/223.8836.35.2231.10320515
    • Flutter plugin version 74.0.3
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[!] Android Studio (version 2023.1)
    • Android Studio at
      /home/strongville/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-1/231.9011.34.2311.10335024
    • Flutter plugin version 74.0.4
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] VS Code (version 1.79.2)
    • VS Code at /usr/share/code
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • SM A207M (mobile) • R9TMB02DK0J • android-arm64 • Android 11 (API 30)
    • Linux (desktop)   • linux       • linux-x64     • KDE neon 5.27 5.19.0-45-generic

[✓] Network resources
    • All expected network resources are available.

Thanks for the report.
Can you take a look at below links and see if they help in your case ?
https://github.com/flutter/flutter/issues/117043
https://github.com/flutter/flutter/issues/117043#issuecomment-1455105254
https://github.com/flutter/flutter/issues/117043#issuecomment-1485247682

This seems to be a workaround that requires amending the files generated by the Flutter SDK (same files that shouldn't be added to version control), is this correct?
These lines were added to .android/Flutter/build.gradle:
afterEvaluate {
    bundleDebugLocalLintAar.dependsOn copyFlutterAssetsDebug
    bundleReleaseLocalLintAar.dependsOn copyFlutterAssetsRelease
}

This solves the exception previously shown above. Is there a way for this to be included by default when generating files on Flutter SDK? I  see the referred comment was posted several months ago, is there a blocking issue or major refactor awaiting?
Personally, I'd like to depend on as less workarounds as possible, to be able that the team members can configure the project more easily.
Also, to be able to use AGP 8.0 we require Gradle 8, so, for this case, downgrading Gradle versions to the one where this is a warning instead of an exception, isn't a choice either, unfortunately.

Thanks for the update. Keeping this issue open based on the error received and above feedback.

To add some more info: the problem lies in the wrongly-setup dependencies between Flutter Gradle Plugin's own Gradle tasks. The issue and comments @darshankawar linked to above are good starting points for someone to start working on it. The final result will be probably similar to #121958 (this is the PR that fixes a similar error for full-Flutter apps).

packages/flutter_tools/gradle/src/main/groovy/flutter.groovy

afterEvaluate {
bundleDebugLocalLintAar.dependsOn copyFlutterAssetsDebug
bundleReleaseLocalLintAar.dependsOn copyFlutterAssetsRelease
}

This seems to be a workaround that requires amending the files generated by the Flutter SDK (same files that > These lines were added to .android/Flutter/build.gradle:
afterEvaluate {
    bundleDebugLocalLintAar.dependsOn copyFlutterAssetsDebug
    bundleReleaseLocalLintAar.dependsOn copyFlutterAssetsRelease
}

Where exactly does this go? I tried adding this to my build.gradle as a workaround but I get this error
`A problem occurred configuring root project 'Timing'.

A problem occurred configuring project ':flutter'.
Could not get unknown property 'copyFlutterAssetsDebug' for extension 'flutter' of type FlutterExtension.
`

@jnstahl Use the workaround from sunchangtan. It helps.

@sunchangtan @jnstahl
I added the double quotes to the original workaround:
afterEvaluate {
    bundleDebugLocalLintAar.dependsOn "copyFlutterAssetsDebug"
    bundleReleaseLocalLintAar.dependsOn "copyFlutterAssetsRelease"
}

Now, I don't need to change Flutter sources.
Unfortunately, the double quotes only helped me with my Jenkins (Linux) build.
I still need to change Flutter sources on my Windows work PC.
I hope this will be helpful.

Has this problem been solved?

project build.gradle add this:
subprojects { sub ->
    sub.afterEvaluate { proj ->
        if (proj.name == 'flutter') {
            def flutterProject = project(':flutter')
            flutterProject.afterEvaluate {
                bundleDebugLocalLintAar.dependsOn "copyFlutterAssetsDebug"
                bundleReleaseLocalLintAar.dependsOn "copyFlutterAssetsRelease"
            }
        }
    }
}

https://github.com/flutter/flutter/pull/137370 should land shortly, and fixed this issue in my local reproduction. There multiple workflows to run add to app projects though, so please let me know if it doesn't fix it for you

authors: SoftickSupport bartekpacia darshankawar gmackall jnstahl leon2017 strongville sunchangtan


text:
Badge.count doesn't create a circular container for single digit numbers

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Create a Badge.count(count: 1);

Expected results
Creates a circular container with a single digit number inside
Actual results
Creates more of a pill shape. Isn't a problem with double digit numbers. After 2 it grows to more of an oval which is expected to fit the content, it's just strange that it collapses a bit with single digit numbers

Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

Hi @dallas1287. Thanks for filing this issue. Can you please a minimal complete reproducible code sample that reproduces this?

After making this it seems to have something to do with the largeSize / smallSize values. If I move large size above it's default 16 then that's when I get the weird pill shape for single digit numbers, but I also keep the circular shape on 2 digit numbers. So I guess there is a work around there to change your largeSize depending on the digit count of the number you're inputting. Would be nice to be able to set it a little bigger in theme and not have to write conditionals inline where it's used.

Hi @dallas1287. Yes, this has to do with the largeSize and smallSize values. Using the same smallSize value as used in Badge works very fine and for large values, the shape adjusts to fit in. Does this fit into your use case so I can close this?

Yeah it's fine to close. I think the work around is good enough to solve it.

Thanks @dallas1287


text:
Flutter inspector does not navigate to the Source Code of my app

Previously, when I ran the app and turned on the widget mode in the Flutter Inspector, if I clicked on any widget in the APP, it would immediately navigate to the code related to that widget element inside the Dart file. But now, when I click, it only selects the widget in the widget tree. However, it doesn't navigate to the related code in the Dart file anymore. What could be the possible solution for this?
My expectation is: If I click on any widget in the app, it will immediately navigate to the code related to that widget element inside the Dart file like previously
[It works fine in flutter version 3.10.6 and earlier, but in later versions, it doesn't work]

I've found a solution from a youtube video. Here's the link below  ⤵
https://youtu.be/oHcjiMGG4ic?si=4Xi4bSql-iJ6sKAU

@AlHasanSony
Since the video shows usage of latest version of flutter-intellij plugin that solves the issue, I will go ahead and close as resolved. If you disagree, write in comments and I'll reopen it.

Facing the same issue. Video didn't help.
Flutter version 3.13.5

IntelliJ 2023.2.2
IntelliJ IDEA 2023.2.2 (Community Edition)
Build #IC-232.9921.47, built on September 13, 2023
Runtime version: 17.0.8+7-b1000.8 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.4
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 10
Metal Rendering is ON
Registry:
    ide.intellij.laf.enable.animation=true
    debugger.new.tool.window.layout=true
    documentation.show.toolbar=true
    ide.experimental.ui=true
    ide.browser.jcef.gpu.disable=true
    ide.balloon.shadow.size=0
    ide.images.show.chessboard=true
Non-Bundled Plugins:
AWSCloudFormation (232.8660.88)
com.markskelton.one-dark-theme (5.8.0)
com.tylerthrailkill.intellij.solarized (3.0.0)
com.vermouthx.xcode-theme (1.6.3)
atom-one (1.5.1)
com.github.copilot (1.2.22.3129)
net.antelle.intellij-xcode-dark-theme (1.2.4)
com.arcticicestudio.nord.jetbrains (0.13.0)
Dart (232.9559.10)
com.localizely.flutter-intl (1.18.4-2023.2)
com.4lex4.intellij.solarized (2.4.0)
some.awesome (1.14)
com.thvardhan.gradianto (5.4)
com.mallowigi.idea (22.0.0)
com.jetbrains.darkPurpleTheme (1.3)
io.github.tbm98.flutter_generator_snippets (2.232.1)
monokai-pro (1.10)
com.bloc.intellij_generator_plugin (3.4.0)
String Manipulation (9.11.3)
com.jetbrains.packagesearch.intellij-plugin (232.9921.28)
izhangzhihao.rainbow.brackets (2023.3.4)
io.flutter (75.1.4)
de.mariushoefler.flutter_enhancement_suite (1.7.0)
zielu.gittoolbox (500.0.18+222)
Kotlin: 232-1.9.0-IJ9921.47

authors: AlHasanSony Andreigr0 darshankawar


text:
Fixed size Scaffold body fails (annoyance)

Every couple of weeks I still make the following mistake. Often in a more complex context, but it's the same mistake.
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';

class Fail extends StatelessComponent {
  Widget build(BuildContext context) {
    return new Scaffold(
      toolBar: new ToolBar(center: new Text('Not a 100x100 Green Box')),
      body: new SizedBox(
        height: 100.0,
        width: 100.0,
        child: new Container(
          decoration: new BoxDecoration(backgroundColor: const Color(0xFF00FF00))
        )
      )
    );
  }
}

void main() {
  runApp(new MaterialApp(
    title: 'FAIL',
    routes: <String, RouteBuilder>{
      '/': (RouteArguments args) => new Fail(),
    }
  ));
}

Despite the 100x100 width,height constraints specified for the Scaffold's body, it ends up filling all of the available space.  Generally speaking, Flutter widgets abide the size constraints they're given. In this case they don't and that can be confusing.
Maybe a console message would help.

RenderConstrainedBox could print something in checked mode when the additionalConstraints don't fit the incoming constraints. It might happen enough that it's just noise in the console, though. I mean, it's not a violation of the contract or anything like that.
It happens here because the Scaffold is of the opinion that the child must fill the body area. The other option would be for us to have a different opinion, for example, we could have the opinion that the Scaffold will always be filled by a canvas material, and that whatever you pass as the 'body' is then centered within that.

It may be that I'm the only one who keeps bumping into this :-).
If it turns out that new developers find this case confusing, perhaps we could issue a console message just for this case.

Yeah, we might want to pick a layout model for the body of the scaffold.  Center is probably a reasonable choice.

Fixed.  It's now aligned to the top left.

authors: HansMuller Hixie abarth


text:
go_router: Common interface for type-safe routes to allow passing GoRouteData and calling .go

Use case
I'd like to be able to pass around type-safe go-routes at runtime, so a common page can redirect to new pages, based on what called the common page.
I'd really love to be able to do something like this:
class RouteButton extends StatelessWidget {
    final GoRouteData route;

    const RouteButton({super.key, required this.route});

    @override
    Widget build(BuildContext context, WidgetRef ref) {
        return ElevatedButton(
            child: Text("Go"),
            onPressed: () => route.go(context),
        );
    }

(To be more accurate, I'd love to pass GoRouteData to pages so they can easily redirect or go back without relying on the navstack.)
But, .go(context) is not a part of the GoRouteData definition; in fact, it's an extension method that's generated and added to every single new route you create, one by one. So there's no shared interface to call .go on!
If anyone has any thoughts I'd love to hear them. Cheers.
Proposal
The example above as written demonstrates what I'd like to be able to achieve.

Hmm. Might be missing something, but in this example couldn't you just have the RouteButton take a void Function(BuildContext) which would just be the .go function for whichever route? I'm assuming you have a switch or something determining which route is the one you're trying to pass in whatever is creating the button, but I guess if not then that wouldn't be as helpful.

yup, looks like something worth adding.

authors: ConnieMnemonic chunhtai rmtmckenzie


text:
FlutterMacOS.framework has wrong permissions

Steps to reproduce

Build a macOS application (
Bundle using xcrun productbuild --component <My App>.app /Applications/ unsigend.pkg
Sign using crun productsign --sign "3rd Party Mac Developer Installer: <Team Name>" unsigend.pkg output.pkg
Try to upload to test flight yields:

The installer package includes files that are only readable by the root user. This will prevent verification of the application's code signature when your app is run. Ensure that non-root users can read the files in your app.

Expected results
The test flight upload to succeeed
Actual results
Reading the permissions (with ls -laR) for files in the .App directory yields
drwx------   5 <user>  <group>      160 May  7 23:43 FlutterMacOS.framework

That the read permissions for the FlutterMacOS.framework folder are wrong.
Running
chmod 0644 <My App>.app/Contents/Frameworks/FlutterMacOS.framework

resolves the issue.
Potentially related to #108737
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.22.0, on macOS 14.5 23F79 darwin-arm64, locale en-DE)
    • Flutter version 3.22.0 on channel stable at /Users/m277439/flutter-sdk
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5dcb86f68f (4 weeks ago), 2024-05-09 07:39:20 -0500
    • Engine revision f6344b75dc
    • Dart version 3.4.0
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/m277439/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = ~/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2023.2)
    • 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 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.90.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.91.20240529

Thanks for the report @ElectricCookie
This most probably is similar to https://github.com/flutter/flutter/issues/148354 which has been fixed recently and has been cherry-picked into stable 3.22.1. I see that you are on 3.22.0, so try to upgrade to latest (3.22.2) and re-run your scenario to check and see if that fix also resolves your case or not.

Thanks for the quick reply. We were indeed able to solve this problem with 3.22.2. issue is resolved 👍

authors: ElectricCookie darshankawar