X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 22 May 2012 15:49:32 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: "emacs -nw" hangs in a terminal Message-ID: <20120522134932.GC9200@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4FB3CFCC DOT 6030407 AT cornell DOT edu> <7r7gw6kl6r DOT fsf AT ws796-of-spb DOT ru DOT yotateam DOT com> <7rmx513ol1 DOT fsf AT ws796-of-spb DOT ru DOT yotateam DOT com> <4FBA12C7 DOT 4070305 AT cornell DOT edu> <4FBA5FDA DOT 7080801 AT cornell DOT edu> <20120521162908 DOT GP7763 AT calimero DOT vinschen DOT de> <4FBA8EA0 DOT 4040905 AT cornell DOT edu> <20120522112828 DOT GA9200 AT calimero DOT vinschen DOT de> <4FBB7BA6 DOT 9000409 AT cornell DOT edu> <20120522134119 DOT GB9200 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20120522134119.GB9200@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) 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 May 22 15:41, Corinna Vinschen wrote: > On May 22 07:42, Ken Brown wrote: > > On 5/22/2012 7:28 AM, Corinna Vinschen wrote: > > >On May 21 14:51, Ken Brown wrote: > > >>On 5/21/2012 12:29 PM, Corinna Vinschen wrote: > > >>>On May 21 11:31, Ken Brown wrote: > > >>>>On 5/21/2012 6:02 AM, Ken Brown wrote: > > >>>>I've discovered something strange by running emacs under gdb. If I > > >>>>start emacs-24 in a terminal (but not under X) and start a shell as > > >>>>you did, then every press of C-g creates a new thread, and these are > > >>>>never destroyed. I'm pretty sure the threads are created by Cygwin, > > >>>>not by emacs. > > >>>[...] > > >Somehow I'm not able to test this. When I start `emacs -Q -nw' in cmd > > >or mintty, emacs takes 100% CPU for some reason. It doesn't matter if I > > >try it under Cygwin 1.7.15 or current CVS. > > > > That's strange. All my tests were done in mintty. Would it help if > > I sent some strace output and/or a gdb backtrace? I assumed you > > could get those (or at least the strace output) yourself, and I > > didn't want to spam the list. > > > > Ken > > > > P.S. BTW, I tested today's snapshot, and the problem is still there. > > I doubt that an strace is sufficient, but you could send me one created > with the latest snapshot off-list, to the address I'm using in the > Changelogs. Please point out the places which seem suspicious to you. Ouch! Hang on. I didn't test with the 24.x version, but with the old one. Sorry about that. Now I can reproduce the SEGV. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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