GNOME Bugzilla – Bug 346662
epiphany crashes with latest GTK+
Last modified: 2011-09-12 18:48:31 UTC
if you go to epiphany's history, select several entries from the right side pane (titles of webpages visited) and then hit delete, epiphany will crash. I'm using epiphany HEAD, don't know if the problem is en GTK+ or epiphany. On the console i can see: Gtk-CRITICAL **: gtk_tree_model_filter_convert_iter_to_child_iter: assertion `filter_iter->stamp == filter->priv->stamp' failed aborting... The backtrace is:
+ Trace 69203
Looks like Epiphany is passing invalid iterators to the filter conversion function ...
Created attachment 68749 [details] [review] workaround With this patch applied, I cannot reproduce the problem anymore. It works around the bug by not updating the selection while we're removing the nodes.
I committed the work-around to gnome-2-14 and HEAD; leaving open for a real fix.
*** Bug 342915 has been marked as a duplicate of this bug. ***
Why is the patch a work-around? The EphyNodeView needs some kind of mutual exclusion to ensure that it is not iterated over while it is being deleted from, doesn't it?
It's a work-around because I think the problem is that the model thinks the node still exists while it's been already removed. However since the patch fixes the crash, I'm moving this off the 2.16.x milestone (however leaving it open until EphyNode dies or someone finds the real bug in the node model or node filter model).
(#351814 has a possible gtk+ patch which makes epiphany with the workaround above reverted work without crashes).
I haven't been able to reproduce this crash on fedora with the latest epiphany release.
(In reply to comment #8) > I haven't been able to reproduce this crash on fedora with the latest epiphany > release. Me neither.