[Webkit-unassigned] [Bug 157605] [GTK] Browser plugins crash under Wayland
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 9 00:35:49 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=157605
--- Comment #7 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #6)
> The plugin process is creating a GtkPlug before it crashes, but I don't
> think it's being created anywhere inside WebKit. Yes, I know that doesn't
> make sense, but our only use of gtk_plug_new is in NetscapePluginX11.cpp in
> the constructor, and I've added WTFLogAlways and ASSERT_NOT_REACHED at the
> top of the constructor and it's definitely not being called. I even checked
> to make sure we're not passing GTK_TYPE_PLUG directly to g_object_new
> anywhere.
>
> Anyway, PluginProxy::geometryDidChange and then
> NetscapePlugin::geometryDidChange are both being called before the crash.
> It's not so unexpected because this is the evince browser plugin, it's a
> windowed plugin; the code to stop us from creating a windowed plugin under
> Wayland must not be working.
>
> Related: it's quite frustrating that we have the NetscapePlugin class under
> the WebProcess directory when it's also used by the plugin process; makes
> everything needlessly confusing. ;/
Ah, it must be EvBrowserPlugin::setWindow() the one creating the plug. That shouldn't be called when we don't have an X11 implementation, but we can probably just fail the initialization when we don't have a platform implementation and the plugin is windowed.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160609/a385311d/attachment.html>
More information about the webkit-unassigned
mailing list