DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4BPNv86m141749 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 4BPNv86m141749 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=uPs9pFGc X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CCB823858C42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1735171027; bh=pQI+URU8JHgdeXpS5hJiOV++sPJM1fsknyk3CYXyitg=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=uPs9pFGcgbE7NGWjHYu4O8+msF4Gzr98et81Yk8Li/rIFwYhziFtal1pE3nqpl6Kf orzK6tgRn8wmEB2nrMysA1Rm9ZJYh3iIzyx8R5SuodhLPwLiXx1M+iIdIxgGN8I5WX c+PHUsHaQ299531kqkwPmd/FQTAvsGnPML4unHc8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3E8213858D20 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3E8213858D20 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735171000; cv=none; b=NhPVFueBzFzibrjY4Knz2eCNyvYMRVi2/7+GL5PNMkgOupAdukKjYs/UcNVlaD6ej+dT28bxU70Yxv2W6iP7KEOjODwM9+FB6aaY6DthS0ooITUytWKQtn1x0CBZlG1isaLa2VF3T6Mikj/gKW+wMAze08hkzitIeEHBtSu1tq0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735171000; c=relaxed/simple; bh=fzJDxN0rafQV/JBMibLYo+sQHzclYA3M0pn6WFbrNvQ=; h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature; b=RSLVUSiedHzWujqL4auWvhUA9Iwvuj4zyWvz7ZOp1lwNWY2yiJrVcBktirk5baL5dQ5oSOC385Lfs3zzjdD5mWrQct1wcKabUfpB2WtEohu55W5z+B90L9mY9j/YWPeuntF3YQcpkVYcgNdY8A65K1jWMy7k+qlmGOo5MwXqisM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E8213858D20 Date: Thu, 26 Dec 2024 08:56:35 +0900 To: cygwin AT cygwin DOT com Subject: Re: bash hangs on cygwin-3.5.5-1 Message-Id: <20241226085635.d2c3e5826ee9084b7e5b34ac@nifty.ne.jp> In-Reply-To: References: <11728136 DOT jrtcCam0TZ AT nimes> <20241225230039 DOT caa84eb17ec46c305b1ca1ca AT nifty DOT ne DOT jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) 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: Takashi Yano via Cygwin Reply-To: Takashi Yano 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 15:33:13 -0800 (PST) Jeremy Drake wrote: > 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). Thanks for testing v2 patch. > 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. Perhaps, the signal that sh is waiting for is different than that of zsh case. -- Takashi Yano -- 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