From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12976 invoked by alias); 11 Mar 2013 14:36:43 -0000 Received: (qmail 12904 invoked by uid 22791); 11 Mar 2013 14:36:42 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_CG X-Spam-Check-By: sourceware.org Received: from mho-03-ewr.mailhop.org (HELO mho-01-ewr.mailhop.org) (204.13.248.66) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 Mar 2013 14:36:32 +0000 Received: from pool-108-20-146-82.bstnma.fios.verizon.net ([108.20.146.82] helo=cgf.cx) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1UF3q3-0007dP-HV for cygwin@cygwin.com; Mon, 11 Mar 2013 14:36:31 +0000 Received: from localhost (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id A451688041D for ; Mon, 11 Mar 2013 10:36:30 -0400 (EDT) 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/jrrAl9bswztMW/9mSxXUT Date: Mon, 11 Mar 2013 14:36:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: deadlock with busy waiting on sigfe Message-ID: <20130311143630.GA6498@ednor.casa.cgf.cx> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20130116014646.GB13175@ednor.casa.cgf.cx> <20130116021414.GA14341@ednor.casa.cgf.cx> <20130120065456.GC17644@ednor.casa.cgf.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@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2013-03/txt/msg00208.txt.bz2 On Mon, Mar 11, 2013 at 05:53:50PM +0900, jojelino wrote: >On 2013-01-20 PM 3:54, Christopher Faylor wrote: >> On Sun, Jan 20, 2013 at 02:23:23PM +0900, jojelino wrote: >> Once again: don't care about your backtraces. Submit a proper bug report. >> >> cgf >> >And found another livelock with CYGWIN_NT-5.2 F8G6S6D42HGDY4 >1.7.18s(0.263/5/3) 20130309 21:57:01 i686 Cygwin provided in >http://cygwin.org/snapshots/cygwin1-20130309.dll.bz2 >I can't submit proper bug report. it just hangs during CTRL+C for >arbitrary cygwin executable and there is nothing i can do except dumping >backtrace. If you don't care about it, it's ok to ignore this. please >pass by. A "proper bug report" would at least include what you were actually doing to trigger this problem. Are you sure that there are only two threads executing here? It seems like this is a symptom of another thread holding the lock. cgf >Thread 2 (Thread 7596.0x104): >#0 0x7c96845c in ntdll!KiFastSystemCallRet () > from /cygdrive/c/WINDOWS/system32/ntdll.dll >#1 0x7c9678c9 in ntdll!ZwSetInformationThread () > from /cygdrive/c/WINDOWS/system32/ntdll.dll >#2 0x7c8324f9 in SetThreadPriority () > from /cygdrive/c/WINDOWS/system32/kernel32.dll >#3 0x6108790d in yield () > at >/netrel/src/cygwin-snapshot-20130309-1/winsup/cygwin/miscfuncs.cc:253 >#4 0x610d7354 in _cygtls::lock() () from /usr/bin/cygwin1.dll >#5 0x6103096e in sigpacket::setup_handler (this=0x6aac34, > handler=0x6102fe00 , siga=..., >tls=0x22ce64) > at >/netrel/src/cygwin-snapshot-20130309-1/winsup/cygwin/exceptions.cc:796 >#6 0x610318ff in sigpacket::process (this=0x6aac34) > at >/netrel/src/cygwin-snapshot-20130309-1/winsup/cygwin/exceptions.cc:1245 >---Type to continue, or q to quit--- >#7 0x610dd74c in wait_sig () > at /netrel/src/cygwin-snapshot-20130309-1/winsup/cygwin/sigproc.cc:1389 >#8 0x61003ea5 in cygthread::callfunc (this=0x6118b420 , > issimplestub=) > at /netrel/src/cygwin-snapshot-20130309-1/winsup/cygwin/cygthread.cc:51 >#9 0x6100442f in cygthread::stub (arg=0x6118b420 ) > at /netrel/src/cygwin-snapshot-20130309-1/winsup/cygwin/cygthread.cc:93 >#10 0x6100537d in _cygtls::call2 (this=, > func=0x610043e0 , arg=0x6118b420 , > buf=0x6100551b <_cygtls::call(unsigned long (*)(void*, void*), >void*)+91>) > at /netrel/src/cygwin-snapshot-20130309-1/winsup/cygwin/cygtls.cc:99 >#11 0x006affb8 in ?? () >#12 0x7c82484f in KERNEL32!GetModuleHandleA () > from /cygdrive/c/WINDOWS/system32/kernel32.dll >#13 0x00000000 in ?? () > >Thread 1 (Thread 7596.0x190): >#0 0x7c96845c in ntdll!KiFastSystemCallRet () > from /cygdrive/c/WINDOWS/system32/ntdll.dll >#1 0x7c9678c9 in ntdll!ZwSetInformationThread () > from /cygdrive/c/WINDOWS/system32/ntdll.dll >#2 0x7c8324f9 in SetThreadPriority () > from /cygdrive/c/WINDOWS/system32/kernel32.dll >#3 0x610878cb in yield () >---Type to continue, or q to quit--- > at >/netrel/src/cygwin-snapshot-20130309-1/winsup/cygwin/miscfuncs.cc:244 >#4 0x610d7354 in _cygtls::lock() () from /usr/bin/cygwin1.dll >#5 0x61031297 in _cygtls::call_signal_handler ( > this=0x610d7354 <_cygtls::lock()+23>) > at >/netrel/src/cygwin-snapshot-20130309-1/winsup/cygwin/exceptions.cc:1265 >#6 0x61007689 in _cygwin_exit_return () > at /netrel/src/cygwin-snapshot-20130309-1/winsup/cygwin/dcrt0.cc:1012 >#7 0x6100537d in _cygtls::call2 (this=, > func=0x61006c50 , arg=0x0, > buf=0x6100551b <_cygtls::call(unsigned long (*)(void*, void*), >void*)+91>) > at /netrel/src/cygwin-snapshot-20130309-1/winsup/cygwin/cygtls.cc:99 >#8 0x0022ff78 in ?? () >#9 0x004011d2 in ?? () >#10 0x00401015 in ?? () >#11 0x7c82f243 in ProcessIdToSessionId () > from /cygdrive/c/WINDOWS/system32/kernel32.dll > >-- >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 > > -- 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