[Bug 23853] Crash with tp_connection_manager_got_protocols: assertion failed: (self->priv->found_protocols == NULL)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 14 22:12:37 CEST 2009


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


Simon McVittie <simon.mcvittie at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|mission-control             |tp-glib




--- Comment #4 from Simon McVittie <simon.mcvittie at collabora.co.uk>  2009-10-14 13:12:36 PST ---
This can happen in other telepathy-glib users, such as the accounts UI in Maemo
(and presumably also the accounts UI in Empathy, although I haven't seen it
happen there).

It's easier to reproduce on slow Maemo devices than on fast laptops, because
it's basically a race condition.

The crash occurs in the following situation:

* client calls ListProtocols [A] due to an initial
tp_connection_manager_activate() (self->running has not been set explicitly,
and is initially FALSE)
* client discovers that CM is definitely not running
* tp_connection_manager_end_introspection is called because the CM has been
discovered not to be running; it is wrongly assumed that there will be no reply
from [A]
* client calls ListProtocols [B] in an idle, because there's no .manager file
* CM starts up (it was activated by [A])
* ListProtocols [A] returns; its result is treated as if it was the result of
[B]
* ListProtocols [B] returns; crash!


-- 
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-bugs mailing list