GNU bug report logs - #6579
23.2; (require 'dbus) without dbus being available makes Emacs unresponsive, maxing out CPU and eating memory

Previous Next

Package: emacs;

Reported by: David Engster <deng <at> randomsample.de>

Date: Wed, 7 Jul 2010 12:22:02 UTC

Severity: normal

Found in version 23.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 6579-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: David Engster <deng <at> randomsample.de>
Cc: 6579-done <at> debbugs.gnu.org
Subject: Re: bug#6579: 23.2;
	(require 'dbus) without dbus being available makes Emacs
	unresponsive, maxing out CPU and eating memory
Date: Fri, 09 Jul 2010 14:27:20 +0200
David Engster <deng <at> randomsample.de> writes:

>> I've fixed it in the trunk.
>
> Works for me. Thank you!

Thanks for the test, I'll close the bug.

> Maybe it would make sense to issue a warning when dbus is not available?

Not when the session bus is unavailable; this is a common use
case. Maybe a chaeck for the unavailability of the system bus. OTHOH, I
don't know whether there are collateral damages then.

You can check the availability yourself:

(dbus-ignore-errors (dbus-get-unique-name :system))
(dbus-ignore-errors (dbus-get-unique-name :session))

Both forms return nil, when the respective bus is not available.

> -David

Best regards, Michael.




This bug report was last modified 14 years and 318 days ago.

Previous Next


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