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: U2FsdGVkX19tctOy0sIpXc6eCHya5j6z
Date: Sat, 16 Mar 2013 12:44:46 -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: <20130316164446.GA2240@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <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> <20130315194101.GA2095@ednor.casa.cgf.cx> <ki0isq$ts8$1@ger.gmane.org> <ki0jn6$5pl$1@ger.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <ki0jn6$5pl$1@ger.gmane.org>
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 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

