[Telepathy] [PATCH] fix segfault in got_contact_list_attributes_cb
Xavier Claessens
xclaesse at gmail.com
Sun Jan 6 01:44:58 PST 2013
Le dimanche 06 janvier 2013 à 02:01 +0300, Maksim Melnikau a écrit :
> tp_simple_client_factory_ensure_contact returns NULL for protocols, if
> tp_connection_has_immortal_handles=0. Right now its happened for any
> telepathy-python based protocols (butterfly, sunsine, mixer).
>
> when tp_simple_client_factory_ensure_contact returns NULL,
> tp_simple_client_factory_ensure_contact just segfault in
> _tp_contact_set_attributes.
>
> lets assume that contact sometimes NULL here, and skip them
telepathy-python is dead and all CM based on it as well. Lots of newer
client-side API in telepathy-glib assume that the CM implements newer
spec than what tp-python does. I don't think there is any point in
trying to avoid that.
You should really consider writing your CM using the C API of
telepathy-glib.
Regards,
Xavier Claessens.
More information about the telepathy
mailing list