GNOME Bugzilla – Bug 683093
Crash in __tpf_persona_store_self_contact_changed_cb_g_object_notify
Last modified: 2012-09-10 18:08:34 UTC
I was testing some crazy new gabble branch ( https://bugs.freedesktop.org/show_bug.cgi?id=54287 ) and of course I made it crash. Looks like Folks ( 2dcbc92fc2707a96ea10ac70204544b7df42b143 ) found it fun and followed its lead.
+ Trace 230769
Well that’s interesting. Tpf.PersonaStore._conn appears to go from happy to null during the async FolksTpLowlevel.connection_get_alias_flags_async() call. Guillaume, could you provide some debug output from folks to confirm this please? I’d feel hesitant writing a patch without being a bit more sure that this is the cause. Assuming that is the problem, though, I guess the best solution would be to fix https://bugs.freedesktop.org/show_bug.cgi?id=14540 then. Once that’s fixed, folks can stop making an async call to get the alias flags (http://git.gnome.org/browse/folks/tree/backends/telepathy/lib/tpf-persona-store.vala#n775) and that would eliminate the possibility of the connection disappearing in the meantime.
I can't reproduce it unfortunatelly; I just happened once when doing some testing.
Related to bug #683386 ?
Created attachment 223827 [details] [review] Handle Telepathy connections disappearing during a ‘yield’ while connecting https://www.gitorious.org/folks/folks/commits/683093-tp-disconnect-during-yield How does this look?
Review of attachment 223827 [details] [review]: ++
Philip, thanks for the fix. Guillaume, thanks for testing it. Pushed to master.