X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5350F386F80C
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=maxrnd.com
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=mark@maxrnd.com
Subject: Re: Python regression related to unix sockets
To: Cygwin Mailing List <cygwin@cygwin.com>
References: <AM0P194MB03245439474B7D5A1DC8A872EA809@AM0P194MB0324.EURP194.PROD.OUTLOOK.COM>
From: Mark Geisert <mark@maxrnd.com>
Message-ID: <b168f64c-9065-e10b-e3eb-fa1f19f9ec9b@maxrnd.com>
Date: Tue, 23 Feb 2021 02:29:09 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
 Firefox/52.0 SeaMonkey/2.49.4
MIME-Version: 1.0
In-Reply-To: <AM0P194MB03245439474B7D5A1DC8A872EA809@AM0P194MB0324.EURP194.PROD.OUTLOOK.COM>
X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE,
 TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

Hi Fabian,

Fabian Henze via Cygwin wrote:
> Hi Cygwin users,
> I noticed a regression in the recent Python packages: Between version
> 3.6.10-1 and 3.6.12-2, accessing the SSH agent via the paramiko python
> package broke. When a ssh agent is used, paramiko tries to connect to
> it via the unix socket and just freezes. Python 3.8 is also affected,
> but I don't know which was the last working one.
> I was able to pinpoint that error to 3.6.12-socketmodule.patch [1].
> Reverting/removing the patch fixes the ssh agent access.
> A few weeks ago there was a discussion regarding "Problems with native
> Unix domain sockets on Win 10/2019", but it seems unrelated as the
> cygwin1.dll from [2] does not work for me.
> 
> Can you please check if you are able to reproduce that? I uploaded a
> script [3] for that.
> 
> Best regards,
> Fabian Henze
> 
> [1] https://bugs.python.org/file49717/3.6.12-socketmodule.patch
> [2] https://cygwin.com/snapshots/x86_64/cygwin1-20210201.dll.xz
> [3] https://gist.github.com/henzef/4e553fad2335227b8f6b4550cd3fa543

Thanks for the report and sorry you've run into this.  The patch is a workaround 
that's evidently too draconian.  I will debug the situation using your testcase. 
Thank you very much for the testcase.

..mark
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
