8000 When disposing of a FlutterEngine while a PlatformView is being displayed, gestures on other FlutterEngines no longer work. · Issue #127168 · flutter/flutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

When disposing of a FlutterEngine while a PlatformView is being displayed, gestures on other FlutterEngines no longer work. #127168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and c 8000 ontact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
keisuke-kiriyama opened this issue May 19, 2023 · 10 comments · Fixed by flutter/engine#43652
Assignees
Labels
a: platform-views Embedding Android/iOS views in Flutter apps c: crash Stack traces logged to the console engine flutter/engine repository. See also e: labels. found in release: 3.10 Found to occur in 3.10 found in release: 3.11 Found to occur in 3.11 has reproducible steps The issue has been confirmed reproducible and is ready to work on P1 High-priority issues at the top of the work list platform-ios iOS applications specifically r: fixed Issue is closed as already fixed in a newer version team-ios Owned by iOS platform team triaged-ios Triaged by iOS platform team

Comments

@keisuke-kiriyama
Copy link
keisuke-kiriyama commented May 19, 2023

Is there an existing issue for this?

Steps to reproduce

  1. Generate the first FlutterEngine using FlutterEngineGroup and initialize a FlutterViewController for the initial display.
  2. Display a PlatformView within the generated first FlutterViewController.
  3. Transition to a native ViewController using MethodChannel.
  4. Generate the second FlutterEngine using FlutterEngineGroup and transition to the second FlutterViewController.
  5. Display a PlatformView within the second FlutterViewController.
  6. Pop the second FlutterViewController and the native ViewController, returning to the first FlutterViewController.

Expected results

You can interact with the first FlutterViewController.

Actual results

Gestures are not recognized, and it becomes unresponsive in the first FlutterViewController.

Code sample

AppDelegate.swift
import UIKit
import Flutter
import GoogleMaps

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
    let engines = FlutterEngineGroup(name: "multiple-flutters", project: nil)
    
    override func application(
        _ application: UIApplication,
        didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
    ) -> Bool {
        window = UIWindow(frame: UIScreen.main.bounds)
        let navigationController = UINavigationController(rootViewController: MyFlutterViewController(withEntrypoint: nil))
        window?.rootViewController = navigationController
        window?.makeKeyAndVisible()
        return super.application(application, didFinishLaunchingWithOptions: launchOptions)
    }
}
MyFlutterViewController
import Flutter

class MyFlutterViewController: FlutterViewController {
    
    required init(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    init(withEntrypoint entryPoint: String?) {
        let appDelegate: AppDelegate = UIApplication.shared.delegate as! AppDelegate
        let newEngine = appDelegate.engines.makeEngine(withEntrypoint: entryPoint, libraryURI: nil)
        GeneratedPluginRegistrant.register(with: newEngine)
        super.init(engine: newEngine, nibName: nil, bundle: nil)
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        let methodChannel = FlutterMethodChannel(
            name: "methodChannel",
            binaryMessenger: self.binaryMessenger
        )
        methodChannel.setMethodCallHandler({[weak self] (call: FlutterMethodCall, result: @escaping FlutterResult) -> Void in
            guard let self = self else { return }
            switch call.method {
            case "transitionToNativePage":
                let viewController = MyViewController()
                self.navigationController?.pushViewController(viewController, animated: true)
            default:
                result(FlutterMethodNotImplemented)
            }
        })
    }
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        self.navigationController?.setNavigationBarHidden(true, animated: true)
    }
}
MyViewController.swift
import UIKit

class MyViewController: UIViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = .white
        
        let button = UIButton(type: .system)
        button.setTitle("Show Flutter Screen", for: .normal)
        button.addTarget(self, action: #selector(buttonTapped(_:)), for: .touchUpInside)
        self.view.addSubview(button)
        
        button.translatesAutoresizingMaskIntoConstraints = false
        button.centerXAnchor.constraint(equalTo: self.view.centerXAnchor).isActive = true
        button.centerYAnchor.constraint(equalTo: self.view.centerYAnchor).isActive = true
    }
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        self.navigationController?.setNavigationBarHidden(false, animated: true)
    }
    
    @objc func buttonTapped(_ sender: Any) {
        let viewController = MyFlutterViewController(withEntrypoint: "platformViewMain")
        self.navigationController?.pushViewController(viewController, animated: true)
    }
    
}
main.dart
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:webview_flutter/webview_flutter.dart';

enum EntryPoint {
  main,
  platformView,
}

Future<void> main() async {
  runApp(const MainApp());
}

@pragma('vm:entry-point')
Future<void> platformViewMain() async {
  runApp(const PlatformViewApp());
}

class MainApp extends StatelessWidget {
  const MainApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MainPage(),
    );
  }
}

class MainPage extends StatelessWidget {
  const MainPage({Key? key}) : super(key: key);

  static const methodChannel = MethodChannel('methodChannel');

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('MainPage'),
      ),
      body: Center(
        child: ListView(
          children: [
            TextButton(
              child: const Text('Transition to native page'),
              onPressed: () async {
                await methodChannel.invokeMapMethod('transitionToNativePage');
              },
            ),
            const SizedBox(height: 20),
            TextButton(
              child: const Text('Transition to platformView page'),
              onPressed: () async {
                Navigator.push(
                  context,
                  MaterialPageRoute(
                    builder: (context) {
                      return const PlatformViewPage(
                          entryPoint: EntryPoint.main);
                    },
                  ),
                );
              },
            )
          ],
        ),
      ),
    );
  }
}

class PlatformViewApp extends StatelessWidget {
  const PlatformViewApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const PlatformViewPage(entryPoint: EntryPoint.platformView),
    );
  }
}

class PlatformViewPage extends StatelessWidget {
  const PlatformViewPage({
    required this.entryPoint,
    Key? key,
  }) : super(key: key);

  final EntryPoint entryPoint;

  static final controller = WebViewController()
    ..loadRequest(Uri.parse('https://flutter.dev'));

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('PlatformView Page'),
        leading: entryPoint == EntryPoint.platformView
            ? BackButton(
                onPressed: () => SystemNavigator.pop(animated: true),
              )
            : null,
      ),
      body: WebViewWidget(
        controller: controller,
      ), // This issue can be reproduced with PlatformViews such as GoogleMap or WebView.
    );
  }
}
pubspec.yaml
dependencies:
  flutter:
    sdk: flutter
  webview_flutter: ^4.2.0

Logs

No error logs are specifically displayed.

Flutter Doctor output

Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.3, on macOS 12.6.1 21G217 darwin-arm64, locale ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.78.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!
@huycozy huycozy added the in triage Presently being triaged by the triage team label May 19, 2023
@huycozy
Copy link
Member
huycozy commented May 19, 2023

Thanks for your detailed report, @keisuke-kiriyama! Can you please provide the steps corresponding to your sample code?

It would be appreciated if you can try this on the latest Flutter channels to see if the issue still persists or not.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.10.1, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.10.1 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d3d8effc68 (26 hours ago), 2023-05-16 17:59:05 -0700
    • Engine revision b4fb11214d
    • Dart version 3.0.1
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.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 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2022.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.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 113.0.5672.126

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

• No issues found!
[!] Flutter (Channel master, 3.11.0-6.0.pre.153, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.11.0-6.0.pre.153 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 e49d35d3a6 (35 minutes ago), 2023-05-18 22:26:29 -0400
    • Engine revision bca11a423f
    • Dart version 3.1.0 (build 3.1.0-125.0.dev)
    • DevTools version 2.23.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 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.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 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2022.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.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 113.0.5672.126

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

! Doctor found issues in 1 category.

@huycozy huycozy added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 19, 2023
@keisuke-kiriyama
Copy link
Author
keisuke-kiriyama commented May 19, 2023

Can you please provide the steps corresponding to your sample code?

Here are the steps. (Video attachment included)

  1. Tap on "Transition to platformView page".
  2. Tap the BackButton to go back to the previous screen.
  3. Tap on "Transition to native page".
  4. On the destination screen, tap on "Show Flutter Screen".
  5. Tap the BackButton twice to return to the Top screen.
  6. Gestures will no longer work.
video
sample2.mov

It would be appreciated if you can try this on the latest Flutter channels to see if the issue still persists or not.

I was able to reproduce it on the latest master channel as well.

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.11.0-6.0.pre.158, on macOS 12.6.1 21G217 darwin-arm64, locale ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.78.2)
[✓] Connected device (3 available)
[✓] Network resources

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 19, 2023
@huycozy
Copy link
Member
huycozy commented May 19, 2023

Thanks for your response. After doing those above steps, I still can navigate to native page (1st button) but it will freeze if start navigating to platformview page (2nd button)

Also, after waiting a while, there is a crash (whilst there is no stack trace from flutter)

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

Incident Identifier: E0BC91C2-6E65-4D4D-8B24-A86E9FD81246
CrashReporter Key:   701F9177-7FE9-2B14-D0AE-F0C5C9B3D635
Hardware Model:      MacBookPro16,2
Process:             Runner [76167]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/98082851-A0C4-4E39-A310-21C48B10A364/data/Containers/Bundle/Application/FC54F83B-8207-4A94-ADA8-63F192EEC90A/Runner.app/Runner
Identifier:          com.example.issueDisposeEngine127168
Version:             1.0.0 (1)
Code Type:           X86-64 (Native)
Role:                Background
Parent Process:      launchd_sim [75047]
Coalition:           com.apple.CoreSimulator.SimDevice.98082851-A0C4-4E39-A310-21C48B10A364 [95043]
Responsible Process: SimulatorTrampoline [1304]

Date/Time:           2023-05-19 19:48:23.8295 +0700
Launch Time:         2023-05-19 19:47:34.0782 +0700
OS Version:          macOS 13.0.1 (22A400)
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<com.example.issueDisposeEngine127168>:76167] failed to terminate gracefully after 5.0s
ProcessVisibility: Background
ProcessState: Running
WatchdogEvent: process-exit
WatchdogVisibility: Foreground
WatchdogCPUStatistics: (
"Elapsed total CPU time (seconds): 22.700 (user 13.960, system 8.740), 53% CPU",
"Elapsed application CPU time (seconds): 0.198, 0% CPU"
) reportType:CrashLog maxTerminationResistance:Interactive>

Triggered by Thread:  0

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	    0x7ff8376eee26 __ulock_wait + 10
1   libsystem_pthread.dylib       	    0x7ff83774ea05 _pthread_join + 358
2   Flutter                       	       0x10fa2f876 std::_LIBCPP_ABI_NAMESPACE::thread::join() + 24
3   Flutter                       	       0x10fe1dca9 fml::Thread::Join() + 117
4   Flutter                       	       0x10fe1dc0e fml::Thread::~Thread() + 14
5   Flutter                       	       0x10f9a9e9f std::_LIBCPP_ABI_NAMESPACE::unique_ptr<fml::Thread, std::_LIBCPP_ABI_NAMESPACE::default_delete<fml::Thread> >::reset[abi:v15000](fml::Thread*) + 25
6   Flutter                       	       0x11016ae46 flutter::ThreadHost::~ThreadHost() + 42
7   Flutter                       	       0x10f9a4d25 std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::ThreadHost>::reset[abi:v15000]() + 55
8   Flutter                       	       0x10f9a4c6a -[FlutterEngine destroyContext] + 74
9   CoreFoundation                	    0x7ff8003843bf __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 137
10  CoreFoundation                	    0x7ff8003842f5 ___CFXRegistrationPost_block_invoke + 86
11  CoreFoundation                	    0x7ff8003838cd _CFXRegistrationPost + 541
12  CoreFoundation                	    0x7ff8003831cf _CFXNotificationPost + 812
13  Foundation                    	    0x7ff800bbfb0e -[NSNotificationCenter postNotificationName:object:userInfo:] + 82
14  UIKitCore                     	       0x10c57c290 -[UIApplication _terminateWithStatus:] + 169
15  UIKitCore                     	       0x10b98e68b __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke_4 + 225
16  UIKitCore                     	       0x10b77d71a -[UIScene _enqueuePostSettingsUpdateResponseBlock:inPhase:] + 272
17  UIKitCore                     	       0x10b98e392 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke_2 + 1328
18  UIKitCore                     	       0x10c00b510 _UIScenePerformActionsWithLifecycleActionMask + 88
19  UIKitCore                     	       0x10b98ddd9 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 198
20  UIKitCore                     	       0x10b98d89a -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 380
21  UIKitCore                     	       0x10b98dc22 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 846
22  UIKitCore                     	       0x10b98d5bb -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 234
23  UIKitCore                     	       0x10c571a8a -[UIApplication workspaceShouldExit:withTransitionContext:] + 193
24  FrontBoardServices            	    0x7ff805426f1b __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2 + 76
25  FrontBoardServices            	    0x7ff805406bfc -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 209
26  FrontBoardServices            	    0x7ff805426eba __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke + 106
27  libdispatch.dylib             	    0x7ff80013d0d9 _dispatch_client_callout + 8
28  libdispatch.dylib             	    0x7ff800140bf2 _dispatch_block_invoke_direct + 491
29  FrontBoardServices            	    0x7ff80544e507 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 30
30  FrontBoardServices            	    0x7ff80544e3fd -[FBSSerialQueue _targetQueue_performNextIfPossible] + 174
31  FrontBoardServices            	    0x7ff80544e52f -[FBSSerialQueue _performNextFromRunLoopSource] + 19
32  CoreFoundation                	    0x7ff8003b2b8f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
33  CoreFoundation                	    0x7ff8003b2ad1 __CFRunLoopDoSource0 + 157
34  CoreFoundation                	    0x7ff8003b22cd __CFRunLoopDoSources0 + 217
35  CoreFoundation                	    0x7ff8003ac9ba __CFRunLoopRun + 889
36  CoreFoundation                	    0x7ff8003ac264 CFRunLoopRunSpecific + 560
37  GraphicsServices              	    0x7ff809b4024e GSEventRunModal + 139
38  UIKitCore                     	       0x10c5707bf -[UIApplication _run] + 994
39  UIKitCore                     	       0x10c5755de UIApplicationMain + 123
40  Runner                        	       0x109dac27f main + 63 (AppDelegate.swift:6)
41  dyld_sim                      	       0x10b17f384 start_sim + 10
42  dyld                          	       0x10f8a8310 start + 2432

Thread 1:: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib        	    0x7ff8376ed6a2 mach_msg2_trap + 10
1   libsystem_kernel.dylib        	    0x7ff8376fb67d mach_msg2_internal + 82
2   libsystem_kernel.dylib        	    0x7ff8376f471a mach_msg_overwrite + 723
3   libsystem_kernel.dylib        	    0x7ff8376ed989 mach_msg + 19
4   CoreFoundation                	    0x7ff8003b2437 __CFRunLoopServiceMachPort + 145
5   CoreFoundation                	    0x7ff8003acb7b __CFRunLoopRun + 1338
6   CoreFoundation                	    0x7ff8003ac264 CFRunLoopRunSpecific + 560
7   Foundation                    	    0x7ff800c0cc8d -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
8   Foundation                    	    0x7ff800c0cf04 -[NSRunLoop(NSRunLoop) runUntilDate:] + 72
9   UIKitCore                     	       0x10c644c29 -[UIEventFetcher threadMain] + 521
10  Foundation                    	    0x7ff800c363f4 __NSThread__start__ + 1009
11  libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
12  libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 2:: io.worker.1
0   libsystem_kernel.dylib        	    0x7ff8376f01fe __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff83774d7e1 _pthread_cond_wait + 1243
2   Flutter                       	       0x10f9ef5f0 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10fe14d25 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10fe15629 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 3:: io.worker.2
0   libsystem_kernel.dylib        	    0x7ff8376f01fe __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff83774d7e1 _pthread_cond_wait + 1243
2   Flutter                       	       0x10f9ef5f0 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10fe14d25 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10fe15629 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 4:: io.worker.3
0   libsystem_kernel.dylib        	    0x7ff8376f01fe __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff83774d7e1 _pthread_cond_wait + 1243
2   Flutter                       	       0x10f9ef5f0 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10fe14d25 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10fe15629 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 5:: io.worker.4
0   libsystem_kernel.dylib        	    0x7ff8376f01fe __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff83774d7e1 _pthread_cond_wait + 1243
2   Flutter                       	       0x10f9ef5f0 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10fe14d25 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10fe15629 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 6:: io.worker.5
0   libsystem_kernel.dylib        	    0x7ff837
8000
6f01fe __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff83774d7e1 _pthread_cond_wait + 1243
2   Flutter                       	       0x10f9ef5f0 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10fe14d25 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10fe15629 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 7:: io.worker.6
0   libsystem_kernel.dylib        	    0x7ff8376f01fe __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff83774d7e1 _pthread_cond_wait + 1243
2   Flutter                       	       0x10f9ef5f0 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10fe14d25 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10fe15629 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 8:: io.worker.7
0   libsystem_kernel.dylib        	    0x7ff8376f01fe __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff83774d7e1 _pthread_cond_wait + 1243
2   Flutter                       	       0x10f9ef5f0 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10fe14d25 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10fe15629 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 9:: io.worker.8
0   libsystem_kernel.dylib        	    0x7ff8376f01fe __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff83774d7e1 _pthread_cond_wait + 1243
2   Flutter                       	       0x10f9ef5f0 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10fe14d25 fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10fe15629 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 10:: dart:io EventHandler
0   libsystem_kernel.dylib        	    0x7ff8376f22fe kevent + 10
1   Flutter                       	       0x110283698 dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 344
2   Flutter                       	       0x1102a4d73 dart::bin::ThreadStart(void*) + 83
3   libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
4   libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 11:: Dart Profiler ThreadInterrupter
0   libsystem_kernel.dylib        	    0x7ff8376f01fe __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff83774d7e1 _pthread_cond_wait + 1243
2   Flutter                       	       0x1105a3fbe dart::Monitor::WaitMicros(long long) + 158
3   Flutter                       	       0x110627a3f dart::ThreadInterrupter::ThreadMain(unsigned long) + 303
4   Flutter                       	       0x1105a350e dart::ThreadStart(void*) + 206
5   libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 12:: Dart Profiler SampleBlockProcessor
0   libsystem_kernel.dylib        	    0x7ff8376f01fe __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff83774d816 _pthread_cond_wait + 1296
2   Flutter                       	       0x1105a3fa6 dart::Monitor::WaitMicros(long long) + 134
3   Flutter                       	       0x1105aa415 dart::SampleBlockProcessor::ThreadMain(unsigned long) + 181
4   Flutter                       	       0x1105a350e dart::ThreadStart(void*) + 206
5   libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 13:: multiple-flutters.1.2.ui
0   libsystem_kernel.dylib        	    0x7ff8376ed6a2 mach_msg2_trap + 10
1   libsystem_kernel.dylib        	    0x7ff8376fb67d mach_msg2_internal + 82
2   libsystem_kernel.dylib        	    0x7ff8376f471a mach_msg_overwrite + 723
3   libsystem_kernel.dylib        	    0x7ff8376ed989 mach_msg + 19
4   CoreFoundation                	    0x7ff8003b2437 __CFRunLoopServiceMachPort + 145
5   CoreFoundation                	    0x7ff8003acb7b __CFRunLoopRun + 1338
6   CoreFoundation                	    0x7ff8003ac264 CFRunLoopRunSpecific + 560
7   Flutter                       	       0x10fe1eea5 fml::MessageLoopDarwin::Run() + 65
8   Flutter                       	       0x10fe18216 fml::MessageLoopImpl::DoRun() + 22
9   Flutter                       	       0x10fe1ddc3 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 169
10  libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
11  libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 14:: multiple-flutters.1.2.raster
0   libsystem_kernel.dylib        	    0x7ff8376ed6a2 mach_msg2_trap + 10
1   libsystem_kernel.dylib        	    0x7ff8376fb67d mach_msg2_internal + 82
2   libsystem_kernel.dylib        	    0x7ff8376f471a mach_msg_overwrite + 723
3   libsystem_kernel.dylib        	    0x7ff8376ed989 mach_msg + 19
4   CoreFoundation                	    0x7ff8003b2437 __CFRunLoopServiceMachPort + 145
5   CoreFoundation                	    0x7ff8003acb7b __CFRunLoopRun + 1338
6   CoreFoundation                	    0x7ff8003ac264 CFRunLoopRunSpecific + 560
7   Flutter                       	       0x10fe1eea5 fml::MessageLoopDarwin::Run() + 65
8   Flutter                       	       0x10fe18216 fml::MessageLoopImpl::DoRun() + 22
9   Flutter                       	       0x10fe1ddc3 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 169
10  libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
11  libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 15:
0   libsystem_pthread.dylib       	    0x7ff837748c58 start_wqthread + 0

Thread 16:
0   libsystem_pthread.dylib       	    0x7ff837748c58 start_wqthread + 0

Thread 17:: DartWorker
0   libsystem_kernel.dylib        	    0x7ff8376f01fe __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff83774d816 _pthread_cond_wait + 1296
2   Flutter                       	       0x1105a3fa6 dart::Monitor::WaitMicros(long long) + 134
3   Flutter                       	       0x11062887f dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 559
4   Flutter                       	       0x110628c19 dart::ThreadPool::Worker::Main(unsigned long) + 121
5   Flutter                       	       0x1105a350e dart::ThreadStart(void*) + 206
6   libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

Thread 18:: JavaScriptCore libpas scavenger
0   libsystem_kernel.dylib        	    0x7ff8376f01fe __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff83774d7e1 _pthread_cond_wait + 1243
2   JavaScriptCore                	       0x116008a57 scavenger_thread_main + 1863
3   libsystem_pthread.dylib       	    0x7ff83774d259 _pthread_start + 125
4   libsystem_pthread.dylib       	    0x7ff837748c7b thread_start + 15

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


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0xfffffffffffffffc  rbx: 0x000000010f946200  rcx: 0x00007ff7b6154e18  rdx: 0x0000000000000000
  rdi: 0x0000000001020002  rsi: 0x00007000097fc034  rbp: 0x00007ff7b6154e70  rsp: 0x00007ff7b6154e18
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000246
  r12: 0x00007ff8669916c4  r13: 0x00007000097fc000  r14: 0x0000000001020002  r15: 0x00007000097fc034
  rip: 0x00007ff8376eee26  rfl: 0x0000000000000246  cr2: 0x000000013a5f0000
  
Logical CPU:     0
Error Code:      0x02000203 
Trap Number:     133


Binary Images:
    0x7ff8376ec000 -     0x7ff837725ff7 libsystem_kernel.dylib (*) <0c2fd2c9-777c-3355-b70f-7b1b6e9d1b0b> /usr/lib/system/libsystem_kernel.dylib
    0x7ff837747000 -     0x7ff837752ff7 libsystem_pthread.dylib (*) <13b5e252-77d1-31e1-888d-1c5f4426ea87> /usr/lib/system/libsystem_pthread.dylib
       0x10f99a000 -        0x111bd1fff io.flutter.flutter (1.0) <4c4c44b4-5555-3144-a14f-57a01a934854> /Users/USER/Library/Developer/CoreSimulator/Devices/98082851-A0C4-4E39-A310-21C48B10A364/data/Containers/Bundle/Application/FC54F83B-8207-4A94-ADA8-63F192EEC90A/Runner.app/Frameworks/Flutter.framework/Flutter
    0x7ff80032e000 -     0x7ff8006b9ffc com.apple.CoreFoundation (6.9) <4a7cffac-1006-319f-89a8-a168c8be375b> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    0x7ff80072d000 -     0x7ff800fe1ff4 com.apple.Foundation (6.9) <791086eb-c32e-3902-b79f-8e126433410f> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation
       0x10b71b000 -        0x10d212fff com.apple.UIKitCore (1.0) <0037a772-7e04-353d-8db0-59f7833a6ae0> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
    0x7ff8053f0000 -     0x7ff805494ff5 com.apple.FrontBoardServices (812.106) <ca41353a-1f70-3bcc-9d59-326b27b4141a> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/FrontBoardServices.framework/FrontBoardServices
    0x7ff80013a000 -     0x7ff800186ffb libdispatch.dylib (*) <32cdcdc9-c34b-36e3-980a-031625d30547> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib
    0x7ff809b3d000 -     0x7ff809b44ff2 com.apple.GraphicsServices (1.0) <f937c0e4-1e9f-31cb-a71a-204945d95b75> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
       0x109da7000 -        0x10a71efff com.example.issueDisposeEngine127168 (1.0.0) <5f9ff0d3-c96a-339f-a1ca-c2c079a647b3> /Users/USER/Library/Developer/CoreSimulator/Devices/98082851-A0C4-4E39-A310-21C48B10A364/data/Containers/Bundle/Application/FC54F83B-8207-4A94-ADA8-63F192EEC90A/Runner.app/Runner
       0x10b17e000 -        0x10b1dffff dyld_sim (*) <6fa70830-2b34-3b74-9f1a-ecd763b2e892> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
       0x10f8a2000 -        0x10f939fff dyld (*) <28fd2071-57f3-3873-87bf-e4f674a82de6> /usr/lib/dyld
       0x115efd000 -        0x1176a5fff com.apple.JavaScriptCore (8615) <090625ac-20f0-3f5a-9684-124c313ab3b0> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Cryptexes/OS/System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore

EOF

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

