Closed
Description
- uvloop version: 0.10.1
- Python version: 3.6.5
- Platform: Ubuntu 16.04
- Can you reproduce the bug with
PYTHONASYNCIODEBUG
in env?: No
I work with a raw sockets using asyncio.Lock
to isolate blocks reading and sock_recv
to communicate inside a Lock section.
In a random time first of all I get the following stacktrace:
Exception in callback Loop._sock_recv
handle: <Handle Loop._sock_recv>
Traceback (most recent call last):
File "uvloop/cbhandles.pyx", line 76, in uvloop.loop.Handle._run
File "uvloop/loop.pyx", line 888, in uvloop.loop.Loop._sock_recv
asyncio.base_futures.InvalidStateError: invalid state
After that there is a problem with acquiring the Lock: it becomes pass any simultaneously calls.
Now very small information, but I'll try to investigate and reproduce it. And give you more details. But maybe you have a thoughts already?
Metadata
Metadata
Assignees
Labels
No labels