[Bug]infinite loop in pending_activation_failed

Chen Jie chenj at lemote.com
Thu Nov 24 18:53:24 PST 2011


Hi all,

I encountered a blocking dbus-daemon(system bus) while doing a system
reboot test.
A primary debug shows there was an infinite loop in
pending_activation_failed() -- try_send_activation_failure() returns
FALSE not caused by bus_transaction_new() failure, then do a
_dbus_wait_for_memory() doesn't help.

The bug-triggering path was:
try_send_activation_failure()
-> bus_transaction_send_error_reply()
--> dbus_message_new_error()
---> dbus_message_set_reply_serial():
_dbus_return_val_if_fail(reply_serial != 0, FALSE);

Attachment is the syslog about this bug under DBUS_VERBOSE=1.

I've tried both version 1.5.0 and 1.4.16, the same problem observed.
The system runs systemd version 29.



Regards,
-- Chen Jie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslog
Type: application/octet-stream
Size: 46704 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20111125/e9c204bb/attachment-0001.obj>


More information about the dbus mailing list