delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/11/06/17:52:02

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8F5EA3858C62
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=maxrnd.com
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=maxrnd.com
Subject: Re: Python regression related to unix sockets
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <AM0P194MB03245439474B7D5A1DC8A872EA809 AT AM0P194MB0324 DOT EURP194 DOT PROD DOT OUTLOOK DOT COM>
<b168f64c-9065-e10b-e3eb-fa1f19f9ec9b AT maxrnd DOT com>
<VI1P194MB03021C28AABC67D3CD441E7CEA399 AT VI1P194MB0302 DOT EURP194 DOT PROD DOT OUTLOOK DOT COM>
From: Mark Geisert <mark AT maxrnd DOT com>
Message-ID: <b9ccb2c9-e909-72c4-4eca-7fa992afcd4f@maxrnd.com>
Date: Sun, 6 Nov 2022 14:50:29 -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: <VI1P194MB03021C28AABC67D3CD441E7CEA399@VI1P194MB0302.EURP194.PROD.OUTLOOK.COM>
X-Spam-Status: No, score=-2.6 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.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi Fabian,

Fabian Henze wrote:
> Hi all,
> 
> This is a follow-up on a mail thread from February 2021.
> 
> Mark Geisert via Cygwin wrote:
>> 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
>>
>> 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.
> 
> Did you (or anyone else) make any progress on this that you can share?
> Unfortunately the issue still persists in all current python versions.
> If no one has time to debug and fix this, would it be an option to remove the
> 3.6.12-socketmodule.patch that is causing the regression since it only fixes a
> theoretical problem in unit tests, but causes real-world issues? Maybe the
> upcoming (?) Python 3.10 or 3.11 bump would be a good candidate to do so?

Sorry for delay in responding; I've just returned from vacation.

Let me find my notes for this issue and see if I can improve on the patch or find 
some other solution for now-current versions of Python and/or Cygwin DLL.

..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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019