GNU bug report logs - #5283
23.1.90; If dbus session bus is not available, emacs is busily trying to contact it

Previous Next

Package: emacs;

Reported by: Andreas Köhler <andi5.py <at> gmx.net>

Date: Tue, 6 Oct 2009 18:55:07 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 5283 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Andreas Köhler <andi5.py <at> gmx.net>
Cc: 5283 <at> debbugs.gnu.org
Subject: Re: bug#5283: 23.1.90;
	If dbus session bus is not available, emacs is busily trying to
	contact it
Date: Sun, 03 Jan 2010 20:52:37 +0100
Andreas Köhler <andi5.py <at> gmx.net> writes:

> Initially, I observed that emacs-snapshot from ubuntu karmic in a
> dtach session as server starts using 100% of the cpu when i logged
> out. It seemed to be trying to contact the dbus session bus all the
> time, even after I logged in again.

When you log out, the D-Bus session bus is killed. Emacs' dbusbind does
not recognize that, and still tries to poll the session bus.

I've added unsetting of $DBUS_SESSION_BUS_ADDRESS in xd_remove_watch,
when the session bus is meant. This shall fix the problem (at least, it
does it for me).

Thanks for reporting, and best regards, Michael.




This bug report was last modified 15 years and 139 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.