Repository: flutter
Issue: Crash in flutter engine on macOS
Labels: c: crash,platform-mac,a: desktop,a: production,P2,needs repro info,team-macos,triaged-macos

### Steps to reproduce

Unfortunately I don't have a simple reproduction step for this. There seems to be some kind of race condition initializing the flutter engine. Once in every several starts my app will crash while trying to enable semantics in the engine. I've tried wrapping my entire widget tree in an `ExcludeSemantics` node but this doesn't seem to help. 

This is the last thing keeping me from releasing this app to production but so far I haven't been able to pin it down to any particular component or library.

A typical crash trace is as follows:

```
OS Version: macOS 14.4.1 (23E224)
Report Version: 104

Exception Type: EXC_CRASH (SIGABRT)
Crashed Thread: 0

Application Specific Information:
Semantics must be enabled.

Thread 0 Crashed:
0   CoreFoundation                  0x3095d6cc0         __exceptionPreprocess
1   libobjc.A.dylib                 0x308c7e784         objc_exception_throw
2   Foundation                      0x30b89bc68         -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
3   FlutterMacOS                    0x105a5bcc0         -[FlutterViewController updateSemantics:] (FlutterViewController.mm:533)
4   FlutterMacOS                    0x105a41358         [inlined] _ZZ35-[FlutterEngine runWithEntrypoint:]ENK3$_1clEPK23FlutterSemanticsUpdate2Pv (FlutterEngine.mm:595)
5   FlutterMacOS                    0x105a41358         _ZZ35-[FlutterEngine runWithEntrypoint:]EN3$_18__invokeEPK23FlutterSemanticsUpdate2Pv (FlutterEngine.mm:589)
6   FlutterMacOS                    0x1062943cc         [inlined] CreateEmbedderSemanticsUpdateCallbackV3::lambda::operator() (embedder.cc:1569)
7   FlutterMacOS                    0x1062943cc         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
8   FlutterMacOS                    0x1062943cc         [inlined] std::_fl::__invoke_void_return_wrapper<T>::__call<T> (invoke.h:488)
9   FlutterMacOS                    0x1062943cc         [inlined] std::_fl::__function::__alloc_func<T>::operator()[abi:v15000] (function.h:185)
10  FlutterMacOS                    0x1062943cc         std::_fl::__function::__func<T>::operator() (function.h:359)
11  FlutterMacOS                    0x1062a6334         [inlined] std::_fl::__function::__value_func<T>::operator()[abi:v15000] (function.h:512)
12  FlutterMacOS                    0x1062a6334         [inlined] std::_fl::function<T>::operator() (function.h:1187)
13  FlutterMacOS                    0x1062a6334         flutter::PlatformViewEmbedder::UpdateSemantics (platform_view_embedder.cc:119)
14  FlutterMacOS                    0x1061c58dc         [inlined] flutter::Shell::OnEngineUpdateSemantics::lambda::operator() (shell.cc:1294)
15  FlutterMacOS                    0x1061c58dc         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
16  FlutterMacOS                    0x1061c58dc         [inlined] std::_fl::__invoke_void_return_wrapper<T>::__call<T> (invoke.h:488)
17  FlutterMacOS                    0x1061c58dc         [inlined] std::_fl::__function::__alloc_func<T>::operator()[abi:v15000] (function.h:185)
18  FlutterMacOS                    0x1061c58dc         std::_fl::__function::__func<T>::operator() (function.h:359)
19  FlutterMacOS                    0x1062a3a34         [inlined] std::_fl::__function::__value_func<T>::operator()[abi:v15000] (function.h:512)
20  FlutterMacOS                    0x1062a3a34         [inlined] std::_fl::function<T>::operator() (function.h:1187)
21  FlutterMacOS                    0x1062a3a34         flutter::EmbedderTaskRunner::PostTask (embedder_task_runner.cc:77)
22  FlutterMacOS                    0x10628d984         FlutterEngineRunTask (embedder.cc:2798)
23  FlutterMacOS                    0x105a40c14         -[FlutterEngine runTaskOnEmbedder:] (FlutterEngine.mm:1420)
24  FlutterMacOS                    0x105a40dc8         __60-[FlutterEngine postMainThreadTask:targetTimeInNanoseconds:]_block_invoke (FlutterEngine.mm:1430)
25  libdispatch.dylib               0x3090ba74c         _dispatch_call_block_and_release
26  libdispatch.dylib               0x3090bc3e4         _dispatch_client_callout
27  libdispatch.dylib               0x3090cabb4         _dispatch_main_queue_drain
28  libdispatch.dylib               0x3090ca7c8         _dispatch_main_queue_callback_4CF
29  CoreFoundation                  0x3095a34a8         __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
30  CoreFoundation                  0x309560c2c         __CFRunLoopRun
31  CoreFoundation                  0x30955fe08         CFRunLoopRunSpecific
32  HIToolbox                       0x31e4deffc         RunCurrentEventLoopInMode
33  HIToolbox                       0x31e4dee38         ReceiveNextEventCommon
34  HIToolbox                       0x31e4deb90         _BlockUntilNextEventMatchingListInModeWithFilter
35  AppKit                          0x31065296c         _DPSNextEvent
36  AppKit                          0x310e44de8         -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
37  AppKit                          0x310645cb4         -[NSApplication run]
38  AppKit                          0x31061cf50         NSApplicationMain
39  MiniMoon                        0x20264b860         main
40  <unknown>                       0x188c520e0         <redacted>

Thread 0 Crashed:
0   CoreFoundation                  0x3095d6cc0         __exceptionPreprocess
1   libobjc.A.dylib                 0x308c7e784         objc_exception_throw
2   Foundation                      0x30b89bc68         -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
3   FlutterMacOS                    0x105a5bcc0         -[FlutterViewController updateSemantics:] (FlutterViewController.mm:533)
4   FlutterMacOS                    0x105a41358         [inlined] _ZZ35-[FlutterEngine runWithEntrypoint:]ENK3$_1clEPK23FlutterSemanticsUpdate2Pv (FlutterEngine.mm:595)
5   FlutterMacOS                    0x105a41358         _ZZ35-[FlutterEngine runWithEntrypoint:]EN3$_18__invokeEPK23FlutterSemanticsUpdate2Pv (FlutterEngine.mm:589)
6   FlutterMacOS                    0x1062943cc         [inlined] CreateEmbedderSemanticsUpdateCallbackV3::lambda::operator() (embedder.cc:1569)
7   FlutterMacOS                    0x1062943cc         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
8   FlutterMacOS                    0x1062943cc         [inlined] std::_fl::__invoke_void_return_wrapper<T>::__call<T> (invoke.h:488)
9   FlutterMacOS                    0x1062943cc         [inlined] std::_fl::__function::__alloc_func<T>::operator()[abi:v15000] (function.h:185)
10  FlutterMacOS                    0x1062943cc         std::_fl::__function::__func<T>::operator() (function.h:359)
11  FlutterMacOS                    0x1062a6334         [inlined] std::_fl::__function::__value_func<T>::operator()[abi:v15000] (function.h:512)
12  FlutterMacOS                    0x1062a6334         [inlined] std::_fl::function<T>::operator() (function.h:1187)
13  FlutterMacOS                    0x1062a6334         flutter::PlatformViewEmbedder::UpdateSemantics (platform_view_embedder.cc:119)
14  FlutterMacOS                    0x1061c58dc         [inlined] flutter::Shell::OnEngineUpdateSemantics::lambda::operator() (shell.cc:1294)
15  FlutterMacOS                    0x1061c58dc         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
16  FlutterMacOS                    0x1061c58dc         [inlined] std::_fl::__invoke_void_return_wrapper<T>::__call<T> (invoke.h:488)
17  FlutterMacOS                    0x1061c58dc         [inlined] std::_fl::__function::__alloc_func<T>::operator()[abi:v15000] (function.h:185)
18  FlutterMacOS                    0x1061c58dc         std::_fl::__function::__func<T>::operator() (function.h:359)
19  FlutterMacOS                    0x1062a3a34         [inlined] std::_fl::__function::__value_func<T>::operator()[abi:v15000] (function.h:512)
20  FlutterMacOS                    0x1062a3a34         [inlined] std::_fl::function<T>::operator() (function.h:1187)
21  FlutterMacOS                    0x1062a3a34         flutter::EmbedderTaskRunner::PostTask (embedder_task_runner.cc:77)
22  FlutterMacOS                    0x10628d984         FlutterEngineRunTask (embedder.cc:2798)
23  FlutterMacOS                    0x105a40c14         -[FlutterEngine runTaskOnEmbedder:] (FlutterEngine.mm:1420)
24  FlutterMacOS                    0x105a40dc8         __60-[FlutterEngine postMainThreadTask:targetTimeInNanoseconds:]_block_invoke (FlutterEngine.mm:1430)
25  libdispatch.dylib               0x3090ba74c         _dispatch_call_block_and_release
26  libdispatch.dylib               0x3090bc3e4         _dispatch_client_callout
27  libdispatch.dylib               0x3090cabb4         _dispatch_main_queue_drain
28  libdispatch.dylib               0x3090ca7c8         _dispatch_main_queue_callback_4CF
29  CoreFoundation                  0x3095a34a8         __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
30  CoreFoundation                  0x309560c2c         __CFRunLoopRun
31  CoreFoundation                  0x30955fe08         CFRunLoopRunSpecific
32  HIToolbox                       0x31e4deffc         RunCurrentEventLoopInMode
33  HIToolbox                       0x31e4dee38         ReceiveNextEventCommon
34  HIToolbox                       0x31e4deb90         _BlockUntilNextEventMatchingListInModeWithFilter
35  AppKit                          0x31065296c         _DPSNextEvent
36  AppKit                          0x310e44de8         -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
37  AppKit                          0x310645cb4         -[NSApplication run]
38  AppKit                          0x31061cf50         NSApplicationMain
39  MiniMoon                        0x20264b860         main
40  <unknown>                       0x188c520e0         <redacted>

Thread 1
0   libsystem_kernel.dylib          0x3093a0ea4         __workq_kernreturn
1   libsystem_pthread.dylib         0x309417054         _pthread_wqthread

Thread 2
0   libsystem_pthread.dylib         0x309415d20         start_wqthread

Thread 3
0   libsystem_pthread.dylib         0x309415d20         start_wqthread

Thread 4
0   libsystem_kernel.dylib          0x3093a0ea4         __workq_kernreturn
1   libsystem_pthread.dylib         0x309417054         _pthread_wqthread

Thread 5 name: io.flutter.ui
0   App                             0x119fca014         kDartIsolateSnapshotInstructions
1   App                             0x119cdded4         kDartIsolateSnapshotInstructions
2   App                             0x119ce09d4         kDartIsolateSnapshotInstructions
3   App                             0x119b2bfd0         kDartIsolateSnapshotInstructions
4   App                             0x119cde250         kDartIsolateSnapshotInstructions
5   App                             0x119fce6bc         kDartIsolateSnapshotInstructions
6   App                             0x119fcf780         kDartIsolateSnapshotInstructions
7   App                             0x119ad563c         kDartIsolateSnapshotInstructions
8   App                             0x119ad553c         kDartIsolateSnapshotInstructions
9   App                             0x119ad5500         kDartIsolateSnapshotInstructions
10  App                             0x119acab34         kDartVmSnapshotInstructions
11  FlutterMacOS                    0x1062e8d2c         dart::DartEntry::InvokeFunction (dart_entry.cc:125)
12  FlutterMacOS                    0x1062e944c         dart::DartEntry::InvokeCallable (dart_entry.cc:280)
13  FlutterMacOS                    0x10645fbec         Dart_InvokeClosure (dart_api_impl.cc:4816)
14  FlutterMacOS                    0x1061d8658         tonic::DartMicrotaskQueue::RunMicrotasks (dart_microtask_queue.cc:77)
15  FlutterMacOS                    0x105a9bef4         [inlined] std::_fl::__function::__value_func<T>::operator()[abi:v15000] (function.h:512)
16  FlutterMacOS                    0x105a9bef4         [inlined] std::_fl::function<T>::operator() (function.h:1187)
17  FlutterMacOS                    0x105a9bef4         fml::MessageLoopImpl::FlushTasks (message_loop_impl.cc:130)
18  FlutterMacOS                    0x105aa44e0         fml::MessageLoopDarwin::OnTimerFire (message_loop_darwin.mm:85)
19  CoreFoundation                  0x30957df8c         __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
20  CoreFoundation                  0x30957dc30         __CFRunLoopDoTimer
21  CoreFoundation                  0x30957d768         __CFRunLoopDoTimers
22  CoreFoundation                  0x309560ba0         __CFRunLoopRun
23  CoreFoundation                  0x30955fe08         CFRunLoopRunSpecific
24  FlutterMacOS                    0x105aa477c         fml::MessageLoopDarwin::Run (message_loop_darwin.mm:51)
25  FlutterMacOS                    0x105a9bcc4         fml::MessageLoopImpl::DoRun (message_loop_impl.cc:94)
26  FlutterMacOS                    0x105aa30ec         [inlined] fml::Thread::Thread::lambda::operator() (thread.cc:85)
27  FlutterMacOS                    0x105aa30ec         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
28  FlutterMacOS                    0x105aa30ec         [inlined] _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml6ThreadC1ERKNS_8functionIFvRKNS7_12ThreadConfigEEEESB_E3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE (thread:284)
29  FlutterMacOS                    0x105aa30ec         std::_fl::__thread_proxy[abi:v15000]<T> (thread:295)
30  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 6 name: io.flutter.raster
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   FlutterMacOS                    0x105a65444         [inlined] std::_fl::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
3   FlutterMacOS                    0x105a65444         std::_fl::condition_variable::wait (condition_variable.cpp:46)
4   FlutterMacOS                    0x105aa0120         fml::AutoResetWaitableEvent::Wait (waitable_event.cc:75)
5   FlutterMacOS                    0x105a5846c         -[FlutterThreadSynchronizer performCommitForView:size:notify:] (FlutterThreadSynchronizer.mm:164)
6   FlutterMacOS                    0x105a4f6dc         -[FlutterSurfaceManager present:notify:] (FlutterSurfaceManager.mm:224)
7   FlutterMacOS                    0x105a34280         flutter::FlutterCompositor::Present (FlutterCompositor.mm:72)
8   FlutterMacOS                    0x106291604         [inlined] InferExternalViewEmbedderFromArgs::lambda::operator()<T> (embedder.cc:1301)
9   FlutterMacOS                    0x106291604         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
10  FlutterMacOS                    0x106291604         [inlined] std::_fl::__invoke_void_return_wrapper<T>::__call<T> (invoke.h:479)
11  FlutterMacOS                    0x106291604         [inlined] std::_fl::__function::__alloc_func<T>::operator()[abi:v15000] (function.h:185)
12  FlutterMacOS                    0x106291604         std::_fl::__function::__func<T>::operator() (function.h:359)
13  FlutterMacOS                    0x10629e054         [inlined] std::_fl::__function::__value_func<T>::operator()[abi:v15000] (function.h:512)
14  FlutterMacOS                    0x10629e054         [inlined] std::_fl::function<T>::operator() (function.h:1187)
15  FlutterMacOS                    0x10629e054         flutter::EmbedderLayers::InvokePresentCallback (embedder_layers.cc:238)
16  FlutterMacOS                    0x10629c240         flutter::EmbedderExternalViewEmbedder::SubmitFlutterView (embedder_external_view_embedder.cc:491)
17  FlutterMacOS                    0x1061a6000         flutter::Rasterizer::DrawToSurfaceUnsafe (rasterizer.cc:744)
18  FlutterMacOS                    0x1061a56f0         flutter::Rasterizer::DrawToSurfacesUnsafe (rasterizer.cc:613)
19  FlutterMacOS                    0x1061a3f00         flutter::Rasterizer::DrawToSurfaces (rasterizer.cc:542)
20  FlutterMacOS                    0x1061a4d34         flutter::Rasterizer::DoDraw (rasterizer.cc:448)
21  FlutterMacOS                    0x1061a7574         [inlined] flutter::Rasterizer::Draw::lambda::operator() (rasterizer.cc:242)
22  FlutterMacOS                    0x1061a7574         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
23  FlutterMacOS                    0x1061a7574         [inlined] std::_fl::__invoke_void_return_wrapper<T>::__call<T> (invoke.h:488)
24  FlutterMacOS                    0x1061a7574         [inlined] std::_fl::__function::__alloc_func<T>::operator()[abi:v15000] (function.h:185)
25  FlutterMacOS                    0x1061a7574         std::_fl::__function::__func<T>::operator() (function.h:359)
26  FlutterMacOS                    0x1061a4598         [inlined] std::_fl::__function::__value_func<T>::operator()[abi:v15000] (function.h:512)
27  FlutterMacOS                    0x1061a4598         [inlined] std::_fl::function<T>::operator() (function.h:1187)
28  FlutterMacOS                    0x1061a4598         flutter::Pipeline<T>::Consume (pipeline.h:203)
29  FlutterMacOS                    0x1061a41e8         flutter::Rasterizer::Draw (rasterizer.cc:246)
30  FlutterMacOS                    0x1061c5124         [inlined] flutter::Shell::OnAnimatorDraw::lambda::operator() (shell.cc:1257)
31  FlutterMacOS                    0x1061c5124         [inlined] fml::internal::CopyableLambda<T>::operator()<T> (make_copyable.h:24)
32  FlutterMacOS                    0x1061c5124         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
33  FlutterMacOS                    0x1061c5124         [inlined] std::_fl::__invoke_void_return_wrapper<T>::__call<T> (invoke.h:488)
34  FlutterMacOS                    0x1061c5124         [inlined] std::_fl::__function::__alloc_func<T>::operator()[abi:v15000] (function.h:185)
35  FlutterMacOS                    0x1061c5124         std::_fl::__function::__func<T>::operator() (function.h:359)
36  FlutterMacOS                    0x105a9bec8         [inlined] std::_fl::__function::__value_func<T>::operator()[abi:v15000] (function.h:512)
37  FlutterMacOS                    0x105a9bec8         [inlined] std::_fl::function<T>::operator() (function.h:1187)
38  FlutterMacOS                    0x105a9bec8         fml::MessageLoopImpl::FlushTasks (message_loop_impl.cc:126)
39  FlutterMacOS                    0x105aa44e0         fml::MessageLoopDarwin::OnTimerFire (message_loop_darwin.mm:85)
40  CoreFoundation                  0x30957df8c         __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
41  CoreFoundation                  0x30957dc30         __CFRunLoopDoTimer
42  CoreFoundation                  0x30957d768         __CFRunLoopDoTimers
43  CoreFoundation                  0x309560ba0         __CFRunLoopRun
44  CoreFoundation                  0x30955fe08         CFRunLoopRunSpecific
45  FlutterMacOS                    0x105aa477c         fml::MessageLoopDarwin::Run (message_loop_darwin.mm:51)
46  FlutterMacOS                    0x105a9bcc4         fml::MessageLoopImpl::DoRun (message_loop_impl.cc:94)
47  FlutterMacOS                    0x105aa30ec         [inlined] fml::Thread::Thread::lambda::operator() (thread.cc:85)
48  FlutterMacOS                    0x105aa30ec         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
49  FlutterMacOS                    0x105aa30ec         [inlined] _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml6ThreadC1ERKNS_8functionIFvRKNS7_12ThreadConfigEEEESB_E3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE (thread:284)
50  FlutterMacOS                    0x105aa30ec         std::_fl::__thread_proxy[abi:v15000]<T> (thread:295)
51  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 7 name: io.flutter.io
0   libsystem_kernel.dylib          0x30939f1f4         mach_msg2_trap
1   libsystem_kernel.dylib          0x3093b1b20         mach_msg2_internal
2   libsystem_kernel.dylib          0x3093a7e30         mach_msg_overwrite
3   libsystem_kernel.dylib          0x30939f574         mach_msg
4   CoreFoundation                  0x309562054         __CFRunLoopServiceMachPort
5   CoreFoundation                  0x309560918         __CFRunLoopRun
6   CoreFoundation                  0x30955fe08         CFRunLoopRunSpecific
7   FlutterMacOS                    0x105aa477c         fml::MessageLoopDarwin::Run (message_loop_darwin.mm:51)
8   FlutterMacOS                    0x105a9bcc4         fml::MessageLoopImpl::DoRun (message_loop_impl.cc:94)
9   FlutterMacOS                    0x105aa30ec         [inlined] fml::Thread::Thread::lambda::operator() (thread.cc:85)
10  FlutterMacOS                    0x105aa30ec         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
11  FlutterMacOS                    0x105aa30ec         [inlined] _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml6ThreadC1ERKNS_8functionIFvRKNS7_12ThreadConfigEEEESB_E3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE (thread:284)
12  FlutterMacOS                    0x105aa30ec         std::_fl::__thread_proxy[abi:v15000]<T> (thread:295)
13  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 8 name: io.worker.1
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   FlutterMacOS                    0x105a65444         [inlined] std::_fl::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
3   FlutterMacOS                    0x105a65444         std::_fl::condition_variable::wait (condition_variable.cpp:46)
4   FlutterMacOS                    0x105a967b8         [inlined] std::_fl::condition_variable::wait<T> (__mutex_base:398)
5   FlutterMacOS                    0x105a967b8         fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
6   FlutterMacOS                    0x105a97484         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
7   FlutterMacOS                    0x105a97484         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
8   FlutterMacOS                    0x105a97484         [inlined] _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml21ConcurrentMessageLoopC1EmE3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE (thread:284)
9   FlutterMacOS                    0x105a97484         std::_fl::__thread_proxy[abi:v15000]<T> (thread:295)
10  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 9 name: io.worker.2
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   FlutterMacOS                    0x105a65444         [inlined] std::_fl::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
3   FlutterMacOS                    0x105a65444         std::_fl::condition_variable::wait (condition_variable.cpp:46)
4   FlutterMacOS                    0x105a967b8         [inlined] std::_fl::condition_variable::wait<T> (__mutex_base:398)
5   FlutterMacOS                    0x105a967b8         fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
6   FlutterMacOS                    0x105a97484         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
7   FlutterMacOS                    0x105a97484         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
8   FlutterMacOS                    0x105a97484         [inlined] _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml21ConcurrentMessageLoopC1EmE3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE (thread:284)
9   FlutterMacOS                    0x105a97484         std::_fl::__thread_proxy[abi:v15000]<T> (thread:295)
10  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 10 name: io.worker.3
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   FlutterMacOS                    0x105a65444         [inlined] std::_fl::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
3   FlutterMacOS                    0x105a65444         std::_fl::condition_variable::wait (condition_variable.cpp:46)
4   FlutterMacOS                    0x105a967b8         [inlined] std::_fl::condition_variable::wait<T> (__mutex_base:398)
5   FlutterMacOS                    0x105a967b8         fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
6   FlutterMacOS                    0x105a97484         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
7   FlutterMacOS                    0x105a97484         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
8   FlutterMacOS                    0x105a97484         [inlined] _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml21ConcurrentMessageLoopC1EmE3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE (thread:284)
9   FlutterMacOS                    0x105a97484         std::_fl::__thread_proxy[abi:v15000]<T> (thread:295)
10  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 11 name: io.worker.4
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   FlutterMacOS                    0x105a65444         [inlined] std::_fl::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
3   FlutterMacOS                    0x105a65444         std::_fl::condition_variable::wait (condition_variable.cpp:46)
4   FlutterMacOS                    0x105a967b8         [inlined] std::_fl::condition_variable::wait<T> (__mutex_base:398)
5   FlutterMacOS                    0x105a967b8         fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
6   FlutterMacOS                    0x105a97484         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
7   FlutterMacOS                    0x105a97484         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
8   FlutterMacOS                    0x105a97484         [inlined] _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml21ConcurrentMessageLoopC1EmE3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE (thread:284)
9   FlutterMacOS                    0x105a97484         std::_fl::__thread_proxy[abi:v15000]<T> (thread:295)
10  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 12 name: io.worker.5
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   FlutterMacOS                    0x105a65444         [inlined] std::_fl::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
3   FlutterMacOS                    0x105a65444         std::_fl::condition_variable::wait (condition_variable.cpp:46)
4   FlutterMacOS                    0x105a967b8         [inlined] std::_fl::condition_variable::wait<T> (__mutex_base:398)
5   FlutterMacOS                    0x105a967b8         fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
6   FlutterMacOS                    0x105a97484         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
7   FlutterMacOS                    0x105a97484         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
8   FlutterMacOS                    0x105a97484         [inlined] _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml21ConcurrentMessageLoopC1EmE3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE (thread:284)
9   FlutterMacOS                    0x105a97484         std::_fl::__thread_proxy[abi:v15000]<T> (thread:295)
10  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 13 name: io.worker.6
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   FlutterMacOS                    0x105a65444         [inlined] std::_fl::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
3   FlutterMacOS                    0x105a65444         std::_fl::condition_variable::wait (condition_variable.cpp:46)
4   FlutterMacOS                    0x105a967b8         [inlined] std::_fl::condition_variable::wait<T> (__mutex_base:398)
5   FlutterMacOS                    0x105a967b8         fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
6   FlutterMacOS                    0x105a97484         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
7   FlutterMacOS                    0x105a97484         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
8   FlutterMacOS                    0x105a97484         [inlined] _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml21ConcurrentMessageLoopC1EmE3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE (thread:284)
9   FlutterMacOS                    0x105a97484         std::_fl::__thread_proxy[abi:v15000]<T> (thread:295)
10  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 14 name: io.worker.7
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   FlutterMacOS                    0x105a65444         [inlined] std::_fl::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
3   FlutterMacOS                    0x105a65444         std::_fl::condition_variable::wait (condition_variable.cpp:46)
4   FlutterMacOS                    0x105a967b8         [inlined] std::_fl::condition_variable::wait<T> (__mutex_base:398)
5   FlutterMacOS                    0x105a967b8         fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
6   FlutterMacOS                    0x105a97484         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
7   FlutterMacOS                    0x105a97484         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
8   FlutterMacOS                    0x105a97484         [inlined] _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml21ConcurrentMessageLoopC1EmE3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE (thread:284)
9   FlutterMacOS                    0x105a97484         std::_fl::__thread_proxy[abi:v15000]<T> (thread:295)
10  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 15 name: io.worker.8
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   FlutterMacOS                    0x105a65444         [inlined] std::_fl::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
3   FlutterMacOS                    0x105a65444         std::_fl::condition_variable::wait (condition_variable.cpp:46)
4   FlutterMacOS                    0x105a967b8         [inlined] std::_fl::condition_variable::wait<T> (__mutex_base:398)
5   FlutterMacOS                    0x105a967b8         fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
6   FlutterMacOS                    0x105a97484         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
7   FlutterMacOS                    0x105a97484         [inlined] std::_fl::__invoke[abi:v15000]<T> (invoke.h:403)
8   FlutterMacOS                    0x105a97484         [inlined] _ZNSt3_fl16__thread_executeB6v15000INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN3fml21ConcurrentMessageLoopC1EmE3$_0JETpTnmJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE (thread:284)
9   FlutterMacOS                    0x105a97484         std::_fl::__thread_proxy[abi:v15000]<T> (thread:295)
10  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 16 name: dart:io EventHandler
0   libsystem_kernel.dylib          0x3093a5340         kevent
1   FlutterMacOS                    0x106233cd0         dart::bin::EventHandlerImplementation::EventHandlerEntry (eventhandler_macos.cc:459)
2   FlutterMacOS                    0x10625b31c         dart::bin::ThreadStart (thread_macos.cc:91)
3   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 17 name: com.apple.NSEventThread
0   libsystem_kernel.dylib          0x30939f1f4         mach_msg2_trap
1   libsystem_kernel.dylib          0x3093b1b20         mach_msg2_internal
2   libsystem_kernel.dylib          0x3093a7e30         mach_msg_overwrite
3   libsystem_kernel.dylib          0x30939f574         mach_msg
4   CoreFoundation                  0x309562054         __CFRunLoopServiceMachPort
5   CoreFoundation                  0x309560918         __CFRunLoopRun
6   CoreFoundation                  0x30955fe08         CFRunLoopRunSpecific
7   AppKit                          0x31077bcb0         _NSEventThread
8   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 18
0   libsystem_kernel.dylib          0x30939f170         semaphore_wait_trap
1   libdispatch.dylib               0x3090bc980         _dispatch_sema4_wait
2   libdispatch.dylib               0x3090bd030         _dispatch_semaphore_wait_slow
3   rust_lib_spinner                0x103dde5d0         std::thread::park
4   rust_lib_spinner                0x103c354c8         std::sync::mpmc::list::Channel<T>::recv::{{closure}}
5   rust_lib_spinner                0x103c35074         std::sync::mpmc::list::Channel<T>::recv
6   rust_lib_spinner                0x103c3b638         std::sys_common::backtrace::__rust_begin_short_backtrace
7   rust_lib_spinner                0x103c3ae94         core::ops::function::FnOnce::call_once{{vtable.shim}}
8   rust_lib_spinner                0x103e0026c         <unknown> + 48
9   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 19
0   libsystem_kernel.dylib          0x3093a1ea4         __psynch_mutexwait
1   libsystem_pthread.dylib         0x30941805c         _pthread_mutex_firstfit_lock_wait
2   libsystem_pthread.dylib         0x3094159ec         _pthread_mutex_firstfit_lock_slow
3   rust_lib_spinner                0x103c3b5e8         std::sys_common::backtrace::__rust_begin_short_backtrace
4   rust_lib_spinner                0x103c3ae94         core::ops::function::FnOnce::call_once{{vtable.shim}}
5   rust_lib_spinner                0x103e0026c         <unknown> + 48
6   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 20
0   libsystem_kernel.dylib          0x3093a1ea4         __psynch_mutexwait
1   libsystem_pthread.dylib         0x30941805c         _pthread_mutex_firstfit_lock_wait
2   libsystem_pthread.dylib         0x3094159ec         _pthread_mutex_firstfit_lock_slow
3   rust_lib_spinner                0x103c3b5e8         std::sys_common::backtrace::__rust_begin_short_backtrace
4   rust_lib_spinner                0x103c3ae94         core::ops::function::FnOnce::call_once{{vtable.shim}}
5   rust_lib_spinner                0x103e0026c         <unknown> + 48
6   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 21
0   libsystem_kernel.dylib          0x3093a1ea4         __psynch_mutexwait
1   libsystem_pthread.dylib         0x30941805c         _pthread_mutex_firstfit_lock_wait
2   libsystem_pthread.dylib         0x3094159ec         _pthread_mutex_firstfit_lock_slow
3   rust_lib_spinner                0x103c3b5e8         std::sys_common::backtrace::__rust_begin_short_backtrace
4   rust_lib_spinner                0x103c3ae94         core::ops::function::FnOnce::call_once{{vtable.shim}}
5   rust_lib_spinner                0x103e0026c         <unknown> + 48
6   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 22
0   libsystem_kernel.dylib          0x3093a1ea4         __psynch_mutexwait
1   libsystem_pthread.dylib         0x30941805c         _pthread_mutex_firstfit_lock_wait
2   libsystem_pthread.dylib         0x3094159ec         _pthread_mutex_firstfit_lock_slow
3   rust_lib_spinner                0x103c3b5e8         std::sys_common::backtrace::__rust_begin_short_backtrace
4   rust_lib_spinner                0x103c3ae94         core::ops::function::FnOnce::call_once{{vtable.shim}}
5   rust_lib_spinner                0x103e0026c         <unknown> + 48
6   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 23
0   libsystem_kernel.dylib          0x3093a1ea4         __psynch_mutexwait
1   libsystem_pthread.dylib         0x30941805c         _pthread_mutex_firstfit_lock_wait
2   libsystem_pthread.dylib         0x3094159ec         _pthread_mutex_firstfit_lock_slow
3   rust_lib_spinner                0x103c3b5e8         std::sys_common::backtrace::__rust_begin_short_backtrace
4   rust_lib_spinner                0x103c3ae94         core::ops::function::FnOnce::call_once{{vtable.shim}}
5   rust_lib_spinner                0x103e0026c         <unknown> + 48
6   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 24
0   libsystem_kernel.dylib          0x3093a1ea4         __psynch_mutexwait
1   libsystem_pthread.dylib         0x30941805c         _pthread_mutex_firstfit_lock_wait
2   libsystem_pthread.dylib         0x3094159ec         _pthread_mutex_firstfit_lock_slow
3   rust_lib_spinner                0x103c3b5e8         std::sys_common::backtrace::__rust_begin_short_backtrace
4   rust_lib_spinner                0x103c3ae94         core::ops::function::FnOnce::call_once{{vtable.shim}}
5   rust_lib_spinner                0x103e0026c         <unknown> + 48
6   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 25
0   libsystem_kernel.dylib          0x3093a1ea4         __psynch_mutexwait
1   libsystem_pthread.dylib         0x30941805c         _pthread_mutex_firstfit_lock_wait
2   libsystem_pthread.dylib         0x3094159ec         _pthread_mutex_firstfit_lock_slow
3   rust_lib_spinner                0x103c3b5e8         std::sys_common::backtrace::__rust_begin_short_backtrace
4   rust_lib_spinner                0x103c3ae94         core::ops::function::FnOnce::call_once{{vtable.shim}}
5   rust_lib_spinner                0x103e0026c         <unknown> + 48
6   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 26 name: tokio-runtime-worker
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   rust_lib_spinner                0x103c58210         std::sync::condvar::Condvar::wait
3   rust_lib_spinner                0x103c58c1c         tokio::runtime::park::Inner::park
4   rust_lib_spinner                0x103c42708         tokio::runtime::scheduler::multi_thread::park::Parker::park
5   rust_lib_spinner                0x103c4c4b0         tokio::runtime::scheduler::multi_thread::worker::Context::park_timeout
6   rust_lib_spinner                0x103c4bce8         tokio::runtime::scheduler::multi_thread::worker::Context::run
7   rust_lib_spinner                0x103c3f99c         tokio::runtime::context::scoped::Scoped<T>::set
8   rust_lib_spinner                0x103c5baa0         tokio::runtime::context::runtime::enter_runtime
9   rust_lib_spinner                0x103c4b3e0         tokio::runtime::scheduler::multi_thread::worker::run
10  rust_lib_spinner                0x103c5c7e4         tokio::runtime::blocking::task::BlockingTask<T>::poll
11  rust_lib_spinner                0x103c48b38         tokio::runtime::task::core::Core<T>::poll
12  rust_lib_spinner                0x103c49028         tokio::runtime::task::harness::Harness<T>::poll
13  rust_lib_spinner                0x103c55008         tokio::runtime::blocking::pool::Inner::run
14  rust_lib_spinner                0x103c3bf3c         std::sys_common::backtrace::__rust_begin_short_backtrace
15  rust_lib_spinner                0x103c3cac8         core::ops::function::FnOnce::call_once{{vtable.shim}}
16  rust_lib_spinner                0x103e0026c         <unknown> + 48
17  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 27 name: tokio-runtime-worker
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   rust_lib_spinner                0x103c58210         std::sync::condvar::Condvar::wait
3   rust_lib_spinner                0x103c427c4         tokio::runtime::scheduler::multi_thread::park::Parker::park
4   rust_lib_spinner                0x103c4c4b0         tokio::runtime::scheduler::multi_thread::worker::Context::park_timeout
5   rust_lib_spinner                0x103c4bce8         tokio::runtime::scheduler::multi_thread::worker::Context::run
6   rust_lib_spinner                0x103c3f99c         tokio::runtime::context::scoped::Scoped<T>::set
7   rust_lib_spinner                0x103c5baa0         tokio::runtime::context::runtime::enter_runtime
8   rust_lib_spinner                0x103c4b3e0         tokio::runtime::scheduler::multi_thread::worker::run
9   rust_lib_spinner                0x103c5c7e4         tokio::runtime::blocking::task::BlockingTask<T>::poll
10  rust_lib_spinner                0x103c48b38         tokio::runtime::task::core::Core<T>::poll
11  rust_lib_spinner                0x103c49028         tokio::runtime::task::harness::Harness<T>::poll
12  rust_lib_spinner                0x103c55008         tokio::runtime::blocking::pool::Inner::run
13  rust_lib_spinner                0x103c3bf3c         std::sys_common::backtrace::__rust_begin_short_backtrace
14  rust_lib_spinner                0x103c3cac8         core::ops::function::FnOnce::call_once{{vtable.shim}}
15  rust_lib_spinner                0x103e0026c         <unknown> + 48
16  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 28 name: tokio-runtime-worker
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   rust_lib_spinner                0x103c58210         std::sync::condvar::Condvar::wait
3   rust_lib_spinner                0x103c427c4         tokio::runtime::scheduler::multi_thread::park::Parker::park
4   rust_lib_spinner                0x103c4c4b0         tokio::runtime::scheduler::multi_thread::worker::Context::park_timeout
5   rust_lib_spinner                0x103c4bce8         tokio::runtime::scheduler::multi_thread::worker::Context::run
6   rust_lib_spinner                0x103c3f99c         tokio::runtime::context::scoped::Scoped<T>::set
7   rust_lib_spinner                0x103c5baa0         tokio::runtime::context::runtime::enter_runtime
8   rust_lib_spinner                0x103c4b3e0         tokio::runtime::scheduler::multi_thread::worker::run
9   rust_lib_spinner                0x103c5c7e4         tokio::runtime::blocking::task::BlockingTask<T>::poll
10  rust_lib_spinner                0x103c48b38         tokio::runtime::task::core::Core<T>::poll
11  rust_lib_spinner                0x103c49028         tokio::runtime::task::harness::Harness<T>::poll
12  rust_lib_spinner                0x103c55008         tokio::runtime::blocking::pool::Inner::run
13  rust_lib_spinner                0x103c3bf3c         std::sys_common::backtrace::__rust_begin_short_backtrace
14  rust_lib_spinner                0x103c3cac8         core::ops::function::FnOnce::call_once{{vtable.shim}}
15  rust_lib_spinner                0x103e0026c         <unknown> + 48
16  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 29 name: tokio-runtime-worker
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   rust_lib_spinner                0x103c58210         std::sync::condvar::Condvar::wait
3   rust_lib_spinner                0x103c427c4         tokio::runtime::scheduler::multi_thread::park::Parker::park
4   rust_lib_spinner                0x103c4c4b0         tokio::runtime::scheduler::multi_thread::worker::Context::park_timeout
5   rust_lib_spinner                0x103c4bce8         tokio::runtime::scheduler::multi_thread::worker::Context::run
6   rust_lib_spinner                0x103c3f99c         tokio::runtime::context::scoped::Scoped<T>::set
7   rust_lib_spinner                0x103c5baa0         tokio::runtime::context::runtime::enter_runtime
8   rust_lib_spinner                0x103c4b3e0         tokio::runtime::scheduler::multi_thread::worker::run
9   rust_lib_spinner                0x103c5c7e4         tokio::runtime::blocking::task::BlockingTask<T>::poll
10  rust_lib_spinner                0x103c48b38         tokio::runtime::task::core::Core<T>::poll
11  rust_lib_spinner                0x103c49028         tokio::runtime::task::harness::Harness<T>::poll
12  rust_lib_spinner                0x103c55008         tokio::runtime::blocking::pool::Inner::run
13  rust_lib_spinner                0x103c3bf3c         std::sys_common::backtrace::__rust_begin_short_backtrace
14  rust_lib_spinner                0x103c3cac8         core::ops::function::FnOnce::call_once{{vtable.shim}}
15  rust_lib_spinner                0x103e0026c         <unknown> + 48
16  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 30 name: tokio-runtime-worker
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   rust_lib_spinner                0x103c58210         std::sync::condvar::Condvar::wait
3   rust_lib_spinner                0x103c427c4         tokio::runtime::scheduler::multi_thread::park::Parker::park
4   rust_lib_spinner                0x103c4c4b0         tokio::runtime::scheduler::multi_thread::worker::Context::park_timeout
5   rust_lib_spinner                0x103c4bce8         tokio::runtime::scheduler::multi_thread::worker::Context::run
6   rust_lib_spinner                0x103c3f99c         tokio::runtime::context::scoped::Scoped<T>::set
7   rust_lib_spinner                0x103c5baa0         tokio::runtime::context::runtime::enter_runtime
8   rust_lib_spinner                0x103c4b3e0         tokio::runtime::scheduler::multi_thread::worker::run
9   rust_lib_spinner                0x103c5c7e4         tokio::runtime::blocking::task::BlockingTask<T>::poll
10  rust_lib_spinner                0x103c48b38         tokio::runtime::task::core::Core<T>::poll
11  rust_lib_spinner                0x103c49028         tokio::runtime::task::harness::Harness<T>::poll
12  rust_lib_spinner                0x103c55008         tokio::runtime::blocking::pool::Inner::run
13  rust_lib_spinner                0x103c3bf3c         std::sys_common::backtrace::__rust_begin_short_backtrace
14  rust_lib_spinner                0x103c3cac8         core::ops::function::FnOnce::call_once{{vtable.shim}}
15  rust_lib_spinner                0x103e0026c         <unknown> + 48
16  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 31 name: tokio-runtime-worker
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   rust_lib_spinner                0x103c58210         std::sync::condvar::Condvar::wait
3   rust_lib_spinner                0x103c427c4         tokio::runtime::scheduler::multi_thread::park::Parker::park
4   rust_lib_spinner                0x103c4c4b0         tokio::runtime::scheduler::multi_thread::worker::Context::park_timeout
5   rust_lib_spinner                0x103c4bce8         tokio::runtime::scheduler::multi_thread::worker::Context::run
6   rust_lib_spinner                0x103c3f99c         tokio::runtime::context::scoped::Scoped<T>::set
7   rust_lib_spinner                0x103c5baa0         tokio::runtime::context::runtime::enter_runtime
8   rust_lib_spinner                0x103c4b3e0         tokio::runtime::scheduler::multi_thread::worker::run
9   rust_lib_spinner                0x103c5c7e4         tokio::runtime::blocking::task::BlockingTask<T>::poll
10  rust_lib_spinner                0x103c48b38         tokio::runtime::task::core::Core<T>::poll
11  rust_lib_spinner                0x103c49028         tokio::runtime::task::harness::Harness<T>::poll
12  rust_lib_spinner                0x103c55008         tokio::runtime::blocking::pool::Inner::run
13  rust_lib_spinner                0x103c3bf3c         std::sys_common::backtrace::__rust_begin_short_backtrace
14  rust_lib_spinner                0x103c3cac8         core::ops::function::FnOnce::call_once{{vtable.shim}}
15  rust_lib_spinner                0x103e0026c         <unknown> + 48
16  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 32 name: tokio-runtime-worker
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   rust_lib_spinner                0x103c58210         std::sync::condvar::Condvar::wait
3   rust_lib_spinner                0x103c427c4         tokio::runtime::scheduler::multi_thread::park::Parker::park
4   rust_lib_spinner                0x103c4c4b0         tokio::runtime::scheduler::multi_thread::worker::Context::park_timeout
5   rust_lib_spinner                0x103c4bce8         tokio::runtime::scheduler::multi_thread::worker::Context::run
6   rust_lib_spinner                0x103c3f99c         tokio::runtime::context::scoped::Scoped<T>::set
7   rust_lib_spinner                0x103c5baa0         tokio::runtime::context::runtime::enter_runtime
8   rust_lib_spinner                0x103c4b3e0         tokio::runtime::scheduler::multi_thread::worker::run
9   rust_lib_spinner                0x103c5c7e4         tokio::runtime::blocking::task::BlockingTask<T>::poll
10  rust_lib_spinner                0x103c48b38         tokio::runtime::task::core::Core<T>::poll
11  rust_lib_spinner                0x103c49028         tokio::runtime::task::harness::Harness<T>::poll
12  rust_lib_spinner                0x103c55008         tokio::runtime::blocking::pool::Inner::run
13  rust_lib_spinner                0x103c3bf3c         std::sys_common::backtrace::__rust_begin_short_backtrace
14  rust_lib_spinner                0x103c3cac8         core::ops::function::FnOnce::call_once{{vtable.shim}}
15  rust_lib_spinner                0x103e0026c         <unknown> + 48
16  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 33 name: tokio-runtime-worker
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b558         _pthread_cond_wait
2   rust_lib_spinner                0x103c58210         std::sync::condvar::Condvar::wait
3   rust_lib_spinner                0x103c427c4         tokio::runtime::scheduler::multi_thread::park::Parker::park
4   rust_lib_spinner                0x103c4c4b0         tokio::runtime::scheduler::multi_thread::worker::Context::park_timeout
5   rust_lib_spinner                0x103c4bce8         tokio::runtime::scheduler::multi_thread::worker::Context::run
6   rust_lib_spinner                0x103c3f99c         tokio::runtime::context::scoped::Scoped<T>::set
7   rust_lib_spinner                0x103c5baa0         tokio::runtime::context::runtime::enter_runtime
8   rust_lib_spinner                0x103c4b3e0         tokio::runtime::scheduler::multi_thread::worker::run
9   rust_lib_spinner                0x103c5c7e4         tokio::runtime::blocking::task::BlockingTask<T>::poll
10  rust_lib_spinner                0x103c48b38         tokio::runtime::task::core::Core<T>::poll
11  rust_lib_spinner                0x103c49028         tokio::runtime::task::harness::Harness<T>::poll
12  rust_lib_spinner                0x103c55008         tokio::runtime::blocking::pool::Inner::run
13  rust_lib_spinner                0x103c3bf3c         std::sys_common::backtrace::__rust_begin_short_backtrace
14  rust_lib_spinner                0x103c3cac8         core::ops::function::FnOnce::call_once{{vtable.shim}}
15  rust_lib_spinner                0x103e0026c         <unknown> + 48
16  libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 35
0   libsystem_kernel.dylib          0x3093a27e8         __semwait_signal
1   libsystem_c.dylib               0x30915b270         nanosleep
2   libsystem_c.dylib               0x30916403c         sleep
3   Sentry                          0x102e9e20c         <unknown> + 676
4   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 36
0   libsystem_kernel.dylib          0x30939f1f4         mach_msg2_trap
1   libsystem_kernel.dylib          0x3093b1b20         mach_msg2_internal
2   libsystem_kernel.dylib          0x3093ce4a4         thread_suspend
3   Sentry                          0x102ea9c04         <unknown> + 128
4   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 37
0   libsystem_kernel.dylib          0x30939f1f4         mach_msg2_trap
1   libsystem_kernel.dylib          0x3093b1b20         mach_msg2_internal
2   libsystem_kernel.dylib          0x3093a7e30         mach_msg_overwrite
3   libsystem_kernel.dylib          0x30939f574         mach_msg
4   Sentry                          0x102ea9c30         <unknown> + 172
5   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 38
0   libsystem_kernel.dylib          0x3093a27e8         __semwait_signal
1   libsystem_c.dylib               0x30915b270         nanosleep
2   Foundation                      0x30b85eb80         +[NSThread sleepForTimeInterval:]
3   Sentry                          0x102e8ff94         <unknown> + 552
4   Foundation                      0x30b7e051c         __NSThread__start__
5   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 39
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b584         _pthread_cond_wait
2   FlutterMacOS                    0x106375b30         dart::Monitor::WaitMicros (os_thread_macos.cc:449)
3   FlutterMacOS                    0x1063b3420         [inlined] dart::MonitorLocker::WaitMicros (lockers.h:181)
4   FlutterMacOS                    0x1063b3420         dart::ThreadPool::WorkerLoop (thread_pool.cc:183)
5   FlutterMacOS                    0x1063b3604         dart::ThreadPool::Worker::Main (thread_pool.cc:330)
6   FlutterMacOS                    0x106374f94         dart::ThreadStart (os_thread_macos.cc:136)
7   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 40
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b584         _pthread_cond_wait
2   FlutterMacOS                    0x106375b30         dart::Monitor::WaitMicros (os_thread_macos.cc:449)
3   FlutterMacOS                    0x1062f2ad0         [inlined] dart::MonitorLocker::WaitMicros (lockers.h:181)
4   FlutterMacOS                    0x1062f2ad0         dart::MutatorThreadPool::OnEnterIdleLocked (isolate.cc:299)
5   FlutterMacOS                    0x1063b32c0         dart::ThreadPool::WorkerLoop (thread_pool.cc:167)
6   FlutterMacOS                    0x1063b3604         dart::ThreadPool::Worker::Main (thread_pool.cc:330)
7   FlutterMacOS                    0x106374f94         dart::ThreadStart (os_thread_macos.cc:136)
8   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 41
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b584         _pthread_cond_wait
2   FlutterMacOS                    0x106375b30         dart::Monitor::WaitMicros (os_thread_macos.cc:449)
3   FlutterMacOS                    0x1062f2ad0         [inlined] dart::MonitorLocker::WaitMicros (lockers.h:181)
4   FlutterMacOS                    0x1062f2ad0         dart::MutatorThreadPool::OnEnterIdleLocked (isolate.cc:299)
5   FlutterMacOS                    0x1063b32c0         dart::ThreadPool::WorkerLoop (thread_pool.cc:167)
6   FlutterMacOS                    0x1063b3604         dart::ThreadPool::Worker::Main (thread_pool.cc:330)
7   FlutterMacOS                    0x106374f94         dart::ThreadStart (os_thread_macos.cc:136)
8   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 42
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b584         _pthread_cond_wait
2   FlutterMacOS                    0x106375b30         dart::Monitor::WaitMicros (os_thread_macos.cc:449)
3   FlutterMacOS                    0x1063b3420         [inlined] dart::MonitorLocker::WaitMicros (lockers.h:181)
4   FlutterMacOS                    0x1063b3420         dart::ThreadPool::WorkerLoop (thread_pool.cc:183)
5   FlutterMacOS                    0x1063b3604         dart::ThreadPool::Worker::Main (thread_pool.cc:330)
6   FlutterMacOS                    0x106374f94         dart::ThreadStart (os_thread_macos.cc:136)
7   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 43
0   libsystem_kernel.dylib          0x30939f1f4         mach_msg2_trap
1   libsystem_kernel.dylib          0x3093b1b20         mach_msg2_internal
2   libsystem_kernel.dylib          0x3093a7e30         mach_msg_overwrite
3   libsystem_kernel.dylib          0x30939f574         mach_msg
4   CoreFoundation                  0x309562054         __CFRunLoopServiceMachPort
5   CoreFoundation                  0x309560918         __CFRunLoopRun
6   CoreFoundation                  0x30955fe08         CFRunLoopRunSpecific
7   CFNetwork                       0x313cae88c         estimatedPropertyListSize
8   Foundation                      0x30b7e051c         __NSThread__start__
9   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 44
0   libsystem_kernel.dylib          0x3093a29ec         __psynch_cvwait
1   libsystem_pthread.dylib         0x30941b584         _pthread_cond_wait
2   FlutterMacOS                    0x106375b30         dart::Monitor::WaitMicros (os_thread_macos.cc:449)
3   FlutterMacOS                    0x1063b3420         [inlined] dart::MonitorLocker::WaitMicros (lockers.h:181)
4   FlutterMacOS                    0x1063b3420         dart::ThreadPool::WorkerLoop (thread_pool.cc:183)
5   FlutterMacOS                    0x1063b3604         dart::ThreadPool::Worker::Main (thread_pool.cc:330)
6   FlutterMacOS                    0x106374f94         dart::ThreadStart (os_thread_macos.cc:136)
7   libsystem_pthread.dylib         0x30941af90         _pthread_start

Thread 45
0   libsystem_kernel.dylib          0x30939f1f4         mach_msg2_trap
1   libsystem_kernel.dylib          0x3093b1b20         mach_msg2_internal
2   libsystem_kernel.dylib          0x3093a7e30         mach_msg_overwrite
3   libsystem_kernel.dylib          0x30939f574         mach_msg
4   CoreFoundation                  0x309562054         __CFRunLoopServiceMachPort
5   CoreFoundation                  0x309560918         __CFRunLoopRun
6   CoreFoundation                  0x30955fe08         CFRunLoopRunSpecific
7   CoreFoundation                  0x3095dde38         CFRunLoopRun
8   FlutterMacOS                    0x106235c6c         dart::bin::FSEventsWatcher::Run (file_system_watcher_macos.cc:164)
9   FlutterMacOS                    0x10625b31c         dart::bin::ThreadStart (thread_macos.cc:91)
10  libsystem_pthread.dylib         0x30941af90         _pthread_start
```

### Expected results

The app shouldn't crash.

### Actual results

The app crashes on startup before it becomes interactive.

### Code sample

<details open><summary>Code sample</summary>

```dart
I don't have a minimally reproducible sample, unfortunately. The crash happens in the engine which is beyond my skills to diagnose.
```

</details>


### Screenshots or Video

<details open>
<summary>Screenshots / Video demonstration</summary>

[Upload media here]

</details>


### Logs

<details open><summary>Logs</summary>

```console
[Paste your logs here]
```

</details>


### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.5 23F79 darwin-arm64, locale en-US)
    • Flutter version 3.19.6 on channel stable at /Users/miles/c/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (4 weeks ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/miles/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-11572160)
    • 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 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] IntelliJ IDEA Community Edition (version 2023.3.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 78.1.1
    • Dart plugin version 233.13763.5

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.88.0

[✓] Connected device (5 available)
    • SM S916B (mobile) • R5CW11R8D4L               • android-arm64  • Android 14 (API 34)
    • Gordo (mobile)    • 00008120-000C75643A87C01E • ios            • iOS 17.5 21F79
    • Padrino (mobile)  • 00008103-0015643E3CD3001E • ios            • iOS 17.5 21F79
    • macOS (desktop)   • macos                     • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)      • chrome                    • web-javascript • Google Chrome 124.0.6367.202

[✓] Network resources
    • All expected network resources are available.

• No issues found!
```

</details>