Bug 161444 - [GTK] Plugin process crash in WebKit::NetscapePluginX11::visibilityDidChange
Summary: [GTK] Plugin process crash in WebKit::NetscapePluginX11::visibilityDidChange
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-08-31 11:29 PDT by Michael Catanzaro
Modified: 2022-06-28 03:48 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>