Bug 161444

Summary: [GTK] Plugin process crash in WebKit::NetscapePluginX11::visibilityDidChange
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bugs-noreply, mcatanzaro, mrobinson, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: PC   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=1371946

Description Michael Catanzaro 2016-08-31 11:29:36 PDT
Here's an evince browser plugin crash in WebKit::NetscapePluginX11::visibilityDidChange. After closing an Epiphany tab, WebKit calls gdk_x11_window_get_xid with a NULL GdkWindow:

Thread 1 (Thread 0x7f3255dc6ac0 (LWP 3682)):
#0  0x00007f324b294772 in _gdk_window_has_impl (window=<optimized out>) at gdkwindow.c:626
#1  0x00007f324b294772 in _gdk_window_has_impl (window=window@entry=0x0) at gdkwindow.c:627
#2  0x00007f324b2c798e in gdk_x11_window_get_xid (window=0x0) at gdkwindow-x11.c:5542
#3  0x00007f3253f1343a in WebKit::NetscapePluginX11::visibilityDidChange() (this=0x56156e41ec20) at /usr/src/debug/webkitgtk-2.12.4/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:267
        windowID = 0
#4  0x00007f3253cad366 in WebKit::PluginControllerProxy::visibilityDidChange(bool) (this=0x56156e42b230, isVisible=<optimized out>) at /usr/src/debug/webkitgtk-2.12.4/Source/WebKit2/PluginProcess/PluginControllerProxy.cpp:437

There's only one report of this ever happening (and it's mine). Full backtrace downstream.
Comment 1 Martin Robinson 2022-06-28 03:46:19 PDT
Support for plugins was removed in https://trac.webkit.org/changeset/265753/webkit.
Comment 2 Radar WebKit Bug Importer 2022-06-28 03:48:29 PDT
<rdar://problem/96050565>