Open lukasz-lukasz-lukasz opened 1 month ago
I reported it directly in the Flutter repository but was sent here: https://github.com/flutter/flutter/issues/152299
Hi @fufesou 👋
I saw that you made a great contribution 💪 to resolve the issue I reported some time ago: https://github.com/MixinNetwork/flutter-plugins/issues/283
It seems this issue is similar.. but we are crashing in different places inside the Flutter engine.. some details here: https://github.com/flutter/flutter/issues/152299
I committed a piece of code here that automates the crash reproduction: https://github.com/lukasz-lukasz-lukasz/flutter-plugins/commit/4ae8e28318187ee8936ffcccdd37c3d433e53f15
Since you have experience with the previous issue, maybe you would like to help with this one if you have time.. 🙏 🙏 😄
I encounter crashes in my app and in the plugin example app - the problem is random, sometimes easy to replicate but sometimes it can take a long time to reproduce it.
The app simply crashes from time to time when closing their windows.
Reproduce Steps
https://github.com/user-attachments/assets/4f3f61c6-99e0-4b0b-8ac8-d13e955d8e48
Sometimes creating 3-4 sets of windows is enough to see the problem.. but sometimes you can create and close hundreds of windows without the issue.
This problem may seem rare because it's not easy to reproduce, but I have several instances of this happening throughout an 8-hour workday, so it's problematic.
Expected behavior
There is no crash inside the flutter code. The application is stable while creating and closing windows.
Actual results
The app is crashing randomly and is unstable. There is no way to handle that issue in the app code. The issue makes the multi-window app unusable.
Version (please complete the following information):
plugin: [desktop_multi_window 0.2.0]
• No issues found!
Crash call stack img:
Parallel stack:
Exception:
Additionally, it seems it isn't the only place where the app crashes when using the plugin. Some extra logs from my app: