homepage

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.

classification
Title: Cygwin: socket test suites hang indefinitely due to bug in Cygwin
Type: crash Stage: resolved
Components: Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: erik.bray, iritkatriel
Priority: normal Keywords: patch

Created on 2017年10月27日 14:56 by erik.bray, last changed 2022年04月11日 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 4152 closed erik.bray, 2017年10月27日 14:59
Messages (5)
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 
msg404240 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021年10月18日 22:59
Erik, is this still relevant, given the Cygwin bug was fixed 4 years ago?
msg404296 - (view) Author: Erik Bray (erik.bray) * (Python triager) Date: 2021年10月19日 13:33
Thanks for asking. Indeed the fix to that issue was included in https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=5ca286666a0cd71436a84797d5d66831790004e0 and as Cygwin obsoletes old releases rather quickly I see no reason to keep this issue open.
msg404299 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021年10月19日 13:38
Thanks. Do you know whether anyone is looking at Cygwin support for cpython at the moment? Is there interest in that?
msg404302 - (view) Author: Erik Bray (erik.bray) * (Python triager) Date: 2021年10月19日 13:48
That person was me--I have the keys to a cygwin buildbot, but it's currently not running. I lost the urgency to make cygwin fully supported, though it's come a long way. In particular the deprecation of distutils should help nix some of the long-standing issues.
History
Date User Action Args
2022年04月11日 14:58:53adminsetgithub: 76066
2021年10月19日 13:48:29erik.braysetmessages: + msg404302
2021年10月19日 13:38:50iritkatrielsetmessages: + msg404299
2021年10月19日 13:33:48erik.braysetstatus: open -> closed
resolution: out of date
messages: + msg404296

stage: patch review -> resolved
2021年10月18日 22:59:25iritkatrielsetnosy: + iritkatriel
messages: + msg404240
2017年10月27日 14:59:26erik.braysetkeywords: + patch
stage: patch review
pull_requests: + pull_request4119
2017年10月27日 14:56:03erik.braycreate

AltStyle によって変換されたページ (->オリジナル) /