www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/02/20/11:56:27

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51KGuQ6j343365
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 51KGuQ6j343365
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=aozm+5zG
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F105D385840D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1740070586;
bh=eOBL7inodZxC9/SOpARCA3imcELhlHUUaAIPJDwFkKk=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=aozm+5zG51o+8WI6d7ckAYVn+5O1F1P5Z/8rNT/J09S6mX2Bm5x7PvLHwtvsqqruu
ShCXEPVWSTcY3hmTLU+7IdGit06atY+lKreFj74PP8rt25rzdPkS+oG7aItcEQR2fO
BNoM8/j3eAvsN+QyBCwmDyOUZyV9OMq53RTfROeo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 986833858D20
Date: Thu, 20 Feb 2025 17:55:11 +0100
To: cygwin AT cygwin DOT com
Subject: Re: [regression-3.6] Pipe between Cygwin and non Cygwin (CRT/URT)
randomly loses characters
Message-ID: <Z7deb0jrUfd-BN6Y@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CALXu0Ue6z-QgfG3o7waBQ=n17xhAQAAH_Lx+0tyXGsKzhLMmtg AT mail DOT gmail DOT com>
<20250219162341 DOT 6c907a00b9bd7b0ae6f78c93 AT nifty DOT ne DOT jp>
<20250220163255 DOT 282edd4c925f15a73a40386b AT nifty DOT ne DOT jp>
MIME-Version: 1.0
In-Reply-To: <20250220163255.282edd4c925f15a73a40386b@nifty.ne.jp>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
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: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
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>

On Feb 20 16:32, Takashi Yano via Cygwin wrote:
> On Wed, 19 Feb 2025 16:23:41 +0900
> Takashi Yano wrote:
> > On Wed, 19 Feb 2025 07:59:00 +0100
> > Cedric Blancher wrote:
> > > Good morning!
> > > 
> > > Cygwin 3.6.0-0.374.g4dd859d01c22.x86_64 on Win10/AMD64/64bit:
> > > 
> > > Pipe between Cygwin and non Cygwin (CRT/URT) randomly loses
> > > characters. We do not have a reproducer yet, but it is happening at
> > > least hourly on our test machines. Sometimes we only get a single
> > > character, and sometimes words are missing.
> > > 
> > > Typically it happens like this:
> > > bash -c 'typeset bar="$( powershell -Command ...) ; echo "${bar}""',
> > > where bar does not contain the full output
> > 
> > Please provide full command line that can reproduce your problem.
> > I can not see any pipe in above command.
> > 
> > > Same happens with dash and ksh93.
> > > 
> > > This does not happen between Cygwin processes, i.e. if I compile a
> > > program with UCRT and read from a Cygwin program it fails, and if I
> > > compile the same sources against Cygwin and pipe it into a Cygwin
> > > program it works.
> 
> I believe this issue is same as:
> https://cygwin.com/pipermail/cygwin/2025-February/257400.html
> 
> I'm trying to reproduce the issue using the test case attached.
> However, I still cannot.
> 
> Any additional information?

I concur.  I'm running testcases along the lines of
https://cygwin.com/pipermail/cygwin/2025-February/257408.html on two
machines in parallel for hours, and there's not a single failure
in over 100K iterations.

Without a reliable reproduce I won't take another look.


Corinna

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