Potential deadlock due to method calls in callbacks
Because the connection's receive queue is of limited size, it is possible to deadlock the connection if one of the reading Stream
s waits on a dbus method call before continuing to poll. This could be caused by user code iterating a MessageStream
or SignalStream
, or by the internal iteration that drives callbacks.
See !402 (comment 1092692) for some existing discussion.