-
Notifications
You must be signed in to change notification settings - Fork 565
src/unix/core.c:896: uv__io_stop: Assertion `loop->watchers[w->fd] == w' failed. when opening a datagram endpoint #125
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
Comments
An obvious fix is to manually call |
Looks like the new UDP implementation is a bit racy w.r.t. GC. Ideally we should just revert to use |
This makes the GC of UDPTransport<->UVPoll pair more deterministic and avoids a segfault. Fixes #125.
This makes the GC of UDPTransport<->UVPoll pair more deterministic and avoids a segfault. Fixes #125.
This makes the GC of UDPTransport<->UVPoll pair more deterministic and avoids a segfault. Fixes #125.
Any chance the above reference (#20829) can be investigated? After removing uvloop 0.12.0 from Home Assistant my docker container has not crashed once. |
PYTHONASYNCIODEBUG
in env?: YESIn uvloop 0.9 it looks like an issue was introduced when creating new udp endpoints.
The below code works fine with uvloop 0.8, but fails and crashes the process in uvloop 0.9
On my system it takes somewhere between 10 and 90 iterations of the counter before a crash occurs.
I get the following assertion:
The text was updated successfully, but these errors were encountered: