Repository: flutter
Issue: [engine] snapshot delegate must check toImage/toImageSync calls against max texture size.
Labels: c: crash,platform-android,platform-ios,engine,a: images,P2,c: fatal crash,team-engine,triaged-engine

### Steps to reproduce

1. Run app on iOS or Android
2. Click on "Random Drawing"

### Expected results

The app should continue working and the generation failing in case the exported image is too large.

### Actual results

The app crashes without warning or errors.

### Code sample

<details open><summary>Code sample</summary>

```dart
import 'dart:ui';

import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(
          child: TextButton(
            onPressed: _generate,
            child: Text('Random drawing'),
          ),
        ),
      ),
    );
  }
}

void _generate() async {
  const width = 13948;
  const height = 12444;

  final recorder = PictureRecorder();
  final canvas = Canvas(recorder);
  canvas.drawRect(const Rect.fromLTRB(0, 0, width + 0, height + 0),
      Paint()..color = Colors.black45);

  final picture = recorder.endRecording();

  final image = picture.toImageSync(width, height);
  picture.dispose();

  await image.toByteData(format: ImageByteFormat.png);
}
```

</details>


### Screenshots or Video

_No response_

### Logs

<details open><summary>Logs</summary>

```console
Hardware Model:      Mac14,2
Process:             Runner [17801]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/CE2827ED-E7E0-4CD3-9DB4-D21344BD2A21/data/Containers/Bundle/Application/7B00E338-99C8-4339-AECB-546F07522499/Runner.app/Runner
Identifier:          com.example.segFault
Version:             0.1.0 (0.1.0)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [6919]
Coalition:           com.apple.CoreSimulator.SimDevice.CE2827ED-E7E0-4CD3-9DB4-D21344BD2A21 [1425]
Responsible Process: SimulatorTrampoline [710]

Date/Time:           2024-09-08 09:27:43.2678 +0200
Launch Time:         2024-09-08 09:25:35.0578 +0200
OS Version:          macOS 14.6.1 (23G93)
Release Type:        User
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000128018000
Exception Codes: 0x0000000000000001, 0x0000000128018000
VM Region Info: 0x128018000 is not in any region.  Bytes after previous region: 1  Bytes before following region: 1131855872
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      IOSurface                   12743c000-128018000    [ 11.9M] rw-/rw- SM=PRV  
--->  GAP OF 0x4376c000 BYTES
      Stack Guard                 16b784000-16ef88000    [ 56.0M] ---/rwx SM=NUL  
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [17801]

Triggered by Thread:  5

Thread 0::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x100729170 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x10073a660 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x100731318 mach_msg_overwrite + 532
3   libsystem_kernel.dylib        	       0x1007294e8 mach_msg + 20
4   CoreFoundation                	       0x18040e684 __CFRunLoopServiceMachPort + 156
5   CoreFoundation                	       0x180408d64 __CFRunLoopRun + 1148
6   CoreFoundation                	       0x1804084d4 CFRunLoopRunSpecific + 572
7   GraphicsServices              	       0x18ef2aae4 GSEventRunModal + 160
8   UIKitCore                     	       0x1853d0a28 -[UIApplication _run] + 868
9   UIKitCore                     	       0x1853d46b0 UIApplicationMain + 124
10  UIKitCore                     	       0x1848736a8 0x1847df000 + 607912
11  Runner                        	       0x10067fd5c static UIApplicationDelegate.main() + 120
12  Runner                        	       0x10067fcd4 static AppDelegate.$main() + 44
13  Runner                        	       0x10067fdd8 main + 28 (AppDelegate.swift:5)
14  dyld_sim                      	       0x100805544 start_sim + 20
15  dyld                          	       0x100a92154 start + 2476

Thread 1:
0   libsystem_pthread.dylib       	       0x1007b65cc start_wqthread + 0

Thread 2:: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib        	       0x100729170 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x10073a660 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x100731318 mach_msg_overwrite + 532
3   libsystem_kernel.dylib        	       0x1007294e8 mach_msg + 20
4   CoreFoundation                	       0x18040e684 __CFRunLoopServiceMachPort + 156
5   CoreFoundation                	       0x180408d64 __CFRunLoopRun + 1148
6   CoreFoundation                	       0x1804084d4 CFRunLoopRunSpecific + 572
7   Foundation                    	       0x180dd340c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208
8   Foundation                    	       0x180dd3630 -[NSRunLoop(NSRunLoop) runUntilDate:] + 60
9   UIKitCore                     	       0x1854773f8 -[UIEventFetcher threadMain] + 404
10  Foundation                    	       0x180df9c64 __NSThread__start__ + 720
11  libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
12  libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 3:: io.flutter.1.ui
0   libsystem_kernel.dylib        	       0x100729170 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x10073a660 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x100731318 mach_msg_overwrite + 532
3   libsystem_kernel.dylib        	       0x1007294e8 mach_msg + 20
4   CoreFoundation                	       0x18040e684 __CFRunLoopServiceMachPort + 156
5   CoreFoundation                	       0x180408d64 __CFRunLoopRun + 1148
6   CoreFoundation                	       0x1804084d4 CFRunLoopRunSpecific + 572
7   Flutter                       	       0x104813e28 fml::MessageLoopDarwin::Run() + 88 (message_loop_darwin.mm:51)
8   Flutter                       	       0x10480cc20 fml::MessageLoopImpl::DoRun() + 40 (message_loop_impl.cc:94)
9   Flutter                       	       0x104812a2c fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0::operator()() const + 164 (thread.cc:154) [inlined]
10  Flutter                       	       0x104812a2c decltype(std::declval<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>()()) std::_fl::__invoke[abi:v15000]<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 164 (invoke.h:403) [inlined]
11  Flutter                       	       0x104812a2c void std::_fl::__invoke_void_return_wrapper<void, true>::__call<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 164 (invoke.h:488) [inlined]
12  Flutter                       	       0x104812a2c std::_fl::__function::__alloc_func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()[abi:v15000]() + 164 (function.h:185) [inlined]
13  Flutter                       	       0x104812a2c std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 184 (function.h:359)
14  Flutter                       	       0x104812738 std::_fl::__function::__value_func<void ()>::operator()[abi:v15000]() const + 20 (function.h:512) [inlined]
15  Flutter                       	       0x104812738 std::_fl::function<void ()>::operator()() const + 20 (function.h:1187) [inlined]
16  Flutter                       	       0x104812738 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::operator()(void*) const + 24 (thread.cc:76) [inlined]
17  Flutter                       	       0x104812738 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 36 (thread.cc:73)
18  libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
19  libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 4:: io.flutter.1.raster
0   libsystem_kernel.dylib        	       0x100729170 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x10073a660 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x100731318 mach_msg_overwrite + 532
3   libsystem_kernel.dylib        	       0x1007294e8 mach_msg + 20
4   CoreFoundation                	       0x18040e684 __CFRunLoopServiceMachPort + 156
5   CoreFoundation                	       0x180408d64 __CFRunLoopRun + 1148
6   CoreFoundation                	       0x1804084d4 CFRunLoopRunSpecific + 572
7   Flutter                       	       0x104813e28 fml::MessageLoopDarwin::Run() + 88 (message_loop_darwin.mm:51)
8   Flutter                       	       0x10480cc20 fml::MessageLoopImpl::DoRun() + 40 (message_loop_impl.cc:94)
9   Flutter                       	       0x104812a2c fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0::operator()() const + 164 (thread.cc:154) [inlined]
10  Flutter                       	       0x104812a2c decltype(std::declval<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>()()) std::_fl::__invoke[abi:v15000]<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 164 (invoke.h:403) [inlined]
11  Flutter                       	       0x104812a2c void std::_fl::__invoke_void_return_wrapper<void, true>::__call<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 164 (invoke.h:488) [inlined]
12  Flutter                       	       0x104812a2c std::_fl::__function::__alloc_func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()[abi:v15000]() + 164 (function.h:185) [inlined]
13  Flutter                       	       0x104812a2c std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 184 (function.h:359)
14  Flutter                       	       0x104812738 std::_fl::__function::__value_func<void ()>::operator()[abi:v15000]() const + 20 (function.h:512) [inlined]
15  Flutter                       	       0x104812738 std::_fl::function<void ()>::operator()() const + 20 (function.h:1187) [inlined]
16  Flutter                       	       0x104812738 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::operator()(void*) const + 24 (thread.cc:76) [inlined]
17  Flutter                       	       0x104812738 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 36 (thread.cc:73)
18  libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
19  libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 5 Crashed:: io.flutter.1.io
0   Flutter                       	       0x1051055f0 unsigned int vector[4] skcms_private::baseline::load<unsigned int vector[4], char>(char const*) + 0 (Transform_inl.h:100) [inlined]
1   Flutter                       	       0x1051055f0 skcms_private::baseline::Exec_load_8888_k(skcms_private::baseline::NoCtx, char const*, char*, float vector[4]&, float vector[4]&, float vector[4]&, float vector[4]&, int) + 4 (Transform_inl.h:878) [inlined]
2   Flutter                       	       0x1051055f0 skcms_private::baseline::Exec_load_8888(skcms_private::baseline::StageList, void const**, char const*, char*, float vector[4], float vector[4], float vector[4], float vector[4], int) + 4 (Transform_inl.h:877)
3   Flutter                       	       0x10510536c skcms_private::baseline::exec_stages(void (**)(skcms_private::baseline::StageList, void const**, char const*, char*, float vector[4], float vector[4], float vector[4], float vector[4], int), void const**, char const*, char*, int) + 44 (Transform_inl.h:1482) [inlined]
4   Flutter                       	       0x10510536c skcms_private::baseline::run_program(skcms_private::Op const*, void const**, long, char const*, char*, int, unsigned long, unsigned long) + 172 (Transform_inl.h:1530)
5   Flutter                       	       0x105104174 skcms_Transform + 3008 (skcms.cc:2807)
6   Flutter                       	       0x104b8edec skcms(char*, char const*, int, skcms_PixelFormat, skcms_AlphaFormat, skcms_PixelFormat, skcms_AlphaFormat) + 40 (SkImageEncoderFns.h:38) [inlined]
7   Flutter                       	       0x104b8edec transform_scanline_bgrA(char*, char const*, int, int) + 56 (SkImageEncoderFns.h:79)
8   Flutter                       	       0x104b8e984 SkPngEncoderImpl::onEncodeRows(int) + 184 (SkPngEncoderImpl.cpp:462)
9   Flutter                       	       0x104a2c478 SkEncoder::encodeRows(int) + 72 (SkEncoder.cpp:22)
10  Flutter                       	       0x104b8eb9c SkPngEncoder::Encode(SkWStream*, SkPixmap const&, SkPngEncoder::Options const&) + 48 (SkPngEncoderImpl.cpp:510)
11  Flutter                       	       0x104b8ec48 SkPngEncoder::Encode(GrDirectContext*, SkImage const*, SkPngEncoder::Options const&) + 124 (SkPngEncoderImpl.cpp:522)
12  Flutter                       	       0x104c90384 flutter::EncodeImage(sk_sp<SkImage> const&, flutter::ImageByteFormat) + 136 (image_encoding.cc:215)
13  Flutter                       	       0x104c90dd0 flutter::(anonymous namespace)::EncodeImageAndInvokeDataCallback(sk_sp<flutter::DlImage> const&, std::_fl::unique_ptr<tonic::DartPersistentValue, std::_fl::default_delete<tonic::DartPersistentValue>>, flutter::ImageByteFormat, fml::RefPtr<fml::TaskRunner> const&, fml::RefPtr<fml::TaskRunner> const&, fml::RefPtr<fml::TaskRunner> const&, fml::WeakPtr<GrDirectContext> const&, fml::TaskRunnerAffineWeakPtr<flutter::SnapshotDelegate> const&, std::_fl::shared_ptr<fml::SyncSwitch const> const&, std::_fl::shared_ptr<impeller::Context> const&, bool)::$_1::operator()(fml::StatusOr<sk_sp<SkImage>> const&) const + 136 (image_encoding.cc:131)
14  Flutter                       	       0x104cbb4a4 std::_fl::__function::__value_func<void (fml::StatusOr<sk_sp<SkImage>>)>::operator()[abi:v15000](fml::StatusOr<sk_sp<SkImage>>&&) const + 24 (function.h:512) [inlined]
15  Flutter                       	       0x104cbb4a4 std::_fl::function<void (fml::StatusOr<sk_sp<SkImage>>)>::operator()(fml::StatusOr<sk_sp<SkImage>>) const + 24 (function.h:1187) [inlined]
16  Flutter                       	       0x104cbb4a4 flutter::ImageEncodingImpeller::ConvertImageToRaster(sk_sp<flutter::DlImage> const&, std::_fl::function<void (fml::StatusOr<sk_sp<SkImage>>)>, fml::RefPtr<fml::TaskRunner> const&, fml::RefPtr<fml::TaskRunner> const&, std::_fl::shared_ptr<fml::SyncSwitch const> const&, std::_fl::shared_ptr<impeller::Context> const&)::$_0::operator()(fml::StatusOr<sk_sp<SkImage>>)::'lambda'()::operator()() const + 88 (image_encoding_impeller.cc:202) [inlined]
17  Flutter                       	       0x104cbb4a4 decltype(std::declval<flutter::ImageEncodingImpeller::ConvertImageToRaster(sk_sp<flutter::DlImage> const&, std::_fl::function<void (fml::StatusOr<sk_sp<SkImage>>)>, fml::RefPtr<fml::TaskRunner> const&, fml::RefPtr<fml::TaskRunner> const&, std::_fl::shared_ptr<fml::SyncSwitch const> const&, std::_fl::shared_ptr<impeller::Context> const&)::$_0::operator()(fml::StatusOr<sk_sp<SkImage>>)::'lambda'()&>()()) std::_fl::__invoke[abi:v15000]<flutter::ImageEncodingImpeller::ConvertImageToRaster(sk_sp<flutter::DlImage> const&, std::_fl::function<void (fml::StatusOr<sk_sp<SkImage>>)>, fml::RefPtr<fml::TaskRunner> const&, fml::RefPtr<fml::TaskRunner> const&, std::_fl::shared_ptr<fml::SyncSwitch const> const&, std::_fl::shared_ptr<impeller::Context> const&)::$_0::operator()(fml::StatusOr<sk_sp<SkImage>>)::'lambda'()&>(flutter::ImageEncodingImpeller::ConvertImageToRaster(sk_sp<flutter::DlImage> const&, std::_fl::function<void (fml::StatusOr<sk_sp<SkImage>>)>, fml::RefPtr<fml::TaskRunner> const&, fml::RefPtr<fml::TaskRunner> const&, std::_fl::shared_ptr<fml::SyncSwitch const> const&, std::_fl::shared_ptr<impeller::Context> const&)::$_0::operator()(fml::StatusOr<sk_sp<SkImage>>)::'lambda'()&) + 88 (invoke.h:403) [inlined]
18  Flutter                       	       0x104cbb4a4 void std::_fl::__invoke_void_return_wrapper<void, true>::__call<flutter::ImageEncodingImpeller::ConvertImageToRaster(sk_sp<flutter::DlImage> const&, std::_fl::function<void (fml::StatusOr<sk_sp<SkImage>>)>, fml::RefPtr<fml::TaskRunner> const&, fml::RefPtr<fml::TaskRunner> const&, std::_fl::shared_ptr<fml::SyncSwitch const> const&, std::_fl::shared_ptr<impeller::Context> const&)::$_0::operator()(fml::StatusOr<sk_sp<SkImage>>)::'lambda'()&>(flutter::ImageEncodingImpeller::ConvertImageToRaster(sk_sp<flutter::DlImage> const&, std::_fl::function<void (fml::StatusOr<sk_sp<SkImage>>)>, fml::RefPtr<fml::TaskRunner> const&, fml::RefPtr<fml::TaskRunner> const&, std::_fl::shared_ptr<fml::SyncSwitch const> const&, std::_fl::shared_ptr<impeller::Context> const&)::$_0::operator()(fml::StatusOr<sk_sp<SkImage>>)::'lambda'()&) + 88 (invoke.h:488) [inlined]
19  Flutter                       	       0x104cbb4a4 std::_fl::__function::__alloc_func<flutter::ImageEncodingImpeller::ConvertImageToRaster(sk_sp<flutter::DlImage> const&, std::_fl::function<void (fml::StatusOr<sk_sp<SkImage>>)>, fml::RefPtr<fml::TaskRunner> const&, fml::RefPtr<fml::TaskRunner> const&, std::_fl::shared_ptr<fml::SyncSwitch const> const&, std::_fl::shared_ptr<impeller::Context> const&)::$_0::operator()(fml::StatusOr<sk_sp<SkImage>>)::'lambda'(), std::_fl::allocator<flutter::ImageEncodingImpeller::ConvertImageToRaster(sk_sp<flutter::DlImage> const&, std::_fl::function<void (fml::StatusOr<sk_sp<SkImage>>)>, fml::RefPtr<fml::TaskRunner> const&, fml::RefPtr<fml::TaskRunner> const&, std::_fl::shared_ptr<fml::SyncSwitch const> const&, std::_fl::shared_ptr<impeller::Context> const&)::$_0::operator()(fml::StatusOr<sk_sp<SkImage>>)::'lambda'()>, void ()>::operator()[abi:v15000]() + 88 (function.h:185) [inlined]
20  Flutter                       	       0x104cbb4a4 std::_fl::__function::__func<flutter::ImageEncodingImpeller::ConvertImageToRaster(sk_sp<flutter::DlImage> const&, std::_fl::function<void (fml::StatusOr<sk_sp<SkImage>>)>, fml::RefPtr<fml::TaskRunner> const&, fml::RefPtr<fml::TaskRunner> const&, std::_fl::shared_ptr<fml::SyncSwitch const> const&, std::_fl::shared_ptr<impeller::Context> const&)::$_0::operator()(fml::StatusOr<sk_sp<SkImage>>)::'lambda'(), std::_fl::allocator<flutter::ImageEncodingImpeller::ConvertImageToRaster(sk_sp<flutter::DlImage> const&, std::_fl::function<void (fml::StatusOr<sk_sp<SkImage>>)>, fml::RefPtr<fml::TaskRunner> const&, fml::RefPtr<fml::TaskRunner> const&, std::_fl::shared_ptr<fml::SyncSwitch const> const&, std::_fl::shared_ptr<impeller::Context> const&)::$_0::operator()(fml::StatusOr<sk_sp<SkImage>>)::'lambda'()>, void ()>::operator()() + 100 (function.h:359)
21  Flutter                       	       0x10480cd00 std::_fl::__function::__value_func<void ()>::operator()[abi:v15000]() const + 12 (function.h:512) [inlined]
22  Flutter                       	       0x10480cd00 std::_fl::function<void ()>::operator()() const + 12 (function.h:1187) [inlined]
23  Flutter                       	       0x10480cd00 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 156 (message_loop_impl.cc:126)
24  Flutter                       	       0x104813cf8 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32 (message_loop_darwin.mm:85)
25  CoreFoundation                	       0x18040f548 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
26  CoreFoundation                	       0x18040f204 __CFRunLoopDoTimer + 948
27  CoreFoundation                	       0x18040e8a0 __CFRunLoopDoTimers + 284
28  CoreFoundation                	       0x180408fec __CFRunLoopRun + 1796
29  CoreFoundation                	       0x1804084d4 CFRunLoopRunSpecific + 572
30  Flutter                       	       0x104813e28 fml::MessageLoopDarwin::Run() + 88 (message_loop_darwin.mm:51)
31  Flutter                       	       0x10480cc20 fml::MessageLoopImpl::DoRun() + 40 (message_loop_impl.cc:94)
32  Flutter                       	       0x104812a2c fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0::operator()() const + 164 (thread.cc:154) [inlined]
33  Flutter                       	       0x104812a2c decltype(std::declval<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>()()) std::_fl::__invoke[abi:v15000]<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 164 (invoke.h:403) [inlined]
34  Flutter                       	       0x104812a2c void std::_fl::__invoke_void_return_wrapper<void, true>::__call<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 164 (invoke.h:488) [inlined]
35  Flutter                       	       0x104812a2c std::_fl::__function::__alloc_func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()[abi:v15000]() + 164 (function.h:185) [inlined]
36  Flutter                       	       0x104812a2c std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 184 (function.h:359)
37  Flutter                       	       0x104812738 std::_fl::__function::__value_func<void ()>::operator()[abi:v15000]() const + 20 (function.h:512) [inlined]
38  Flutter                       	       0x104812738 std::_fl::function<void ()>::operator()() const + 20 (function.h:1187) [inlined]
39  Flutter                       	       0x104812738 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::operator()(void*) const + 24 (thread.cc:76) [inlined]
40  Flutter                       	       0x104812738 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 36 (thread.cc:73)
41  libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
42  libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 6:: io.flutter.1.profiler
0   libsystem_kernel.dylib        	       0x100729170 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x10073a660 mach_msg2_internal + 76
2   libsystem_kernel.dylib        	       0x100731318 mach_msg_overwrite + 532
3   libsystem_kernel.dylib        	       0x1007294e8 mach_msg + 20
4   CoreFoundation                	       0x18040e684 __CFRunLoopServiceMachPort + 156
5   CoreFoundation                	       0x180408d64 __CFRunLoopRun + 1148
6   CoreFoundation                	       0x1804084d4 CFRunLoopRunSpecific + 572
7   Flutter                       	       0x104813e28 fml::MessageLoopDarwin::Run() + 88 (message_loop_darwin.mm:51)
8   Flutter                       	       0x10480cc20 fml::MessageLoopImpl::DoRun() + 40 (message_loop_impl.cc:94)
9   Flutter                       	       0x104812a2c fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0::operator()() const + 164 (thread.cc:154) [inlined]
10  Flutter                       	       0x104812a2c decltype(std::declval<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>()()) std::_fl::__invoke[abi:v15000]<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 164 (invoke.h:403) [inlined]
11  Flutter                       	       0x104812a2c void std::_fl::__invoke_void_return_wrapper<void, true>::__call<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&>(fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&) + 164 (invoke.h:488) [inlined]
12  Flutter                       	       0x104812a2c std::_fl::__function::__alloc_func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()[abi:v15000]() + 164 (function.h:185) [inlined]
13  Flutter                       	       0x104812a2c std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 184 (function.h:359)
14  Flutter                       	       0x104812738 std::_fl::__function::__value_func<void ()>::operator()[abi:v15000]() const + 20 (function.h:512) [inlined]
15  Flutter                       	       0x104812738 std::_fl::function<void ()>::operator()() const + 20 (function.h:1187) [inlined]
16  Flutter                       	       0x104812738 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::operator()(void*) const + 24 (thread.cc:76) [inlined]
17  Flutter                       	       0x104812738 fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*) + 36 (thread.cc:73)
18  libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
19  libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 7:: io.worker.1
0   libsystem_kernel.dylib        	       0x10072c670 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1007bb9cc _pthread_cond_wait + 1216
2   Flutter                       	       0x1047eca6c std::_fl::__libcpp_condvar_wait[abi:v15000](_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*) + 4 (__threading_support:335) [inlined]
3   Flutter                       	       0x1047eca6c std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 24 (condition_variable.cpp:46)
4   Flutter                       	       0x104809050 void std::_fl::condition_variable::wait<fml::ConcurrentMessageLoop::WorkerMain()::$_0>(std::_fl::unique_lock<std::_fl::mutex>&, fml::ConcurrentMessageLoop::WorkerMain()::$_0) + 40 (__mutex_base:398) [inlined]
5   Flutter                       	       0x104809050 fml::ConcurrentMessageLoop::WorkerMain() + 128 (concurrent_message_loop.cc:75)
6   Flutter                       	       0x104809928 fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0::operator()() const + 136 (concurrent_message_loop.cc:20) [inlined]
7   Flutter                       	       0x104809928 decltype(std::declval<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>()()) std::_fl::__invoke[abi:v15000]<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>(fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0&&) + 136 (invoke.h:403) [inlined]
8   Flutter                       	       0x104809928 _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml21ConcurrentMessageLoopC1EmE3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE + 136 (thread:284) [inlined]
9   Flutter                       	       0x104809928 void* std::_fl::__thread_proxy[abi:v15000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 184 (thread:295)
10  libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
11  libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 8:: io.worker.2
0   libsystem_kernel.dylib        	       0x10072c670 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1007bb9cc _pthread_cond_wait + 1216
2   Flutter                       	       0x1047eca6c std::_fl::__libcpp_condvar_wait[abi:v15000](_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*) + 4 (__threading_support:335) [inlined]
3   Flutter                       	       0x1047eca6c std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 24 (condition_variable.cpp:46)
4   Flutter                       	       0x104809050 void std::_fl::condition_variable::wait<fml::ConcurrentMessageLoop::WorkerMain()::$_0>(std::_fl::unique_lock<std::_fl::mutex>&, fml::ConcurrentMessageLoop::WorkerMain()::$_0) + 40 (__mutex_base:398) [inlined]
5   Flutter                       	       0x104809050 fml::ConcurrentMessageLoop::WorkerMain() + 128 (concurrent_message_loop.cc:75)
6   Flutter                       	       0x104809928 fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0::operator()() const + 136 (concurrent_message_loop.cc:20) [inlined]
7   Flutter                       	       0x104809928 decltype(std::declval<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>()()) std::_fl::__invoke[abi:v15000]<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>(fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0&&) + 136 (invoke.h:403) [inlined]
8   Flutter                       	       0x104809928 _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml21ConcurrentMessageLoopC1EmE3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE + 136 (thread:284) [inlined]
9   Flutter                       	       0x104809928 void* std::_fl::__thread_proxy[abi:v15000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 184 (thread:295)
10  libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
11  libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 9:: io.worker.3
0   libsystem_kernel.dylib        	       0x10072c670 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1007bb9cc _pthread_cond_wait + 1216
2   Flutter                       	       0x1047eca6c std::_fl::__libcpp_condvar_wait[abi:v15000](_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*) + 4 (__threading_support:335) [inlined]
3   Flutter                       	       0x1047eca6c std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 24 (condition_variable.cpp:46)
4   Flutter                       	       0x104809050 void std::_fl::condition_variable::wait<fml::ConcurrentMessageLoop::WorkerMain()::$_0>(std::_fl::unique_lock<std::_fl::mutex>&, fml::ConcurrentMessageLoop::WorkerMain()::$_0) + 40 (__mutex_base:398) [inlined]
5   Flutter                       	       0x104809050 fml::ConcurrentMessageLoop::WorkerMain() + 128 (concurrent_message_loop.cc:75)
6   Flutter                       	       0x104809928 fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0::operator()() const + 136 (concurrent_message_loop.cc:20) [inlined]
7   Flutter                       	       0x104809928 decltype(std::declval<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>()()) std::_fl::__invoke[abi:v15000]<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>(fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0&&) + 136 (invoke.h:403) [inlined]
8   Flutter                       	       0x104809928 _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml21ConcurrentMessageLoopC1EmE3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE + 136 (thread:284) [inlined]
9   Flutter                       	       0x104809928 void* std::_fl::__thread_proxy[abi:v15000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 184 (thread:295)
10  libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
11  libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 10:: io.worker.4
0   libsystem_kernel.dylib        	       0x10072c670 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1007bb9cc _pthread_cond_wait + 1216
2   Flutter                       	       0x1047eca6c std::_fl::__libcpp_condvar_wait[abi:v15000](_opaque_pthread_cond_t*, _opaque_pthread_mutex_t*) + 4 (__threading_support:335) [inlined]
3   Flutter                       	       0x1047eca6c std::_fl::condition_variable::wait(std::_fl::unique_lock<std::_fl::mutex>&) + 24 (condition_variable.cpp:46)
4   Flutter                       	       0x104809050 void std::_fl::condition_variable::wait<fml::ConcurrentMessageLoop::WorkerMain()::$_0>(std::_fl::unique_lock<std::_fl::mutex>&, fml::ConcurrentMessageLoop::WorkerMain()::$_0) + 40 (__mutex_base:398) [inlined]
5   Flutter                       	       0x104809050 fml::ConcurrentMessageLoop::WorkerMain() + 128 (concurrent_message_loop.cc:75)
6   Flutter                       	       0x104809928 fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0::operator()() const + 136 (concurrent_message_loop.cc:20) [inlined]
7   Flutter                       	       0x104809928 decltype(std::declval<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>()()) std::_fl::__invoke[abi:v15000]<fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>(fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0&&) + 136 (invoke.h:403) [inlined]
8   Flutter                       	       0x104809928 _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml21ConcurrentMessageLoopC1EmE3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE + 136 (thread:284) [inlined]
9   Flutter                       	       0x104809928 void* std::_fl::__thread_proxy[abi:v15000]<std::_fl::tuple<std::_fl::unique_ptr<std::_fl::__thread_struct, std::_fl::default_delete<std::_fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 184 (thread:295)
10  libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
11  libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 11:: dart:io EventHandler
0   libsystem_kernel.dylib        	       0x10072ecec kevent + 8
1   Flutter                       	       0x104d5cd94 dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 300 (eventhandler_macos.cc:459)
2   Flutter                       	       0x104d78f3c dart::bin::ThreadStart(void*) + 88 (thread_macos.cc:91)
3   libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
4   libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 12:: Dart Profiler ThreadInterrupter
0   libsystem_kernel.dylib        	       0x10072c670 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1007bb9cc _pthread_cond_wait + 1216
2   Flutter                       	       0x104ee6ee4 dart::Monitor::WaitMicros(long long) + 152 (os_thread_macos.cc:435)
3   Flutter                       	       0x104f53968 dart::MonitorLocker::WaitMicros(long long) + 8 (lockers.h:181) [inlined]
4   Flutter                       	       0x104f53968 dart::ThreadInterrupter::ThreadMain(unsigned long) + 324 (thread_interrupter.cc:170)
5   Flutter                       	       0x104ee6650 dart::ThreadStart(void*) + 204 (os_thread_macos.cc:136)
6   libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
7   libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 13:: Dart Profiler SampleBlockProcessor
0   libsystem_kernel.dylib        	       0x10072c670 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1007bb9f8 _pthread_cond_wait + 1260
2   Flutter                       	       0x104ee6ecc dart::Monitor::WaitMicros(long long) + 128 (os_thread_macos.cc:449)
3   Flutter                       	       0x104eeb53c dart::MonitorLocker::WaitMicros(long long) + 16 (lockers.h:181) [inlined]
4   Flutter                       	       0x104eeb53c dart::SampleBlockProcessor::ThreadMain(unsigned long) + 284 (profiler.cc:1875)
5   Flutter                       	       0x104ee6650 dart::ThreadStart(void*) + 204 (os_thread_macos.cc:136)
6   libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
7   libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 14:: DartWorker
0   libsystem_kernel.dylib        	       0x10072c670 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1007bb9f8 _pthread_cond_wait + 1260
2   Flutter                       	       0x104ee6ecc dart::Monitor::WaitMicros(long long) + 128 (os_thread_macos.cc:449)
3   Flutter                       	       0x104e31e90 dart::MonitorLocker::WaitMicros(long long) + 8 (lockers.h:181) [inlined]
4   Flutter                       	       0x104e31e90 dart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*) + 140 (isolate.cc:299)
5   Flutter                       	       0x104f543ec dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 136 (thread_pool.cc:167)
6   Flutter                       	       0x104f54700 dart::ThreadPool::Worker::Main(unsigned long) + 116 (thread_pool.cc:330)
7   Flutter                       	       0x104ee6650 dart::ThreadStart(void*) + 204 (os_thread_macos.cc:136)
8   libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
9   libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 15:: DartWorker
0   libsystem_kernel.dylib        	       0x10072c670 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1007bb9f8 _pthread_cond_wait + 1260
2   Flutter                       	       0x104ee6ecc dart::Monitor::WaitMicros(long long) + 128 (os_thread_macos.cc:449)
3   Flutter                       	       0x104f5454c dart::MonitorLocker::WaitMicros(long long) + 8 (lockers.h:181) [inlined]
4   Flutter                       	       0x104f5454c dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 488 (thread_pool.cc:183)
5   Flutter                       	       0x104f54700 dart::ThreadPool::Worker::Main(unsigned long) + 116 (thread_pool.cc:330)
6   Flutter                       	       0x104ee6650 dart::ThreadStart(void*) + 204 (os_thread_macos.cc:136)
7   libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
8   libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 16:
0   libsystem_pthread.dylib       	       0x1007b65cc start_wqthread + 0

Thread 17:: DartWorker
0   libsystem_kernel.dylib        	       0x10072c670 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1007bb9f8 _pthread_cond_wait + 1260
2   Flutter                       	       0x104ee6ecc dart::Monitor::WaitMicros(long long) + 128 (os_thread_macos.cc:449)
3   Flutter                       	       0x104f5454c dart::MonitorLocker::WaitMicros(long long) + 8 (lockers.h:181) [inlined]
4   Flutter                       	       0x104f5454c dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 488 (thread_pool.cc:183)
5   Flutter                       	       0x104f54700 dart::ThreadPool::Worker::Main(unsigned long) + 116 (thread_pool.cc:330)
6   Flutter                       	       0x104ee6650 dart::ThreadStart(void*) + 204 (os_thread_macos.cc:136)
7   libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
8   libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8

Thread 18:: DartWorker
0   libsystem_kernel.dylib        	       0x10072c670 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x1007bb9f8 _pthread_cond_wait + 1260
2   Flutter                       	       0x104ee6ecc dart::Monitor::WaitMicros(long long) + 128 (os_thread_macos.cc:449)
3   Flutter                       	       0x104f5454c dart::MonitorLocker::WaitMicros(long long) + 8 (lockers.h:181) [inlined]
4   Flutter                       	       0x104f5454c dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 488 (thread_pool.cc:183)
5   Flutter                       	       0x104f54700 dart::ThreadPool::Worker::Main(unsigned long) + 116 (thread_pool.cc:330)
6   Flutter                       	       0x104ee6650 dart::ThreadStart(void*) + 204 (os_thread_macos.cc:136)
7   libsystem_pthread.dylib       	       0x1007bb414 _pthread_start + 104
8   libsystem_pthread.dylib       	       0x1007b65e0 thread_start + 8


Thread 5 crashed with ARM Thread State (64-bit):
    x0: 0x0000000170175438   x1: 0x0000000170175a48   x2: 0x00000001280173d0   x3: 0x000000010ce4c000
    x4: 0x000000000000030c   x5: 0x0000000000003370   x6: 0x0000000000000004   x7: 0x0000000000000004
    x8: 0x0000000000000c30   x9: 0x00000000437f0000  x10: 0x000000010510901c  x11: 0x0000000000000037
   x12: 0x00000000434d594b  x13: 0x0000000000007da9  x14: 0x0000000000007fff  x15: 0x000000010ff80000
   x16: 0x0000000000000080  x17: 0x0000000000000000  x18: 0x0000000000000000  x19: 0x0000000000000004
   x20: 0x000000010ce4c000  x21: 0x0000000170175a48  x22: 0x0000000000000004  x23: 0x00000001280173d0
   x24: 0x000000000000030c  x25: 0x0000000000003370  x26: 0x0000000106954cf8  x27: 0x0000000000000002
   x28: 0x0000000000000005   fp: 0x0000000170175580   lr: 0x000000010510536c
    sp: 0x00000001701753e0   pc: 0x00000001051055f0 cpsr: 0x20001000
   far: 0x0000000128018000  esr: 0x92000007 (Data Abort) byte read Translation fault

Binary Images:
       0x100a8c000 -        0x100b17fff dyld (*) <f635824e-318b-3f0c-842c-c369737f2b68> /usr/lib/dyld
       0x1009e4000 -        0x1009effff libobjc-trampolines.dylib (*) <c6ef2cc0-8ca9-3a69-a525-91bec719ddfc> /Volumes/VOLUME/*/libobjc-trampolines.dylib
       0x104798000 -        0x10695ffff io.flutter.flutter (1.0) <4c4c44bc-5555-3144-a1b6-5cef7c5f815f> /Users/USER/Library/Developer/CoreSimulator/Devices/CE2827ED-E7E0-4CD3-9DB4-D21344BD2A21/data/Containers/Bundle/Application/7B00E338-99C8-4339-AECB-546F07522499/Runner.app/Frameworks/Flutter.framework/Flutter
       0x100794000 -        0x10079bfff libsystem_platform.dylib (*) <3394e9ca-eb51-322d-a5eb-4d895d3b1c14> /usr/lib/system/libsystem_platform.dylib
       0x100728000 -        0x100763fff libsystem_kernel.dylib (*) <0f9f96fe-6b1c-3253-a33a-c9e4a0c2a386> /usr/lib/system/libsystem_kernel.dylib
       0x1007b4000 -        0x1007c3fff libsystem_pthread.dylib (*) <3df3256f-466e-37bc-b995-a5a9956e1415> /usr/lib/system/libsystem_pthread.dylib
       0x10067c000 -        0x100683fff com.example.segFault (0.1.0) <53de7f45-2cd3-3cd9-889c-9c170f9f3c71> /Users/USER/Library/Developer/CoreSimulator/Devices/CE2827ED-E7E0-4CD3-9DB4-D21344BD2A21/data/Containers/Bundle/Application/7B00E338-99C8-4339-AECB-546F07522499/Runner.app/Runner
       0x100804000 -        0x10084ffff dyld_sim (*) <f1d509a4-edf1-3668-b217-c6a2bd1fbef4> /Volumes/VOLUME/*/dyld_sim
       0x180381000 -        0x180734fff com.apple.CoreFoundation (6.9) <6c40f9e5-bffa-3413-9e1c-a4f724ad56ba> /Volumes/VOLUME/*/CoreFoundation.framework/CoreFoundation
       0x18ef27000 -        0x18ef2ffff com.apple.GraphicsServices (1.0) <b8bade4e-4da1-3e89-aadc-79d9356e07f1> /Volumes/VOLUME/*/GraphicsServices.framework/GraphicsServices
       0x1847df000 -        0x186186fff com.apple.UIKitCore (1.0) <8d3f22bc-9dec-3601-b822-2b88624be742> /Volumes/VOLUME/*/UIKitCore.framework/UIKitCore
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x1807b4000 -        0x181264fff com.apple.Foundation (6.9) <3a54db51-8b3a-308d-9f9e-51474c4a8520> /Volumes/VOLUME/*/Foundation.framework/Foundation
       0x1800f2000 -        0x18016dfff libsystem_c.dylib (*) <ce9466d4-2e24-3c03-a488-d86a828ecffe> /Volumes/VOLUME/*/libsystem_c.dylib
```
</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.24.2, on macOS 14.6.1 23G93 darwin-arm64, locale en)
    • Flutter version 3.24.2 on channel stable at /Users/USER/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cf269e36d (4 days ago), 2024-09-03 14:30:00 -0700
    • Engine revision a6bd3f1de1
    • Dart version 3.5.2
    • DevTools version 2.37.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/USER/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.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 17.0.10+0-17.0.10b1087.21-11609105)

[✓] VS Code (version 1.93.0-insider)
    • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
    • Flutter extension version 3.96.0

[✓] Connected device (5 available)

[✓] Network resources
    • All expected network resources are available.

• No issues found!
```
</details>