[Webkit-unassigned] [Bug 132252] New: [GTK] Crash in debug build with removing windowed plugin child widgets from the view

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 28 03:36:59 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=132252

           Summary: [GTK] Crash in debug build with removing windowed
                    plugin child widgets from the view
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cgarcia at igalia.com
                CC: gns at gnome.org, zandobersek at gmail.com,
                    pnormand at igalia.com


It crashes due to an assert in HashTable that checks the iterators validity. The problem is that we are iterating the children map and the callback called on every iterator might modify the map, making the iterators invalid. This happens when the web view is destroyed, GtkContainer calls gtk_container_foreach() with gtk_widget_destroy as callback. When a widget inside a container is destroyed, it's removed from the container, and in our case, the child widget is removed from the map. This is causing several crashes when running layout tests in debug bot.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list