{"app_name":"Runner","timestamp":"2023-05-19 19:48:25.00 +0700","app_version":"1.0.0","slice_uuid":"5f9ff0d3-c96a-339f-a1ca-c2c079a647b3","build_version":"1","platform":7,"bundleID":"com.example.issueDisposeEngine127168","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.0.1 (22A400)","roots_installed":0,"name":"Runner","incident_id":"E0BC91C2-6E65-4D4D-8B24-A86E9FD81246"}
{
  "uptime" : 470000,
  "procRole" : "Background",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,2",
  "coalitionID" : 95043,
  "osVersion" : {
    "train" : "macOS 13.0.1",
    "build" : "22A400",
    "releaseType" : "User"
  },
  "captureTime" : "2023-05-19 19:48:23.8295 +0700",
  "incident" : "E0BC91C2-6E65-4D4D-8B24-A86E9FD81246",
  "pid" : 76167,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-05-19 19:47:34.0782 +0700",
  "procStartAbsTime" : 477488677853866,
  "procExitAbsTime" : 477538420826265,
  "procName" : "Runner",
  "procPath" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/98082851-A0C4-4E39-A310-21C48B10A364\/data\/Containers\/Bundle\/Application\/FC54F83B-8207-4A94-ADA8-63F192EEC90A\/Runner.app\/Runner",
  "bundleInfo" : {"CFBundleShortVersionString":"1.0.0","CFBundleVersion":"1","CFBundleIdentifier":"com.example.issueDisposeEngine127168"},
  "storeInfo" : {"deviceIdentifierForVendor":"3EE846DE-0530-5624-A78F-F310A1272F9D","thirdParty":true},
  "parentProc" : "launchd_sim",
  "parentPid" : 75047,
  "coalitionName" : "com.apple.CoreSimulator.SimDevice.98082851-A0C4-4E39-A310-21C48B10A364",
  "crashReporterKey" : "701F9177-7FE9-2B14-D0AE-F0C5C9B3D635",
  "responsiblePid" : 1304,
  "responsibleProc" : "SimulatorTrampoline",
  "wakeTime" : 21955,
  "bridgeVersion" : {"build":"20P420","train":"7.0"},
  "sleepWakeUUID" : "0191C712-2ED2-47CA-8DAF-72AA2AB6C43B",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL"},
  "termination" : {"code":2343432205,"flags":6,"namespace":"FRONTBOARD","reasons":["<RBSTerminateContext| domain:10 code:0x8BADF00D explanation:[application<com.example.issueDisposeEngine127168>:76167] failed to terminate gracefully after 5.0s","ProcessVisibility: Background","ProcessState: Running","WatchdogEvent: process-exit","WatchdogVisibility: Foreground","WatchdogCPUStatistics: (","\"Elapsed total CPU time (seconds): 22.700 (user 13.960, system 8.740), 53% CPU\",","\"Elapsed application CPU time (seconds): 0.198, 0% CPU\"",") reportType:CrashLog maxTerminationResistance:Interactive>"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":1038,"task_for_pid":11},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":8678711,"threadState":{"r13":{"value":123145461678080},"rax":{"value":18446744073709551612},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":16908290},"rsi":{"value":123145461678132},"r8":{"value":0},"cr2":{"value":5274271744},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":0},"r15":{"value":123145461678132},"rbx":{"value":4556349952,"symbolLocation":0,"symbol":"gCRAnnotations"},"trap":{"value":133},"err":{"value":33554947},"r11":{"value":582},"rip":{"value":140704058633766,"matchesCrashFrame":1},"rbp":{"value":140701888499312},"rsp":{"value":140701888499224},"r12":{"value":140704849925828,"symbolLocation":0,"symbol":"_pthread_list_lock"},"rcx":{"value":140701888499224},"flavor":"x86_THREAD_STATE","rdi":{"value":16908290}},"queue":"com.apple.main-thread","frames":[{"imageOffset":11814,"symbol":"__ulock_wait","symbolLocation":10,"imageIndex":0},{"imageOffset":31237,"symbol":"_pthread_join","symbolLocation":358,"imageIndex":1},{"imageOffset":612470,"symbol":"std::_LIBCPP_ABI_NAMESPACE::thread::join()","symbolLocation":24,"imageIndex":2},{"imageOffset":4734121,"symbol":"fml::Thread::Join()","symbolLocation":117,"imageIndex":2},{"imageOffset":4733966,"symbol":"fml::Thread::~Thread()","symbolLocation":14,"imageIndex":2},{"imageOffset":65183,"symbol":"std::_LIBCPP_ABI_NAMESPACE::unique_ptr<fml::Thread, std::_LIBCPP_ABI_NAMESPACE::default_delete<fml::Thread> >::reset[abi:v15000](fml::Thread*)","symbolLocation":25,"imageIndex":2},{"imageOffset":8195654,"symbol":"flutter::ThreadHost::~ThreadHost()","symbolLocation":42,"imageIndex":2},{"imageOffset":44325,"symbol":"std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::ThreadHost>::reset[abi:v15000]()","symbolLocation":55,"imageIndex":2},{"imageOffset":44138,"symbol":"-[FlutterEngine destroyContext]","symbolLocation":74,"imageIndex":2},{"imageOffset":353215,"symbol":"__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__","symbolLocation":137,"imageIndex":3},{"imageOffset":353013,"symbol":"___CFXRegistrationPost_block_invoke","symbolLocation":86,"imageIndex":3},{"imageOffset":350413,"symbol":"_CFXRegistrationPost","symbolLocation":541,"imageIndex":3},{"imageOffset":348623,"symbol":"_CFXNotificationPost","symbolLocation":812,"imageIndex":3},{"imageOffset":4795150,"symbol":"-[NSNotificationCenter postNotificationName:object:userInfo:]","symbolLocation":82,"imageIndex":4},{"imageOffset":15078032,"symbol":"-[UIApplication _terminateWithStatus:]","symbolLocation":169,"imageIndex":5},{"imageOffset":2569867,"symbol":"__101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke_4","symbolLocation":225,"imageIndex":5},{"imageOffset":403226,"symbol":"-[UIScene _enqueuePostSettingsUpdateResponseBlock:inPhase:]","symbolLocation":272,"imageIndex":5},{"imageOffset":2569106,"symbol":"__101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke_2","symbolLocation":1328,"imageIndex":5},{"imageOffset":9372944,"symbol":"_UIScenePerformActionsWithLifecycleActionMask","symbolLocation":88,"imageIndex":5},{"imageOffset":2567641,"symbol":"__101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke","symbolLocation":198,"imageIndex":5},{"imageOffset":2566298,"symbol":"-[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:]","symbolLocation":380,"imageIndex":5},{"imageOffset":2567202,"symbol":"-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]","symbolLocation":846,"imageIndex":5},{"imageOffset":2565563,"symbol":"-[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:]","symbolLocation":234,"imageIndex":5},{"imageOffset":15035018,"symbol":"-[UIApplication workspaceShouldExit:withTransitionContext:]","symbolLocation":193,"imageIndex":5},{"imageOffset":225051,"symbol":"__63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2","symbolLocation":76,"imageIndex":6},{"imageOffset":93180,"symbol":"-[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]","symbolLocation":209,"imageIndex":6},{"imageOffset":224954,"symbol":"__63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke","symbolLocation":106,"imageIndex":6},{"imageOffset":12505,"symbol":"_dispatch_client_callout","symbolLocation":8,"imageIndex":7},{"imageOffset":27634,"symbol":"_dispatch_block_invoke_direct","symbolLocation":491,"imageIndex":7},{"imageOffset":386311,"symbol":"__FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__","symbolLocation":30,"imageIndex":6},{"imageOffset":386045,"symbol":"-[FBSSerialQueue _targetQueue_performNextIfPossible]","symbolLocation":174,"imageIndex":6},{"imageOffset":386351,"symbol":"-[FBSSerialQueue _performNextFromRunLoopSource]","symbolLocation":19,"imageIndex":6},{"imageOffset":543631,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__","symbolLocation":17,"imageIndex":3},{"imageOffset":543441,"symbol":"__CFRunLoopDoSource0","symbolLocation":157,"imageIndex":3},{"imageOffset":541389,"symbol":"__CFRunLoopDoSources0","symbolLocation":217,"imageIndex":3},{"imageOffset":518586,"symbol":"__CFRunLoopRun","symbolLocation":889,"imageIndex":3},{"imageOffset":516708,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":3},{"imageOffset":12878,"symbol":"GSEventRunModal","symbolLocation":139,"imageIndex":8},{"imageOffset":15030207,"symbol":"-[UIApplication _run]","symbolLocation":994,"imageIndex":5},{"imageOffset":15050206,"symbol":"UIApplicationMain","symbolLocation":123,"imageIndex":5},{"imageOffset":21119,"sourceLine":6,"sourceFile":"AppDelegate.swift","symbol":"main","imageIndex":9,"symbolLocation":63},{"imageOffset":4996,"symbol":"start_sim","symbolLocation":10,"imageIndex":10},{"imageOffset":25360,"symbol":"start","symbolLocation":2432,"imageIndex":11}]},{"id":8678722,"name":"com.apple.uikit.eventfetch-thread","frames":[{"imageOffset":5794,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":63101,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":34586,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":0},{"imageOffset":6537,"symbol":"mach_msg","symbolLocation":19,"imageIndex":0},{"imageOffset":541751,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":3},{"imageOffset":519035,"symbol":"__CFRunLoopRun","symbolLocation":1338,"imageIndex":3},{"imageOffset":516708,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":3},{"imageOffset":5110925,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":213,"imageIndex":4},{"imageOffset":5111556,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":72,"imageIndex":4},{"imageOffset":15899689,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":521,"imageIndex":5},{"imageOffset":5280756,"symbol":"__NSThread__start__","symbolLocation":1009,"imageIndex":4},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8678742,"name":"io.worker.1","frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":349680,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":2},{"imageOffset":4697381,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":2},{"imageOffset":4699689,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":2},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8678743,"name":"io.worker.2","frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":349680,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":2},{"imageOffset":4697381,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":2},{"imageOffset":4699689,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":2},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8678744,"name":"io.worker.3","frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":349680,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":2},{"imageOffset":4697381,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":2},{"imageOffset":4699689,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":2},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageI
8000
ndex":1}]},{"id":8678745,"name":"io.worker.4","frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":349680,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":2},{"imageOffset":4697381,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":2},{"imageOffset":4699689,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":2},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8678746,"name":"io.worker.5","frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":349680,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":2},{"imageOffset":4697381,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":2},{"imageOffset":4699689,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":2},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8678747,"name":"io.worker.6","frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":349680,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":2},{"imageOffset":4697381,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":2},{"imageOffset":4699689,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":2},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8678748,"name":"io.worker.7","frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":349680,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":2},{"imageOffset":4697381,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":2},{"imageOffset":4699689,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":2},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8678749,"name":"io.worker.8","frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":349680,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":2},{"imageOffset":4697381,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":2},{"imageOffset":4699689,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":2},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8678750,"name":"dart:io EventHandler","frames":[{"imageOffset":25342,"symbol":"kevent","symbolLocation":10,"imageIndex":0},{"imageOffset":9344664,"symbol":"dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long)","symbolLocation":344,"imageIndex":2},{"imageOffset":9481587,"symbol":"dart::bin::ThreadStart(void*)","symbolLocation":83,"imageIndex":2},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8678751,"name":"Dart Profiler ThreadInterrupter","frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":12623806,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":158,"imageIndex":2},{"imageOffset":13163071,"symbol":"dart::ThreadInterrupter::ThreadMain(unsigned long)","symbolLocation":303,"imageIndex":2},{"imageOffset":12621070,"symbol":"dart::ThreadStart(void*)","symbolLocation":206,"imageIndex":2},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8678752,"name":"Dart Profiler SampleBlockProcessor","frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26646,"symbol":"_pthread_cond_wait","symbolLocation":1296,"imageIndex":1},{"imageOffset":12623782,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":2},{"imageOffset":12649493,"symbol":"dart::SampleBlockProcessor::ThreadMain(unsigned long)","symbolLocation":181,"imageIndex":2},{"imageOffset":12621070,"symbol":"dart::ThreadStart(void*)","symbolLocation":206,"imageIndex":2},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8678756,"name":"multiple-flutters.1.2.ui","frames":[{"imageOffset":5794,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":63101,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":34586,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":0},{"imageOffset":6537,"symbol":"mach_msg","symbolLocation":19,"imageIndex":0},{"imageOffset":541751,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":3},{"imageOffset":519035,"symbol":"__CFRunLoopRun","symbolLocation":1338,"imageIndex":3},{"imageOffset":516708,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":3},{"imageOffset":4738725,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":2},{"imageOffset":4710934,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":2},{"imageOffset":4734403,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)","symbolLocation":169,"imageIndex":2},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8678757,"name":"multiple-flutters.1.2.raster","frames":[{"imageOffset":5794,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":63101,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":34586,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":0},{"imageOffset":6537,"symbol":"mach_msg","symbolLocation":19,"imageIndex":0},{"imageOffset":541751,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":3},{"imageOffset":519035,"symbol":"__CFRunLoopRun","symbolLocation":1338,"imageIndex":3},{"imageOffset":516708,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":3},{"imageOffset":4738725,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":2},{"imageOffset":4710934,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":2},{"imageOffset":4734403,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)","symbolLocation":169,"imageIndex":2},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8679271,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":8680135,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":8680159,"name":"DartWorker","frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26646,"symbol":"_pthread_cond_wait","symbolLocation":1296,"imageIndex":1},{"imageOffset":12623782,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":2},{"imageOffset":13166719,"symbol":"dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)","symbolLocation":559,"imageIndex":2},{"imageOffset":13167641,"symbol":"dart::ThreadPool::Worker::Main(unsigned long)","symbolLocation":121,"imageIndex":2},{"imageOffset":12621070,"symbol":"dart::ThreadStart(void*)","symbolLocation":206,"imageIndex":2},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8680330,"name":"JavaScriptCore libpas scavenger","frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":1096279,"symbol":"scavenger_thread_main","symbolLocation":1863,"imageIndex":12},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":8680341,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140704058621952,
    "size" : 237560,
    "uuid" : "0c2fd2c9-777c-3355-b70f-7b1b6e9d1b0b",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140704058994688,
    "size" : 49144,
    "uuid" : "13b5e252-77d1-31e1-888d-1c5f4426ea87",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4556693504,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "io.flutter.flutter",
    "size" : 35880960,
    "uuid" : "4c4c44b4-5555-3144-a14f-57a01a934854",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/98082851-A0C4-4E39-A310-21C48B10A364\/data\/Containers\/Bundle\/Application\/FC54F83B-8207-4A94-ADA8-63F192EEC90A\/Runner.app\/Frameworks\/Flutter.framework\/Flutter",
    "name" : "Flutter",
    "CFBundleVersion" : "1.0"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703131951104,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 3719165,
    "uuid" : "4a7cffac-1006-319f-89a8-a168c8be375b",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/CoreFoundation.framework\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1971"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703136141312,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 9129973,
    "uuid" : "791086eb-c32e-3902-b79f-8e126433410f",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/Foundation.framework\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1971"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4486967296,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.UIKitCore",
    "size" : 28278784,
    "uuid" : "0037a772-7e04-353d-8db0-59f7833a6ae0",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/UIKitCore.framework\/UIKitCore",
    "name" : "UIKitCore",
    "CFBundleVersion" : "6441.1.101"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703216631808,
    "CFBundleShortVersionString" : "812.106",
    "CFBundleIdentifier" : "com.apple.FrontBoardServices",
    "size" : 675830,
    "uuid" : "ca41353a-1f70-3bcc-9d59-326b27b4141a",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/FrontBoardServices.framework\/FrontBoardServices",
    "name" : "FrontBoardServices",
    "CFBundleVersion" : "812.106"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703129903104,
    "size" : 315388,
    "uuid" : "32cdcdc9-c34b-36e3-980a-031625d30547",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703291396096,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.GraphicsServices",
    "size" : 32755,
    "uuid" : "f937c0e4-1e9f-31cb-a71a-204945d95b75",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/GraphicsServices.framework\/GraphicsServices",
    "name" : "GraphicsServices",
    "CFBundleVersion" : "1.0"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4460277760,
    "CFBundleShortVersionString" : "1.0.0",
    "CFBundleIdentifier" : "com.example.issueDisposeEngine127168",
    "size" : 9928704,
    "uuid" : "5f9ff0d3-c96a-339f-a1ca-c2c079a647b3",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/98082851-A0C4-4E39-A310-21C48B10A364\/data\/Containers\/Bundle\/Application\/FC54F83B-8207-4A94-ADA8-63F192EEC90A\/Runner.app\/Runner",
    "name" : "Runner",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4481081344,
    "size" : 401408,
    "uuid" : "6fa70830-2b34-3b74-9f1a-ecd763b2e892",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/dyld_sim",
    "name" : "dyld_sim"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4555677696,
    "size" : 622592,
    "uuid" : "28fd2071-57f3-3873-87bf-e4f674a82de6",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4663005184,
    "CFBundleShortVersionString" : "8615",
    "CFBundleIdentifier" : "com.apple.JavaScriptCore",
    "size" : 24809472,
    "uuid" : "090625ac-20f0-3f5a-9684-124c313ab3b0",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Cryptexes\/OS\/System\/Library\/Frameworks\/JavaScriptCore.framework\/JavaScriptCore",
    "name" : "JavaScriptCore",
    "CFBundleVersion" : "8615.1.26.10.23"
  }
],
  "sharedCache" : {
  "base" : 140703128616960,
  "size" : 3009167360,
  "uuid" : "d359f25b-b6fe-36f8-930c-286985b8ad19"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=6.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=6.0G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nCG raster data                      24K        2 \nColorSync                           88K        5 \nCoreAnimation                       64K        9 \nFoundation                          16K        1 \nIOSurface                        142.3M       12 \nJS JIT generated code              1.0G        3 \nKernel Alloc Once                    8K        1 \nMALLOC                           219.2M       50 \nMALLOC guard page                   32K        8 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.1M       20 \nStack                             19.7M       22 \nVM_ALLOCATE                       35.5M       50 \nVM_ALLOCATE (reserved)             4.0G        1         reserved VM address space (unallocated)\nWebKit Malloc                    160.0M        4 \nWebKit Malloc (reserved)          32.0M        1         reserved VM address space (unallocated)\n__DATA                            17.8M      569 \n__DATA_CONST                      49.3M      563 \n__DATA_DIRTY                        42K       13 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       417.0M       81 \n__OBJC_RO                         29.1M        1 \n__OBJC_RW                          898K        1 \n__TEXT                           618.2M      575 \ndyld private memory               1032K        8 \nmapped file                      225.9M       21 \nshared memory                       24K        3 \n===========                     =======  ======= \nTOTAL                              7.4G     2027 \nTOTAL, minus reserved VM space     2.9G     2027 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "60f8ddccefea4203d95cbeef",
      "factorPackIds" : {

      },
      "deploymentId" : 240000025
    },
    {
      "rolloutId" : "62b4513af75dc926494899c6",
      "factorPackIds" : {
        "COREOS_ICD" : "62fbe3cfa9a700130f60b3ea"
      },
      "deploymentId" : 240000019
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "c28e4ee6-1b08-4f90-8e05-2809e78310a3",
      "experimentId" : "6317d2003d24842ff850182a",
      "deploymentId" : 400000013
    },
    {
      "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be",
      "experimentId" : "64406ba83deb637ac8a04419",
      "deploymentId" : 900000005
    }
  ]
}
}
flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.10.1, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.10.1 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d3d8effc68 (26 hours ago), 2023-05-16 17:59:05 -0700
    • Engine revision b4fb11214d
    • Dart version 3.0.1
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.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 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2022.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.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 113.0.5672.126

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

