-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[desktop_multi_window] App is crashing while closing windows #352
Comments
I reported it directly in the Flutter repository but was sent here: flutter/flutter#152299 |
Hi @fufesou 👋 I saw that you made a great contribution 💪 to resolve the issue I reported some time ago: It seems this issue is similar.. but we are crashing in different places inside the Flutter engine.. some details here: flutter/flutter#152299 I committed a piece of code here that automates the crash reproduction:
Since you have experience with the previous issue, maybe you would like to help with this one if you have time.. 🙏 🙏 😄 |
I recently encountered this too, creating and opening randomness would crash the entire program,I hope the author can pay attention to it, thank you |
@lukasz-lukasz-lukasz I have the same problem, did you solve it? |
@lukasz-lukasz-lukasz I think this should be a problem with flutter. It was normal before flutter was upgraded. When I upgraded to flutter 3.24, it crashed. |
I have same problem, any suggestion? |
@lukasz-lukasz-lukasz @lingg4556 @NicholasHwang https://github.com/weedsboy/engine/tree/3.22.3_fix_issues for flutter 3.22.3 |
More related solutions: Per this thread flutter/flutter#155685, this MR is root cause of crashing I just downgraded to Flutter v3.16.8 / Dart 3.2.5 and downgraded the associated packages
If you don't want to use an old Flutter version, according to others, you can attempt to patch your current Flutter version by:
OR
Have not tested any of these and personally wouldn't recommend it unless you have a good reason, as I imagine further debugging may be a headache Will have to do it eventually, but that's a future me problem. Hopefully there's a better solution in the future |
@weedsboy hallo, My problem is flutter 3.19.6, so I can modify like as your fix in 3.22.3? |
There have been big changes in Flutter from version 3.19 to 3.22. This might not work, but you can give it a try. |
I have same crash on flutter 3.19.6, did you resolved on flutter 3.16.8? |
Hey @NicholasHwang, yes, downgrading to flutter v3.16.8 fixed all crashing for me |
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
steps-to-reproduce-the-issue.mp4
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):
Additional context
Crash call stack:
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:
The text was updated successfully, but these errors were encountered: