Subject: bug#6579: 23.2; (require 'dbus) without dbus being available makes Emacs unresponsive, maxing out CPU and eating memory

From: David Engster <[email-masked]>
Date: Fri, 09 Jul 2010 13:25:16 +0200

Michael Albinus writes:
> David Engster <[email-masked]> writes:
>
>> * Stop dbus or do not start it in the first place.
>>
>> * emacs -Q
>>
>> * evaluate (require 'dbus) in the scratch buffer
>>
>> Emacs now consumes 100% CPU and is quickly eating memory until there is
>> no more. Pressing C-g (or any other key) doesn't have any effect.
>
> I've fixed it in the trunk.

Works for me. Thank you!

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

-David