GNOME Bugzilla – Bug 645488
Blocking linked contacts doesn't work and can crash empathy
Last modified: 2011-08-29 10:12:47 UTC
steps to reproduce: * Sign into account and add contact * sign into second account and add yourself * right click on first contact and link it with yourself * right click on first contact and block/report abusive entry is not removed from the menu, right-clicking on it will cause empathy to crash.
The notes above were from David Laban. I can't reproduce the crash, a backtrace would be appreciated. I can confirm that clicking remove-and-block on a metacontact doesn't do the removing, but it does work on a non-metacontact. It's not immediately obvious why. Possibly a logic flaw around empathy-individual-view.c:2412 ?
When trying to block (and report as abusive) a meta-contact composed of two contacts, one of which supports blocking / reporting as abusive, and the other doesn't, I get: empathy-CRITICAL **: tp_contact_list_set_blocked: assertion `TP_IS_CHANNEL (priv->deny)' failed aborting... Program received signal SIGABRT, Aborted. 0x00007fffee259165 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. in ../nptl/sysdeps/unix/sysv/linux/raise.c (gdb) bt
+ Trace 226430
Created attachment 184070 [details] [review] don't try to block personas that don't support blocking This fixes the critical for me, though now I get a segfault. That seems a different (folks) bug though.
Review of attachment 184070 [details] [review]: Looks good (both branches), but I suspect folks should be less facist about that.
Merged. I've reported the segfault as bug 645532. I'm closing this one, will reopen if there are more problems after that folks bug is fixed.