dbus cleanup question

Macartney, Geoff gmacartney at tycoint.com
Thu Feb 21 06:57:20 PST 2008

Hi John

I just call dbus_bus_get once; and I'm using dbus-1.0.1-12.fc6.



Tyco Safety Products/CEM Systems Ltd.
Registered in Northern Ireland: NI 25728.  Registered Office: Unit 4 Ravenhill Business Park, Ravenhill Road, Belfast, BT6 8AW..
Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. This email and any attachments are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender immediately and delete any copies in your possession.
-----Original Message-----

From: John (J5) Palmieri [mailto:johnp at redhat.com] 
Sent: 21 February 2008 13:58
To: Macartney, Geoff
Cc: Havoc Pennington; dbus at lists.freedesktop.org
Subject: RE: dbus cleanup question

On Thu, 2008-02-21 at 13:17 +0000, Macartney, Geoff wrote:
> Hi Havoc et al.
> I have a followup question to my question about cleanup on shutdown. 
> I tried adding dbus_shutdown (I was already calling dbus_unref on my
> connection) upon exit, and I get the error message:
> process 12278: dbus_shutdown() called but connections were still live.
> This probably means the application did not drop all its references to
> bus connections.

How many times do you call dbus_bus_get?  And what version of D-Bus are
you using.  Some older versions did not handle shutdown properly under
certain conditions.

John (J5) Palmieri <johnp at redhat.com>

More information about the dbus mailing list