Roster filter crashes gajim 1.0.0
The problem
Gajim crashes with 100% incidence when filtering contacts in roster.
Versions
- OS: Debian GNU/Linux stable/testing 64bit
- Gajim version: 1.0.0beta1 from gajim's repositories
- GTK version: 3.22.26
- Python-nbxmpp version: 0.6.3
Steps to reproduce the problem
- In roster window hide offline contacts.
- Use filter. Sometimes it goes fine on first filter input. The next one (different input) then crashes gajim. Other times gajim crashes with first keystroke.
- Gajim crashes.
Note: My roster structure uses both metacontacts and subgroups (one-level).
Details
The problem seems to only manifest (for me at least) with offline contacts hidden. When all contacts are visible in the roster, the problem does not occur.
Terminal output shows:
/usr/lib/python3/dist-packages/gajim/roster_window.py:216: Warning: g_sequence_iter_get_position: assertion 'iter != NULL' failed
(ok, it) = self.modelfilter.convert_child_iter_to_iter(it)
**
Gtk:ERROR:../../../../gtk/gtkrbtree.c:471:_gtk_rbtree_insert_after: assertion failed: (_gtk_rbtree_is_nil (tree->root))
Aborted
or sometimes (less frequently)
(gajim:31721): Gtk-CRITICAL **: ../../../../gtk/gtktreeview.c:6664 (validate_visible_area): assertion `has_child' failed.
There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel. This generally means that the model has changed
without letting the view know. Any display from now on is likely to
be incorrect.
(gajim:31721): Gtk-CRITICAL **: ../../../../gtk/gtktreeview.c:5544 (gtk_tree_view_bin_draw): assertion `has_child' failed.
There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel. This generally means that the model has changed
without letting the view know. Any display from now on is likely to
be incorrect.
**
Gtk:ERROR:../../../../gtk/gtkrbtree.c:471:_gtk_rbtree_insert_after: assertion failed: (_gtk_rbtree_is_nil (tree->root))
Aborted
Thanks and regards, Jan Janský