delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/10/18:20:38

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F00853858410
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1636586437;
bh=apLtVWpf6inkAKuPMWsNH6sjFbILZyXTRabwGFwCmmI=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=V5WwPVSI5l2rC+CSlx31qIxLKPGvhKbqNNjmwVeE5GRinSq1Vfu6wNOMzRKyjfVLI
gPwyJAzVFr2KSu/JYWRTMJStAM2wtfcE/2m1ojFjTFPISMVB5MIo09+HUtTVQeLRbN
UYL2eiHjXFhus9Ax1LZWeCDe66HTDk5imw/b3wds=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D77E33858D35
X-Yandex-Fwd: 2
Date: Thu, 11 Nov 2021 02:07:06 +0300
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <1353673287.20211111020706@yandex.ru>
To: "Henry S. Thompson" <ht AT inf DOT ed DOT ac DOT uk>, cygwin AT cygwin DOT com
Subject: Re: Another pipe-related problem?
In-Reply-To: <f5bbl2r3l9k.fsf@ecclerig.inf.ed.ac.uk>
References: <f5br1bqaj11 DOT fsf AT ecclerig DOT inf DOT ed DOT ac DOT uk>
<05c4180e-396b-4af3-ac0c-2ab8125df17e AT cornell DOT edu>
<f5bk0hh8uox DOT fsf AT ecclerig DOT inf DOT ed DOT ac DOT uk>
<eb8d7d4f-d1ed-6f30-2ac3-1b24166243d9 AT cornell DOT edu>
<0971ace1-5ee8-bdcc-5fd9-4551b294ebf8 AT cornell DOT edu>
<75197fd0-d5da-3236-a7df-b8ffc3f67da7 AT cornell DOT edu>
<bb6c5229-ce46-5fb3-c8c3-a19c0826d8d5 AT cornell DOT edu>
<4b937b32-e348-19d2-2406-c55fa12e20a3 AT cornell DOT edu>
<f5bfss33oxi DOT fsf AT ecclerig DOT inf DOT ed DOT ac DOT uk>
<83df50b8-5c0c-41b9-1e9e-4ea6bfa3d69f AT cornell DOT edu>
<f5bbl2r3l9k DOT fsf AT ecclerig DOT inf DOT ed DOT ac DOT uk>
MIME-Version: 1.0
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
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>

Greetings, Henry S. Thompson!

>> ...

>> The main change was that we stopped using Win32 Overlapped I/O
>> (https://docs.microsoft.com/en-us/windows/win32/sync/synchronization-and-overlapped-input-and-output)
>> and switched to using the NT API.  As a result, pipe I/O became much
>> more efficient.  It wouldn't surprise me if the efficiency alone is
>> what exposed the bug.
>>
>> The good news is that the bug doesn't seem to occur in XEmacs 21.4
>> (on 32-bit Cygwin).  So one way to approach this would be to bisect
>> the XEmacs git repo to find the commit that introduced the bug.
>> You'd probably have to do the work on 32-bit Cygwin since, if I
>> remember correctly, XEmacs 21.4 didn't build on 64-bit Cygwin.

> Right, although I _suspect_ it will be in 64-bit-only code.  Easy
> enough to find out, once I resurrect a 32-bit install on a spare
> machine that I can run 3.3 on (I use XEmacs all day every day from my
> day job, so I need to stay with 3.2 until we fix this).

> So, this may take a while, unless someone else hits the problem and
> finds a simpler test case.

You can install as many Cygwin setups as you need on the same machine.
They are not stepping on each other toes.
Though I strongly require a virtual machine for such exercises.


-- 
With best regards,
Andrey Repin
Thursday, November 11, 2021 2:06:01

Sorry for my terrible english...


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