X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,FSL_HELO_BARE_IP_2,KHOP_THREADED,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_NONE,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_CG X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: jojelino Subject: Re: deadlock with busy waiting on sigfe Date: Sat, 16 Mar 2013 11:00:49 +0900 Lines: 19 Message-ID: References: <20130116014646 DOT GB13175 AT ednor DOT casa DOT cgf DOT cx> <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=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 5.2; rv:22.0) Gecko/20100101 Thunderbird/22.0a1 In-Reply-To: X-IsSubscribed: yes 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 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? >> >> cgf >> > 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. -- Regards. -- 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