-
Notifications
You must be signed in to change notification settings - Fork 27.3k
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
crash when return to previous page in iOS #128018
Comments
Hi @yinanwang1, please provide a complete minimal reproducible code sample so that we can investigate this. Are you by any chance using a platform view in your screens? |
It is difficult to create a demo and reproduce this issue. Now, I catch this crash stack in Xcode when I am running my own app. Please have a look. 2023-06-02 14:33:28.667253 0800 Dispatcher[848:128300] [Bugly] Trapped uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil' |
I have reproduced it in the AMAp demo. |
Are you using impeller? If so, there was a similar report in #127489. It seems to have been fixed on the master channel. Can you check to see if you still have this issue on the master channel? |
Thanks for your answer. |
NICE. Thanks for your advice. |
When will the fix come to the stable channel? I am using version 3.10.4 and still facing this issue. Strangely, it doesn't happen all the time and I can't get my app to consistently reproduce the crash. But from my crashlytics logs for iOS only (Android is fine), I can see that a lot of my users are experiencing crashes from my latest release which is my first release build using flutter 3.10. I have also confirmed that this issue is fixed on the master channel but I don't want to release a version that is built using an unstable channel. |
YES,You are right. I have the same question with you. And It still hasn't been resolved in the stable channel. |
/> > > Are you using impeller? If so, there was a similar report in #127489. It seems to have been fixed on the master channel. Can you check to see if you still have this issue on the master channel?
i am also face this issue when ios page is turn back which has embed a ios UIView. so Have you solved the problem now |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Is there an existing issue for this?
Steps to reproduce
There are two pages A & B.
Expected results
It returns to A page and works well.
Actual results
It crashes when return to previous page.
Code sample
Screenshots or Video
Logs
Flutter Doctor output
The text was updated successfully, but these errors were encountered: