[Telepathy] [Bug 14877] New: s-e must request its name to dbus-daemon *after* it has created the object path

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 7 04:36:00 PST 2008


http://bugs.freedesktop.org/show_bug.cgi?id=14877

           Summary: s-e must request its name to dbus-daemon *after* it has
                    created the object path
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: stream-engine
        AssignedTo: telepathy at lists.freedesktop.org
        ReportedBy: alban.crequy at collabora.co.uk


When I start stream-engine in a console, I can successfuly call with Empathy.

But when I let the D-Bus activation starting stream-engine, the call never
succeeds and I don't see the preview video. Empathy complains that a
stream-engine method does not exist on the bus:

TpCall: Error calling handle channel: Method "HandleChannel" with signature
"sosouu" on interface "org.freedesktop.Telepathy.ChannelHandler" doesn't exist

However stream-engine doesn't crash and I see the method exists on the bus.


This is a race when stream-engine starts. In current stream-engine code, the
well-known name is requested before the object is created. See function
tp_stream_engine_register() in stream-engine/src/tp-stream-engine.c:

1. tp_cli_dbus_daemon_run_request_name()
2. dbus_g_connection_register_g_object()
3. register_dbus_signal_marshallers()

This order is wrong.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Telepathy mailing list