X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C4C373952019 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1620106967; bh=hx06xT2L0IVLtKeAM+kWhsNQc8qs6Peu0JZc32oCsjg=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=rJTOLhwYoL7MeBIIr7Mpw3y65YDfizjjQi3ijOqf8kwZQ5MxOvZnbwjj2BxtoAITf IPX90xEjUykGbKUrDqcE2o2dwKWXW8BW2TcA829Kzx6JvULe0oaDrQwcNNEDle6Dd8 /Qt/wdUoO6oVsHH7W52T1jriuetHi+lHBBwxabOM= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3C52A394D8BE X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=c7VU/ztOhmPQeqqqZQ5wyDgTp9ubsJ0PsK4b5UiaAUU=; b=UCIkge6CEL242oprUQDmGHPqiRs8I7tAVQtmaWl1EEE7JOw0TS303dWfhHBY4c+zzT rj1ov34lAZ+AEjysQMcw7/qYpxbF4BEtxJ4NWOg6Knrla9fM5HwTu6Cu6QapnyLJW11E N5rvw0KpaUpgyETWqnE1YmfOAhyitWLnEe0cMEoFO4LyiWKadhSgaWA/sB9vRf1f+ya1 8+01XV1ZJmGZp2RP6bZyLQp6BeSlmHXtaxgUWe0sJjx87f4QuAw/kD0p1KqA5LF6w6On 8hELe5696t7TV1WALDUp+RABKDSEnSjAwVARLkAIShY1I62DuPKRuctVYn6TRuwb4CQo srOA== X-Gm-Message-State: AOAM530Gj4TZUg0aSvbXEmGSEshUey+fJbjw8S9uQxZYmLaQhZ74IGJv qbYRjR6OSIX+pmOeYhFsW1S3NVThu03q6g== X-Google-Smtp-Source: ABdhPJyEPLWBbNn3VFoMSFrCY9BdgBfNdZq5m5bX+RohJOfHUCRrjIfP4xuszjXX58jU+Ld+JA2abQ== X-Received: by 2002:a1c:988f:: with SMTP id a137mr18648243wme.81.1620106962352; Mon, 03 May 2021 22:42:42 -0700 (PDT) Subject: Re: python > 3.5: Issue with unix domain sockets To: cygwin AT cygwin DOT com References: <1620046759893 DOT 5340 AT bmw DOT de> <2cde4128-6a3d-7431-6608-a2184d23964a AT cornell DOT edu> Message-ID: <418269b0-1248-008e-25a1-73bf19bbcb10@gmail.com> Date: Tue, 4 May 2021 07:42:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Language: it X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Type: text/plain; charset="windows-1252"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 1445goof009442 On 04.05.2021 06:41, Mark Geisert wrote: > Ken Brown via Cygwin wrote: >> On 5/3/2021 8:57 AM, Maximilian.Blenk--- via Cygwin wrote: >>> Incorrect Behavior: >>> Server: >>> $ python3.7 server.py >>> starting up on ./uds_socket >>> waiting for a connection >>> Traceback (most recent call last): >>>    File "server.py", line 27, in >>>      connection, client_address = sock.accept() >>>    File "/usr/lib/python3.7/socket.py", line 214, in accept >>>      sock = socket(self.family, self.type, self.proto, fileno=fd) >>>    File "/usr/lib/python3.7/socket.py", line 151, in __init__ >>>      _socket.socket.__init__(self, family, type, proto, fileno) >>> SystemError: >>> returned NULL without setting an error >>> >>> Client: >>> $ python3.7 client.py >>> connecting to ./uds_socket >>> sending b'This is the message.  It will be repeated.' >>> closing socket >>> Traceback (most recent call last): >>>    File "client.py", line 27, in >>>      data = sock.recv(16) >>> ConnectionResetError: [Errno 104] Connection reset by peer >> >> I wonder if this has the same cause as the problem reported here: >> >>    https://cygwin.com/pipermail/cygwin/2021-February/247884.html >> >> Mark, can you check that? > > Hmm, the correlation between failing Python versions and patch > placements is troubling.  I've reproduced the OP's findings and will dig > further. > > ..mark > 3.5 has not your patch for asyncio, as I am not updating it. all the others have it. It will be nice to solve this problem and avoid the freeze that your patch solved. -- 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