[issue33834] test_asyncio: test_sendfile_close_peer_in_the_middle_of_receiving() of ProactorEventLoop logs InvalidStateError error
Jorge Ramos
report at bugs.python.org
Sat Nov 3 22:23:03 EDT 2018
Jorge Ramos <neyuru at gmail.com> added the comment:
While building 3.6.7. Path set to 3.6.7 working directory
Running PGInstrument|x64 interpreter...
Run tests sequentially
Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF...ne, 64, None)>)
handle: <Handle _ProactorReadPipeTransport._loop_reading(<_OverlappedF...ne, 64, None)>)>
Traceback (most recent call last):
File "E:\cpython\lib\asyncio\windows_events.py", line 429, in finish_recv
return ov.getresult()
OSError: [WinError 64] El nombre de red especificado ya no está disponible
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\cpython\lib\asyncio\proactor_events.py", line 256, in _loop_reading
data = fut.result()
File "E:\cpython\lib\asyncio\windows_events.py", line 733, in _poll
value = callback(transferred, key, ov)
File "E:\cpython\lib\asyncio\windows_events.py", line 433, in finish_recv
raise ConnectionResetError(*exc.args)
ConnectionResetError: [WinError 64] El nombre de red especificado ya no está disponible
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\cpython\lib\asyncio\events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "E:\cpython\lib\asyncio\proactor_events.py", line 283, in _loop_reading
self._force_close(exc)
File "E:\cpython\lib\asyncio\proactor_events.py", line 118, in _force_close
self._empty_waiter.set_exception(exc)
asyncio.exceptions.InvalidStateError: invalid state
An open stream object is being garbage collected; call "stream.close()" explicitly.
Task was destroyed but it is pending!
task: <Task pending name='Task-2689' coro=<<async_generator_athrow without __name__>()>>
Task was destroyed but it is pending!
task: <Task pending name='Task-2691' coro=<<async_generator_athrow without __name__>()>>
Task was destroyed but it is pending!
task: <Task pending name='Task-2696' coro=<<async_generator_athrow without __name__>()>>
----------
nosy: +neyuru
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33834>
_______________________________________
More information about the Python-bugs-list
mailing list