[Webkit-unassigned] [Bug 121099] New: [WK2][GTK] Frequent crashes when showing context menus in Debug builds
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 10 09:48:58 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=121099
Summary: [WK2][GTK] Frequent crashes when showing context menus
in Debug builds
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: svillar at igalia.com
CC: xan.lopez at gmail.com, gns at gnome.org,
mrobinson at webkit.org, cgarcia at igalia.com
It's becoming quite common to get a crash in the UIProcess when showing context menus at least with Debug builds. After debugging it a bit it looks like the problem happens inside WebContextMenuProxyGtk::contextMenuItemVisibilityChanged, here
GOwnPtr<GList> items(gtk_container_get_children(GTK_CONTAINER(menu)));
Basically the problem is that the menu reference is invalid. That likely means that the menu was freed and then we're trying to use it. Since this is a signal callback the problem is likely that we aren't disconnecting the signals when destroying the context menu.
Patch to follow.
--
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