X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0	tests=BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+pVVylkqVpb/3aG80oTksm
Date: Fri, 15 Mar 2013 15:41:01 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: deadlock with busy waiting on sigfe
Message-ID: <20130315194101.GA2095@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <kd2d69$lam$1@ger.gmane.org> <20130116014646.GB13175@ednor.casa.cgf.cx> <20130116021414.GA14341@ednor.casa.cgf.cx> <kdfuvh$a93$1@ger.gmane.org> <20130120065456.GC17644@ednor.casa.cgf.cx> <khk62q$6n2$1@ger.gmane.org> <20130311143630.GA6498@ednor.casa.cgf.cx> <khlbm8$5tg$1@ger.gmane.org> <20130311204554.GA959@ednor.casa.cgf.cx>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20130311204554.GA959@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mon, Mar 11, 2013 at 04:45:54PM -0400, Christopher Faylor wrote:
>On Tue, Mar 12, 2013 at 04:35:41AM +0900, jojelino wrote:
>>On 2013-03-11 PM 11:36, Christopher Faylor wrote:
>>> A "proper bug report" would at least include what you were actually doing
>>> to trigger this problem.
>>>
>>I was trying to CTRL+C cygwin python process that is executing some 
>>operation and fell asleep for 60 seconds repeatedly. I'm pretty sure 
>>that the process was sleeping as i tried interrupt it.
>>
>>> Are you sure that there are only two threads executing here?  It seems like
>>> this is a symptom of another thread holding the lock.
>>>
>>It's unlikely the case because there was two thread running when 
>>livelock observed.
>
>How about if you humor me and do a "show threads" rather than just
>asserting that it was unlikely?

Actually, if you are running this on a DOS console, and you hit CTRL-C,
you will have at least one other thread executing.

Were you running this under mintty (aka a pty) or in a Windows cmd
shell?

cgf

--
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

