Crash in `tonic::DartWrappable::ClearDartWrapper`

This issue has been tracked since 2023-03-18.

Running my test suite crashes consistently in tonic::DartWrappable::ClearDartWrapper. This happens across platforms, emulators and devices. I'm only able to replicate it on stable, but I'm not sure this issue has actually been fixed, since it could be a GC/Finalizer related problem that needs some unlucky timing to show up.

Crash in debug build:

(lldb) bt
* thread #9, name = 'io.flutter.1.ui', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000109ff5814 Flutter`Dart_SetNativeInstanceField + 220
    frame #1: 0x0000000109a22510 Flutter`tonic::DartWrappable::ClearDartWrapper() + 36
    frame #2: 0x0000000109ad246c Flutter`tonic::FfiDispatcher<flutter::ParagraphBuilder, void (flutter::ParagraphBuilder::*)(_Dart_Handle*), &(flutter::ParagraphBuilder::build(_Dart_Handle*))>::Call(flutter::ParagraphBuilder*, _Dart_Handle*) + 204
    frame #3: 0x000000010bc86e28
    frame #4: 0x00000001195d44b8
    frame #5: 0x00000001195d40f0
    frame #6: 0x00000001195d3c8c
    frame #7: 0x00000001195c27e0
    frame #8: 0x00000001195c1c00
    frame #9: 0x0000000119944ac0
    frame #10: 0x0000000119944040
    frame #11: 0x0000000119941fc4
    frame #12: 0x000000011d877414
    frame #13: 0x0000000119939cc0
    frame #14: 0x00000001199409a8
    frame #15: 0x000000011d877434
    frame #16: 0x0000000119939cc0
    frame #17: 0x000000011993fb24
    frame #18: 0x0000000119937b5c
    frame #19: 0x000000011993674c
    frame #20: 0x0000000119935af8
    frame #21: 0x0000000119934c58
    frame #22: 0x000000011993454c
    frame #23: 0x0000000119934448
    frame #24: 0x0000000119933e34
    frame #25: 0x0000000119932908
    frame #26: 0x0000000119932054
    frame #27: 0x0000000119931ce0
    frame #28: 0x000000011d4165a4
    frame #29: 0x000000011d43c7bc
    frame #30: 0x000000011d440bc0
    frame #31: 0x000000011d854b04
    frame #32: 0x000000011d416550
    frame #33: 0x000000011d43c7bc
    frame #34: 0x000000011cdb33dc
    frame #35: 0x0000000118d35d0c
    frame #36: 0x0000000118d11fcc
    frame #37: 0x000000011cdb1908
    frame #38: 0x000000011d095644
    frame #39: 0x0000000118d0f124
    frame #40: 0x000000010be37460
    frame #41: 0x000000010be3691c
    frame #42: 0x000000010bc83518
    frame #43: 0x0000000109c1f030 Flutter`dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long) + 668
    frame #44: 0x0000000109c40598 Flutter`dart::IsolateMessageHandler::HandleMessage(std::_LIBCPP_ABI_NAMESPACE::unique_ptr<dart::Message, std::_LIBCPP_ABI_NAMESPACE::default_delete<dart::Message> >) + 3348
    frame #45: 0x0000000109c748ac Flutter`dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool) + 372
    frame #46: 0x0000000109fe5c14 Flutter`Dart_HandleMessage + 368
    frame #47: 0x0000000109a20258 Flutter`std::_LIBCPP_ABI_NAMESPACE::__function::__func<tonic::DartMessageHandler::OnMessage(tonic::DartState*)::$_0, std::_LIBCPP_ABI_NAMESPACE::allocator<tonic::DartMessageHandler::OnMessage(tonic::DartState*)::$_0>, void ()>::operator()() + 344
    frame #48: 0x0000000109bb84e4 Flutter`std::_LIBCPP_ABI_NAMESPACE::__function::__func<flutter::DartIsolate::SetMessageHandlingTaskRunner(fml::RefPtr<fml::TaskRunner> const&)::$_3::operator()(std::_LIBCPP_ABI_NAMESPACE::function<void ()>) const::'lambda'(), std::_LIBCPP_ABI_NAMESPACE::allocator<flutter::DartIsolate::SetMessageHandlingTaskRunner(fml::RefPtr<fml::TaskRunner> const&)::$_3::operator()(std::_LIBCPP_ABI_NAMESPACE::function<void ()>) const::'lambda'()>, void ()>::operator()() + 48
    frame #49: 0x0000000109908ee8 Flutter`fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 568
    frame #50: 0x000000010990ca88 Flutter`fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32
    frame #51: 0x00000001b83f532c CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
    frame #52: 0x00000001b83b19a8 CoreFoundation`__CFRunLoopDoTimer + 940
    frame #53: 0x00000001b8355548 CoreFoundation`__CFRunLoopDoTimers + 288
    frame #54: 0x00000001b83a2fa0 CoreFoundation`__CFRunLoopRun + 1896
    frame #55: 0x00000001b83a7eb0 CoreFoundation`CFRunLoopRunSpecific + 612
    frame #56: 0x000000010990cb74 Flutter`fml::MessageLoopDarwin::Run() + 88
    frame #57: 0x000000010990bc68 Flutter`void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 208
    frame #58: 0x00000002065a96cc libsystem_pthread.dylib`_pthread_start + 148

Crash in release build:

lldb) bt
* thread #10, name = 'io.flutter.1.ui', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000102cb2564 Flutter`___lldb_unnamed_symbol26496 + 220
    frame #1: 0x00000001029d9e58 Flutter`___lldb_unnamed_symbol16940 + 36
    frame #2: 0x0000000102a89694 Flutter`___lldb_unnamed_symbol19174 + 204
    frame #3: 0x0000000108d51818 App`stub CallNativeThroughSafepoint + 88
    frame #4: 0x0000000108df6728 App`FfiTrampoline___build$Method$FfiNative$Ptr at dart:ffi:0
  * frame #5: 0x0000000108df6588 App`ParagraphBuilder._build at text.dart:3226
    frame #6: 0x0000000108df64c8 App`ParagraphBuilder.build at text.dart:3221
    frame #7: 0x0000000108df6438 App`TextPainter._createParagraph at text_painter.dart:766
    frame #8: 0x0000000108df5660 App`TextPainter.layout at text_painter.dart:812
    frame #9: 0x0000000108df54b8 App`RenderParagraph._layoutText at paragraph.dart:645
    frame #10: 0x0000000108df542c App`RenderParagraph._layoutTextWithConstraints at paragraph.dart:695
    frame #11: 0x0000000108ea730c App`RenderParagraph.performLayout at paragraph.dart:808
    frame #12: 0x0000000108ea9034 App`RenderObject.layout at object.dart:2189
    frame #13: 0x0000000108ea8c38 App`RenderBox.layout at box.dart:2430
    frame #14: 0x0000000108ea989c App`RenderPositionedBox.performLayout at shifted_box.dart:442
    frame #15: 0x0000000108ea9034 App`RenderObject.layout at object.dart:2189
    frame #16: 0x0000000108ea8c38 App`RenderBox.layout at box.dart:2430
    frame #17: 0x0000000108ea96fc App`RenderProxyBoxMixin.performLayout at proxy_box.dart:120
    frame #18: 0x0000000108eff380 App`RenderObject._layoutWithoutResize at object.dart:2027
    frame #19: 0x0000000108eff2d4 App`PipelineOwner.flushLayout at object.dart:1020
    frame #20: 0x0000000108eff91c App`RendererBinding.drawFrame at binding.dart:516
    frame #21: 0x0000000108eff890 App`WidgetsBinding.drawFrame at binding.dart:865
    frame #22: 0x0000000108f15d9c App`RendererBinding._handlePersistentFrameCallback at binding.dart:381
    frame #23: 0x0000000108f15d54 App`RendererBinding._handlePersistentFrameCallback at binding.dart:380
    frame #24: 0x0000000108f00a28 App`SchedulerBinding._invokeFrameCallback at binding.dart:1289
    frame #25: 0x0000000108f00dc0 App`SchedulerBinding.handleDrawFrame at binding.dart:1218
    frame #26: 0x0000000108f00e6c App`LiveTestWidgetsFlutterBinding.handleDrawFrame at binding.dart:1710
    frame #27: 0x0000000108f028e0 App`SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> at binding.dart:942
    frame #28: 0x0000000108da9714 App`_rootRun at zone.dart:1390
    frame #29: 0x0000000108da9858 App`_rootRun at zone.dart:1389
    frame #30: 0x0000000108f61124 App`_CustomZone.run at zone.dart:1300
    frame #31: 0x0000000108f62bc8 App`_CustomZone.runGuarded at zone.dart:1208
    frame #32: 0x0000000108f624b4 App`_CustomZone.bindCallbackGuarded.<anonymous closure> at zone.dart:1248
    frame #33: 0x0000000108da9764 App`_rootRun at zone.dart:1398
    frame #34: 0x0000000108da9858 App`_rootRun at zone.dart:1389
    frame #35: 0x0000000108f61124 App`_CustomZone.run at zone.dart:1300
    frame #36: 0x0000000108f55308 App`_CustomZone.bindCallback.<anonymous closure> at zone.dart:1232
    frame #37: 0x0000000108e0a3a4 App`Timer._createTimer.<anonymous closure> at timer_patch.dart:18
    frame #38: 0x0000000108da36dc App`_Timer._runTimers at timer_impl.dart:398
    frame #39: 0x0000000108da3514 App`_Timer._handleMessage at timer_impl.dart:429
    frame #40: 0x0000000108da3494 App`_Timer._handleMessage at timer_impl.dart:419
    frame #41: 0x000000010902b3d8 App`_Closure.call at function.dart:0
    frame #42: 0x0000000108da2a8c App`_RawReceivePort._handleMessage at isolate_patch.dart:192
    frame #43: 0x0000000108d5357c App`stub InvokeDartCode + 220
    frame #44: 0x0000000102bb7ba4 Flutter`___lldb_unnamed_symbol23802 + 392
    frame #45: 0x0000000102bc341c Flutter`___lldb_unnamed_symbol23912 + 2928
    frame #46: 0x0000000102bc9ad4 Flutter`___lldb_unnamed_symbol24035 + 368
    frame #47: 0x00000001029d7a20 Flutter`___lldb_unnamed_symbol16911 + 416
    frame #48: 0x00000001028c2cdc Flutter`___lldb_unnamed_symbol12310 + 568
    frame #49: 0x00000001028c5e80 Flutter`___lldb_unnamed_symbol12385 + 32
    frame #50: 0x00000001b83f532c CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
    frame #51: 0x00000001b83b19a8 CoreFoundation`__CFRunLoopDoTimer + 940
    frame #52: 0x00000001b8355548 CoreFoundation`__CFRunLoopDoTimers + 288
    frame #53: 0x00000001b83a2fa0 CoreFoundation`__CFRunLoopRun + 1896
    frame #54: 0x00000001b83a7eb0 CoreFoundation`CFRunLoopRunSpecific + 612
    frame #55: 0x00000001028c5f6c Flutter`___lldb_unnamed_symbol12389 + 88
    frame #56: 0x00000001028c5a5c Flutter`___lldb_unnamed_symbol12365 + 208
    frame #57: 0x00000002065a96cc libsystem_pthread.dylib`_pthread_start + 148

Steps to Reproduce

  1. git clone https://github.com/cbl-dart/cbl-dart
  2. cd cbl-dart
  3. Ensure xcpretty is installed: sudo gem install xcpretty
  4. ./tools/dev-tools.sh prepareNativeLibraries enterprise debug ios
    (replace ios with android, macos, ubuntu20.04-x86_64 or windows-x86_64 to run on other platforms)
  5. cd packages/cbl_e2e_tests_flutter
  6. Start iOS Simulator
  7. flutter run integration_test/e2e_test.dart
  8. Test fails with Lost connection to device.
  9. Runner quit unexpectedly. dialog pops up and clicking on Report... shows crash report.
Logs

logs.txt

[✓] Flutter (Channel stable, 3.7.7, on macOS 13.2.1 22D68 darwin-arm64, locale en-US)
    • Flutter version 3.7.7 on channel stable at /Users/terwesten/fvm/versions/stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2ad6cd72c0 (10 days ago), 2023-03-08 09:41:59 -0800
    • Engine revision 1837b5be5f
    • Dart version 2.19.4
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/terwesten/Library/Android/sdk
    • Platform android-33-ext5, build-tools 33.0.2
    • ANDROID_HOME = /Users/terwesten/Library/Android/sdk
    • Java binary at: /Users/terwesten/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9619390/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2022.1)
    • Android Studio at /Users/terwesten/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9619390/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

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

[✓] Connected device (4 available)
    • iPhone von Gabriel (mobile) • 00008101-001235960061401E            • ios            • iOS 16.3.1 20D67
    • iPhone 14 Pro (mobile)      • E2C72994-D9A0-4F3D-98B4-C2A7FB551BD0 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 13.2.1 22D68 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 111.0.5563.64
    ! Error: Apple Watch von Gabriel needs to connect to determine its availability. Check the connection between the device and its companion iPhone, and the connection between the iPhone and Xcode. Both devices may also need to be restarted and unlocked. (code 1)

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

• No issues found!
darshankawar wrote this answer on 2023-03-20

Thanks for the detailed report @blaugold
I followed steps to replicate as mentioned on latest master and although didn't get the same crash as you reported, but go below in the console.

console log

[VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(35)] Using the Impeller rendering backend.
flutter: 00:00 +0: (setUpAll)
flutter: 00:00 +0: (setUpAll) [E]
flutter:   Invalid argument(s): Failed to lookup symbol 'CBLDart_Initialize': dlsym(RTLD_DEFAULT, CBLDart_Initialize): symbol not found
flutter:   dart:ffi-patch/ffi_dynamic_library_patch.dart 33:70                                                                           DynamicLibrary.lookup
  package:cbl_ffi/src/base.dart                                                                                                 new BaseBindings
  package:cbl_ffi/src/bindings.dart 32:12                                                                                       new CBLBindings
  package:cbl_ffi/src/bindings.dart 64:17                                                                                       CBLBindings.init
  package:cbl/src/support/isolate.dart 70:15                                                                                    _initIsolate
  package:cbl/src/support/isolate.dart 53:9                                                                                     initPrimaryIsolate
  package:cbl_flutter/cbl_flutter.dart 20:15                                                                                    <…>
flutter: 00:00 +0 -1: (tearDownAll)
flutter: 00:00 +0 -1: (tearDownAll) [E]
flutter:   LateInitializationError: Local 'worker' has not been initialized.
flutter:   dart:_internal-patch/internal_patch.dart 200:5                                                                                         LateError._throwLocalNotInitialized
  Users/dhs/Documents/NCFlutter/cbl-dart/packages/cbl_e2e_tests_flutter/integration_test/cbl_e2e_tests/utils/database_utils.dart 250:11  setupSharedTestWorkerIsolateClient.<fn>
  dart:async/future.dart 304:31                                                                                                          new Future.sync
  package:test_api/src/backend/invoker.dart 236:18                                                                                       Invoker.runTearDowns.<fn>.<fn>
  package:test_api/src/backend/invoker.dart 258:17                                                                                       Invoker._waitForOutstandingCallbacks.<fn>
  dart:async/zone.dart 1398:13                                                                                                           _rootRun
  da<…>
Syncing files to device iPhone 13...                               232ms
flutter:   LateInitializationError: Field 'sharedMainIsolateClient' has not been initialized.
flutter:   Users/dhs/Documents/NCFlutter/cbl-dart/packages/cbl_e2e_tests_flutter/integration_test/cbl_e2e_tests/utils/database_utils.dart         sharedMainIsolateClient
  Users/dhs/Documents/NCFlutter/cbl-dart/packages/cbl_e2e_tests_flutter/integration_test/cbl_e2e_tests/utils/database_utils.dart 220:11  setupSharedTestMainIsolateClient.<fn>
  dart:async/future.dart 304:31                                                                                                          new Future.sync
  package:test_api/src/backend/invoker.dart 236:18                                                                                       Invoker.runTearDowns.<fn>.<fn>
  package:test_api/src/backend/invoker.dart 258:17                                                                                       Invoker._waitForOutstandingCallbacks.<fn>
  dart:async/zone.dart 1398:13                                                                                                           _rootRun
  dart:async/zone.<…>
flutter: Warning: integration_test plugin was not detected.
flutter:
flutter: If you're running the tests with `flutter drive`, please make sure your tests
flutter: are in the `integration_test/` directory of your package and use
flutter: `flutter test $path_to_test` to run it instead.
flutter:
flutter: If you're running the tests with Android instrumentation or XCTest, this means
flutter: that you are not capturing test results properly! See the following link for
flutter: how to set up the integration_test plugin:
flutter:
flutter: https://flutter.dev/docs/testing/integration-tests#testing-on-firebase-test-lab
flutter:
flutter: 00:00 +0 -2: Some tests failed.

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

A Dart VM Service on iPhone 13 is available at:
http://127.0.0.1:57088/_DxqNSTdad0=/
The Flutter DevTools debugger and profiler on iPhone 13 is available at:
http://127.0.0.1:9101?uri=http://127.0.0.1:57088/_DxqNSTdad0=/

══╡ EXCEPTION CAUGHT BY GESTURES LIBRARY
╞══════════════════════════════════════════════════════════
The following _TypeError was thrown while handling a pointer data packet:
Null check operator used on a null value

When the exception was thrown, this was the stack:
#0      WidgetTester.dispatchEvent
(package:flutter_test/src/widget_tester.dart:866:57)
#1      LiveTestWidgetsFlutterBinding.dispatchEvent
(package:flutter_test/src/binding.dart:1824:34)
#2      GestureBinding._handlePointerEventImmediately
(package:flutter/src/gestures/binding.dart:400:7)
#3      GestureBinding.handlePointerEvent
(package:flutter/src/gestures/binding.dart:363:5)
#4      LiveTestWidgetsFlutterBinding.handlePointerEvent.<anonymous closure>
(package:flutter_test/src/binding.dart:1803:25)
#5      TestWidgetsFlutterBinding.withPointerEventSource
(package:flutter_test/src/binding.dart:598:11)
#6      LiveTestWidgetsFlutterBinding.handlePointerEvent
(package:flutter_test/src/binding.dart:1802:11)
#7      GestureBinding._flushPointerEventQueue
(package:flutter/src/gestures/binding.dart:320:7)
#8      GestureBinding._handlePointerDataPacket
(package:flutter/src/gestures/binding.dart:293:9)
#9      _invoke1 (dart:ui/hooks.dart:158:13)
#10     PlatformDispatcher._dispatchPointerDataPacket
(dart:ui/platform_dispatcher.dart:382:7)
#11     _dispatchPointerDataPacket (dart:ui/hooks.dart:91:31)
════════════════════════════════════════════════════════════════════════════════
════════════════════

I am on Channel master, 3.9.0-10.0.pre.29
Is it possible for you to switch to latest master and run your scenario again to confirm whether same crash still persists or not ?

mraleph wrote this answer on 2023-03-20

/cc @dcharkes for visibility

blaugold wrote this answer on 2023-03-20

@darshankawar I cannot replicate it on master (3.0.0-339.0.dev). There the tests still won't succeed but because of an unrelated issue that has a fix coming and at least there is no crash. That's still a different error than the one you are seeing.

I think the error you are getting comes from ./tools/dev-tools.sh prepareNativeLibraries enterprise debug ios not succeeding. Unfortunately I did not think of including step 3 earlier. Could you run step 3 and then step 4 again and verify that you can reproduce on stable?

darshankawar wrote this answer on 2023-03-21

Yes, I was able to replicate the crash on latest stable and get below crash report.

System crash report

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

Incident Identifier: 9BF9CF30-6A1A-4EEE-9517-7C9E83294F06
CrashReporter Key:   61D12090-CD56-B877-7B8C-9C3A0B4CF7D4
Hardware Model:      MacBookPro16,2
Process:             Runner [6484]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/3BD8F2FF-FDB5-4074-8C91-54F99C79156D/data/Containers/Bundle/Application/F6774368-1225-4FB6-B5D2-195DC497C3BF/Runner.app/Runner
Identifier:          com.terwesten.gabriel.cblE2eTestsFlutter
Version:             1.0.0 (1)
Code Type:           X86-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [5205]
Coalition:           com.apple.CoreSimulator.SimDevice.3BD8F2FF-FDB5-4074-8C91-54F99C79156D [1831]
Responsible Process: SimulatorTrampoline [2120]

Date/Time:           2023-03-21 10:59:44.6661 +0530
Launch Time:         2023-03-21 10:59:07.0866 +0530
OS Version:          macOS 12.2.1 (21D62)
Release Type:        User
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region.  Bytes before following region: 4445360128
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      108f6d000-108f71000    [   16K] r-x/r-x SM=COW  ...er.app/Runner
Exception Note:  EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [6484]

Triggered by Thread:  3

Application Specific Information:
CoreSimulator 783.5 - Device: iPhone 13 (3BD8F2FF-FDB5-4074-8C91-54F99C79156D) - Runtime: iOS 15.2 (19C51) - DeviceType: iPhone 13
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot
dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot


Thread 0::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	    0x7fff6d9d4aba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7fff6d9d4e2b mach_msg + 59
2   CoreFoundation                	    0x7fff2036c440 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7fff20366ae3 __CFRunLoopRun + 1293
4   CoreFoundation                	    0x7fff203660f3 CFRunLoopRunSpecific + 567
5   GraphicsServices              	    0x7fff2c995cd3 GSEventRunModal + 139
6   UIKitCore                     	    0x7fff25059f42 -[UIApplication _run] + 928
7   UIKitCore                     	    0x7fff2505eb5e UIApplicationMain + 101
8   Runner                        	       0x108f7018f main + 63 (AppDelegate.swift:5)
9   dyld_sim                      	       0x10918aee9 start_sim + 10
10  dyld                          	       0x1178fd4fe start + 462

Thread 1:
0   libsystem_pthread.dylib       	    0x7fff6da2dfec start_wqthread + 0

Thread 2:: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib        	    0x7fff6d9d4aba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7fff6d9d4e2b mach_msg + 59
2   CoreFoundation                	    0x7fff2036c440 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7fff20366ae3 __CFRunLoopRun + 1293
4   CoreFoundation                	    0x7fff203660f3 CFRunLoopRunSpecific + 567
5   Foundation                    	    0x7fff2081c754 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
6   Foundation                    	    0x7fff2081c9cb -[NSRunLoop(NSRunLoop) runUntilDate:] + 72
7   UIKitCore                     	    0x7fff2511a2d1 -[UIEventFetcher threadMain] + 491
8   Foundation                    	    0x7fff20845550 __NSThread__start__ + 1025
9   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
10  libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 3 Crashed:: io.flutter.1.ui
0   Flutter                       	       0x10cb70818 Dart_SetNativeInstanceField + 200
1   Flutter                       	       0x10c5f43e6 tonic::DartWrappable::ClearDartWrapper() + 34
2   Flutter                       	       0x10c6cf07a flutter::ParagraphBuilder::build(_Dart_Handle*) + 96
3   ???                           	       0x10ff0634b ???
4   ???                           	       0x119edf83b ???
5   ???                           	       0x119edf553 ???
6   ???                           	       0x119edf1ea ???
7   ???                           	       0x119ed1615 ???
8   ???                           	       0x119ed0c71 ???
9   ???                           	       0x11a8387ae ???
10  ???                           	       0x11a837fdf ???
11  ???                           	       0x11a83641a ???
12  ???                           	       0x11d75c648 ???
13  ???                           	       0x11a82fc06 ???
14  ???                           	       0x11a835309 ???
15  ???                           	       0x11d75c668 ???
16  ???                           	       0x11a82fc06 ???
17  ???                           	       0x11a83477a ???
18  ???                           	       0x11a82e1f9 ???
19  ???                           	       0x11a82d1d3 ???
20  ???                           	       0x11a82c7bc ???
21  ???                           	       0x11a82bc3c ???
22  ???                           	       0x11a82b6a2 ???
23  ???                           	       0x11a82b5dd ???
24  ???                           	       0x11a82b0ef ???
25  ???                           	       0x11a829fd1 ???
26  ???                           	       0x11a829884 ???
27  ???                           	       0x11a8295cc ???
28  ???                           	       0x11a1268fa ???
29  ???                           	       0x11a14902b ???
30  ???                           	       0x11a14affd ???
31  ???                           	       0x11d740217 ???
32  ???                           	       0x11a1268aa ???
33  ???                           	       0x11a14902b ???
34  ???                           	       0x11d7116df ???
35  ???                           	       0x1192fbd50 ???
36  ???                           	       0x1192df3e3 ???
37  ???                           	       0x11da14ad7 ???
38  ???                           	       0x11da6bd21 ???
39  ???                           	       0x1192dce1c ???
40  ???                           	       0x1135ab761 ???
41  ???                           	       0x1135aafd1 ???
42  ???                           	       0x10ff0300c ???
43  Flutter                       	       0x10c800808 dart::DartEntry::InvokeCode(dart::Code const&, unsigned long, dart::Array const&, dart::Array const&, dart::Thread*) + 296
44  Flutter                       	       0x10c80068d dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long) + 301
45  Flutter                       	       0x10c8026aa dart::DartLibraryCalls::HandleMessage(long long, dart::Instance const&) + 298
46  Flutter                       	       0x10c8211ff dart::IsolateMessageHandler::HandleMessage(std::_LIBCPP_ABI_NAMESPACE::unique_ptr<dart::Message, std::_LIBCPP_ABI_NAMESPACE::default_delete<dart::Message> >) + 831
47  Flutter                       	       0x10c84a010 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool) + 304
48  Flutter                       	       0x10c84a1b0 dart::MessageHandler::HandleNextMessage() + 64
49  Flutter                       	       0x10cb618ea Dart_HandleMessage + 234
50  Flutter                       	       0x10c5f3051 tonic::DartMessageHandler::OnHandleMessage(tonic::DartState*) + 185
51  Flutter                       	       0x10c5f3388 std::_LIBCPP_ABI_NAMESPACE::__function::__func<tonic::DartMessageHandler::OnMessage(tonic::DartState*)::$_0, std::_LIBCPP_ABI_NAMESPACE::allocator<tonic::DartMessageHandler::OnMessage(tonic::DartState*)::$_0>, void ()>::operator()() + 50
52  Flutter                       	       0x10c7a7781 std::_LIBCPP_ABI_NAMESPACE::__function::__func<flutter::DartIsolate::SetMessageHandlingTaskRunner(fml::RefPtr<fml::TaskRunner> const&)::$_3::operator()(std::_LIBCPP_ABI_NAMESPACE::function<void ()>) const::'lambda'(), std::_LIBCPP_ABI_NAMESPACE::allocator<flutter::DartIsolate::SetMessageHandlingTaskRunner(fml::RefPtr<fml::TaskRunner> const&)::$_3::operator()(std::_LIBCPP_ABI_NAMESPACE::function<void ()>) const::'lambda'()>, void ()>::operator()() + 43
53  Flutter                       	       0x10c4c7803 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 163
54  Flutter                       	       0x10c4cd4de fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 26
55  CoreFoundation                	    0x7fff2036d6b6 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
56  CoreFoundation                	    0x7fff2036d1b2 __CFRunLoopDoTimer + 923
57  CoreFoundation                	    0x7fff2036c771 __CFRunLoopDoTimers + 265
58  CoreFoundation                	    0x7fff20366db0 __CFRunLoopRun + 2010
59  CoreFoundation                	    0x7fff203660f3 CFRunLoopRunSpecific + 567
60  Flutter                       	       0x10c4cd61b fml::MessageLoopDarwin::Run() + 65
61  Flutter                       	       0x10c4c7714 fml::MessageLoopImpl::DoRun() + 22
62  Flutter                       	       0x10c4cc62d void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 169
63  libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
64  libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 4:: io.flutter.1.raster
0   libsystem_kernel.dylib        	    0x7fff6d9d4aba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7fff6d9d4e2b mach_msg + 59
2   CoreFoundation                	    0x7fff2036c440 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7fff20366ae3 __CFRunLoopRun + 1293
4   CoreFoundation                	    0x7fff203660f3 CFRunLoopRunSpecific + 567
5   Flutter                       	       0x10c4cd61b fml::MessageLoopDarwin::Run() + 65
6   Flutter                       	       0x10c4c7714 fml::MessageLoopImpl::DoRun() + 22
7   Flutter                       	       0x10c4cc62d void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 169
8   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 5:: io.flutter.1.io
0   libsystem_kernel.dylib        	    0x7fff6d9d4aba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7fff6d9d4e2b mach_msg + 59
2   CoreFoundation                	    0x7fff2036c440 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7fff20366ae3 __CFRunLoopRun + 1293
4   CoreFoundation                	    0x7fff203660f3 CFRunLoopRunSpecific + 567
5   Flutter                       	       0x10c4cd61b fml::MessageLoopDarwin::Run() + 65
6   Flutter                       	       0x10c4c7714 fml::MessageLoopImpl::DoRun() + 22
7   Flutter                       	       0x10c4cc62d void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 169
8   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 6:: io.flutter.1.profiler
0   libsystem_kernel.dylib        	    0x7fff6d9d4aba mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7fff6d9d4e2b mach_msg + 59
2   CoreFoundation                	    0x7fff2036c440 __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7fff20366ae3 __CFRunLoopRun + 1293
4   CoreFoundation                	    0x7fff203660f3 CFRunLoopRunSpecific + 567
5   Flutter                       	       0x10c4cd61b fml::MessageLoopDarwin::Run() + 65
6   Flutter                       	       0x10c4c7714 fml::MessageLoopImpl::DoRun() + 22
7   Flutter                       	       0x10c4cc62d void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*) + 169
8   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
9   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 7:: io.worker.1
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   Flutter                       	       0x10c1c3da6 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10c4c49df fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10c4c51d7 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 8:: io.worker.2
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   Flutter                       	       0x10c1c3da6 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10c4c49df fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10c4c51d7 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 9:: io.worker.3
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   Flutter                       	       0x10c1c3da6 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10c4c49df fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10c4c51d7 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 10:: io.worker.4
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   Flutter                       	       0x10c1c3da6 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10c4c49df fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10c4c51d7 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 11:: io.worker.5
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   Flutter                       	       0x10c1c3da6 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10c4c49df fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10c4c51d7 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 12:: io.worker.6
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   Flutter                       	       0x10c1c3da6 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10c4c49df fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10c4c51d7 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 13:: io.worker.7
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   Flutter                       	       0x10c1c3da6 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10c4c49df fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10c4c51d7 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 14:: io.worker.8
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   Flutter                       	       0x10c1c3da6 std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&) + 18
3   Flutter                       	       0x10c4c49df fml::ConcurrentMessageLoop::WorkerMain() + 187
4   Flutter                       	       0x10c4c51d7 void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*) + 191
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 15:: dart:io EventHandler
0   libsystem_kernel.dylib        	    0x7fff6d9d945e kevent + 10
1   Flutter                       	       0x10c6dd418 dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 344
2   Flutter                       	       0x10c6faaf8 dart::bin::ThreadStart(void*) + 40
3   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
4   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 16:: Dart Profiler ThreadInterrupter
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a9f _pthread_cond_wait + 1278
2   Flutter                       	       0x10c8e95b6 dart::Monitor::WaitMicros(long long) + 134
3   Flutter                       	       0x10c96f1cf dart::ThreadInterrupter::ThreadMain(unsigned long) + 303
4   Flutter                       	       0x10c8e8bcf dart::ThreadStart(void*) + 159
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 17:: Dart Profiler SampleBlockProcessor
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a9f _pthread_cond_wait + 1278
2   Flutter                       	       0x10c8e95b6 dart::Monitor::WaitMicros(long long) + 134
3   Flutter                       	       0x10c8eee45 dart::SampleBlockProcessor::ThreadMain(unsigned long) + 181
4   Flutter                       	       0x10c8e8bcf dart::ThreadStart(void*) + 159
5   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 18:: DartWorker
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a9f _pthread_cond_wait + 1278
2   Flutter                       	       0x10c8e95b6 dart::Monitor::WaitMicros(long long) + 134
3   Flutter                       	       0x10c96ff0f dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 559
4   Flutter                       	       0x10c9700f9 dart::ThreadPool::Worker::Main(unsigned long) + 121
5   Flutter                       	       0x10c8e8bcf dart::ThreadStart(void*) + 159
6   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 19:: DartWorker
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a9f _pthread_cond_wait + 1278
2   Flutter                       	       0x10c8e95b6 dart::Monitor::WaitMicros(long long) + 134
3   Flutter                       	       0x10c96ff0f dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 559
4   Flutter                       	       0x10c9700f9 dart::ThreadPool::Worker::Main(unsigned long) + 121
5   Flutter                       	       0x10c8e8bcf dart::ThreadStart(void*) + 159
6   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 20:: DartWorker
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a9f _pthread_cond_wait + 1278
2   Flutter                       	       0x10c8e95b6 dart::Monitor::WaitMicros(long long) + 134
3   Flutter                       	       0x10c96ff0f dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 559
4   Flutter                       	       0x10c9700f9 dart::ThreadPool::Worker::Main(unsigned long) + 121
5   Flutter                       	       0x10c8e8bcf dart::ThreadStart(void*) + 159
6   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 21:: DartWorker
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a9f _pthread_cond_wait + 1278
2   Flutter                       	       0x10c8e95b6 dart::Monitor::WaitMicros(long long) + 134
3   Flutter                       	       0x10c81cc6f dart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*) + 207
4   Flutter                       	       0x10c96fd4d dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 109
5   Flutter                       	       0x10c9700f9 dart::ThreadPool::Worker::Main(unsigned long) + 121
6   Flutter                       	       0x10c8e8bcf dart::ThreadStart(void*) + 159
7   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 22:: DartWorker
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a9f _pthread_cond_wait + 1278
2   Flutter                       	       0x10c8e95b6 dart::Monitor::WaitMicros(long long) + 134
3   Flutter                       	       0x10c96ff0f dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*) + 559
4   Flutter                       	       0x10c9700f9 dart::ThreadPool::Worker::Main(unsigned long) + 121
5   Flutter                       	       0x10c8e8bcf dart::ThreadStart(void*) + 159
6   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 23:: Timer (CBL)
0   libsystem_kernel.dylib        	    0x7fff6d9d7506 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7fff6da32a69 _pthread_cond_wait + 1224
2   libc++.1.dylib                	    0x7fff20279a73 std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 93
3   CouchbaseLite                 	       0x10959de67 litecore::actor::Timer::Manager::run() + 365
4   CouchbaseLite                 	       0x10959dcf9 litecore::actor::Timer::Manager::Manager()::$_0::operator()() const + 9
5   CouchbaseLite                 	       0x10959dcef decltype(static_cast<litecore::actor::Timer::Manager::Manager()::$_0>(fp)()) std::__1::__invoke<litecore::actor::Timer::Manager::Manager()::$_0>(litecore::actor::Timer::Manager::Manager()::$_0&&) + 9
6   CouchbaseLite                 	       0x10959dc42 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, litecore::actor::Timer::Manager::Manager()::$_0> >(void*) + 42
7   libsystem_pthread.dylib       	    0x7fff6da324f4 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7fff6da2e00f thread_start + 15

Thread 24:
0   libsystem_pthread.dylib       	    0x7fff6da2dfec start_wqthread + 0


Thread 3 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x00007f7e9119c468  rdx: 0x0000000000000000
  rdi: 0x0000700001dcc4e8  rsi: 0x00007f7e85032000  rbp: 0x0000700001dcc560  rsp: 0x0000700001dcc4e0
   r8: 0x0000000000006839   r9: 0x000000000000002d  r10: 0x00007f7e83f00000  r11: 0x0000000000000000
  r12: 0x00007f7e85032000  r13: 0x000000011b776e71  r14: 0x00006000007c9928  r15: 0x00007f7e9119c430
  rip: 0x000000010cb70818  rfl: 0x0000000000010202  cr2: 0x0000000000000000
  
Logical CPU:     4
Error Code:      0x00000004 (no mapping for user data read)
Trap Number:     14


Binary Images:
    0x7fff6d9d4000 -     0x7fff6da0afff libsystem_kernel.dylib (*) <c1d58a50-5a4d-3bcb-a1fc-ec0902ce34d3> /usr/lib/system/libsystem_kernel.dylib
    0x7fff202ec000 -     0x7fff2068bfff com.apple.CoreFoundation (6.9) <c6308add-135b-3a70-9b81-1ce4d994c215> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
    0x7fff2c992000 -     0x7fff2c99afff com.apple.GraphicsServices (1.0) <adea8ae1-c723-351b-ac2e-22fd2c861c30> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
    0x7fff2438c000 -     0x7fff25934fff com.apple.UIKitCore (1.0) <3ef2c381-8193-3e3c-801f-925bd1050bd7> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
       0x108f6d000 -        0x108f70fff com.terwesten.gabriel.cblE2eTestsFlutter (1.0.0) <ab3be588-aead-32de-9120-fc683250aa45> /Users/USER/Library/Developer/CoreSimulator/Devices/3BD8F2FF-FDB5-4074-8C91-54F99C79156D/data/Containers/Bundle/Application/F6774368-1225-4FB6-B5D2-195DC497C3BF/Runner.app/Runner
       0x109189000 -        0x1091d6fff dyld_sim (*) <3f15c197-2d43-3490-98ff-de85f18dadf2> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
       0x1178f8000 -        0x117963fff dyld (*) <7de33963-bbc5-3996-ba6e-f1d562c17c95> /usr/lib/dyld
    0x7fff6da2c000 -     0x7fff6da37fff libsystem_pthread.dylib (*) <ee564342-d8f2-396d-b642-40092cf34d82> /usr/lib/system/libsystem_pthread.dylib
    0x7fff206fa000 -     0x7fff209b0fff com.apple.Foundation (6.9) <61dcc68e-1236-3624-bb6d-a3a850adf63a> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation
       0x10c181000 -        0x10de32fff io.flutter.flutter (1.0) <4c4c44cb-5555-3144-a199-5d127decf56d> /Users/USER/Library/Developer/CoreSimulator/Devices/3BD8F2FF-FDB5-4074-8C91-54F99C79156D/data/Containers/Bundle/Application/F6774368-1225-4FB6-B5D2-195DC497C3BF/Runner.app/Frameworks/Flutter.framework/Flutter
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
    0x7fff20271000 -     0x7fff202c6fff libc++.1.dylib (*) <e8cad74f-72e8-33e0-9029-03722edb18f7> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libc++.1.dylib
       0x1094b2000 -        0x109705fff com.couchbase.CouchbaseLite-C (3.0.11) <8b4ccac8-c18c-30c4-a58f-5faa8a45d791> /Users/USER/Library/Developer/CoreSimulator/Devices/3BD8F2FF-FDB5-4074-8C91-54F99C79156D/data/Containers/Bundle/Application/F6774368-1225-4FB6-B5D2-195DC497C3BF/Runner.app/Frameworks/CouchbaseLite.framework/CouchbaseLite

EOF

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

{"app_name":"Runner","timestamp":"2023-03-21 10:59:49.00 +0530","app_version":"1.0.0","slice_uuid":"ab3be588-aead-32de-9120-fc683250aa45","build_version":"1","platform":7,"bundleID":"com.terwesten.gabriel.cblE2eTestsFlutter","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.2.1 (21D62)","incident_id":"9BF9CF30-6A1A-4EEE-9517-7C9E83294F06","name":"Runner"}
{
  "uptime" : 3500,
  "procLaunch" : "2023-03-21 10:59:07.0866 +0530",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,2",
  "procStartAbsTime" : 3548176980805,
  "coalitionID" : 1831,
  "osVersion" : {
    "train" : "macOS 12.2.1",
    "build" : "21D62",
    "releaseType" : "User"
  },
  "captureTime" : "2023-03-21 10:59:44.6661 +0530",
  "incident" : "9BF9CF30-6A1A-4EEE-9517-7C9E83294F06",
  "bug_type" : "309",
  "pid" : 6484,
  "procExitAbsTime" : 3585716827927,
  "cpuType" : "X86-64",
  "procName" : "Runner",
  "procPath" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/3BD8F2FF-FDB5-4074-8C91-54F99C79156D\/data\/Containers\/Bundle\/Application\/F6774368-1225-4FB6-B5D2-195DC497C3BF\/Runner.app\/Runner",
  "bundleInfo" : {"CFBundleShortVersionString":"1.0.0","CFBundleVersion":"1","CFBundleIdentifier":"com.terwesten.gabriel.cblE2eTestsFlutter"},
  "storeInfo" : {"deviceIdentifierForVendor":"6106186A-9584-5124-A39F-02549053EEF9","thirdParty":true},
  "parentProc" : "launchd_sim",
  "parentPid" : 5205,
  "coalitionName" : "com.apple.CoreSimulator.SimDevice.3BD8F2FF-FDB5-4074-8C91-54F99C79156D",
  "crashReporterKey" : "61D12090-CD56-B877-7B8C-9C3A0B4CF7D4",
  "responsiblePid" : 2120,
  "responsibleProc" : "SimulatorTrampoline",
  "wakeTime" : 766,
  "bridgeVersion" : {"build":"19P744","train":"6.2"},
  "sleepWakeUUID" : "A457BA6D-9F97-4923-91AF-1E09467961EC",
  "sip" : "enabled",
  "vmRegionInfo" : "0 is not in any region.  Bytes before following region: 4445360128\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      108f6d000-108f71000    [   16K] r-x\/r-x SM=COW  ...er.app\/Runner",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":6484},
  "vmregioninfo" : "0 is not in any region.  Bytes before following region: 4445360128\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      108f6d000-108f71000    [   16K] r-x\/r-x SM=COW  ...er.app\/Runner",
  "asi" : {"libsystem_sim_platform.dylib":["CoreSimulator 783.5 - Device: iPhone 13 (3BD8F2FF-FDB5-4074-8C91-54F99C79156D) - Runtime: iOS 15.2 (19C51) - DeviceType: iPhone 13"],"dyld_sim":["dyld4 config: DYLD_ROOT_PATH=\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot"],"dyld":["dyld4 config: DYLD_ROOT_PATH=\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot"]},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 3,
  "threads" : [{"id":51076,"queue":"com.apple.main-thread","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":0},{"imageOffset":525376,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":1},{"imageOffset":502499,"symbol":"__CFRunLoopRun","symbolLocation":1293,"imageIndex":1},{"imageOffset":499955,"symbol":"CFRunLoopRunSpecific","symbolLocation":567,"imageIndex":1},{"imageOffset":15571,"symbol":"GSEventRunModal","symbolLocation":139,"imageIndex":2},{"imageOffset":13426498,"symbol":"-[UIApplication _run]","symbolLocation":928,"imageIndex":3},{"imageOffset":13445982,"symbol":"UIApplicationMain","symbolLocation":101,"imageIndex":3},{"imageOffset":12687,"sourceLine":5,"sourceFile":"AppDelegate.swift","symbol":"main","imageIndex":4,"symbolLocation":63},{"imageOffset":7913,"symbol":"start_sim","symbolLocation":10,"imageIndex":5},{"imageOffset":21758,"symbol":"start","symbolLocation":462,"imageIndex":6}]},{"id":51095,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}]},{"id":51098,"name":"com.apple.uikit.eventfetch-thread","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":0},{"imageOffset":525376,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":1},{"imageOffset":502499,"symbol":"__CFRunLoopRun","symbolLocation":1293,"imageIndex":1},{"imageOffset":499955,"symbol":"CFRunLoopRunSpecific","symbolLocation":567,"imageIndex":1},{"imageOffset":1189716,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":213,"imageIndex":8},{"imageOffset":1190347,"symbol":"-[NSRunLoop(NSRunLoop) runUntilDate:]","symbolLocation":72,"imageIndex":8},{"imageOffset":14213841,"symbol":"-[UIEventFetcher threadMain]","symbolLocation":491,"imageIndex":3},{"imageOffset":1357136,"symbol":"__NSThread__start__","symbolLocation":1025,"imageIndex":8},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"triggered":true,"id":51109,"instructionState":{"instructionStream":{"bytes":[255,72,141,5,168,113,48,1,72,137,69,184,65,131,188,36,240,7,0,0,0,117,44,49,192,65,131,188,36,32,12,0,0,1,15,149,192,72,141,4,133,1,0,0,0,49,201,240,73,15,177,140,36,16,7,0,0,116,8,76,137,231,232,229,225,223,255,73,199,132,36,8,7,0,0,0,0,0,0,72,141,125,136,76,137,230,232,189,186,202,255,77,139,124,36,24,76,139,51,76,137,255,232,205,185,202,255,73,137,197,76,137,112,8,184,59,0,0,0,65,246,198,1,116,35,73,139,70,255,193,232,12,61,176,0,0,0,185,43,0,0,0,72,15,66,200,61,172,0,0,0,184,4,0,0,0,72,15,69,193,76,141,53,177,230,57,1,73,139,4,198,73,137,69,0,76,137,239,255,144,64,1,0,0,132,192,117,11,76,137,255,232],"offset":96}},"name":"io.flutter.1.ui","threadState":{"r13":{"value":4755779185},"rax":{"value":0},"rflags":{"value":66050},"cpu":{"value":4},"r14":{"value":105553124432168},"rsi":{"value":140181374181376},"r8":{"value":26681},"cr2":{"value":0},"rdx":{"value":0},"r10":{"value":140181356150784},"r9":{"value":45},"r15":{"value":140181576991792},"rbx":{"value":0},"trap":{"value":14,"description":"(no mapping for user data read)"},"err":{"value":4},"r11":{"value":0},"rip":{"value":4508289048,"matchesCrashFrame":1},"rbp":{"value":123145333556576},"rsp":{"value":123145333556448},"r12":{"value":140181374181376},"rcx":{"value":140181576991848},"flavor":"x86_THREAD_STATE","rdi":{"value":123145333556456}},"frames":[{"imageOffset":10418200,"symbol":"Dart_SetNativeInstanceField","symbolLocation":200,"imageIndex":9},{"imageOffset":4666342,"symbol":"tonic::DartWrappable::ClearDartWrapper()","symbolLocation":34,"imageIndex":9},{"imageOffset":5562490,"symbol":"flutter::ParagraphBuilder::build(_Dart_Handle*)","symbolLocation":96,"imageIndex":9},{"imageOffset":4562379595,"imageIndex":10},{"imageOffset":4729993275,"imageIndex":10},{"imageOffset":4729992531,"imageIndex":10},{"imageOffset":4729991658,"imageIndex":10},{"imageOffset":4729935381,"imageIndex":10},{"imageOffset":4729932913,"imageIndex":10},{"imageOffset":4739794862,"imageIndex":10},{"imageOffset":4739792863,"imageIndex":10},{"imageOffset":4739785754,"imageIndex":10},{"imageOffset":4789225032,"imageIndex":10},{"imageOffset":4739759110,"imageIndex":10},{"imageOffset":4739781385,"imageIndex":10},{"imageOffset":4789225064,"imageIndex":10},{"imageOffset":4739759110,"imageIndex":10},{"imageOffset":4739778426,"imageIndex":10},{"imageOffset":4739752441,"imageIndex":10},{"imageOffset":4739748307,"imageIndex":10},{"imageOffset":4739745724,"imageIndex":10},{"imageOffset":4739742780,"imageIndex":10},{"imageOffset":4739741346,"imageIndex":10},{"imageOffset":4739741149,"imageIndex":10},{"imageOffset":4739739887,"imageIndex":10},{"imageOffset":4739735505,"imageIndex":10},{"imageOffset":4739733636,"imageIndex":10},{"imageOffset":4739732940,"imageIndex":10},{"imageOffset":4732381434,"imageIndex":10},{"imageOffset":4732522539,"imageIndex":10},{"imageOffset":4732530685,"imageIndex":10},{"imageOffset":4789109271,"imageIndex":10},{"imageOffset":4732381354,"imageIndex":10},{"imageOffset":4732522539,"imageIndex":10},{"imageOffset":4788917983,"imageIndex":10},{"imageOffset":4717526352,"imageIndex":10},{"imageOffset":4717409251,"imageIndex":10},{"imageOffset":4792077015,"imageIndex":10},{"imageOffset":4792433953,"imageIndex":10},{"imageOffset":4717399580,"imageIndex":10},{"imageOffset":4619679585,"imageIndex":10},{"imageOffset":4619677649,"imageIndex":10},{"imageOffset":4562366476,"imageIndex":10},{"imageOffset":6813704,"symbol":"dart::DartEntry::InvokeCode(dart::Code const&, unsigned long, dart::Array const&, dart::Array const&, dart::Thread*)","symbolLocation":296,"imageIndex":9},{"imageOffset":6813325,"symbol":"dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)","symbolLocation":301,"imageIndex":9},{"imageOffset":6821546,"symbol":"dart::DartLibraryCalls::HandleMessage(long long, dart::Instance const&)","symbolLocation":298,"imageIndex":9},{"imageOffset":6947327,"symbol":"dart::IsolateMessageHandler::HandleMessage(std::_LIBCPP_ABI_NAMESPACE::unique_ptr<dart::Message, std::_LIBCPP_ABI_NAMESPACE::default_delete<dart::Message> >)","symbolLocation":831,"imageIndex":9},{"imageOffset":7114768,"symbol":"dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)","symbolLocation":304,"imageIndex":9},{"imageOffset":7115184,"symbol":"dart::MessageHandler::HandleNextMessage()","symbolLocation":64,"imageIndex":9},{"imageOffset":10356970,"symbol":"Dart_HandleMessage","symbolLocation":234,"imageIndex":9},{"imageOffset":4661329,"symbol":"tonic::DartMessageHandler::OnHandleMessage(tonic::DartState*)","symbolLocation":185,"imageIndex":9},{"imageOffset":4662152,"symbol":"std::_LIBCPP_ABI_NAMESPACE::__function::__func<tonic::DartMessageHandler::OnMessage(tonic::DartState*)::$_0, std::_LIBCPP_ABI_NAMESPACE::allocator<tonic::DartMessageHandler::OnMessage(tonic::DartState*)::$_0>, void ()>::operator()()","symbolLocation":50,"imageIndex":9},{"imageOffset":6449025,"symbol":"std::_LIBCPP_ABI_NAMESPACE::__function::__func<flutter::DartIsolate::SetMessageHandlingTaskRunner(fml::RefPtr<fml::TaskRunner> const&)::$_3::operator()(std::_LIBCPP_ABI_NAMESPACE::function<void ()>) const::'lambda'(), std::_LIBCPP_ABI_NAMESPACE::allocator<flutter::DartIsolate::SetMessageHandlingTaskRunner(fml::RefPtr<fml::TaskRunner> const&)::$_3::operator()(std::_LIBCPP_ABI_NAMESPACE::function<void ()>) const::'lambda'()>, void ()>::operator()()","symbolLocation":43,"imageIndex":9},{"imageOffset":3434499,"symbol":"fml::MessageLoopImpl::FlushTasks(fml::FlushType)","symbolLocation":163,"imageIndex":9},{"imageOffset":3458270,"symbol":"fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*)","symbolLocation":26,"imageIndex":9},{"imageOffset":530102,"symbol":"__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__","symbolLocation":20,"imageIndex":1},{"imageOffset":528818,"symbol":"__CFRunLoopDoTimer","symbolLocation":923,"imageIndex":1},{"imageOffset":526193,"symbol":"__CFRunLoopDoTimers","symbolLocation":265,"imageIndex":1},{"imageOffset":503216,"symbol":"__CFRunLoopRun","symbolLocation":2010,"imageIndex":1},{"imageOffset":499955,"symbol":"CFRunLoopRunSpecific","symbolLocation":567,"imageIndex":1},{"imageOffset":3458587,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":9},{"imageOffset":3434260,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":9},{"imageOffset":3454509,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)","symbolLocation":169,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51110,"name":"io.flutter.1.raster","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":0},{"imageOffset":525376,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":1},{"imageOffset":502499,"symbol":"__CFRunLoopRun","symbolLocation":1293,"imageIndex":1},{"imageOffset":499955,"symbol":"CFRunLoopRunSpecific","symbolLocation":567,"imageIndex":1},{"imageOffset":3458587,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":9},{"imageOffset":3434260,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":9},{"imageOffset":3454509,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)","symbolLocation":169,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51111,"name":"io.flutter.1.io","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":0},{"imageOffset":525376,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":1},{"imageOffset":502499,"symbol":"__CFRunLoopRun","symbolLocation":1293,"imageIndex":1},{"imageOffset":499955,"symbol":"CFRunLoopRunSpecific","symbolLocation":567,"imageIndex":1},{"imageOffset":3458587,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":9},{"imageOffset":3434260,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":9},{"imageOffset":3454509,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)","symbolLocation":169,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51112,"name":"io.flutter.1.profiler","frames":[{"imageOffset":2746,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":3627,"symbol":"mach_msg","symbolLocation":59,"imageIndex":0},{"imageOffset":525376,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":1},{"imageOffset":502499,"symbol":"__CFRunLoopRun","symbolLocation":1293,"imageIndex":1},{"imageOffset":499955,"symbol":"CFRunLoopRunSpecific","symbolLocation":567,"imageIndex":1},{"imageOffset":3458587,"symbol":"fml::MessageLoopDarwin::Run()","symbolLocation":65,"imageIndex":9},{"imageOffset":3434260,"symbol":"fml::MessageLoopImpl::DoRun()","symbolLocation":22,"imageIndex":9},{"imageOffset":3454509,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::Thread::Thread(std::_LIBCPP_ABI_NAMESPACE::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)","symbolLocation":169,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51113,"name":"io.worker.1","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":7},{"imageOffset":273830,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":9},{"imageOffset":3422687,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":9},{"imageOffset":3424727,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51114,"name":"io.worker.2","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":7},{"imageOffset":273830,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":9},{"imageOffset":3422687,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":9},{"imageOffset":3424727,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51115,"name":"io.worker.3","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":7},{"imageOffset":273830,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":9},{"imageOffset":3422687,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":9},{"imageOffset":3424727,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51116,"name":"io.worker.4","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":7},{"imageOffset":273830,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":9},{"imageOffset":3422687,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":9},{"imageOffset":3424727,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51117,"name":"io.worker.5","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":7},{"imageOffset":273830,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":9},{"imageOffset":3422687,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":9},{"imageOffset":3424727,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51118,"name":"io.worker.6","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":7},{"imageOffset":273830,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":9},{"imageOffset":3422687,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":9},{"imageOffset":3424727,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51119,"name":"io.worker.7","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":7},{"imageOffset":273830,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":9},{"imageOffset":3422687,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":9},{"imageOffset":3424727,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51120,"name":"io.worker.8","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":7},{"imageOffset":273830,"symbol":"std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait(std::_LIBCPP_ABI_NAMESPACE::unique_lock<std::_LIBCPP_ABI_NAMESPACE::mutex>&)","symbolLocation":18,"imageIndex":9},{"imageOffset":3422687,"symbol":"fml::ConcurrentMessageLoop::WorkerMain()","symbolLocation":187,"imageIndex":9},{"imageOffset":3424727,"symbol":"void* std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<std::_LIBCPP_ABI_NAMESPACE::tuple<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<std::_LIBCPP_ABI_NAMESPACE::__thread_struct, std::_LIBCPP_ABI_NAMESPACE::default_delete<std::_LIBCPP_ABI_NAMESPACE::__thread_struct> >, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0> >(void*)","symbolLocation":191,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51121,"name":"dart:io EventHandler","frames":[{"imageOffset":21598,"symbol":"kevent","symbolLocation":10,"imageIndex":0},{"imageOffset":5620760,"symbol":"dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long)","symbolLocation":344,"imageIndex":9},{"imageOffset":5741304,"symbol":"dart::bin::ThreadStart(void*)","symbolLocation":40,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51122,"name":"Dart Profiler ThreadInterrupter","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27295,"symbol":"_pthread_cond_wait","symbolLocation":1278,"imageIndex":7},{"imageOffset":7767478,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":9},{"imageOffset":8315343,"symbol":"dart::ThreadInterrupter::ThreadMain(unsigned long)","symbolLocation":303,"imageIndex":9},{"imageOffset":7764943,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51123,"name":"Dart Profiler SampleBlockProcessor","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27295,"symbol":"_pthread_cond_wait","symbolLocation":1278,"imageIndex":7},{"imageOffset":7767478,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":9},{"imageOffset":7790149,"symbol":"dart::SampleBlockProcessor::ThreadMain(unsigned long)","symbolLocation":181,"imageIndex":9},{"imageOffset":7764943,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51124,"name":"DartWorker","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27295,"symbol":"_pthread_cond_wait","symbolLocation":1278,"imageIndex":7},{"imageOffset":7767478,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":9},{"imageOffset":8318735,"symbol":"dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)","symbolLocation":559,"imageIndex":9},{"imageOffset":8319225,"symbol":"dart::ThreadPool::Worker::Main(unsigned long)","symbolLocation":121,"imageIndex":9},{"imageOffset":7764943,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51132,"name":"DartWorker","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27295,"symbol":"_pthread_cond_wait","symbolLocation":1278,"imageIndex":7},{"imageOffset":7767478,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":9},{"imageOffset":8318735,"symbol":"dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)","symbolLocation":559,"imageIndex":9},{"imageOffset":8319225,"symbol":"dart::ThreadPool::Worker::Main(unsigned long)","symbolLocation":121,"imageIndex":9},{"imageOffset":7764943,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51134,"name":"DartWorker","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27295,"symbol":"_pthread_cond_wait","symbolLocation":1278,"imageIndex":7},{"imageOffset":7767478,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":9},{"imageOffset":8318735,"symbol":"dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)","symbolLocation":559,"imageIndex":9},{"imageOffset":8319225,"symbol":"dart::ThreadPool::Worker::Main(unsigned long)","symbolLocation":121,"imageIndex":9},{"imageOffset":7764943,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51138,"name":"DartWorker","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27295,"symbol":"_pthread_cond_wait","symbolLocation":1278,"imageIndex":7},{"imageOffset":7767478,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":9},{"imageOffset":6929519,"symbol":"dart::MutatorThreadPool::OnEnterIdleLocked(dart::MonitorLocker*)","symbolLocation":207,"imageIndex":9},{"imageOffset":8318285,"symbol":"dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)","symbolLocation":109,"imageIndex":9},{"imageOffset":8319225,"symbol":"dart::ThreadPool::Worker::Main(unsigned long)","symbolLocation":121,"imageIndex":9},{"imageOffset":7764943,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51233,"name":"DartWorker","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27295,"symbol":"_pthread_cond_wait","symbolLocation":1278,"imageIndex":7},{"imageOffset":7767478,"symbol":"dart::Monitor::WaitMicros(long long)","symbolLocation":134,"imageIndex":9},{"imageOffset":8318735,"symbol":"dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)","symbolLocation":559,"imageIndex":9},{"imageOffset":8319225,"symbol":"dart::ThreadPool::Worker::Main(unsigned long)","symbolLocation":121,"imageIndex":9},{"imageOffset":7764943,"symbol":"dart::ThreadStart(void*)","symbolLocation":159,"imageIndex":9},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51262,"name":"Timer (CBL)","frames":[{"imageOffset":13574,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":27241,"symbol":"_pthread_cond_wait","symbolLocation":1224,"imageIndex":7},{"imageOffset":35443,"symbol":"std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >)","symbolLocation":93,"imageIndex":11},{"imageOffset":966247,"symbol":"litecore::actor::Timer::Manager::run()","symbolLocation":365,"imageIndex":12},{"imageOffset":965881,"symbol":"litecore::actor::Timer::Manager::Manager()::$_0::operator()() const","symbolLocation":9,"imageIndex":12},{"imageOffset":965871,"symbol":"decltype(static_cast<litecore::actor::Timer::Manager::Manager()::$_0>(fp)()) std::__1::__invoke<litecore::actor::Timer::Manager::Manager()::$_0>(litecore::actor::Timer::Manager::Manager()::$_0&&)","symbolLocation":9,"imageIndex":12},{"imageOffset":965698,"symbol":"void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, litecore::actor::Timer::Manager::Manager()::$_0> >(void*)","symbolLocation":42,"imageIndex":12},{"imageOffset":25844,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":7},{"imageOffset":8207,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}]},{"id":51564,"frames":[{"imageOffset":8172,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140735032410112,
    "size" : 225280,
    "uuid" : "c1d58a50-5a4d-3bcb-a1fc-ec0902ce34d3",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733733322752,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 3801088,
    "uuid" : "c6308add-135b-3a70-9b81-1ce4d994c215",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/CoreFoundation.framework\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1856.105"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733941620736,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.GraphicsServices",
    "size" : 36864,
    "uuid" : "adea8ae1-c723-351b-ac2e-22fd2c861c30",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/GraphicsServices.framework\/GraphicsServices",
    "name" : "GraphicsServices",
    "CFBundleVersion" : "1.0"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733801086976,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.UIKitCore",
    "size" : 22712320,
    "uuid" : "3ef2c381-8193-3e3c-801f-925bd1050bd7",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/PrivateFrameworks\/UIKitCore.framework\/UIKitCore",
    "name" : "UIKitCore",
    "CFBundleVersion" : "5205.0.101"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4445360128,
    "CFBundleShortVersionString" : "1.0.0",
    "CFBundleIdentifier" : "com.terwesten.gabriel.cblE2eTestsFlutter",
    "size" : 16384,
    "uuid" : "ab3be588-aead-32de-9120-fc683250aa45",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/3BD8F2FF-FDB5-4074-8C91-54F99C79156D\/data\/Containers\/Bundle\/Application\/F6774368-1225-4FB6-B5D2-195DC497C3BF\/Runner.app\/Runner",
    "name" : "Runner",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4447571968,
    "size" : 319488,
    "uuid" : "3f15c197-2d43-3490-98ff-de85f18dadf2",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/dyld_sim",
    "name" : "dyld_sim"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4690247680,
    "size" : 442368,
    "uuid" : "7de33963-bbc5-3996-ba6e-f1d562c17c95",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140735032770560,
    "size" : 49152,
    "uuid" : "ee564342-d8f2-396d-b642-40092cf34d82",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733737574400,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 2846720,
    "uuid" : "61dcc68e-1236-3624-bb6d-a3a850adf63a",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/Foundation.framework\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1856.105"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4497870848,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "io.flutter.flutter",
    "size" : 30089216,
    "uuid" : "4c4c44cb-5555-3144-a199-5d127decf56d",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/3BD8F2FF-FDB5-4074-8C91-54F99C79156D\/data\/Containers\/Bundle\/Application\/F6774368-1225-4FB6-B5D2-195DC497C3BF\/Runner.app\/Frameworks\/Flutter.framework\/Flutter",
    "name" : "Flutter",
    "CFBundleVersion" : "1.0"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140733732818944,
    "size" : 352256,
    "uuid" : "e8cad74f-72e8-33e0-9029-03722edb18f7",
    "path" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/libc++.1.dylib",
    "name" : "libc++.1.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4450885632,
    "CFBundleShortVersionString" : "3.0.11",
    "CFBundleIdentifier" : "com.couchbase.CouchbaseLite-C",
    "size" : 2441216,
    "uuid" : "8b4ccac8-c18c-30c4-a58f-5faa8a45d791",
    "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/3BD8F2FF-FDB5-4074-8C91-54F99C79156D\/data\/Containers\/Bundle\/Application\/F6774368-1225-4FB6-B5D2-195DC497C3BF\/Runner.app\/Frameworks\/CouchbaseLite.framework\/CouchbaseLite",
    "name" : "CouchbaseLite",
    "CFBundleVersion" : "3"
  }
],
  "sharedCache" : {
  "base" : 140733730258944,
  "size" : 3265314816,
  "uuid" : "7db4aea4-c6ef-3298-b8b5-3fd2caf4ea49"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=888.9M resident=0K(0%) swapped_out_or_unallocated=888.9M(100%)\nWritable regions: Total=874.0M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=874.0M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nColorSync                           88K        5 \nCoreAnimation                        4K        1 \nFoundation                          16K        1 \nIOSurface                         35.2M        4 \nKernel Alloc Once                    8K        1 \nMALLOC                           272.9M      495 \nMALLOC guard page                   32K        6 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.1M       25 \nStack                             24.2M       26 \nVM_ALLOCATE                      165.5M      346 \n__DATA                            11.3M      314 \n__DATA_CONST                      24.3M      307 \n__DATA_DIRTY                        22K       10 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       533.0M       12 \n__OBJC_RO                         62.4M        1 \n__OBJC_RW                         3136K        1 \n__TEXT                           355.8M      322 \n__UNICODE                          588K        1 \ndyld private memory               2048K        2 \nmapped file                       82.0M       12 \nshared memory                       16K        1 \n===========                     =======  ======= \nTOTAL                              2.0G     1896 \nTOTAL, minus reserved VM space     1.6G     1896 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "name" : "io.flutter.1.ui"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "607844aa04477260f58a8077",
      "factorPackIds" : {
        "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
      },
      "deploymentId" : 240000066
    },
    {
      "rolloutId" : "602ad4dac86151000cf27e46",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "6193d03f2171a2330e561dfc"
      },
      "deploymentId" : 240000305
    },
    {
      "rolloutId" : "60da5e84ab0ca017dace9abf",
      "factorPackIds" : {

      },
      "deploymentId" : 240000008
    },
    {
      "rolloutId" : "601d9415f79519000ccd4b69",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "622657ce37186c771d5404ad"
      },
      "deploymentId" : 240000414
    },
    {
      "rolloutId" : "60186475825c62000ccf5450",
      "factorPackIds" : {

      },
      "deploymentId" : 240000026
    },
    {
      "rolloutId" : "63582c5f8a53461413999550",
      "factorPackIds" : {

      },
      "deploymentId" : 240000002
    },
    {
      "rolloutId" : "5fb4245a1bbfe8005e33a1e1",
      "factorPackIds" : {

      },
      "deploymentId" : 240000021
    },
    {
      "rolloutId" : "5f72dc58705eff005a46b3a9",
      "factorPackIds" : {

      },
      "deploymentId" : 240000015
    },
    {
      "rolloutId" : "5ffde50ce2aacd000d47a95f",
      "factorPackIds" : {

      },
      "deploymentId" : 240000251
    },
    {
      "rolloutId" : "60f8ddccefea4203d95cbeef",
      "factorPackIds" : {

      },
      "deploymentId" : 240000025
    },
    {
      "rolloutId" : "5fc94383418129005b4e9ae0",
      "factorPackIds" : {

      },
      "deploymentId" : 240000614
    }
  ],
  "experiments" : [

  ]
}
}

Model: MacBookPro16,2, BootROM 1715.81.2.0.0 (iBridge: 19.16.10744.0.0,0), 4 processors, Quad-Core Intel Core i5, 2 GHz, 16 GB, SMC 
Graphics: Intel Iris Plus Graphics, Intel Iris Plus Graphics, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/ChannelA-DIMM0, 8 GB, LPDDR4X, 3733 MHz, Samsung, K4UBE3D4AA-MGCL
Memory Module: BANK 2/ChannelB-DIMM0, 8 GB, LPDDR4X, 3733 MHz, Samsung, K4UBE3D4AA-MGCL
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x7BF), wl0: Jul 12 2021 18:02:56 version 9.30.464.0.32.5.76 FWID 01-c081cfed
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: T2Bus
USB Device: Touch Bar Backlight
USB Device: Touch Bar Display
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Headset
USB Device: Ambient Light Sensor
USB Device: FaceTime HD Camera (Built-in)
USB Device: Apple T2 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 85.0
Thunderbolt Bus: MacBook Pro, Apple Inc., 85.0

Running the same on latest master, although doesn't crash but shows below:

flutter: 00:55 +1143 -90: ValueTypeMatcherImpl makeMatch root dictionary
flutter: 00:55 +1144 -90: ValueTypeMatcherImpl makeMatch nested dictionary
flutter: 00:55 +1145 -90: ValueTypeMatcherImpl makeMatch nested array
flutter: 00:55 +1146 -90: (tearDownAll)
flutter: Warning: integration_test plugin was not detected.
flutter:
flutter: If you're running the tests with `flutter drive`, please make sure your tests
flutter: are in the `integration_test/` directory of your package and use
flutter: `flutter test $path_to_test` to run it instead.
flutter:
flutter: If you're running the tests with Android instrumentation or XCTest, this means
flutter: that you are not capturing test results properly! See the following link for
flutter: how to set up the integration_test plugin:
flutter:
flutter: https://flutter.dev/docs/testing/integration-tests#testing-on-firebase-test-lab
flutter:
flutter: 00:55 +1147 -90: Some tests failed.
stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.7.7, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.7.7 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2ad6cd72c0 (12 days ago), 2023-03-08 09:41:59 -0800
    • Engine revision 1837b5be5f
    • Dart version 2.19.4
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.9.0-12.0.pre.18, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.9.0-12.0.pre.18 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 28f17d345b (39 minutes ago), 2023-03-20 21:08:41 -0700
    • Engine revision ea6ed14b4e
    • Dart version 3.0.0 (build 3.0.0-345.0.dev)
    • DevTools version 2.22.2
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

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

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

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

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

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

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

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

! Doctor found issues in 1 category.
      
[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.



dcharkes wrote this answer on 2023-03-21
Thread 3 Crashed:: io.flutter.1.ui
0   Flutter                       	       0x10cb70818 Dart_SetNativeInstanceField + 200
1   Flutter                       	       0x10c5f43e6 tonic::DartWrappable::ClearDartWrapper() + 34
2   Flutter                       	       0x10c6cf07a flutter::ParagraphBuilder::build(_Dart_Handle*) + 96

Relevant code:

https://github.com/flutter/engine/blob/1b289e20c2c49cafa7eb3cabf052bbb6adb8e51d/third_party/tonic/dart_wrappable.cc#L66-L73

void DartWrappable::ClearDartWrapper() {
  TONIC_DCHECK(!dart_wrapper_.is_empty());
  Dart_Handle wrapper = dart_wrapper_.Get();
  TONIC_CHECK(!CheckAndHandleError(
      Dart_SetNativeInstanceField(wrapper, kPeerIndex, 0)));
  dart_wrapper_.Clear();
  this->ReleaseDartWrappableReference();
}

https://github.com/dart-lang/sdk/blob/d7c3ede4768bfdcbe021e5544d9c51c55096a83a/runtime/vm/dart_api_impl.cc#L5034-L5049

DART_EXPORT Dart_Handle Dart_SetNativeInstanceField(Dart_Handle obj,
                                                    int index,
                                                    intptr_t value) {
  DARTSCOPE(Thread::Current());
  const Instance& instance = Api::UnwrapInstanceHandle(Z, obj);
  if (instance.IsNull()) {
    RETURN_TYPE_ERROR(Z, obj, Instance);
  }
  if (!instance.IsValidNativeIndex(index)) {
    return Api::NewError(
        "%s: invalid index %d passed into set native instance field",
        CURRENT_FUNC, index);
  }
  instance.SetNativeField(index, value);
  return Api::Success();
}
Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000

This looks like trying to dereference nullptr.

Dart_SetNativeInstanceField + 200

I don't immediately see something in that function that could be a nullptr, I'd need the machine code for the function or catch it in the debugger.

This only happens on iOS?

I'm not familiar with any Tonic changes in Flutter recently that might have fixed this issue on master vs stable. Someone from the Flutter team might better know that answer. (The relevant code in the Dart repo hasn't changed between stable/master afaics.)

blaugold wrote this answer on 2023-03-21

This only happens on iOS?

I can replicate it on Android, iOS, macOS, Linux and Windows.

blaugold wrote this answer on 2023-03-21

Here's the machine code of Dart_SetNativeInstanceField from a crash on an iOS Simulator. The nullptr dereferencing happens at 0x106a3c440 <+184>.

Flutter`Dart_SetNativeInstanceField:
    0x106a3c388 <+0>:   sub    sp, sp, #0xb0
    0x106a3c38c <+4>:   stp    x26, x25, [sp, #0x60]
    0x106a3c390 <+8>:   stp    x24, x23, [sp, #0x70]
    0x106a3c394 <+12>:  stp    x22, x21, [sp, #0x80]
    0x106a3c398 <+16>:  stp    x20, x19, [sp, #0x90]
    0x106a3c39c <+20>:  stp    x29, x30, [sp, #0xa0]
    0x106a3c3a0 <+24>:  add    x29, sp, #0xa0
    0x106a3c3a4 <+28>:  mov    x21, x2
    0x106a3c3a8 <+32>:  mov    x20, x1
    0x106a3c3ac <+36>:  mov    x19, x0
    0x106a3c3b0 <+40>:  bl     0x1067eebb8               ; thread-local wrapper routine for dart::OSThread::current_vm_thread_
    0x106a3c3b4 <+44>:  ldr    x22, [x0]
    0x106a3c3b8 <+48>:  cbz    x22, 0x106a3c678          ; <+752>
    0x106a3c3bc <+52>:  ldr    x8, [x22, #0x50]
    0x106a3c3c0 <+56>:  cbz    x8, 0x106a3c678           ; <+752>
    0x106a3c3c4 <+60>:  ldr    x8, [x22, #0x778]
    0x106a3c3c8 <+64>:  cbz    x8, 0x106a3c6ac           ; <+804>
    0x106a3c3cc <+68>:  adrp   x8, 4824
    0x106a3c3d0 <+72>:  add    x8, x8, #0x1e8            ; vtable for dart::StackResource
    0x106a3c3d4 <+76>:  add    x8, x8, #0x10
    0x106a3c3d8 <+80>:  stp    xzr, xzr, [sp, #0x50]
    0x106a3c3dc <+84>:  str    x8, [sp, #0x48]
    0x106a3c3e0 <+88>:  add    x0, sp, #0x48
    0x106a3c3e4 <+92>:  mov    x1, x22
    0x106a3c3e8 <+96>:  bl     0x1066f3aec               ; dart::StackResource::Init(dart::ThreadState*)
    0x106a3c3ec <+100>: adrp   x25, 4823
    0x106a3c3f0 <+104>: add    x25, x25, #0xee8          ; vtable for dart::TransitionNativeToVM + 16
    0x106a3c3f4 <+108>: str    x25, [sp, #0x48]
    0x106a3c3f8 <+112>: ldr    w8, [x22, #0x838]
    0x106a3c3fc <+116>: cbnz   w8, 0x106a3c42c           ; <+164>
    0x106a3c400 <+120>: ldr    w8, [x22, #0xc68]
    0x106a3c404 <+124>: cmp    w8, #0x1
    0x106a3c408 <+128>: mov    w8, #0x5
    0x106a3c40c <+132>: csinc  x8, x8, xzr, ne
    0x106a3c410 <+136>: add    x9, x22, #0x758
    0x106a3c414 <+140>: mov    x10, x8
    0x106a3c418 <+144>: casa   x10, xzr, [x9]
    0x106a3c41c <+148>: cmp    x10, x8
    0x106a3c420 <+152>: b.eq   0x106a3c42c               ; <+164>
    0x106a3c424 <+156>: mov    x0, x22
    0x106a3c428 <+160>: bl     0x10686a84c               ; dart::Thread::ExitSafepointUsingLock()
    0x106a3c42c <+164>: str    xzr, [x22, #0x750]
    0x106a3c430 <+168>: add    x0, sp, #0x20
    0x106a3c434 <+172>: mov    x1, x22
    0x106a3c438 <+176>: bl     0x10672fc88               ; dart::HandleScope::HandleScope(dart::ThreadState*)
    0x106a3c43c <+180>: ldr    x24, [x22, #0x18]
->  0x106a3c440 <+184>: ldr    x26, [x19]
    0x106a3c444 <+188>: mov    x0, x24
    0x106a3c448 <+192>: bl     0x10672fbbc               ; dart::VMHandles::AllocateHandle(dart::Zone*)
    0x106a3c44c <+196>: mov    x23, x0
    0x106a3c450 <+200>: str    x26, [x0, #0x8]
    0x106a3c454 <+204>: tbnz   w26, #0x0, 0x106a3c460    ; <+216>
    0x106a3c458 <+208>: mov    w8, #0x3b
    0x106a3c45c <+212>: b      0x106a3c480               ; <+248>
    0x106a3c460 <+216>: ldur   x8, [x26, #-0x1]
    0x106a3c464 <+220>: ubfx   x8, x8, #12, #20
    0x106a3c468 <+224>: mov    w9, #0x2b
    0x106a3c46c <+228>: cmp    x8, #0xaf
    0x106a3c470 <+232>: csel   x9, x9, x8, hi
    0x106a3c474 <+236>: mov    w10, #0x4
    0x106a3c478 <+240>: cmp    x8, #0xac
    0x106a3c47c <+244>: csel   x8, x10, x9, eq
    0x106a3c480 <+248>: adrp   x26, 4979
    0x106a3c484 <+252>: add    x26, x26, #0x28           ; dart::Object::builtin_vtables_
    0x106a3c488 <+256>: ldr    x8, [x26, x8, lsl #3]
    0x106a3c48c <+260>: str    x8, [x23]
    0x106a3c490 <+264>: ldr    x8, [x8, #0x140]
    0x106a3c494 <+268>: mov    x0, x23
    0x106a3c498 <+272>: blr    x8
    0x106a3c49c <+276>: tbnz   w0, #0x0, 0x106a3c4ac     ; <+292>
    0x106a3c4a0 <+280>: mov    x0, x24
    0x106a3c4a4 <+284>: bl     0x1066d6040               ; dart::Instance::Handle(dart::Zone*)
    0x106a3c4a8 <+288>: mov    x23, x0
    0x106a3c4ac <+292>: ldr    x8, [x23, #0x8]
    0x106a3c4b0 <+296>: adrp   x24, 4944
    0x106a3c4b4 <+300>: add    x24, x24, #0x9a8          ; dart::Object::null_
    0x106a3c4b8 <+304>: ldr    x9, [x24]
    0x106a3c4bc <+308>: cmp    x8, x9
    0x106a3c4c0 <+312>: b.ne   0x106a3c528               ; <+416>
    0x106a3c4c4 <+316>: ldr    x0, [x22, #0x18]
    0x106a3c4c8 <+320>: ldr    x20, [x19]
    0x106a3c4cc <+324>: bl     0x10672fbbc               ; dart::VMHandles::AllocateHandle(dart::Zone*)
    0x106a3c4d0 <+328>: str    x20, [x0, #0x8]
    0x106a3c4d4 <+332>: tbnz   w20, #0x0, 0x106a3c560    ; <+472>
    0x106a3c4d8 <+336>: mov    w8, #0x3b
    0x106a3c4dc <+340>: ldr    x8, [x26, x8, lsl #3]
    0x106a3c4e0 <+344>: str    x8, [x0]
    0x106a3c4e4 <+348>: ldr    x9, [x24]
    0x106a3c4e8 <+352>: cmp    x20, x9
    0x106a3c4ec <+356>: b.eq   0x106a3c594               ; <+524>
    0x106a3c4f0 <+360>: ldr    x8, [x8, #0x118]
    0x106a3c4f4 <+364>: blr    x8
    0x106a3c4f8 <+368>: tbnz   w0, #0x0, 0x106a3c608     ; <+640>
    0x106a3c4fc <+372>: adr    x8, #0x97b17              ; "Instance"
    0x106a3c500 <+376>: nop    
    0x106a3c504 <+380>: adr    x9, #0x98f59              ; "obj"
    0x106a3c508 <+384>: nop    
    0x106a3c50c <+388>: adr    x10, #0x98fb0             ; "Dart_SetNativeInstanceField"
    0x106a3c510 <+392>: nop    
    0x106a3c514 <+396>: stp    x9, x8, [sp, #0x8]
    0x106a3c518 <+400>: str    x10, [sp]
    0x106a3c51c <+404>: adr    x0, #0x97acc              ; "%s expects argument '%s' to be of type %s."
    0x106a3c520 <+408>: nop    
    0x106a3c524 <+412>: b      0x106a3c5b0               ; <+552>
    0x106a3c528 <+416>: tbnz   w20, #0x1f, 0x106a3c540   ; <+440>
    0x106a3c52c <+420>: tbnz   w8, #0x0, 0x106a3c5bc     ; <+564>
    0x106a3c530 <+424>: bl     0x1067b6150               ; dart::Smi::Class()
    0x106a3c534 <+428>: ldurh  w8, [x0, #0xa9]
    0x106a3c538 <+432>: cmp    w8, w20
    0x106a3c53c <+436>: b.hi   0x106a3c5f0               ; <+616>
    0x106a3c540 <+440>: adr    x8, #0x98f7c              ; "Dart_SetNativeInstanceField"
    0x106a3c544 <+444>: nop    
    0x106a3c548 <+448>: stp    x8, x20, [sp]
    0x106a3c54c <+452>: adr    x0, #0x98f8c              ; "%s: invalid index %d passed in to set native instance field"
    0x106a3c550 <+456>: nop    
    0x106a3c554 <+460>: bl     0x106a27afc               ; dart::Api::NewError(char const*, ...)
    0x106a3c558 <+464>: mov    x19, x0
    0x106a3c55c <+468>: b      0x106a3c608               ; <+640>
    0x106a3c560 <+472>: ldur   x8, [x20, #-0x1]
    0x106a3c564 <+476>: ubfx   x8, x8, #12, #20
    0x106a3c568 <+480>: mov    w9, #0x2b
    0x106a3c56c <+484>: cmp    x8, #0xaf
    0x106a3c570 <+488>: csel   x9, x9, x8, hi
    0x106a3c574 <+492>: mov    w10, #0x4
    0x106a3c578 <+496>: cmp    x8, #0xac
    0x106a3c57c <+500>: csel   x8, x10, x9, eq
    0x106a3c580 <+504>: ldr    x8, [x26, x8, lsl #3]
    0x106a3c584 <+508>: str    x8, [x0]
    0x106a3c588 <+512>: ldr    x9, [x24]
    0x106a3c58c <+516>: cmp    x20, x9
    0x106a3c590 <+520>: b.ne   0x106a3c4f0               ; <+360>
    0x106a3c594 <+524>: adr    x8, #0x98ec9              ; "obj"
    0x106a3c598 <+528>: nop    
    0x106a3c59c <+532>: adr    x9, #0x98f20              ; "Dart_SetNativeInstanceField"
    0x106a3c5a0 <+536>: nop    
    0x106a3c5a4 <+540>: stp    x9, x8, [sp]
    0x106a3c5a8 <+544>: adr    x0, #0x97a0d              ; "%s expects argument '%s' to be non-null."
    0x106a3c5ac <+548>: nop    
    0x106a3c5b0 <+552>: bl     0x106a27e38               ; dart::Api::NewArgumentError(char const*, ...)
    0x106a3c5b4 <+556>: mov    x19, x0
    0x106a3c5b8 <+560>: b      0x106a3c608               ; <+640>
    0x106a3c5bc <+564>: bl     0x1067eebb8               ; thread-local wrapper routine for dart::OSThread::current_vm_thread_
    0x106a3c5c0 <+568>: ldr    x8, [x0]
    0x106a3c5c4 <+572>: ldr    x8, [x8, #0x7b8]
    0x106a3c5c8 <+576>: ldr    x8, [x8, #0x10]
    0x106a3c5cc <+580>: ldr    x9, [x23, #0x8]
    0x106a3c5d0 <+584>: ldur   x9, [x9, #-0x1]
    0x106a3c5d4 <+588>: ubfx   x9, x9, #12, #20
    0x106a3c5d8 <+592>: add    x8, x8, #0x28
    0x106a3c5dc <+596>: ldar   x8, [x8]
    0x106a3c5e0 <+600>: ldr    x0, [x8, x9, lsl #3]
    0x106a3c5e4 <+604>: ldurh  w8, [x0, #0xa9]
    0x106a3c5e8 <+608>: cmp    w8, w20
    0x106a3c5ec <+612>: b.ls   0x106a3c540               ; <+440>
    0x106a3c5f0 <+616>: mov    x0, x23
    0x106a3c5f4 <+620>: mov    x1, x20
    0x106a3c5f8 <+624>: mov    x2, x21
    0x106a3c5fc <+628>: bl     0x1067ae518               ; dart::Instance::SetNativeField(int, long) const
    0x106a3c600 <+632>: adrp   x8, 4983
    0x106a3c604 <+636>: ldr    x19, [x8, #0x348]
    0x106a3c608 <+640>: add    x0, sp, #0x20
    0x106a3c60c <+644>: bl     0x10672fce8               ; dart::HandleScope::~HandleScope()
    0x106a3c610 <+648>: str    x25, [sp, #0x48]
    0x106a3c614 <+652>: ldr    x0, [sp, #0x50]
    0x106a3c618 <+656>: mov    w8, #0x2
    0x106a3c61c <+660>: str    x8, [x0, #0x750]
    0x106a3c620 <+664>: ldr    w8, [x0, #0x838]
    0x106a3c624 <+668>: cbnz   w8, 0x106a3c650           ; <+712>
    0x106a3c628 <+672>: mov    x8, #0x0
    0x106a3c62c <+676>: ldr    w9, [x0, #0xc68]
    0x106a3c630 <+680>: cmp    w9, #0x1
    0x106a3c634 <+684>: mov    w9, #0x5
    0x106a3c638 <+688>: csinc  x9, x9, xzr, ne
    0x106a3c63c <+692>: add    x10, x0, #0x758
    0x106a3c640 <+696>: casl   x8, x9, [x10]
    0x106a3c644 <+700>: cmp    x8, #0x0
    0x106a3c648 <+704>: b.eq   0x106a3c650               ; <+712>
    0x106a3c64c <+708>: bl     0x10686a83c               ; dart::Thread::EnterSafepointUsingLock()
    0x106a3c650 <+712>: add    x0, sp, #0x48
    0x106a3c654 <+716>: bl     0x10686c1dc               ; dart::ThreadStackResource::~ThreadStackResource()
    0x106a3c658 <+720>: mov    x0, x19
    0x106a3c65c <+724>: ldp    x29, x30, [sp, #0xa0]
    0x106a3c660 <+728>: ldp    x20, x19, [sp, #0x90]
    0x106a3c664 <+732>: ldp    x22, x21, [sp, #0x80]
    0x106a3c668 <+736>: ldp    x24, x23, [sp, #0x70]
    0x106a3c66c <+740>: ldp    x26, x25, [sp, #0x60]
    0x106a3c670 <+744>: add    sp, sp, #0xb0
    0x106a3c674 <+748>: ret    
    0x106a3c678 <+752>: adr    x8, #0x976f6              ; "../../third_party/dart/runtime/vm/dart_api_impl.cc"
    0x106a3c67c <+756>: nop    
    0x106a3c680 <+760>: str    x8, [sp, #0x20]
    0x106a3c684 <+764>: mov    w8, #0x13b9
    0x106a3c688 <+768>: str    w8, [sp, #0x28]
    0x106a3c68c <+772>: adr    x0, #0x98e30              ; "Dart_SetNativeInstanceField"
    0x106a3c690 <+776>: nop    
    0x106a3c694 <+780>: bl     0x106a27638               ; dart::CanonicalFunction(char const*)
    0x106a3c698 <+784>: str    x0, [sp]
    0x106a3c69c <+788>: adr    x1, #0x97705              ; "%s expects there to be a current isolate. Did you forget to call Dart_CreateIsolateGroup or Dart_EnterIsolate?"
    0x106a3c6a0 <+792>: nop    
    0x106a3c6a4 <+796>: add    x0, sp, #0x20
    0x106a3c6a8 <+800>: bl     0x1066d0ba0               ; dart::Assert::Fail(char const*, ...) const
    0x106a3c6ac <+804>: adr    x8, #0x976c2              ; "../../third_party/dart/runtime/vm/dart_api_impl.cc"
    0x106a3c6b0 <+808>: nop    
    0x106a3c6b4 <+812>: str    x8, [sp, #0x20]
    0x106a3c6b8 <+816>: mov    w8, #0x13b9
    0x106a3c6bc <+820>: str    w8, [sp, #0x28]
    0x106a3c6c0 <+824>: adr    x0, #0x98dfc              ; "Dart_SetNativeInstanceField"
    0x106a3c6c4 <+828>: nop    
    0x106a3c6c8 <+832>: bl     0x106a27638               ; dart::CanonicalFunction(char const*)
    0x106a3c6cc <+836>: str    x0, [sp]
    0x106a3c6d0 <+840>: adr    x1, #0x97749              ; "%s expects to find a current scope. Did you forget to call Dart_EnterScope?"
    0x106a3c6d4 <+844>: nop    
    0x106a3c6d8 <+848>: add    x0, sp, #0x20
    0x106a3c6dc <+852>: bl     0x1066d0ba0               ; dart::Assert::Fail(char const*, ...) const
dcharkes wrote this answer on 2023-03-21
    0x106a3c438 <+176>: bl     0x10672fc88               ; dart::HandleScope::HandleScope(dart::ThreadState*)
    0x106a3c43c <+180>: ldr    x24, [x22, #0x18]
DARTSCOPE(Thread::Current());
#define DARTSCOPE(thread)                                                      \
  Thread* T = (thread);                                                        \
  CHECK_API_SCOPE(T);                                                          \
  TransitionNativeToVM transition(T);                                          \
  HANDLESCOPE(T);
#define HANDLESCOPE(thread)                                                    \
  dart::HandleScope vm_internal_handles_scope_(thread);

We have just succeeded doing that, so we do have a current thread.

With the crash we're trying to deref x19: -> 0x106a3c440 <+184>: ldr x26, [x19]

It's set in 0x106a3c3ac <+36>: mov x19, x0. That is the argument Dart_Handle obj. So a nullptr is being passed in there.

I'm not a Tonic expert on why the Dart_Handle could be passed a nullptr.

More Details About Repo
Owner Name flutter
Repo Name flutter
Full Name flutter/flutter
Language Dart
Created Date 2015-03-06
Updated Date 2023-03-30
Star Count 151602
Watcher Count 3555
Fork Count 25000
Issue Count 11498

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date