X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BABEB3844012
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1599688174;
	bh=6UES8ftJ0HZVnByxrBkA66hcun/JgTzYbg0rXfPKQxs=;
	h=Date:From:To:Subject:References:In-Reply-To:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 Reply-To:From;
	b=AdqVIyc25NznuXf6ChxE+z6Ek27/wmAvsIP80SEWbU0Rj25Bd1Jz9svoRjSX63pPB
	 tj/CpS62Bnr0WNNT/3dKMckpYsN5soE8IqVvlvRYie5NgiwkvPmnonZoeLvXtkz7wL
	 CNYsL+ck8N6kG4rUN0s6jBW24E4BTC4W1mOA16as=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AAF903857C6C
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=cygwin.com
Authentication-Results: sourceware.org;
 spf=fail smtp.mailfrom=corinna-cygwin@cygwin.com
Date: Wed, 9 Sep 2020 23:49:30 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: /dev/p* causes shell crash in i686
Message-ID: <20200909214930.GA4127@calimero.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <t5hhlflqrdbbgdn8rb8s62ao4fra9ajd9c@4ax.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <t5hhlflqrdbbgdn8rb8s62ao4fra9ajd9c@4ax.com>
X-Provags-ID: V03:K1:spXEng9ejj5v8ghZh3KpssfDhYWBJ+qcVFKswSmUUJmlmhtGJRc
 +dK6ebFXpAxvgQIpvmV4vGgUFas/kkz8bT1erR115yBggCvLdZoZCEjpPyIF1GvN40Fo1WB
 02FLs8p0PE25L/Pj5bbvy6GMXS/xirnQEbMd1zh8X6CFwSTjX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M_CORINNA_CYGWIN, KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE,
 RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL,
 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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: cygwin@cygwin.com
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

On Sep  9 08:08, Andrew Schulman via Cygwin wrote:
> Here's a strange one. In bash in i686, try to run:
> 
> ls /dev/ptmx
> 
> I only get about as far as:
> 
> ls /dev/p
> 
> and then my terminal window vanishes. This happens:
> 
> * In fish or bash.
> * On two different hosts that I've tried.
> * In mintty or a system terminal. In the system terminal, sometimes the
> command works normally the first time, but fails the 2nd time; or I have to
> press <TAB> after `ls /dev/p`, then the terminal vanishes.
> * With other commands that treat their arguments as files, not text. So for
> example, I can't finish typing `cat /dev/ptmx` or `test -r /dev/ptmx`
> before the terminal window vanishes, but `echo /dev/ptmx` works normally.
> 
> It doesn't happen:
> 
> * In x86_64 - only i686.
> * In scripts - only interactively.
> 
> Is anyone else able to reproduce this? I've tried to capture an strace log,
> but I've failed so far. The strace seems to stop the crash. Still trying.
> 
> I thought this could be a BLODA problem, but the two hosts I tried are
> running different virus scanners (McAfee and Windows Defender).
> 
> Cygwin 3.1.7-1, all packages up-to-date. Output of cygcheck -svr attached.
> 
> Andrew

I think I fixed it.  I just uploaded new developer snapshots to
https://cygwin.com/snapshots/  Please give them a try.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
--
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
