www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/02/19/02:25:04

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51J7P4p43829784
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 51J7P4p43829784
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=aY0fTbnS
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AAAB43858C60
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1739949903;
bh=3Ri5Xo7anWJVI2jOMsQsiOZruyG/QCgXwKuINsBzAm4=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=aY0fTbnSNCjj7BTV3XPfmGQqxCdROvZKbz974whLSzyziRnYg9CcnPiYspw3B24JP
kQpVcCKjOrSwLqPYlkRlaADgrHlW0yidfoYOWLztZB0HJnv5Cbux9+RutYkgmvZl/9
62/U6o+6yJ795PtJcrQV1DMIELEM2khxjnxo2IF8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 03F26385840A
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 03F26385840A
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739949826; cv=none;
b=kh4C0KWPTXsJHMQhWu17YquIwsyaGsxoKLqnltwoZt9dTkgE1kBw0WifaWn8MITEdeZIoBAUEw6d9m34Db5UtfMja4Aj/LI8rHFZ/T0OCjAWbHsHIBL9s7r+j7fOKyBeUKCA/fXT4yI4QxM/mkmhjroo6WBF6HkwvcUPLlBplfc=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1739949826; c=relaxed/simple;
bh=RomokD47g4qZ//hQmlZoyP9c9FCfJIkT3fsbGsFJfW8=;
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
b=pkzR0q09oloICxrF962XuL2nWGwqoNNyBC8GBdMFjKOqOJIgAsdjUuWrkSf9HGlZR21+N/vA9q9cI1e3mhbHDNC5ByVfaRMrs129MhdPm+T1tcGP7SW/52vfBul0rlJiGWnYTw97mDOO2g2KZRyd/pGcMTzFkiXDzzguzS3MdZI=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 03F26385840A
Date: Wed, 19 Feb 2025 16:23:41 +0900
To: cygwin AT cygwin DOT com
Subject: Re: [regression-3.6] Pipe between Cygwin and non Cygwin (CRT/URT)
randomly loses characters
Message-Id: <20250219162341.6c907a00b9bd7b0ae6f78c93@nifty.ne.jp>
In-Reply-To: <CALXu0Ue6z-QgfG3o7waBQ=n17xhAQAAH_Lx+0tyXGsKzhLMmtg@mail.gmail.com>
References: <CALXu0Ue6z-QgfG3o7waBQ=n17xhAQAAH_Lx+0tyXGsKzhLMmtg AT mail DOT gmail DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
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: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
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 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.

Do you mean the result is as expected with cygwin 3.5.7?

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

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