-
Notifications
You must be signed in to change notification settings - Fork 107
No buffer available on Windows platform #211
Comments
Do you have a pyuv-only test case which exhibits the problem? Without that or a traceback there is little I can do :-S |
I am not sure but I saw somewhere that on Windows libuv may need more then one buffer at same time. Line 267 in 94d34d6
|
@moteus libuv uses a single thread (per loop) for IOCP. Within a loop operations will always be like alloc -> read, alloc -> read, so using a single buffer per loop is safe as far as I'm concerned. |
What happens if you ignore pyuv.errno.UV_ENOBUFS on the read callback? Does it continue working properly? |
If it mean just ignore this error (does not raise and handle this problem) then as you can see simple source code may continue but it look like it freeze. What do you mean say "if you ignore pyuv.errno.UV_ENOBUFS on the read callback"? I was not invoke additional function for ignore this error or doing hidden setup somewhere. You see full source code there.
No. No more socket read callback. But TTY was working. |
Hum, that's weird. I'll take a look on a Windows machine as soon as I can. |
@vit1251 Is this issue still present on pyuv 1.3.0? If yes, please provide a test case which is not requiring internet access. I modified your script above connecting to a local TCP server and cannot reproduce this issue. Which Python version are you using? |
Minimal crash code:
On Windows platform it cause a
The text was updated successfully, but these errors were encountered: