<?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>167470</bug_id>
          
          <creation_ts>2017-01-26 15:35:16 -0800</creation_ts>
          <short_desc>[GTK][Stable] Crashes on X since 2.14.3</short_desc>
          <delta_ts>2017-01-30 07:24:01 -0800</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>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>167296</dup_id>
          
          <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="Jan">EvilTwin1</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>clopez</cc>
    
    <cc>EvilTwin1</cc>
    
    <cc>magomez</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1270384</commentid>
    <comment_count>0</comment_count>
    <who name="Jan">EvilTwin1</who>
    <bug_when>2017-01-26 15:35:16 -0800</bug_when>
    <thetext>Since the update to 2.14.3 rolled in to arch and fedora I received bug-reports of crashes of the webkit webview in my application.
I myself can&apos;t reproduce the issue with my AMD card with radeonSI-drivers, but other people on intel or nvidia seem to be affected.
Downgrading the package to 2.14.2 solves the issue for all of them. Also logging into a wayland-session makes everything work again.
https://github.com/jangernert/FeedReader/issues/327
Sadly I myself can&apos;t provide any more information, since everything is working fine on my end.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1270413</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2017-01-26 16:09:56 -0800</bug_when>
    <thetext>One workaround is to disable accelerated compositing mode.

You can do that at runtime by exporting the environment variable WEBKIT_DISABLE_COMPOSITING_MODE=1 before starting FeedReader.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1270434</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-01-26 16:43:38 -0800</bug_when>
    <thetext>I looked through the GitHub issue but I don&apos;t see a backtrace there. You need to post a backtrace of the crash with debug symbols for relevant stack frames for us to investigate the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1270610</commentid>
    <comment_count>3</comment_count>
    <who name="Jan">EvilTwin1</who>
    <bug_when>2017-01-27 03:14:07 -0800</bug_when>
    <thetext>I&apos;ll try to convince someone who is experiencing the crashes to get a backtrace once more. But like I said, I myself am not affected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1270620</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2017-01-27 05:23:16 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; I&apos;ll try to convince someone who is experiencing the crashes to get a
&gt; backtrace once more. But like I said, I myself am not affected.

Question: are the users affected using the flatpak?

Then that would explain the issue, and it won&apos;t be a WebKitGTK+ bug but a flatpak one: https://github.com/flatpak/flatpak/issues/138

OpenGL-enabled applications only work inside a flatpak if the hosts uses the Mesa drivers. Machines with the Nvidia binary/proprietary driver won&apos;t be able to use any flatpack that requires OpenGL.... and WebKitGTK+ does require OpenGL by default (can&apos;t be disabled with that env var).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1270621</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2017-01-27 05:24:18 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; and WebKitGTK+ does require OpenGL by default (can&apos;t be disabled with that env var).
                                            I mean:  ^^^^^^^  can be disabled</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1270625</commentid>
    <comment_count>6</comment_count>
    <who name="Jan">EvilTwin1</who>
    <bug_when>2017-01-27 05:53:24 -0800</bug_when>
    <thetext>No, at least some of them compiled directly from source on their machine. And most of them are on the intel mesa-driver. I can&apos;t speak for all of them, but at least I know it&apos;s not strictly related to flatpak and nvidia binary-driver.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1270639</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-01-27 07:55:57 -0800</bug_when>
    <thetext>So without a backtrace there&apos;s obviously not anything we can do, hence I&apos;m going to close this, sorry. But if you can get a backtrace for this, please do comment or reopen and we&apos;ll definitely take a look. There are not so many commits between 2.12.2 and 2.12.3 so it should not be too hard to figure out what went wrong once we have a backtrace.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271127</commentid>
    <comment_count>8</comment_count>
    <who name="Jan">EvilTwin1</who>
    <bug_when>2017-01-29 09:56:25 -0800</bug_when>
    <thetext>Okay, someone managed to get a back-trace of the crash with debugging symbols :)

#0  0x000000004117be01 in  ()
#1  0x00007fab7740e464 in  () at /usr/lib/libnvidia-glcore.so.375.26
#2  0x00007fab76fe73a8 in  () at /usr/lib/libnvidia-glcore.so.375.26
#3  0x00007fabf53f5787 in WebCore::GraphicsContext3D::drawArrays(unsigned int, int, int) (this=0x7fabe070f900, mode=mode@entry=6, first=first@entry=0, count=count@entry=4)
    at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:713
#4  0x00007fabf53ae2eb in WebCore::TextureMapperGL::beginClip(WebCore::TransformationMatrix const&amp;, WebCore::FloatRect const&amp;) (this=0x7fabe07cb220, modelViewMatrix=..., targetRect=...)
    at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp:700
#5  0x00007fabf44533d2 in WebKit::CoordinatedGraphicsScene::paintToCurrentGLContext(WebCore::TransformationMatrix const&amp;, float, WebCore::FloatRect const&amp;, WebCore::Color const&amp;, bool, WebCore::FloatPoint const&amp;, unsigned int) (this=0x7fabe07843f0, matrix=..., opacity=opacity@entry=1, clipRect=..., backgroundColor=..., drawsBackground=&lt;optimized out&gt;, contentPosition=..., PaintFlags=0)
    at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:101