• No issues found!
[!] Flutter (Channel master, 3.11.0-6.0.pre.153, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    • Flutter version 3.11.0-6.0.pre.153 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 e49d35d3a6 (35 minutes ago), 2023-05-18 22:26:29 -0400
    • Engine revision bca11a423f
    • Dart version 3.1.0 (build 3.1.0-125.0.dev)
    • DevTools version 2.23.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 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 32.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 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2022.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.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 13.0.1 22A400 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 113.0.5672.126

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

! Doctor found issues in 1 category.

Sample code project: issue_dispose_engine_127168.zip

Labeling the issue for further investigation.

@huycozy huycozy added platform-ios iOS applications specifically engine flutter/engine repository. See also e: labels. a: platform-views Embedding Android/iOS views in Flutter apps has reproducible steps The issue has been confirmed reproducible and is ready to work on found in release: 3.10 Found to occur in 3.10 found in release: 3.11 Found to occur in 3.11 c: crash Stack traces logged to the console and removed in triage Presently being triaged by the triage team labels May 19, 2023
@cyanglaz cyanglaz added P2 Important issues not at the top of the work list P1 High-priority issues at the top of the work list and removed P2 Important issues not at the top of the work list labels May 19, 2023
@cyanglaz cyanglaz self-assigned this May 19, 2023
@zhoujun951236
Copy link
zhoujun951236 commented Jun 2, 2023

Thanks for your response. After doing those above steps, I still can navigate to native page (1st button) but it will freeze if start navigating to platformview page (2nd button)

Also, after waiting a while, there is a crash (whilst there is no stack trace from flutter)

Logs
flutter doctor -v (stable and master)
Sample code project: issue_dispose_engine_127168.zip

Labeling the issue for further investigation.

i also found the crash,how to solve?flutter sdk 3.7.12

@keisuke-kiriyama
Copy link
Author

@cyanglaz
Do you have any updates regarding this issue? We are facing difficulties in releasing the service due to this problem. I apologize for bothering you during your busy schedule, but we kindly request your assistance in addressing this matter.

@dodatw
Copy link
dodatw commented Jul 4, 2023

Same here.
Is use independence flutterEngine, no this issue. (w/o FlutterEngineGroup)
But I need FlutterEngineGroup to reduce resource usage.

@flutter-triage-bot flutter-triage-bot bot added multiteam-retriage-candidate team-ios Owned by iOS platform team triaged-ios Triaged by iOS platform team labels Jul 8, 2023
@dodatw
Copy link
dodatw commented Jul 10, 2023

Can someone look into this issue?
This issue limits the usage of flutterEngine and platform-view.
We've been stuck with this problem for a while now.

@cyanglaz
Copy link
Contributor
cyanglaz commented Jul 12, 2023

I did some investigation and I believe it is related to thread merging in particular. I have tried to statically having the raster thread = platform thread, there is no issue.

What I found is that the App did not freeze. It is just not rendering new frames. In the sample app: ssue_dispose_engine_127168.zip, at the very last step, the first tap of the button triggers the onPress callback, but no new page is created. The second tap of the button does not trigger the onPress callback. However, I have verified that on the engine side, the touch events are always happening.

I also found that when the app stucks, this block of code is always triggered. https://github.com/flutter/engine/blob/main/shell/common/animator.cc#L87-L94
So it is always requesting a new frame before rendering the current frame.

@cyanglaz
Copy link
Contributor
cyanglaz commented Jul 13, 2023

Update:

The issue turned out to be the thread merger are incorrectly determined to be un-merged while it is actually merged, which leads to the frame being yield in the wrong thread.

Here: https://github.com/flutter/engine/blob/main/shell/common/rasterizer.cc#L195, when the app stucks, the Rasterizer::Draw was running on the main thread, but raster_thread_merger_->IsOnRasterizingThread() returns false.

Here is what happened during the sequence.

  1. engine 0 created, displaying PlatformView 0 , raster_thread_merger 0 created, threads merged.
  2. PlatformView is disposed, raster_thread_merger 0 un-merges the threads.
  3. engine 1 created, displaying PlatformView 1, raster_thread_merger 1 created, threads merged.
  4. engine 1 destroyed, raster_thread_merger 1 destroyed, did not un-merge the threads.
  5. Click on the "transition to platformView page" button, trying to draw a new frame. (still on PlatformThread since threads are un-merged from step 4)
  6. Rasterizer checks the thread merger status, raster_thread_merger 0 says it is un-merged (from step 2), yield the frame.
  7. A discrepancy has created between the actual thread situation and the raster_thread_merger 0's information.

I will be working on a fix soon.

auto-submit bot pushed a commit to flutter/engine that referenced this issue Jul 13, 2023
…43652)

