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

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51J7ORw93829596
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 51J7ORw93829596
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=viv2Nykm
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A524E385840A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1739949866;
bh=A/FEs6shOfRTPZdVR4uIJb5aiLdRzwDDhpRH7Jwwkao=;
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=viv2Nykm8Qlak75HJHCKQEjvDPIM3i3sZMsCe/MgTKsaLP7hVKXju1ieOytnBbpr1
BxnmMcSJ/K6GYUSmJ5Gobm/UdhnmE/EIUEnP2fLtjhyUqkikMqMSoXyy/2w2hRHRne
AjVgbiB6ozVl+zRIM3UzYnEpAXV38Q7iqEsZohL4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9F3973858C42
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9F3973858C42
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739949791; cv=none;
b=N0Tc+wrKQRFaqjldht4Yu6gcoAKKe3gNU0RxaFLjile5liuFyu30xeKUX+69sMxStwEnDD+G6/BCd8Q8O7KusdwK36SIRCC6KUDDTgyn8mhlv/qBNLjAlYFwkYcifg34HXLiE9UbQwhCerEY+6PbFqbmp7K0azDqKGS0l37J6Lg=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1739949791; c=relaxed/simple;
bh=9NZd8dJFOFlEnTXvQilxpomweBpzwtvxDQNNWxKvgJ8=;
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
b=SByDJF1CQ9L14P9uUX6uL6TGIqCHLHeqxncN8hpzcM5RxKhKt2CsPJ9DGq/D0cQdd/YDXQ//6K4urMJLCb7KLm16fP+440MMTNX9XkVpIAXVpx4cTWVl2oVEWs6O4Yvm2PE+X827Rb8znTVNA9RshrZjrDkBiLir5YWG1vfKFLE=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F3973858C42
Date: Wed, 19 Feb 2025 16:23:04 +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: <20250219162304.34ac822ecdbd9476c8a097cf@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.

> 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