Repository: flutter
Issue: Crash in Dart VM while running flutter_tools tests during engine roll presubmit
Labels: tool,dependency: dart,P2,team: presubmit flakes,team-tool,triaged-tool

From https://ci.chromium.org/ui/p/flutter/builders/try/Mac%20tool_integration_tests_3_4/1117/overview on the engine -> framework roll attempt here: https://github.com/flutter/flutter/pull/82428.

It looks like the incremental compiler caused a crash in generated code?

```
04:33 +29 -1: test/integration.shard/stateless_stateful_hot_reload_test.dart: Can switch between stateless and stateful [E]                                                                            
  Exception: Process exited prematurely: run --disable-service-auth-codes --machine -d flutter-tester: 
  ===== CRASH =====
  si_signo=Bus error: 10(10), si_code=2, si_addr=0x105608041
  version=2.14.0-111.0.dev (dev) (Wed May 12 07:21:02 2021 -0700) on "macos_x64"
  pid=35709, thread=9987, isolate_group=main(0x7fe26d010e00), isolate=main(0x7fe26d016600)
  isolate_instructions=1049d5000, vm_instructions=100f75640
    pc 0x0000000105608041 fp 0x0000700003f9a260 Unknown symbol
    pc 0x00000001200bb760 fp 0x0000700003f9a2a0 Unknown symbol
    pc 0x0000000104b4bb29 fp 0x0000700003f9a300 Unknown symbol
    pc 0x00000001200b6214 fp 0x0000700003f9a360 Unknown symbol
    pc 0x00000001200b7a0c fp 0x0000700003f9a390 Unknown symbol
    pc 0x00000001200c2b89 fp 0x0000700003f9a3e0 Unknown symbol
    pc 0x00000001051657ec fp 0x0000700003f9a410 Unknown symbol
    pc 0x0000000104b4baec fp 0x0000700003f9a470 Unknown symbol
    pc 0x00000001200b61f0 fp 0x0000700003f9a4d0 Unknown symbol
    pc 0x00000001200b7a0c fp 0x0000700003f9a500 Unknown symbol
    pc 0x00000001051a88c1 fp 0x0000700003f9a548 Unknown symbol
    pc 0x00000001051e89c9 fp 0x0000700003f9a5a0 Unknown symbol
    pc 0x00000001200c10d7 fp 0x0000700003f9a5d0 Unknown symbol
    pc 0x0000000105118a94 fp 0x0000700003f9a610 Unknown symbol
    pc 0x00000001051190e7 fp 0x0000700003f9a660 Unknown symbol
    pc 0x0000000104b4bb29 fp 0x0000700003f9a6c0 Unknown symbol
    pc 0x0000000105280338 fp 0x0000700003f9a710 Unknown symbol
    pc 0x00000001200ba590 fp 0x0000700003f9a740 Unknown symbol
    pc 0x0000000105130694 fp 0x0000700003f9a780 Unknown symbol
    pc 0x0000000105214097 fp 0x0000700003f9a7d0 Unknown symbol
    pc 0x0000000104b4bb29 fp 0x0000700003f9a830 Unknown symbol
    pc 0x00000001200c1e8a fp 0x0000700003f9a878 Unknown symbol
    pc 0x00000001051655e1 fp 0x0000700003f9a8a8 Unknown symbol
    pc 0x0000000104bfd994 fp 0x0000700003f9a8e8 Unknown symbol
    pc 0x0000000104bfda97 fp 0x0000700003f9a938 Unknown symbol
    pc 0x0000000104b4bb29 fp 0x0000700003f9a998 Unknown symbol
    pc 0x0000000105283a24 fp 0x0000700003f9a9e8 Unknown symbol
    pc 0x0000000104b311a3 fp 0x0000700003f9aa60 Unknown symbol
    pc 0x0000000104b3a4dd fp 0x0000700003f9aaf8 Unknown symbol
    pc 0x0000000104c48b58 fp 0x0000700003f9ab80 Unknown symbol
    pc 0x0000000104fa5623 fp 0x0000700003f9ac10 Unknown symbol
    pc 0x0000000104aa1afc fp 0x0000700003f9ac88 Unknown symbol
    pc 0x0000000104aa1dfc fp 0x0000700003f9acf0 Unknown symbol
    pc 0x0000000105208cc0 fp 0x0000700003f9ad80 Unknown symbol
    pc 0x000000010520bb5e fp 0x0000700003f9ade0 Unknown symbol
    pc 0x000000010520a820 fp 0x0000700003f9ae48 Unknown symbol
    pc 0x0000000104c33003 fp 0x0000700003f9ae90 Unknown symbol
    pc 0x00000001050cdb9c fp 0x0000700003f9aed0 Unknown symbol
    pc 0x0000000104fa4fc2 fp 0x0000700003f9af70 Unknown symbol
    pc 0x0000000104aa1afc fp 0x0000700003f9afe8 Unknown symbol
    pc 0x0000000104aa1dfc fp 0x0000700003f9b050 Unknown symbol
    pc 0x0000000105208cc0 fp 0x0000700003f9b0e0 Unknown symbol
    pc 0x000000010520bb5e fp 0x0000700003f9b140 Unknown symbol
    pc 0x000000010520a820 fp 0x0000700003f9b1a8 Unknown symbol
    pc 0x0000000104c33003 fp 0x0000700003f9b1f0 Unknown symbol
    pc 0x00000001050cdb9c fp 0x0000700003f9b230 Unknown symbol
    pc 0x0000000104fa478d fp 0x0000700003f9b2d0 Unknown symbol
    pc 0x0000000104aa1afc fp 0x0000700003f9b348 Unknown symbol
    pc 0x0000000104aa1dfc fp 0x0000700003f9b3b0 Unknown symbol
    pc 0x0000000105208cc0 fp 0x0000700003f9b440 Unknown symbol
    pc 0x000000010520bb5e fp 0x0000700003f9b4a0 Unknown symbol
    pc 0x000000010520a820 fp 0x0000700003f9b508 Unknown symbol
    pc 0x0000000104c33003 fp 0x0000700003f9b550 Unknown symbol
    pc 0x0000000104c32e4d fp 0x0000700003f9b590 Unknown symbol
    pc 0x0000000104a9aa14 fp 0x0000700003f9b600 Unknown symbol
    pc 0x0000000104a9abf9 fp 0x0000700003f9b660 Unknown symbol
    pc 0x0000000104a98c89 fp 0x0000700003f9b6f8 Unknown symbol
    pc 0x0000000104a98d80 fp 0x0000700003f9b748 Unknown symbol
    pc 0x0000000104aa1917 fp 0x0000700003f9b790 Unknown symbol
    pc 0x0000000104aa1ece fp 0x0000700003f9b7d0 Unknown symbol
    pc 0x0000000104aa20f9 fp 0x0000700003f9b7f8 Unknown symbol
    pc 0x000000010524191d fp 0x0000700003f9b838 Unknown symbol
    pc 0x0000000105242a81 fp 0x0000700003f9b8b8 Unknown symbol
    pc 0x000000010523f6ec fp 0x0000700003f9b8f0 Unknown symbol
    pc 0x000000010523f7bc fp 0x0000700003f9b920 Unknown symbol
    pc 0x0000000104b936c9 fp 0x0000700003f9b988 Unknown symbol
    pc 0x000000010528cee8 fp 0x0000700003f9b9c0 Unknown symbol
    pc 0x00000001056828ff fp 0x0000700003f9ba38 Unknown symbol
    pc 0x000000010112c2d9 fp 0x0000700003f9bae0 dart::DartEntry::InvokeCode(dart::Code const&, unsigned long, dart::Array const&, dart::Array const&, dart::Thread*)+0x149
    pc 0x000000010112c09d fp 0x0000700003f9bb50 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)+0x15d
    pc 0x000000010112ec7f fp 0x0000700003f9bbb0 dart::DartLibraryCalls::HandleMessage(dart::Object const&, dart::Instance const&)+0x1df
    pc 0x00000001011566d3 fp 0x0000700003f9bdb0 dart::IsolateMessageHandler::HandleMessage(std::__1::unique_ptr<dart::Message, std::__1::default_delete<dart::Message> >)+0x4f3
    pc 0x00000001011881f4 fp 0x0000700003f9be30 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)+0x144
    pc 0x0000000101188849 fp 0x0000700003f9be90 dart::MessageHandler::TaskCallback()+0x1e9
    pc 0x00000001012c41e8 fp 0x0000700003f9bf20 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)+0x158
    pc 0x00000001012c44af fp 0x0000700003f9bf50 dart::ThreadPool::Worker::Main(unsigned long)+0x6f
    pc 0x0000000101222725 fp 0x0000700003f9bfb0 dart::ThreadStart(void*)+0xb5
    pc 0x00007fff70d8e109 fp 0x0000700003f9bfd0 _pthread_start+0x94
    pc 0x00007fff70d89b8b fp 0x0000700003f9bff0 thread_start+0xf
  -- End of DumpStackTrace
  the Dart compiler exited unexpectedly.
  the Dart compiler exited unexpectedly.
  
  dart:async                                                            _Completer.completeError
  test/integration.shard/test_driver.dart 556:28                        FlutterRunTestDriver._setupProcess.<fn>
  ===== asynchronous gap ===========================
  dart:async                                                            Future.then
  test/integration.shard/test_driver.dart 554:33                        FlutterRunTestDriver._setupProcess
  ===== asynchronous gap ===========================
  dart:async                                                            _asyncThenWrapperHelper
  test/integration.shard/test_driver.dart 471:11                        FlutterRunTestDriver.run
  test/integration.shard/stateless_stateful_hot_reload_test.dart 35:20  main.<fn>
  test/integration.shard/stateless_stateful_hot_reload_test.dart 34:67  main.<fn>
  dart:async                                                            runZoned
  test/src/common.dart 184:14                                           testWithoutContext.<fn>
  test/src/common.dart 183:18                                           testWithoutContext.<fn>
  test/src/common.dart 154:18                                           test.<fn>
  test/src/common.dart 150:5                                            test.<fn>
```