GNU bug report logs - #15462
dbus-call-method-non-blocking loops forever

Previous Next

Package: emacs;

Reported by: Rob Browning <rlb <at> defaultvalue.org>

Date: Wed, 25 Sep 2013 17:53:02 UTC

Severity: normal

Fixed in version 24.3

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Rob Browning <rlb <at> defaultvalue.org>
Cc: Camm Maguire <camm <at> maguirefamily.org>, 15462 <at> debbugs.gnu.org, 698304 <at> bugs.debian.org, 698304-forwarded <at> bugs.debian.org
Subject: bug#15462: dbus-call-method-non-blocking loops forever
Date: Wed, 25 Sep 2013 21:14:56 +0200
Rob Browning <rlb <at> defaultvalue.org> writes:

>> Version: 24.2+1-1
>>
>> dbus-call-method-non-blocking loops forever waiting for a dbus message
>> that never arrives, unlike emacs23.
>>
>> The offending loop in dbus-call-method-non-blocking is
>>
>>     (while (eq (gethash key dbus-return-values-table :ignore) :ignore)
>>       (read-event nil nil 0.1))
>>
>> While the dbus message failure is ultimately a gnome issue, this
>> should fail more gracefully.

This piece of code has been changed:

revno: 108593
committer: Michael Albinus <michael.albinus <at> gmx.de>
branch nick: trunk
timestamp: Wed 2012-06-13 13:56:53 +0200
message:
  * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
  Otherwise, it blocks in batch mode.

That means, it should be solved in Emacs 24.3.

> Thanks

Best regards, Michael.




This bug report was last modified 11 years and 229 days ago.

Previous Next


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