| www.delorie.com/archives/browse.cgi | search |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 5BHAcXGX1163239 |
| 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 5BHAcXGX1163239 |
| 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=Gni+nWkj | |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 7CF7F4BA2E36 |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
| s=default; t=1765967912; | |
| bh=2eHPKBBXQAg0YHWGG89qxln2H6A4dbFuud9M0v4NdhE=; | |
| 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=Gni+nWkjBRhRMW5AKTuBaAtt3a1IcZgahOJ4N+GhKNJfBUElQP+CJPGkk3LatsfGd | |
| fEkYAAHn4pplrtmki4mruRO49XEWcxUqweecGog5vSTi6uJ//9I6XgeFNkooqUKcmD | |
| A9nNtUNlYfmTAqDiAbvGkZb0nE2p30Xw4JGT5j7Y= | |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org AA7514BA2E04 |
| ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org AA7514BA2E04 |
| ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765967862; cv=none; |
| b=RsMhPA2GfFFQE5y7VS8od3ywPbeW6fRtA5j5R35GIlDtwZG3eyARpEBjSi0axuirf943YMsdjcfMu3mS5BVrSfCiU8VymGDxDDOGO0wh9ucbvBtf7a3qPyR1K2j/GCltzNyDyBy+K41rKj5o+jZ3L5eUEyHHeiAcGD6JVbbm3/8= | |
| ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
| t=1765967862; c=relaxed/simple; | |
| bh=4qA6TcqrKzE0/IqdF/s2ReveHFscAigkVbuF0hYzJe8=; | |
| h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature; | |
| b=hzRDv1R/M+EJl09e7e0rLLNQkZjXVl8slJ7Mrn2Zb+l2PxKxIAGwRBWe40aQlSw9tjTPXdGdeYeT9odf2oCEcXvETYKRIdKUqyHtBpiHoplsUHd9/cYCHUc5QgPp7u2XafgAs7Z6KWZSPMDppVPMJAX0uEmf1O25hNGWqyRSNb4= | |
| ARC-Authentication-Results: | i=1; server2.sourceware.org |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org AA7514BA2E04 |
| Date: | Wed, 17 Dec 2025 19:37:37 +0900 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Recent testsuite/winsup.api/pthread/cancel2 failure |
| Message-Id: | <20251217193737.3d3d686ebe3865c183315dc5@nifty.ne.jp> |
| In-Reply-To: | <9d058204-fb3f-43b4-9e32-6adc7af12ff4@dronecode.org.uk> |
| References: | <20251214162637 DOT 1ee05b084788ba073fe94670 AT nifty DOT ne DOT jp> |
| <20251214163936 DOT 6841fc62145d8f54cfa31fe7 AT nifty DOT ne DOT jp> | |
| <9d058204-fb3f-43b4-9e32-6adc7af12ff4 AT dronecode DOT org DOT uk> | |
| 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 |
| List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
| List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
| <mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
| List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
| List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
| <mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
| From: | Takashi Yano via Cygwin <cygwin AT cygwin DOT com> |
| Reply-To: | Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> |
| Errors-To: | cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com |
| Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com> |
Hi Jon, Thanks for the reply. On Tue, 16 Dec 2025 13:11:15 +0000 Jon Turney wrote: > On 14/12/2025 07:39, Takashi Yano via Cygwin wrote: > > On Sun, 14 Dec 2025 16:26:37 +0900 > > Takashi Yano via Cygwin <cygwin AT cygwin DOT com> wrote: > > > >> Recently, I have concerned that testsuite winsup.api/pthread/cancel2 fails > >> consistently. > >> > >> https://github.com/cygwin/cygwin/actions/runs/19926408142/job/57127200619 > > Thanks very much for looking into this! > > I have the vague idea that this problem started showing up (more?) when > the CI VM was upgraded from Windows Server 2022 to Windows Server 2025, > but I guess that's maybe just timings... IIRC, this did not happen when I uses Win10. Now, I'm using Win11. > >> I'm not sure why this happens, but it also falis in my local environment. > >> I looked into this issue a bit, and found that access violation happnes > >> in CloseHandle() in _cygtls::remove(). > >> > >> And I am also not sure why at all, cancel2 works if CloseHandle()'s are > >> replaced with NtClose() as follows. > > I think this is just the difference between the two calls: CloseHandle > generates an exception whereas NtClose returns an error code if the > handle is invalid. > > Doesn't really explain whats wrong with the handle, though. I checked the return code of NtClose() and found the it is STATUS_SUCCESS. If the handle is invalid, NtClose() returns error code, I think... -- Takashi Yano <takashi DOT yano AT nifty DOT ne DOT 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |