DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4BPNYGUW133089 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 4BPNYGUW133089 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=Agx7LL0J X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA26E3858CD9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1735169654; bh=DweEOlNcBsPNu3iraTVI32kCloDUII4b3j1y+QIQ5sQ=; h=Date:To:cc:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=Agx7LL0Jrj6HP3AgjDHlEd0XsbAbjWmwyXUPnCXfDwARTnVWWGajkMsHvrl0gAMxD EH1JcGzJtRHKw4legqXJuyLGG4xxtL3WlnqQRg8/jULGTk0QN33O//0q5agg8eFcLz ekYB4EOx9QkOki7pI2JlaL/t89ZLh1exLYQl/CDE= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B21F43858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B21F43858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735169593; cv=none; b=o3xqW0G+pkNEDIZ6XuKPSOSNY8olWAVFjRgpjnxfCqTYS2R4/MFUc0GHj78R3SVuUSsK0FQykAJFUB5IwUXWR3FVWkNWuOOubEvQs+eTVE3F+L13dW6sq5RpWsYBxwIM4rg81TKJFzo+SJZgS2+k5hZg52lxbXhQGCKqMwB9NDY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735169593; c=relaxed/simple; bh=UUT0Ad4fqr19BP1jIsOoySJQnVXld+oFQC4VcbLH5fo=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=p1F/0BljSaDAPfQHKebERtU8AOlGFHCeiI5GvbpR3Euh6zRydz47chJMzXZ68Nm+3P4Lxfoi8NGiaNJtnJAu/0wIcHASl534vp9jup92F3G02j5Wcnvsr256M4Wkl7yxebh5WlWB+u5rivDCtphZLi9Vxb/eQOqysYqeaCWndDk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B21F43858D20 Date: Wed, 25 Dec 2024 15:33:13 -0800 (PST) X-X-Sender: jeremyd AT resin DOT csoft DOT net To: Takashi Yano cc: cygwin AT cygwin DOT com Subject: Re: bash hangs on cygwin-3.5.5-1 In-Reply-To: <20241225230039.caa84eb17ec46c305b1ca1ca@nifty.ne.jp> Message-ID: References: <11728136 DOT jrtcCam0TZ AT nimes> <20241225230039 DOT caa84eb17ec46c305b1ca1ca AT nifty DOT ne DOT jp> MIME-Version: 1.0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jeremy Drake via Cygwin Reply-To: Jeremy Drake Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Wed, 25 Dec 2024, Takashi Yano via Cygwin wrote: > On Tue, 24 Dec 2024 22:34:44 +0100 > Bruno Haible wrote: > > This is not reproducible, but here's the report anyway: > > > > I upgraded a Windows 10 system from Cygwin 3.5.3 to 3.5.5 today. > > Then ran the configure script of a tarball (*), and it hung: > > > > $ mkdir build-cygwin64 > > $ cd build-cygwin64 > > $ ../configure --host=x86_64-pc-cygwin --prefix=/usr/local/cygwin64 CC=x86_64-pc-cygwin-gcc CXX=x86_64-pc-cygwin-g++ CPPFLAGS="-I/usr/local/cygwin64/include -Wall" LDFLAGS=-L/usr/local/cygwin64/lib -C --with-included-libunistring 2>&1 | tee log1 > > ... > > checking whether snprintf fully supports the 'n' directive... (cached) yes > > checking whether snprintf respects a size of 1... (cached) yes > > checking whether vsnprintf respects a zero size as in C99... (cached) yes > > checking whether btowc is declared without a macro... yes > > checking whether wctob is declared without a macro... yes > > checking whether mbsinit is declared without a macro... yes > > checking whether mbrtowc is declared without a macro... yes > > > > > > Typing Ctrl-C in said mintty window has no effect. > > > > > > (*) generated in a gnulib checkout on Linux, through > > $ ./gnulib-tool --create-testdir --dir=../testdir-all --with-c++-tests --without-privileged-tests --single-configure `./all-modules` > > This may be the same issue with: > https://cygwin.com/pipermail/cygwin/2024-December/256954.html We ran into hang issues with libtool linking imagemagick in msys2, using version based on 3.5.5, 3 times in a row on our ARM64 runner. We applied your v2 patch to our 3.5.5 branch (with the change of current_sig to sig), and the issue no longer occurred. (I also tested with the existing 3.5.4 version, and it didn't hang either). Note that kill -CHLD to either the child sh.exe or the parent make.exe did not unblock things, but killing sh.exe (SIGTERM) did cause the make to fail as expected. -- 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