We’ve been using Flutter 3.19.6 for a while now and decided to update to a more recent version 3.35.4.
On most platforms the app is running fine however on Windows we’re seeing many silent crashes which aren’t getting reported to Sentry.
In the Microsoft Store admin portal I can see the following two errors reported many times.
access_violation_c0000005_flutter_windows.dll!unknown
fatal_user_callback_exception_c000041d_flutter_windows.dll!unknown
We tried rollong back to a slightly older Flutter version 3.27.4, some users reported it helping but we’re still seeing many crash reports. The errors changed to.
access_violation_c0000005_flutter_windows.dll!flutter::flutterwindowsview::getengine
fatal_user_callback_exception_c000041d_flutter_windows.dll!flutter::flutterwindowsview::getengine
For now we’ve rolled back to 3.19.6. I don’t have code to reproduce the error so haven’t created an issue on the Flutter GitHub repo but thought I’d post here in case anyone else is seeing it as well or has any ideas.
"Frame" "Image" "Function" "Offset"
"0" "flutter_windows.dll" "flutter::FlutterWindowsView::GetEngine" "0x0000000000000000"
"1" "flutter_windows.dll" "flutter::FlutterWindowsViewController::engine" "0x0000000000000000"
"2" "flutter_windows.dll" "FlutterDesktopViewControllerHandleTopLevelWindowProc" "0x0000000000000000"
"3" "invoiceninja.exe" "-" "0x0000000000000000"
"4" "invoiceninja.exe" "-" "0x0000000000000000"
"5" "invoiceninja.exe" "-" "0x0000000000000000"
"6" "user32.dll" "UserCallWinProcCheckWow" "0x0000000000000000"
"7" "user32.dll" "DispatchClientMessage" "0x0000000000000000"
"8" "user32.dll" "__fnDWORD" "0x0000000000000000"
"9" "ntdll.dll" "KiUserCallbackDispatcherContinue" "0x0000000000000000"
"10" "win32u.dll" "ZwUserDestroyWindow" "0x0000000000000000"
"11" "flutter_windows.dll" "flutter::FlutterWindow::Destroy" "0x0000000000000000"
"12" "flutter_windows.dll" "flutter::FlutterWindow::~FlutterWindow" "0x0000000000000000"
"13" "flutter_windows.dll" "flutter::FlutterWindow::`vector deleting destructor'" "0x0000000000000000"
"14" "flutter_windows.dll" "std::default_delete_flutter::WindowBindingHandler_::operator" "0x0000000000000000"
"15" "flutter_windows.dll" "std::unique_ptr_flutter::WindowBindingHandler,std::default_delete_flutter::WindowBindingHandler_ _::~unique_ptr" "0x0000000000000000"
"16" "flutter_windows.dll" "flutter::FlutterWindowsView::~FlutterWindowsView" "0x0000000000000000"
"17" "flutter_windows.dll" "flutter::FlutterWindowsView::~FlutterWindowsView" "0x0000000000000000"
"18" "flutter_windows.dll" "std::default_delete_flutter::FlutterWindowsView_::operator" "0x0000000000000000"
"19" "flutter_windows.dll" "std::unique_ptr_flutter::FlutterWindowsView,std::default_delete_flutter::FlutterWindowsView_ _::reset" "0x0000000000000000"
"20" "flutter_windows.dll" "flutter::FlutterWindowsViewController::Destroy" "0x0000000000000000"
"21" "flutter_windows.dll" "FlutterDesktopViewControllerDestroy" "0x0000000000000000"
"22" "invoiceninja.exe" "-" "0x0000000000000000"
"23" "invoiceninja.exe" "-" "0x0000000000000000"
"24" "invoiceninja.exe" "-" "0x0000000000000000"
"25" "invoiceninja.exe" "-" "0x0000000000000000"
"26" "kernel32.dll" "BaseThreadInitThunk" "0x0000000000000000"
"27" "ntdll.dll" "RtlUserThreadStart" "0x0000000000000000"