-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
SocketException: Reading from a closed socket #47018
Comments
I am having similar crash reports:
I am unable to reproduce this as well, this crash is reported from some devices and the app state is always in the |
Same thing happens to me too. This crash really confuse me, It seem this crash comes from |
Bumping priority as folks seem to run into this frequently |
//cc @brianquinlan |
Happy to have a go at a fix for this, if it's on the less-tricky side of hard. My suggestion in #52210 was to change from a exception to returning nil, like the other conditional checks in that method (a few lines below). If someone can provide a steer on writing a test and/or a fix, very happy to have a go. |
I was looking at adding the suggested fix, I am in the process of trying to add a regression test that will work with our test harness. |
up |
I met this problem too. Have no idea. |
Steps to Reproduce
I don't know how to reproduce this SocketException,it suddenly report an error during the application.
flutter doctor
error stack
The text was updated successfully, but these errors were encountered: