X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1BBBD3948802
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
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 243FNdnZ001144
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;
 s=dec2015msa; t=1651591420;
 bh=JmY6Hlym3oecMlrWxlG6FBCDZnU7L1vig4nhofLbHuo=;
 h=Date:From:To:Cc:Subject:In-Reply-To:References:From;
 b=SxKIVqJh0Zct2AVbf5CQ7Yn69LPlUHYZCLXgGty0djPLgG/TckfVnPk2JtaMkPFbY
 qcQBsxrfEtLM9nfhWhbJ+99K0IJ804ku0dhfogPBYbJ857cAPzgCpZeI8DcetCHr6t
 uOVc7MGbb2vOUjvTCuoK0PvtP385or9apCWqmr0LA7oQKw5YIBRSHaZu9Sb0MDWUoe
 XePXrGzzNRqrblsV0ybJi+c5Z8L/nkOiL/0raQa5rUn7YjpFjDXtHkM5hxAqvk/GkZ
 qol3bRqpuJ8OvkIBRQp4MecR468hqkVUB6OHVsCUYiyo01NTizSRsD35/2RR9h9dj2
 NolSfJ2CHErjw==
X-Nifty-SrcIP: [119.150.44.95]
Date: Wed, 4 May 2022 00:23:43 +0900
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Subject: Re: mintty crashes on Windows 7
Message-Id: <20220504002343.4345bfe1630fa904276f0d37@nifty.ne.jp>
In-Reply-To: <CAGHpTB+t+gCySabZZQvJstZSLresmoOTUUL8of9cwCdvmGySdg@mail.gmail.com>
References: <CAGHpTB+t+gCySabZZQvJstZSLresmoOTUUL8of9cwCdvmGySdg@mail.gmail.com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-5.8 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 <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>
Cc: Orgad Shaneh <orgads@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On Tue, 3 May 2022 14:47:17 +0300
Orgad Shaneh wrote:
> Hi,
> 
> Running `mintty ./bash` crashes on Windows 7 on cygwin-3_3-branch.
> 
> Tested in MSYS2 on merge-3.3 branch from
> https://github.com/orgads/msys2-runtime-1. It includes the tip of
> cygwin-3_3-branch as of today (05827d2df8).
> 
> Steps to reproduce:
> 1. Start cmd.exe
> 2. cd <msys-directory>\usr\bin
> 3. mintty ./bash
> 
> GDB trace attached. Simplified form:
> 
> 1  ntdll!KiRaiseUserExceptionDispatcher                       0x7791b5ba
> 2  KERNELBASE!CloseHandle                                     0x7feffb31863
> 3  KERNEL32!CloseHandle                                       0x776b14f1
> 4  fhandler_base::close                 fhandler.cc      1217 0x1800682db
> 5  fhandler_pipe::close                 fhandler_pipe.cc 685  0x18009069a
> 6  fhandler_base::close_with_arch       fhandler.cc      1193 0x18006c7d5
> 7  close_all_files                      syscalls.cc      102  0x18014548f
> 8  do_exit                              dcrt0.cc         1200 0x180048213
> 9  _exit                                dcrt0.cc         1317 0x1800483ef
> 10 exit                                 exit.c           64   0x1801b3bdd
> 11 cygwin_exit                          dcrt0.cc         1311 0x1800483d3
> 12 _sigfe                               sigfe.s          35   0x18019593b
> 13 ??

I cannot reproduce this with cygwin git head of cygwin-3_3-branch.
Is this MSYS2 specific problem?

-- 
Takashi Yano <takashi.yano@nifty.ne.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
