GNOME Bugzilla – Bug 679618
Crash when unsetting all groups
Last modified: 2012-07-09 20:20:03 UTC
I get this crash when calling this piece of code to remove an individual from all his groups: GeeSet *empty; empty = gee_set_empty (G_TYPE_STRING, NULL, NULL); folks_group_details_change_groups (FOLKS_GROUP_DETAILS (individual), empty, NULL, NULL); g_object_unref (empty); ERROR:hashset.c:944:gee_hash_set_iterator_real_next: assertion failed: (_tmp0_ == _tmp2_)
+ Trace 230487
commit 0ab719394bd763554dfd534b389728d4dbd040e0 Author: Philip Withnall <philip@tecnocode.co.uk> Date: Mon Jul 9 21:18:41 2012 +0100 Bug 679618 — Crash when unsetting all groups Rework the group changing code in Tpf.Persona so that: 1. change_groups() no longer changes the set of groups while iterating over it; and 2. batch Telepathy calls are made where possible, rather than one call per group change. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=679618 NEWS | 1 + backends/telepathy/lib/tpf-persona.vala | 30 ++++++++++-------------------- 2 files changed, 11 insertions(+), 20 deletions(-)