Havoc Pennington hp at redhat.com
Sat Apr 10 09:09:36 EST 2004

On Fri, 2004-04-09 at 15:22, Armin Bauer wrote:
> Hi,
> I used dbus 0.20 for my project before. Since i upgraded to 0.21 i get
> disconnected when the client issues a dbus_connection_flush. This wasnt
> the case before.
> When i call dbus_message_flush i get a Disconnected message on the
> server side (a standalone server btw.) and the message i wanted to send
> is never received. If i comment out the dbus_connection_flush i do not
> get disconnected, but i also do not get disconnected when i comment out
> the dbus_connection_send before the flush. Maybe i assembled the message
> the wrong way? Was there a check added for something like this in 0.21?

Try verbose logging (DBUS_VERBOSE=1 IIRC, grep for getenv if that
doesn't work). You have to build with verbose output enabled.

Should tell you why the disconnection happens.


More information about the dbus mailing list