GNU bug report logs - #62018
30.0.50; (require 'dbus) hangs in batch mode when called through execute-kbd-macro

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Mon, 6 Mar 2023 23:46:01 UTC

Severity: normal

Found in version 30.0.50

Fixed in version 30.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Spencer Baugh <sbaugh <at> janestreet.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 62018 <at> debbugs.gnu.org
Subject: bug#62018: 30.0.50; (require 'dbus) hangs in batch mode when called through execute-kbd-macro
Date: Wed, 29 Mar 2023 14:45:59 -0400
Michael Albinus <michael.albinus <at> gmx.de> writes:
> Spencer Baugh <sbaugh <at> janestreet.com> writes:
>
> Hi Spencer,
>
>> 1. emacs --batch --eval '(execute-kbd-macro (read-kbd-macro "M-:
>> (require SPC (quote SPC dbus)) RET"))'
>> 2. Observe that it hangs forever.
>>
>> Note that this doesn't need to be direct; running any command through
>> execute-kbd-macro which eventually loads dbus will hang indefinitely.
>> (battery), for example.
>
> Thanks for the report, I've pushed a fix to master. Could you, please, check?

That change fixes my minimal reproducer (sent in the initial email) and
also fixes my larger test framework based on execute-kbd-macro.

Thank you!




This bug report was last modified 2 years and 55 days ago.

Previous Next


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