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 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> <20130120065456 DOT GC17644 AT ednor DOT casa DOT cgf DOT cx> <20130311143630 DOT GA6498 AT ednor DOT casa DOT cgf DOT cx> <20130311204554 DOT GA959 AT ednor DOT casa DOT cgf DOT cx> <20130315194101 DOT GA2095 AT ednor DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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