`UnMergeNowIfLastOne` is called during shell destruction. When there are other shells with threads unmerged and the current destroying shell with thread merged. `UnMergeNowIfLastOne` should unmerge the threads. 

This PR Make `UnMergeNowIfLastOne` not only unmerge if the current merger is the last merger, but also unmerge if the current merger is the last merger that is merged.

Fixes flutter/flutter#127168

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
@huycozy huycozy added the r: fixed Issue is closed as already fixed in a newer version label Jul 14, 2023
kjlubick pushed a commit to kjlubick/engine that referenced this issue Jul 14, 2023
…lutter#43652)

`UnMergeNowIfLastOne` is called during shell destruction. When there are other shells with threads unmerged and the current destroying shell with thread merged. `UnMergeNowIfLastOne` should unmerge the threads. 

This PR Make `UnMergeNowIfLastOne` not only unmerge if the current merger is the last merger, but also unmerge if the current merger is the last merger that is merged.

Fixes flutter/flutter#127168

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
harryterkelsen pushed a commit to harryterkelsen/engine that referenced this issue Jul 20, 2023
…lutter#43652)

`UnMergeNowIfLastOne` is called during shell destruction. When there are other shells with threads unmerged and the current destroying shell with thread merged. `UnMergeNowIfLastOne` should unmerge the threads. 

This PR Make `UnMergeNowIfLastOne` not only unmerge if the current merger is the last merger, but also unmerge if the current merger is the last merger that is merged.

Fixes flutter/flutter#127168

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2023
cyanglaz pushed a commit to cyanglaz/engine that referenced this issue Oct 24, 2023
…lutter#43652)

`UnMergeNowIfLastOne` is called during shell destruction. When there are other shells with threads unmerged and the current destroying shell with thread merged. `UnMergeNowIfLastOne` should unmerge the threads. 

This PR Make `UnMergeNowIfLastOne` not only unmerge if the current merger is the last merger, but also unmerge if the current merger is the last merger that is merged.

Fixes flutter/flutter#127168

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: platform-views Embedding Android/iOS views in Flutter apps c: crash Stack traces logged to the console engine flutter/engine repository. See also e: labels. found in release: 3.10 Found to occur in 3.10 found in release: 3.11 Found to occur in 3.11 has reproducible steps The issue has been confirmed reproducible and is ready to work on P1 High-priority issues at the top of the work list platform-ios iOS applications specifically r: fixed Issue is closed as already fixed in a newer version team-ios Owned by iOS platform team triaged-ios Triaged by iOS platform team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants
0