From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-03.nifty.com (conssluserg-03.nifty.com [210.131.2.82]) by sourceware.org (Postfix) with ESMTPS id D7C39385801E for ; Thu, 5 May 2022 22:49:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D7C39385801E Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp Received: from Express5800-S70 (ak044095.dynamic.ppp.asahi-net.or.jp [119.150.44.95]) (authenticated) by conssluserg-03.nifty.com with ESMTP id 245Mmhkw000563; Fri, 6 May 2022 07:48:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 245Mmhkw000563 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1651790924; bh=gihO1RtE9JF0d+9v5BUc7OF4SbnWlkGmSSKLvT3m75A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=t+CQOZDmVkoQMvjuIO6UXYQdW1Hivz6Q3NcWlQKxUvldDLPGQYTXL3kevwpFQTT7g 4QXGWxQYzvbnABIBZJ5S1NOAfsWz5ZGvLi4vwN+JRKh63akuzpLK0VNrgthsXqdyAu CXr0KGCfJqenFAFW0AgLJpbnZrn99iM9ussJjQEIsyCdyKD87Xvtp6TjRLxqtO9aLf R41CA0Zzv5TtyUO2C8IdF1pGaGN5RYnkkn/5rnkQ8GEy7HBxPiYnsdmzXjgMkuyy2p SpxiN62phL0pRPQr/GkeiwyQtzBt/ubicXlj7QaTLIaqwjx0flBJgq4M6gBPYNDd8s tToesnVQWXkKg== X-Nifty-SrcIP: [119.150.44.95] Date: Fri, 6 May 2022 07:48:51 +0900 From: Takashi Yano To: cygwin@cygwin.com Cc: Orgad Shaneh Subject: Re: mintty crashes on Windows 7 Message-Id: <20220506074851.3ce94db7a3ab2bedf7e07f93@nifty.ne.jp> In-Reply-To: <20220505154440.d9002cc94e7d52b3c6c1f339@nifty.ne.jp> References: <20220504002343.4345bfe1630fa904276f0d37@nifty.ne.jp> <20220504011018.7c455cedb38571f786d72ae9@nifty.ne.jp> <20220504201610.125888f234ffe063fa6773c0@nifty.ne.jp> <20220505102045.fd6bfd46732e2eab0451e28c@nifty.ne.jp> <20220505102724.11b5675450f2b4f723a8b70e@nifty.ne.jp> <20220505105954.e910df2e6998d130a9373299@nifty.ne.jp> <20220505123307.e745d7c88877316b9a38d0c9@nifty.ne.jp> <20220505134120.242af45a631131d7e4217f5e@nifty.ne.jp> <20220505154440.d9002cc94e7d52b3c6c1f339@nifty.ne.jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2022 22:49:27 -0000 On Thu, 5 May 2022 15:44:40 +0900 Takashi Yano wrote: > On Thu, 5 May 2022 13:41:20 +0900 > Takashi Yano wrote: > > I downloaded bash source files from: > > https://git.savannah.gnu.org/git/bash.git > > and built it by: > > ./configure && make > > and replaced /usr/bin/bash. > > > > Then the issue disappeared. > > Now, I start to suspect the issue is a bug of msys2 bash package. > > I tried several shells and results are as follows. > > tcsh: ok > ash: ok > dash: ok > zsh: ok > ksh: ok > fish: ok > bash (build from original source): ok > > bash (from msys2 package): ng > > Only bash in msys2 package fails. I identified the difference which causes the issue between bash built from original source and msys2 bash. If --enable-readline and --with-installed-readline is specified to configure, the problem causes even with bash built from original source. Also, removing --with-installed-readline from configure and removing READLINE_LDFLAGS= from make in PKGBUILD of MSYS2 bash package solves the issue. So it seems to be a readline problem, not a bug in bash itself. -- Takashi Yano