GNOME Bugzilla – Bug 672980
tp_account_get_protocol: assertion `TP_IS_ACCOUNT (account)' failed
Last modified: 2012-03-31 19:48:34 UTC
I got this empathy-chat crash when I disconnected the network (using NM's applet) while having a chat open. (empathy-chat:6349): tp-glib-CRITICAL **: tp_account_get_protocol: assertion `TP_IS_ACCOUNT (account)' failed Program received signal SIGTRAP, Trace/breakpoint trap. 0x00007ffff56bc01c in g_logv (log_domain=0x7ffff7187d1e "tp-glib", log_level=G_LOG_LEVEL_CRITICAL, format=0x7ffff573f540 "%s: assertion `%s' failed", args1=0x7fffffffbc08) at gmessages.c:758 758 G_BREAKPOINT (); (gdb) bt full
+ Trace 229969
Created attachment 210764 [details] [review] tpf-persona: use tp_connection_get_account() telepathy-glib introduced API to get the TpAccount of a TpConnection so Folks doesn't have to do it manually. This has the nice side effect of fixing a crash when TpAccount/TpConnection are momentary out of sync while connecting/disconnecting accounts.
Review of attachment 210764 [details] [review]: Yay for code reduction! Please commit after adding a NEWS entry. Thanks.
Attachment 210764 [details] pushed as 278de0b - tpf-persona: use tp_connection_get_account()
*** Bug 672351 has been marked as a duplicate of this bug. ***