/reorderablecrash

Demonstrates a Flutter Engine crash when using the Reorderables widget

Primary LanguageC++

Reorderable List View Crash

This project is used to demonstrate how projects built using Flutter, running on Windows, will crash when the project imports the reorderablelistview widget.

The crash takes a few forms:

  1. If running in release mode, the application will hard crash to desktop, leaving no traces whatsoever
  2. If running in Debug mode, an "Abort?" dialog box will be called.

The reasons for this crash are documented on the Flutter Engine repo in this thread, but the tl;dr is that a list being iterated over in flutter/engine/src/flutter/shell/platform/common/accessibility_bridge.cc has an incorrect number of elements. I don't know why.

Reproducing the Crash

Run the project on Windows. This crash is Windows only. Some people report never being able to reproduce this crash, but this particular repository will crash 100% for me, on my own windows machine (Surface Laptop Studio, Windows 11, 10.0.22000 N/A Build 22000).