From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-05.nifty.com (conssluserg-05.nifty.com [210.131.2.90]) by sourceware.org (Postfix) with ESMTPS id 1BBBD3948802 for ; Tue, 3 May 2022 15:24:06 +0000 (GMT) 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 Received: from Express5800-S70 (ak044095.dynamic.ppp.asahi-net.or.jp [119.150.44.95]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 243FNdnZ001144; Wed, 4 May 2022 00:23:40 +0900 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 To: cygwin@cygwin.com Cc: Orgad Shaneh Subject: Re: mintty crashes on Windows 7 Message-Id: <20220504002343.4345bfe1630fa904276f0d37@nifty.ne.jp> In-Reply-To: References: 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.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2022 15:24:11 -0000 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 \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