Repository: flutter
Issue: Flaky crashes in unopt builds related to raster caching
Labels: engine,P2,team-engine,triaged-engine

symbolicated stack:

```
********** Crash dump: **********
Build fingerprint: 'google/raven/raven:13/TP1A.220905.004.A1/8985112:user/release-keys'
Abort message: '[FATAL:flutter/flow/raster_cache.cc(173)] Check failed: entry.encountered_this_frame. '
#00 0x00000000000530f4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: cbc4c62a9b269839456f1d7728d8411e)
#01 0x0000000001e27a68 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   std::__throw_bad_array_new_length[abi:v15000]()
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../third_party/libcxx/include/optional:227:9
#02 0x0000000001eede70 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   fml::LogMessage::~LogMessage()
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/fml/logging.cc:131:5
#03 0x0000000002bf7fc8 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   flutter::RasterCache::UpdateMetrics()
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/flow/raster_cache.cc:173:5
#04 0x0000000002bf835c /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   flutter::RasterCache::EndFrame()
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/flow/raster_cache.cc:204:3
#05 0x0000000002c496ec /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   flutter::Rasterizer::DrawToSurfaceUnsafe(flutter::FrameTimingsRecorder&, flutter::LayerTree&)
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/shell/common/rasterizer.cc:611:41
#06 0x0000000002c47524 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   flutter::Rasterizer::DrawToSurface(flutter::FrameTimingsRecorder&, flutter::LayerTree&)
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/shell/common/rasterizer.cc:479:21
#07 0x0000000002c48498 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   flutter::Rasterizer::DoDraw(std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::FrameTimingsRecorder, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::FrameTimingsRecorder> >, std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::LayerTree>)
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/shell/common/rasterizer.cc:388:7
#08 0x0000000002c4b268 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_2::operator()(std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::LayerTreeItem, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::LayerTreeItem> >) const
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/shell/common/rasterizer.cc:206:15
#09 0x0000000002c4b194 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   decltype(std::declval<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_2&>()(std::declval<std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::LayerTreeItem, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::LayerTreeItem> > >())) std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_2&, std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::LayerTreeItem, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::LayerTreeItem> > >(flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_2&, std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::LayerTreeItem, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::LayerTreeItem> >&&)
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../third_party/libcxx/include/__functional/invoke.h:403:23
#10 0x0000000002c4b150 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   void std::_LIBCPP_ABI_NAMESPACE::__invoke_void_return_wrapper<void, true>::__call<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_2&, std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::LayerTreeItem, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::LayerTreeItem> > >(flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_2&, std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::LayerTreeItem, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::LayerTreeItem> >&&)
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../third_party/libcxx/include/__functional/invoke.h:488:9
#11 0x0000000002c4b124 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   std::_LIBCPP_ABI_NAMESPACE::__function::__alloc_func<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_2, std::_LIBCPP_ABI_NAMESPACE::allocator<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_2>, void (std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::LayerTreeItem, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::LayerTreeItem> >)>::operator()[abi:v15000](std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::LayerTreeItem, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::LayerTreeItem> >&&)
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../third_party/libcxx/include/__functional/function.h:185:16
#12 0x0000000002c4b0f4 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   std::_LIBCPP_ABI_NAMESPACE::__function::__func<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_2, std::_LIBCPP_ABI_NAMESPACE::allocator<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_2>, void (std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::LayerTreeItem, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::LayerTreeItem> >)>::operator()(std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::LayerTreeItem, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::LayerTreeItem> >&&)
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../third_party/libcxx/include/__functional/function.h:359:12
#13 0x0000000001ef5dfc /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   std::_LIBCPP_ABI_NAMESPACE::__function::__value_func<void (long)>::operator()[abi:v15000](long&&) const
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../third_party/libcxx/include/__functional/function.h:512:16
#14 0x0000000002c4b44c /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   std::_LIBCPP_ABI_NAMESPACE::function<void (std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::FrameTimingsRecorder, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::FrameTimingsRecorder> >)>::operator()(std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::FrameTimingsRecorder, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::FrameTimingsRecorder> >) const
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../third_party/libcxx/include/__functional/function.h:1187:12
#15 0x0000000002c47bf8 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   flutter::Pipeline<flutter::LayerTreeItem>::Consume(std::_LIBCPP_ABI_NAMESPACE::function<void (std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::LayerTreeItem, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::LayerTreeItem> >)> const&)
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/shell/common/pipeline.h:170:5
#16 0x0000000002c4781c /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/shell/common/rasterizer.cc:210:52
#17 0x0000000002c4bdf4 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_0::operator()()
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/shell/common/rasterizer.cc:248:30
#18 0x0000000002c4bd88 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   auto fml::internal::CopyableLambda<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_0>::operator()<>() const
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/fml/make_copyable.h:24:12
#19 0x0000000002c4bd5c /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   decltype(std::declval<fml::internal::CopyableLambda<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_0>&>()()) std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<fml::internal::CopyableLambda<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_0>&>(fml::internal::CopyableLambda<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_0>&)
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../third_party/libcxx/include/__functional/invoke.h:403:23
#20 0x0000000002c4bd38 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   void std::_LIBCPP_ABI_NAMESPACE::__invoke_void_return_wrapper<void, true>::__call<fml::internal::CopyableLambda<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_0>&>(fml::internal::CopyableLambda<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_0>&)
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../third_party/libcxx/include/__functional/invoke.h:488:9
#21 0x0000000002c4bd14 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   std::_LIBCPP_ABI_NAMESPACE::__function::__alloc_func<fml::internal::CopyableLambda<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_0>, std::_LIBCPP_ABI_NAMESPACE::allocator<fml::internal::CopyableLambda<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_0> >, void ()>::operator()[abi:v15000]()
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../third_party/libcxx/include/__functional/function.h:185:16
#22 0x0000000002c4bc24 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   std::_LIBCPP_ABI_NAMESPACE::__function::__func<fml::internal::CopyableLambda<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_0>, std::_LIBCPP_ABI_NAMESPACE::allocator<fml::internal::CopyableLambda<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_0> >, void ()>::operator()()
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../third_party/libcxx/include/__functional/function.h:359:12
#23 0x0000000001ee7478 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   std::_LIBCPP_ABI_NAMESPACE::__function::__value_func<void ()>::operator()[abi:v15000]() const
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../third_party/libcxx/include/__functional/function.h:512:16
#24 0x0000000001ee62b8 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   std::_LIBCPP_ABI_NAMESPACE::function<void ()>::operator()() const
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../third_party/libcxx/include/__functional/function.h:1187:12
#25 0x0000000001ef092c /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   fml::MessageLoopImpl::FlushTasks(fml::FlushType)
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/fml/message_loop_impl.cc:126:5
#26 0x0000000001ef0838 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   fml::MessageLoopImpl::RunExpiredTasksNow()
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/fml/message_loop_impl.cc:139:3
#27 0x0000000001f01bfc /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   fml::MessageLoopAndroid::OnEventFired()
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/fml/platform/android/message_loop_android.cc:92:5
#28 0x0000000001f01c7c /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   fml::MessageLoopAndroid::MessageLoopAndroid()::$_0::operator()(int, int, void*) const
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/fml/platform/android/message_loop_android.cc:42:52
#29 0x0000000001f01c38 /data/app/~~TcARC9kIGA5jZ7Vd6aXn8g==/com.example.some_app-be8lV4ReHQZc26AtQ7ERTQ==/lib/arm64/libflutter.so (BuildId: c5ae81a84265ca1095a45a5f3299adfafdfa7fc4)
                                                                                                                                   fml::MessageLoopAndroid::MessageLoopAndroid()::$_0::__invoke(int, int, void*)
                                                                                                                                   /Users/dnfield/src/flutter/engine/src/out/android_debug_unopt_arm64/../../flutter/fml/platform/android/message_loop_android.cc:40:40
#30 0x0000000000011178 /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+808) (BuildId: 0b4a793fa8045c04066d988c68bac8bb)
#31 0x000000000015e41c /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+44) (BuildId: cdeba1221151b65963e03a70a805dff9)
#32 0x00000000002cb504 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+116)
#33 0x000000000020a910 /apex/com.android.art/lib64/libart.so (nterp_helper+5648) (BuildId: 56e704c544e6c624201be2ab4933e853)
#34 0x00000000004980aa /system/framework/framework.jar (android.os.MessageQueue.next+34)
#35 0x000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: 56e704c544e6c624201be2ab4933e853)
#36 0x0000000000497098 /system/framework/framework.jar (android.os.Looper.loopOnce+12)
#37 0x0000000000209334 /apex/com.android.art/lib64/libart.so (nterp_helper+52) (BuildId: 56e704c544e6c624201be2ab4933e853)
#38 0x0000000000497886 /system/framework/framework.jar (android.os.Looper.loop+162)
#39 0x0000000000209334 /apex/com.android.art/lib64/libart.so (nterp_helper+52) (BuildId: 56e704c544e6c624201be2ab4933e853)
#40 0x00000000001bb65e /system/framework/framework.jar (android.app.ActivityThread.main+202)
#41 0x0000000000436e00 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+576) (BuildId: 56e704c544e6c624201be2ab4933e853)
#42 0x0000000000469534 /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1960) (BuildId: 56e704c544e6c624201be2ab4933e853)
#43 0x0000000000468d64 /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+48) (BuildId: 56e704c544e6c624201be2ab4933e853)
#44 0x00000000002d1148 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+120)
#45 0x000000000020a2b0 /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 56e704c544e6c624201be2ab4933e853)
#46 0x00000000003f71de /system/framework/framework.jar (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
#47 0x0000000000d4ab08 /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (com.android.internal.os.ZygoteInit.main+3464)
#48 0x0000000000436e00 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+576) (BuildId: 56e704c544e6c624201be2ab4933e853)
#49 0x0000000000582e28 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+900) (BuildId: 56e704c544e6c624201be2ab4933e853)
#50 0x00000000005f5f48 /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+160) (BuildId: 56e704c544e6c624201be2ab4933e853)
#51 0x00000000000bbce8 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+120) (BuildId: cdeba1221151b65963e03a70a805dff9)
#52 0x00000000000c7bf8 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+840) (BuildId: cdeba1221151b65963e03a70a805dff9)
#53 0x0000000000002560 /system/bin/app_process64 (main+1280) (BuildId: 6f97a590777bd06f31784c7272763a35)
#54 0x000000000004b500 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+96) (BuildId: cbc4c62a9b269839456f1d7728d8411e)
Crash dump is completed
```

This is happening sometimes on a Pixel 6 with the app provided in https://github.com/flutter/flutter/issues/113437

@flar @JsouLiang FYI