#6  0x00007fabf445c03b in WebKit::ThreadedCompositor::renderLayerTree() (this=0x7fabe076d9c0)
    at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:201
#7  0x00007fabf4459945 in WTF::Function&lt;void ()&gt;::operator()() const (this=0x7fabe078beb0) at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WTF/wtf/Function.h:50
#8  0x00007fabf4459945 in WebKit::CompositingRunLoop::&lt;lambda()&gt;::operator() (__closure=0x7fabe078bea8)
    at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp:136
#9  0x00007fabf4459945 in WTF::Function&lt;void()&gt;::CallableWrapper&lt;WebKit::CompositingRunLoop::performTaskSync(WTF::Function&lt;void()&gt;&amp;&amp;)::&lt;lambda()&gt; &gt;::call(void) (this=0x7fabe078bea0)
    at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WTF/wtf/Function.h:101
#10 0x00007fabf13d72b5 in WTF::Function&lt;void ()&gt;::operator()() const (this=&lt;synthetic pointer&gt;) at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WTF/wtf/Function.h:50
#11 0x00007fabf13d72b5 in WTF::RunLoop::performWork() (this=0x7fabe0785000) at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WTF/wtf/RunLoop.cpp:105
#12 0x00007fabf140d599 in WTF::RunLoop::&lt;lambda(gpointer)&gt;::operator() (__closure=0x0, userData=&lt;optimized out&gt;)
    at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WTF/wtf/glib/RunLoopGLib.cpp:66
#13 0x00007fabf140d599 in WTF::RunLoop::&lt;lambda(gpointer)&gt;::_FUN(gpointer) () at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WTF/wtf/glib/RunLoopGLib.cpp:68
#14 0x00007fabf184b43a in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#15 0x00007fabf184b7f0 in  () at /usr/lib/libglib-2.0.so.0
#16 0x00007fabf184bb12 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#17 0x00007fabf140dea0 in WTF::RunLoop::run() () at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WTF/wtf/glib/RunLoopGLib.cpp:94
#18 0x00007fabf140cade in WTF::WorkQueue::&lt;lambda()&gt;::operator() (__closure=0x7fab8d7fec40) at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WTF/wtf/generic/WorkQueueGeneric.cpp:58
#19 0x00007fabf140cade in std::_Function_handler&lt;void(), WTF::WorkQueue::platformInitialize(char const*, WTF::WorkQueue::Type, WTF::WorkQueue::QOS)::&lt;lambda()&gt; &gt;::_M_invoke(const std::_Any_data &amp;) (__functor=...) at /usr/include/c++/6.3.1/functional:1731
#20 0x00007fabf13d8275 in std::function&lt;void ()&gt;::operator()() const (this=0x7fab8d7fec40) at /usr/include/c++/6.3.1/functional:2127
#21 0x00007fabf13d8275 in WTF::threadEntryPoint(void*) (contextData=0x7fabe07f43c0) at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WTF/wtf/Threading.cpp:60
#22 0x00007fabf140affa in WTF::wtfThreadEntryPoint(void*) (param=0x7fabe07f95a0) at /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WTF/wtf/ThreadingPthreads.cpp:164
#23 0x00007fabefe60454 in start_thread () at /usr/lib/libpthread.so.0
#24 0x00007fabf39b77df in clone () at /usr/lib/libc.so.6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271141</commentid>
    <comment_count>9</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-01-29 12:31:07 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; Okay, someone managed to get a back-trace of the crash with debugging
&gt; symbols :)
&gt; 
&gt; #0  0x000000004117be01 in  ()
&gt; #1  0x00007fab7740e464 in  () at /usr/lib/libnvidia-glcore.so.375.26
&gt; #2  0x00007fab76fe73a8 in  () at /usr/lib/libnvidia-glcore.so.375.26
&gt; #3  0x00007fabf53f5787 in WebCore::GraphicsContext3D::drawArrays(unsigned
&gt; int, int, int) (this=0x7fabe070f900, mode=mode@entry=6, first=first@entry=0,
&gt; count=count@entry=4)
&gt;     at
&gt; /home/user/aur/webkit2gtk-unstable/src/webkitgtk-2.14.3/Source/WebCore/
&gt; platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:713

The missing stack frames at the top are discouraging, but I know there&apos;s not much you can do about that. If someone with a free software graphics driver is able to reproduce this crash, that would make this much more likely to be investigated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271189</commentid>
    <comment_count>10</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2017-01-29 22:18:22 -0800</bug_when>
    <thetext>Thanks for the bt. This was fixed in r211204, see bug #167296. I&apos;ll merge that in the stable branch before the next release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271231</commentid>
    <comment_count>11</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-01-30 05:53:48 -0800</bug_when>
    <thetext>Ah great! Let&apos;s close this then, so we don&apos;t forget to do so later. I&apos;ve added it to the proposed merges for 2.14.4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271243</commentid>
    <comment_count>12</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-01-30 07:24:01 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 167296 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>