delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/16/12:45:21

X-Recipient: archive-cygwin AT delorie DOT 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 AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX19tctOy0sIpXc6eCHya5j6z
Date: Sat, 16 Mar 2013 12:44:46 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: deadlock with busy waiting on sigfe
Message-ID: <20130316164446.GA2240@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20130116021414 DOT GA14341 AT ednor DOT casa DOT cgf DOT cx> <kdfuvh$a93$1 AT ger DOT gmane DOT org> <20130120065456 DOT GC17644 AT ednor DOT casa DOT cgf DOT cx> <khk62q$6n2$1 AT ger DOT gmane DOT org> <20130311143630 DOT GA6498 AT ednor DOT casa DOT cgf DOT cx> <khlbm8$5tg$1 AT ger DOT gmane DOT org> <20130311204554 DOT GA959 AT ednor DOT casa DOT cgf DOT cx> <20130315194101 DOT GA2095 AT ednor DOT casa DOT cgf DOT cx> <ki0isq$ts8$1 AT ger DOT gmane DOT org> <ki0jn6$5pl$1 AT ger DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <ki0jn6$5pl$1@ger.gmane.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Sat, Mar 16, 2013 at 11:00:49AM +0900, jojelino wrote:
>On 2013-03-16 AM 10:46, jojelino wrote:
>> On 2013-03-16 AM 4:41, Christopher Faylor wrote:
>>> On Mon, Mar 11, 2013 at 04:45:54PM -0400, Christopher Faylor wrote:
>>> 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?
>>>
>> It was mintty i was running. and shell command was
>> for i in `seq 10000`;do ./hop.py list.txt ;done
>And it would take at least another month to reproduce the busy wait.
>I forgot to print cygtls::stackptr[-1] at that time. which would be key 
>to identify the cause of the problem.

No, not really.  The caller in this case isn't interesting.  The number
of threads executing is interesting.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019