From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69916 invoked by alias); 29 Oct 2015 16:17:11 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 69793 invoked by uid 89); 29 Oct 2015 16:17:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: gwo2.mbox.net Received: from gwo2.mbox.net (HELO gwo2.mbox.net) (165.212.64.22) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 29 Oct 2015 16:17:07 +0000 Received: from gwo2.mbox.net (localhost [127.0.0.1]) by gwo2.mbox.net (Postfix) with ESMTP id 3nmsNc5Phcz18l00J; Thu, 29 Oct 2015 16:17:04 +0000 (UTC) X-USANET-Received: from gwo2.mbox.net [127.0.0.1] by gwo2.mbox.net via mtad (C8.MAIN.4.02J) with ESMTP id 521TJCqq76032Mo2; Thu, 29 Oct 2015 16:16:58 -0000 X-USANET-Routed: 5 gwsout-gwsd Q:gwsd X-USANET-Routed: 3 gwsout-vs Q:bmvirus X-USANET-GWS2-Tenant: electric-cloud.com X-USANET-GWS2-Tagid: ECLD Received: from S1P5HUB5.EXCHPROD.USA.NET [165.212.120.254] by gwo2.mbox.net via smtad (C8.MAIN.4.02Q) with ESMTPS id XID658TJCqq81341Xo2; Thu, 29 Oct 2015 16:16:59 -0000 X-USANET-Source: 165.212.120.254 OUT aeolus@electric-cloud.com S1P5HUB5.EXCHPROD.USA.NET TLS X-USANET-MsgId: XID658TJCqq81341Xo2 Received: from S1P5DAG5C.EXCHPROD.USA.NET ([169.254.3.130]) by S1P5HUB5.EXCHPROD.USA.NET ([10.120.223.35]) with mapi id 14.03.0235.001; Thu, 29 Oct 2015 16:16:51 +0000 From: John Carey To: Corinna Vinschen , "cygwin@cygwin.com" Subject: RE: pthread_kill: signals remain pending after target thread exits Date: Thu, 29 Oct 2015 17:34:00 -0000 Message-ID: <28F5B565B6F6424C87E4AC0DCC84316575D81A49@S1P5DAG5C.EXCHPROD.USA.NET> References: <28F5B565B6F6424C87E4AC0DCC84316575D71070@S1P5DAG5C.EXCHPROD.USA.NET> <20151021114810.GQ5319@calimero.vinschen.de> <28F5B565B6F6424C87E4AC0DCC84316575D73A86@S1P5DAG5C.EXCHPROD.USA.NET> <20151023125540.GI5319@calimero.vinschen.de> <28F5B565B6F6424C87E4AC0DCC84316575D8071E@S1P5DAG5C.EXCHPROD.USA.NET> <20151028091459.GZ5319@calimero.vinschen.de>,<20151029080218.GF5319@calimero.vinschen.de> In-Reply-To: <20151029080218.GF5319@calimero.vinschen.de> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00544.txt.bz2 > From: Corinna Vinschen [corinna-cygwin@cygwin.com] > Sent: Thursday, October 29, 2015 1:02 AM > On Oct 28 10:14, Corinna Vinschen wrote: ... > > > Thanks; that was fast! I tried replacing cygwin1.dll with cygwin1-20= 151023.dll . > > > > > > The original test case now works. I checked some of my other tests, > > > and unfortunately some of them failed, so I extracted out a new test > > > case, which is attached. My guess is that something is subtly differ= ent > > > about the timing on this test. > > > > Is this a regression? Did it work with 2.2.1? >=20 > Answering myself here, this didn't work at all in 2.2.1. I can > reproduce the problem and I'm going to take a look. Not sure if > there's a quick solution, though. This looks like a deadlock > situation. The signal definitely got send, I just don't see yet > why it's not handled in wait_sig. Yes, test_pending_signal2.c fails in 2.2.1, though the symptoms differ: there is no Cygwin process left hanging that cannot be killed by a Cygwin signal. But both tests appear to pass in Cygwin 1.7.9, so in that sense it is a regression, just not a recent one. -- John Carey -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69951 invoked by alias); 29 Oct 2015 16:17:12 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 69876 invoked by uid 9078); 29 Oct 2015 16:17:11 -0000 Received: (qmail 69793 invoked by uid 89); 29 Oct 2015 16:17:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: gwo2.mbox.net Received: from gwo2.mbox.net (HELO gwo2.mbox.net) (165.212.64.22) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 29 Oct 2015 16:17:07 +0000 Received: from gwo2.mbox.net (localhost [127.0.0.1]) by gwo2.mbox.net (Postfix) with ESMTP id 3nmsNc5Phcz18l00J; Thu, 29 Oct 2015 16:17:04 +0000 (UTC) X-USANET-Received: from gwo2.mbox.net [127.0.0.1] by gwo2.mbox.net via mtad (C8.MAIN.4.02J) with ESMTP id 521TJCqq76032Mo2; Thu, 29 Oct 2015 16:16:58 -0000 X-USANET-Routed: 5 gwsout-gwsd Q:gwsd X-USANET-Routed: 3 gwsout-vs Q:bmvirus X-USANET-GWS2-Tenant: electric-cloud.com X-USANET-GWS2-Tagid: ECLD Received: from S1P5HUB5.EXCHPROD.USA.NET [165.212.120.254] by gwo2.mbox.net via smtad (C8.MAIN.4.02Q) with ESMTPS id XID658TJCqq81341Xo2; Thu, 29 Oct 2015 16:16:59 -0000 X-USANET-Source: 165.212.120.254 OUT aeolus@electric-cloud.com S1P5HUB5.EXCHPROD.USA.NET TLS X-USANET-MsgId: XID658TJCqq81341Xo2 Received: from S1P5DAG5C.EXCHPROD.USA.NET ([169.254.3.130]) by S1P5HUB5.EXCHPROD.USA.NET ([10.120.223.35]) with mapi id 14.03.0235.001; Thu, 29 Oct 2015 16:16:51 +0000 From: John Carey To: Corinna Vinschen , "cygwin@cygwin.com" Subject: RE: pthread_kill: signals remain pending after target thread exits Date: Thu, 29 Oct 2015 17:40:00 -0000 Message-ID: <28F5B565B6F6424C87E4AC0DCC84316575D81A49@S1P5DAG5C.EXCHPROD.USA.NET> References: <28F5B565B6F6424C87E4AC0DCC84316575D71070@S1P5DAG5C.EXCHPROD.USA.NET> <20151021114810.GQ5319@calimero.vinschen.de> <28F5B565B6F6424C87E4AC0DCC84316575D73A86@S1P5DAG5C.EXCHPROD.USA.NET> <20151023125540.GI5319@calimero.vinschen.de> <28F5B565B6F6424C87E4AC0DCC84316575D8071E@S1P5DAG5C.EXCHPROD.USA.NET> <20151028091459.GZ5319@calimero.vinschen.de>,<20151029080218.GF5319@calimero.vinschen.de> In-Reply-To: <20151029080218.GF5319@calimero.vinschen.de> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00545.txt.bz2 Message-ID: <20151029174000.ZVNmQ3bx4n-ZfXNKdI48Map0DLYsrblMOemjSyZ82G0@z> > From: Corinna Vinschen [corinna-cygwin@cygwin.com] > Sent: Thursday, October 29, 2015 1:02 AM > On Oct 28 10:14, Corinna Vinschen wrote: ... > > > Thanks; that was fast! I tried replacing cygwin1.dll with cygwin1-20= 151023.dll . > > > > > > The original test case now works. I checked some of my other tests, > > > and unfortunately some of them failed, so I extracted out a new test > > > case, which is attached. My guess is that something is subtly differ= ent > > > about the timing on this test. > > > > Is this a regression? Did it work with 2.2.1? >=20 > Answering myself here, this didn't work at all in 2.2.1. I can > reproduce the problem and I'm going to take a look. Not sure if > there's a quick solution, though. This looks like a deadlock > situation. The signal definitely got send, I just don't see yet > why it's not handled in wait_sig. Yes, test_pending_signal2.c fails in 2.2.1, though the symptoms differ: there is no Cygwin process left hanging that cannot be killed by a Cygwin signal. But both tests appear to pass in Cygwin 1.7.9, so in that sense it is a regression, just not a recent one. -- John Carey -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple