delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:from:to:subject:date:message-id:references | |
:in-reply-to:content-type:content-transfer-encoding | |
:mime-version; q=dns; s=default; b=riZQL0b7b26IE0XCl7L6zC8U/IFrV | |
3K+TSZQ67fatyCH/4UxrPnALLhEWIyX6htj72oGDxfd5gqgcnktz61/7Px98+xnE | |
q1LtT9MdFyNTydftiRBmaVUKuPSQtj9ZYscaoeYCHGx7ncfhqWJ5sNTXzITnMMSA | |
qQz/b9D7ZB4/N0= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:from:to:subject:date:message-id:references | |
:in-reply-to:content-type:content-transfer-encoding | |
:mime-version; s=default; bh=/3YBBl+0jSOoXVTcuoHfCLsJNqI=; b=vbm | |
ITBvKSBa+GtXA+jIbVm/jInjwc5UJSoVYc6cp/Fm3GUMZH/9AoF5vrhmu53CIsrp | |
/iOt9ML5x3w4jcBXwLsM7Z4UkGx3DwLn1TbrFUnz9mNQjO8/RsmzCUhcJ6D1mako | |
Ri6S0VK5tWRnGPCm9XgD69LUr1EJmbWLGiJ+WFE8= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | gwo4.mbox.net |
X-USANET-Received: | from gwo4.mbox.net [127.0.0.1] by gwo4.mbox.net via mtad (C8.MAIN.4.02J) with ESMTP id 437TkBX344640Mo4; Mon, 02 Nov 2015 23:54:56 -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 |
X-USANET-Source: | 165.212.120.254 OUT aeolus AT electric-cloud DOT com S1P5HUB7.EXCHPROD.USA.NET TLS |
X-USANET-MsgId: | XID322TkBX359419Xo4 |
From: | John Carey <aeolus AT electric-cloud DOT com> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Subject: | RE: pthread_kill: signals remain pending after target thread exits |
Date: | Mon, 2 Nov 2015 23:54:54 +0000 |
Message-ID: | <28F5B565B6F6424C87E4AC0DCC84316575D81F11@S1P5DAG5C.EXCHPROD.USA.NET> |
References: | <28F5B565B6F6424C87E4AC0DCC84316575D71070 AT S1P5DAG5C DOT EXCHPROD DOT USA DOT NET> <20151021114810 DOT GQ5319 AT calimero DOT vinschen DOT de> <28F5B565B6F6424C87E4AC0DCC84316575D73A86 AT S1P5DAG5C DOT EXCHPROD DOT USA DOT NET> <20151023125540 DOT GI5319 AT calimero DOT vinschen DOT de> <28F5B565B6F6424C87E4AC0DCC84316575D8071E AT S1P5DAG5C DOT EXCHPROD DOT USA DOT NET> <20151028091459 DOT GZ5319 AT calimero DOT vinschen DOT de> <20151029080218 DOT GF5319 AT calimero DOT vinschen DOT de> <28F5B565B6F6424C87E4AC0DCC84316575D81A49 AT S1P5DAG5C DOT EXCHPROD DOT USA DOT NET> <20151102141838 DOT GB963 AT calimero DOT vinschen DOT de>,<20151102175800 DOT GA13010 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20151102175800.GA13010@calimero.vinschen.de> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id tA2NtC73017180 |
> From: Corinna Vinschen [corinna-cygwin AT cygwin DOT com] > Sent: Monday, November 02, 2015 9:58 AM > On Nov 2 15:18, Corinna Vinschen wrote: > > On Oct 29 16:16, John Carey wrote: > > > > From: Corinna Vinschen [corinna-cygwin AT cygwin DOT 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-20151023.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 different > > > > > > about the timing on this test. > > > > > > > > > > Is this a regression? Did it work with 2.2.1? > > > > > > > > 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. > > > > The regression here was my original fix. It didn't clear pending > > signals for an exiting thread thorougly enough. I applied a patch now > > which should fix this issue. I'll upload a new developer snapshot to > > https://cygwin.com/snapshots/ later today or tomorrow (still looking > > into the PrlFS issue). Please give it a try. > > Snapshot is up. The fix is in the 2.3.0-0.5 test release as well. > Please give any one of them a try. I tested snapshot cygwin1-20151102.dll, and it works in all of my tests. Nice! I'm glad you figured out how to delete those pending signals. Thanks, 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |