<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>146949</bug_id>
          
          <creation_ts>2015-07-14 16:31:48 -0700</creation_ts>
          <short_desc>[GTK] Web process crash in WebKit::NetscapePlugin::platformGeometryDidChange</short_desc>
          <delta_ts>2020-08-17 06:47:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          <see_also>https://bugzilla.redhat.com/show_bug.cgi?id=1243159</see_also>
    
    <see_also>https://bugzilla.redhat.com/show_bug.cgi?id=1297617</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1109511</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-07-14 16:31:48 -0700</bug_when>
    <thetext>In the web process, WebKit::NetscapePlugin::platformGeometryDidChange calls gdk_x11_window_get_xid with a null GdkWindow:

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 _gdk_window_has_impl at gdkwindow.c:593
 #1 gdk_x11_window_get_xid at gdkwindow-x11.c:5527
 #2 WebKit::NetscapePlugin::platformGeometryDidChange at /usr/src/debug/webkitgtk-2.8.3/Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:264
 #3 WebKit::NetscapePlugin::geometryDidChange at /usr/src/debug/webkitgtk-2.8.3/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp:767
 #4 WebKit::PluginControllerProxy::geometryDidChange at /usr/src/debug/webkitgtk-2.8.3/Source/WebKit2/PluginProcess/PluginControllerProxy.cpp:437
 #5 callMemberFunctionImpl&lt;WebKit::PluginControllerProxy, void (WebKit::PluginControllerProxy::*)(WebCore::IntSize const&amp;, WebCore::IntRect const&amp;, WebCore::AffineTransform const&amp;, float, WebKit::ShareableBitmap::Handle const&amp;), std::tuple&lt;WebCore::IntSize, WebCore::IntRect, WebCore::AffineTransform, float, WebKit::ShareableBitmap::Handle&gt;, 0ul, 1ul, 2ul, 3ul, 4ul&gt; at /usr/src/debug/webkitgtk-2.8.3/Source/WebKit2/Platform/IPC/HandleMessage.h:16
 #6 callMemberFunction&lt;WebKit::PluginControllerProxy, void (WebKit::PluginControllerProxy::*)(WebCore::IntSize const&amp;, WebCore::IntRect const&amp;, WebCore::AffineTransform const&amp;, float, WebKit::ShareableBitmap::Handle const&amp;), std::tuple&lt;WebCore::IntSize, WebCore::IntRect, WebCore::AffineTransform, float, WebKit::ShareableBitmap::Handle&gt;, std::make_index_sequence&lt;5ul&gt; &gt; at /usr/src/debug/webkitgtk-2.8.3/Source/WebKit2/Platform/IPC/HandleMessage.h:22
 #7 handleMessage&lt;Messages::PluginControllerProxy::GeometryDidChange, WebKit::PluginControllerProxy, void (WebKit::PluginControllerProxy::*)(WebCore::IntSize const&amp;, WebCore::IntRect const&amp;, WebCore::AffineTransform const&amp;, float, WebKit::ShareableBitmap::Handle const&amp;)&gt; at /usr/src/debug/webkitgtk-2.8.3/Source/WebKit2/Platform/IPC/HandleMessage.h:92
 #8 WebKit::PluginControllerProxy::didReceivePluginControllerProxyMessage at /usr/src/debug/webkitgtk-2.8.3/x86_64-redhat-linux-gnu/DerivedSources/WebKit2/PluginControllerProxyMessageReceiver.cpp:77
 #9 WebKit::WebProcessConnection::didReceiveMessage at /usr/src/debug/webkitgtk-2.8.3/Source/WebKit2/PluginProcess/WebProcessConnection.cpp:140

This is with the Google Talk plugin. Full backtrace downstream, as usual.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1109612</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2015-07-15 05:49:44 -0700</bug_when>
    <thetext>Any way to reproduce it? does it happen just loading a page with hangouts plugin? We could just check that the window is not null, but I prefer to understand the problem to avoid hiding another issue with a null check workaround.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1109615</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-07-15 06:13:57 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Any way to reproduce it?

I will ask downstream, but generally the answer is &quot;random crash.&quot;

&gt; does it happen just loading a page with hangouts plugin?

I have unhappily used Hangouts in Epiphany before and it has always worked fine (actually you were in the room for that once :), so probably not, but it&apos;s a new crash if so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1113473</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-07-30 13:24:29 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Any way to reproduce it? does it happen just loading a page with hangouts
&gt; plugin? We could just check that the window is not null, but I prefer to
&gt; understand the problem to avoid hiding another issue with a null check
&gt; workaround.

Got a response: &quot;Unfortunately I cannot reliably reproduce it: it happens randomly. I have several crashes with Epiphany, so it&apos;s also hard for me to say if this specific crash is related to the Hangouts plugin or if it happens in other instances. Sorry :-|.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1680794</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2020-08-17 06:47:48 -0700</bug_when>
    <thetext>Plugins are no longer supported.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>