Running latest invoice ninja windows app on Windows 11 21H2
App crashes when clicking on the “column” button in any table view
Tried reinstalling and clearing data from "C:\Users\User\AppData\Local\Packages\InvoiceNinja.InvoiceNinja_4m5t6jv56yafy"
Below is the error in Event Viewer:
Faulting application name: invoiceninja.exe, version: 1.0.0.0, time stamp: 0x62c7d452
Faulting module name: ucrtbase.dll, version: 10.0.22000.1, time stamp: 0x00e78ce9
Exception code: 0xc0000409
Fault offset: 0x000000000007dd7e
Faulting process ID: 0x4ac4
Faulting application start time: 0x01d8a30969a45085
Faulting application path: C:\Program Files\WindowsApps\InvoiceNinja.InvoiceNinja_5.0.88.0_x64__4m5t6jv56yafy\invoiceninja.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report ID: 66f92c09-7977-4d42-8e0e-6836eaca0e35
Faulting package full name: InvoiceNinja.InvoiceNinja_5.0.88.0_x64__4m5t6jv56yafy
Faulting package-relative application ID: invoiceninjaflutter
Can provide crash dump if needed. 16MB
hillel
July 29, 2022, 6:42am
2
Hi,
Thanks for posting the error details!
Other users had reported the error but we haven’t been able to replicate it. With the error code I was able to find the issue which I believe is the underlying cause.
opened 01:47PM - 14 May 22 UTC
severe: crash
engine
a: accessibility
platform-windows
a: desktop
has reproducible steps
P4
found in release: 3.0
found in release: 3.1
hi ,
my app crashes (debug/release) should be same as #100919 , #99539 , #… 100610 , it was in different machine i couldn't reproduced in my main machine . but i finally found out why. and now i can reproduce it in multiple machines windows 10 / 11 .
i also found out it can reproduce this too #98099
i tested this in 2 machines (windows10/11) with both binaries compiled with my main dev machine and github actions same result.
also on 2 dev environment (main machine and virtual machine )
flutter 2.10 and 3.0 , Visual Studio 2019
## Steps to Reproduce
1. launch Window Magnifier (shortcut Win + Plus) ->> **important: without this the app won't crash and will work perfectly**
2. `flutter run` the code sample
3. sometimes do step 2 multiple times until it crash
**Expected results:** the app run and work fine
**Actual results:** the app will crash immediately most of the times .
if it doesn't crash , when you try to reorder tabs will get error in console :
ERROR:accessibility_bridge.cc(76)] Failed to update ui::AXTree #98099
release build will crash silently , debug build will get (abort/retry/cancel error dialog)
i was using TabView from fluent_ui , but it uses ReorderableListView
<details>
<summary>Code sample</summary>
```dart
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
home: Scaffold(
body: ReorderableListView(
onReorder: (_, __) {},
children: [
for (var i = 0; i < 10; i++) Text("Tab $i", key: GlobalKey())
],
),
),
));
}
```
</details>
<details>
<summary>flutter doctor -v from virtual machine</summary>
<!--
Run your application with `flutter run --verbose` and attach all the
log output below between the lines with the backticks. If there is an
exception, please see if the error message includes enough information
to explain how to solve the issue.
-->
```
[√] Flutter (Channel stable, 3.0.0, on Microsoft Windows [Version 10.0.19044.1288], locale en-US)
• Flutter version 3.0.0 at E:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ee4e09cce0 (5 days ago), 2022-05-09 16:45:18 -0700
• Engine revision d1b9a6938a
• Dart version 2.17.0
• DevTools version 2.12.2
[X] Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.14)
• Visual Studio at e:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.11.32428.217
• Windows 10 SDK version 10.0.19041.0
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
[√] Connected device (2 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.1288]
• Edge (web) • edge • web-javascript • Microsoft Edge 92.0.902.67
[√] HTTP Host Availability
• All required HTTP hosts are available
```
</details>
<details>
<summary>flutter doctor -v main dev machine</summary>
```
[√] Flutter (Channel stable, 2.10.5, on Microsoft Windows [Version 10.0.22000.652], locale en-US)
• Flutter version 2.10.5 at E:\flutter2
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5464c5bac7 (4 weeks ago), 2022-04-18 09:55:37 -0700
• Engine revision 57d3bac3dd
• Dart version 2.16.2
• DevTools version 2.9.2
[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at E:\Android\Android-sdk\sdk
• Platform android-31, build-tools 32.0.0
• Java binary at: E:\Android\android-studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
• All Android licenses accepted.
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.13)
• Visual Studio at E:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.11.32413.511
• Windows 10 SDK version 10.0.22000.0
[√] Android Studio (version 2021.1)
• Android Studio at E:\Android\android-studio
• 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.11+9-b60-7590822)
[√] VS Code (version 1.67.1)
• VS Code at C:\Users\User\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.40.0
[√] Connected device (1 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22000.652]
[√] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
```
</details>
https://user-images.githubusercontent.com/105427712/168428330-694eaff4-9bda-4ceb-b380-2dc7d6aa5b4c.mp4
Note: as a workaround you can use the web app to configure the columns.