DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53M1H91g1298900 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 53M1H91g1298900 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=QCDzGKWu X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CC49A3858420 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1745284627; bh=bJABfAIFJ3h0GA4yAIvwTXsvPl8jN6nn3otis/IlL8M=; 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=QCDzGKWucIet/LlDa5SYIVafLp7z/FC20FKtfUIuPud9XI6FOrNDMLb9n9fgVnSaL jNzVTPAKI8QtDiUWb98tG/D+cLRUjeYicvrG4E/DKzngcJETYdqY1g1GjMCkymPXJC YqZ/QLnIakv9ED6+f6ACxpTxTrkwRtJiRc9+ARdk= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EB4C63858C2D ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EB4C63858C2D ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745284593; cv=none; b=M0jNNhn/ucwTi3pZqkof3R+6HsRpMMg+ZlXuj/OypjXZklwSW0SR+NZ6pUte81iKi1s/s+yS9XVuk6QhwSLmwYMrEJaGVmcj5trLW6PCcw2iwuNwmzu9WuCRt25npuL8hKX5vSKZvyMWvHDn2hkM+MXKbVgkhtTsaGJhY3n2Xkw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745284593; c=relaxed/simple; bh=6NES/E3iCqso/GqOKSEgyzUYVjvcUYjjl5UcHE20xqQ=; h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature; b=ibfEYt1W4YXSgyG1lgWhtoG5Y15VENdtLDxXfd6x59RzpDIH1GEt1UqkFCchLdvHWiir6WmMHZt1dhsmuuDCk9lwtSyAkuugjHFf/yXXffDpu963BGGYVTclInfMYDA+avs5UU0CdAo/uhrTefqCW7vUqT4am9JxIVYs8/NkajI= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EB4C63858C2D Date: Tue, 22 Apr 2025 10:16:27 +0900 To: cygwin AT cygwin DOT com Subject: Re: git testsuite "t1004-read-tree-m-u-wf.sh" test hang with Cygwin 3.7.0 ... Message-Id: <20250422101627.7a4bd073c11a783474906b80@nifty.ne.jp> In-Reply-To: References: 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 Mon, 21 Apr 2025 21:54:03 +0200 Roland Mainz via Cygwin wrote: > Hi! > > ---- > > Running the git testsuite I got a hang of the > "t1004-read-tree-m-u-wf.sh" test in Cygwin 3.7 - the same test worked > AFAIK OK with Cygwin 3.5.x. > > My guess: |wait_sig()| and |_sigfe()| are involved, maybe this is a > signal issue.. > > 1. Versions: Cygwin 3.7.0-0.68.g37c49decc835.x86_64 / Windows 10 > 2. Steps to reproduce: > ---- snip ---- > mkdir gittest > cd gittest/ > git clone -b 'v2.45.1' https://github.com/git/git.git > cd git > autoconf > automake > CC="gcc -std=gnu17" ./configure > time make -j4 all > time nice make -i test > ---- snip ---- > Thanks for the report. However, I could not reproduce the issue. The cygwin version is 3.7.0-dev-68-g37c49decc835 There was two problems. 1. automake error $ automake configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found. configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE, configure.ac: that aclocal.m4 is present in the top-level directory, configure.ac: and that aclocal.m4 was recently regenerated (using aclocal) automake-1.17: error: no 'Makefile.am' found for any configure output 2. testsuite runs without hang. $ cat t1004-read-tree-m-u-wf.counts total 17 success 16 fixed 0 broken 0 failed 0 missing_prereq ,SANITY > Process "git merge-recursive branch-point -- side-b side-a" launched > by "/bin/sh t1004-read-tree-m-u-wf.sh" hangs forever with this stack > trace: > ---- snip ---- > Thread 3 (Thread 8148.0x1238 "commune"): > #0 0x00007ffe68f8d574 in ntdll!ZwWaitForSingleObject () from > /cygdrive/c/Windows/SYSTEM32/ntdll.dll > #1 0x00007ffe66b4920e in WaitForSingleObjectEx () from > /cygdrive/c/Windows/System32/KERNELBASE.dll > #2 0x00007ffe333c5a82 in cygthread::stub > (arg=arg AT entry=0x7ffe335b6618 ) at > /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/cygthread.cc:194 > #3 0x00007ffe333c6555 in _cygtls::call2 (this=0x5fce00, > func=0x7ffe333c59de , arg=0x7ffe335b6618 > , buf=buf AT entry=0x5fcd20) at > /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/cygtls.cc:41 > #4 0x00007ffe333c660a in _cygtls::call (func=, > arg=) at > /usr/src/debug/cygwin-3.7.0-0.68.g37c49decc835/winsup/cygwin/cygtls.cc:28 > #5 0x00007ffe66f17374 in KERNEL32!BaseThreadInitThunk () from > /cygdrive/c/Windows/System32/KERNEL32.DLL > #6 0x00007ffe68f3cc91 in ntdll!RtlUserThreadStart () from > /cygdrive/c/Windows/SYSTEM32/ntdll.dll > #7 0x0000000000000000 in ?? () This does not seem to be a signal problem but be a thread creation problem. I have no idea why and when this happens. -- 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