classification
Title: Cygwin: socket test suites hang indefinitely due to bug in Cygwin
Type: crash Stage: patch review
Components: Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: erik.bray
Priority: normal Keywords: patch

Created on 2017-10-27 14:56 by erik.bray, last changed 2017-10-27 14:59 by erik.bray.

Pull Requests
URL Status Linked Edit
PR 4152 open erik.bray, 2017-10-27 14:59
Messages (1)
msg305123 - (view) Author: Erik Bray (erik.bray) * (Python triager) Date: 2017-10-27 14:56
Like issue31882, this is to mention an upstream bug in Cygwin that causes one of the tests in the test_socket test suite to hang indefinitely.  That bug is fixed upstream [1], but for now it would still be better to skip the test on Cygwin.

The bug is that in some cases a blocking send() (particularly for a large amount data) cannot be interrupted by a signal even if SA_RESTART is not set.

Fixes to this issue, along with issue31882, issue31883, and issue31878 provide the bare minimum for Cygwin to at least compile (not necessarily all optional extension modules) and run the test suite from start to finish (though there may be other tests that cause the interpreter to lock up, but that are currently masked by other bugs).


[1] https://cygwin.com/ml/cygwin-patches/2017-q2/msg00037.html
History
Date User Action Args
2017-10-27 14:59:26erik.braysetkeywords: + patch
stage: patch review
pull_requests: + pull_request4119
2017-10-27 14:56:03erik.braycreate