From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#4239: 23.1.50; Pause during Emacs startup with recentf-mode Date: Mon, 24 Aug 2009 13:02:44 +0200 Message-ID: <87my5pcw4r.fsf@escher.local.home> References: <87k50un4oc.fsf@escher.local.home> <87tyzy8u9b.fsf@gmx.de> <87r5v1czzb.fsf@escher.local.home> Reply-To: Stephen Berman , 4239@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251114974 18831 80.91.229.12 (24 Aug 2009 11:56:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Aug 2009 11:56:14 +0000 (UTC) Cc: "4239@emacsbugs.donarmstrong.com" <4239@emacsbugs.donarmstrong.com> To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 24 13:56:07 2009 Return-path: Envelope-to: geb-bug-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 1MfY9e-0007U1-1k for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Aug 2009 13:56:06 +0200 Original-Received: from localhost ([127.0.0.1]:38070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfY9d-0000iF-J1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Aug 2009 07:56:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfXhW-0005D5-2M for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2009 07:27:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfXhQ-00059B-7M for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2009 07:27:01 -0400 Original-Received: from [199.232.76.173] (port=35678 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfXhP-00058y-Tr for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2009 07:26:56 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36461) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MfXhP-0002lk-5i for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2009 07:26:55 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7OBQqiB014865; Mon, 24 Aug 2009 04:26:53 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7OBA64c011784; Mon, 24 Aug 2009 04:10:06 -0700 Resent-Date: Mon, 24 Aug 2009 04:10:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 24 Aug 2009 11:10:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4239 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4239-submit@emacsbugs.donarmstrong.com id=B4239.12511117789558 (code B ref 4239); Mon, 24 Aug 2009 11:10:06 +0000 Original-Received: (at 4239) by emacsbugs.donarmstrong.com; 24 Aug 2009 11:02:58 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n7OB2uvP009555 for <4239@emacsbugs.donarmstrong.com>; Mon, 24 Aug 2009 04:02:57 -0700 Original-Received: (qmail invoked by alias); 24 Aug 2009 11:02:50 -0000 Original-Received: from i59F5494A.versanet.de (EHLO escher.local.home) [89.245.73.74] by mail.gmx.net (mp001) with SMTP; 24 Aug 2009 13:02:50 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX183FMkRgc43QGP6A43KCR1xiotL3x8x+9NjWC56Gm SiV3r8KVblNpQ3 Original-Received: by escher.local.home (Postfix, from userid 1000) id 98F8C1D1688; Mon, 24 Aug 2009 13:02:44 +0200 (CEST) In-Reply-To: (Michael Albinus's message of "Mon, 24 Aug 2009 12:22:31 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 24 Aug 2009 07:27:00 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30512 Archived-At: On Mon, 24 Aug 2009 12:22:31 +0200 Michael Albinus wrote: > Stephen Berman writes: > >>> Could you, please, start Emacs from gdb? When it is stalled, interrupt >>> it, and show the backtrace. >> >> Here it is; I hope it helps shed some light on the problem. > > It does, indeed: > >> Lisp Backtrace: >> "dbus-call-method" (0xbfffc504) >> "byte-code" (0xbfffc5b0) >> "dbus-ping" (0xbfffc844) > > So for whatever reasons, one of the three dbus-ping calls in > tramp-gvfs.el hangs (for the default 25 sec timeout of D-Bus calls). > > Could you, please, check the following patch? It restricts every > dbus-ping to 0.1 sec. It will still leave a short delay for you, but > this might be tolerable. To test whether the patch fixes the problem I presumably have to wait till I reboot the machine, which may not be till tomorrow. Does it suffice to simply apply the patch and restart Emacs, or do I need to redump or rebuild Emacs? Thanks for the quick response. Steve Berman PS: If the patch works, before you commit it you should, in the doc string of dbus-ping, change "25.000" to "25,000": `.' and `,' have the opposite roles in German and English numerals.