This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients gvanrossum, j1m, socketpair, vstinner, yselivanov
Date 2016-06-29.17:04:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Running out of time to debug this today.  I think this is a bug in CPython, in either socket or select module.  When I inject some debug code in and replace KQueue with select(), I can see that the server thread's selector stops working at some point due to a EBADF error.

I think something similar is happening with the KQueue selector -- at some point it just stops to return events correctly.

Again, I might be wrong about this all, but this is what I think after 2.5 hours of debugging.
Date User Action Args
2016-06-29 17:04:47yselivanovsetrecipients: + yselivanov, gvanrossum, vstinner, j1m, socketpair
2016-06-29 17:04:47yselivanovsetmessageid: <>
2016-06-29 17:04:47yselivanovlinkissue27386 messages
2016-06-29 17:04:46yselivanovcreate