Unrecoverable exception writing to socket closed from the other side #35995
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
library-io
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
I am using Dart VM version: 2.1.0 (Tue Nov 13 18:22:02 2018 +0100) on "windows_x64".
When
socket.write
is called onRawSocket
after the other side has closed the connection (which we dont know about yet), the Dart SDK crashes with an unrecoverable exception.Here is the message it outputs before it crashes:
It however calls
onError
callback oflisten
method with the error before it crashes.This is probably related to an old issue: #17468
There are also occurrences of the same issue in other packages: dartist/redis_client#67
The text was updated successfully, but these errors were encountered: