cem at eliguzel.net
Tue Mar 16 23:05:02 PDT 2010
What I don't understand is why there does not exist a propagation mechanism
from dbus to applications via function
callbacks in order to handle disconnection mechanism.
Also, I strive to understand why the connection is broken. It's not because
of the fact that dbus-daemon died.
The dbus-daemon and thus the session is still alive. The application can
reconnect the dbus session next time
it is launched.
And, I can't see anything wrong with the dbus communictaion. Here is the
last few messages printed by dbus-monitor:
signal sender=:1.2 -> dest=(null destination) serial=1717
path=/org/gnome/Rygel1; interface=org.gnome.Rygel1; member=PlayerPlaying
string "Bob Acri"
string "Sleep Away"
signal sender=:1.2 -> dest=(null destination) serial=1718
path=/org/gnome/Rygel1; interface=org.gnome.Rygel1; member=PlayerStopped
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=7
signal sender=org.freedesktop.DBus -> dest=(null destination) serial=8
Do you see anything wrong here?
On Mon, Mar 15, 2010 at 11:59 PM, Thiago Macieira <thiago at kde.org> wrote:
> Em Segunda-feira 15. Março 2010, às 22.38.07, Cem Eliguzel escreveu:
> > Hello,
> > I have a disconnected dbus connection problem. When it happens the
> > application using it exits. I have noticed that exit_on_disconnect is set
> > to TRUE when a connection object is created. I have two questions
> > regarding this:
> > 1. What's the rationale behind calling _exit() on disconnection
> Because usually a program's lifetime is tied to the session it is part of
> the D-Bus session daemon's lifetime determines the session lifetime. So
> the server exits and closes the connection, most applications should clean
> and exit too.
> > 2. What can be the reason for dbus connection to disconnect?
> There are many reasons, including the server exiting or you sending invalid
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> Senior Product Manager - Nokia, Qt Development Frameworks
> PGP/GPG: 0x6EF45358; fingerprint:
> E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
> dbus mailing list
> dbus at lists.freedesktop.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dbus