From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Killing a hung ssh process in a TRAMP session Date: Thu, 07 Jan 2010 16:46:43 +0100 Message-ID: <87skahex3w.fsf@gmx.de> References: <4B458C2F.9010709@gmail.com> <877hrufgsn.fsf@gmx.de> <4B45FDF7.9080008@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262879498 3406 80.91.229.12 (7 Jan 2010 15:51:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Jan 2010 15:51:38 +0000 (UTC) Cc: Emacs mailing list To: Suvayu Ali Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 07 16:51:32 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NSue3-0006Sb-Op for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Jan 2010 16:51:32 +0100 Original-Received: from localhost ([127.0.0.1]:56529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSue4-0005Fq-By for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Jan 2010 10:51:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSuZZ-0001Uv-70 for help-gnu-emacs@gnu.org; Thu, 07 Jan 2010 10:46:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSuZU-0001Oe-JM for help-gnu-emacs@gnu.org; Thu, 07 Jan 2010 10:46:52 -0500 Original-Received: from [199.232.76.173] (port=57174 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSuZU-0001OI-7g for help-gnu-emacs@gnu.org; Thu, 07 Jan 2010 10:46:48 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:50721) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NSuZT-0005SC-Ln for help-gnu-emacs@gnu.org; Thu, 07 Jan 2010 10:46:48 -0500 Original-Received: (qmail invoked by alias); 07 Jan 2010 15:46:44 -0000 Original-Received: from p4FC008A8.dip0.t-ipconnect.de (EHLO LKG29808F.local) [79.192.8.168] by mail.gmx.net (mp015) with SMTP; 07 Jan 2010 16:46:44 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX186+as7E+46Nep7rqpjUX5ELQRNPswGE6xjyGtZRZ jS6wqZl473sYA/ User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6899999999999999 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71115 Archived-At: Suvayu Ali writes: > These will be a lot of help when emacs is still responsive, > thanks. But usually when this happens, all the frames associated to > the emacs server freezes, and doesn't respond to any keyboard or mouse > input. I also see similar behaviour whenever TRAMP is busy with the > network, say authenticating to the remote server. As soon as its done, > every thing goes back to normal. Maybe I should have taken screen > shots. :-\ Please apply (setq debug-on-error t debug-on-signal t debug-on-quit t) before the next test. Then, when Emacs hangs, you could try from a shell # kill -FPE Don't ask me why, but sometimes Emacs comes back with the FPE signal, and you get a backtrace. This I would like to see, because then I could protect that code with-local-quit and friends. Best regards, Michael.