<?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>141648</bug_id>
          
          <creation_ts>2015-02-16 08:50:48 -0800</creation_ts>
          <short_desc>ASSERTION FAILED: !layerRect().isEmpty() in WebCore::TextureMapperLayer::paintSelf</short_desc>
          <delta_ts>2015-06-27 03:51:37 -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>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>116980</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Renata Hodovan">rhodovan.u-szeged</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>allan.jensen</cc>
    
    <cc>noam</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1069445</commentid>
    <comment_count>0</comment_count>
      <attachid>246653</attachid>
    <who name="Renata Hodovan">rhodovan.u-szeged</who>
    <bug_when>2015-02-16 08:50:48 -0800</bug_when>
    <thetext>Created attachment 246653
Test case

Load this test with debug WK and force it to lose focus (e.g. click somewhere outside the browser window):

&lt;!DOCTYPE html&gt;
&lt;style&gt;
* {
    -webkit-perspective:431.5pc;
    display:inline-block;
    direction: rtl;
    padding-right: 8009%;
}
&lt;/style&gt;
&lt;keygen autofocus&gt;
    &lt;video controls src=&quot;http://google.com&quot;&gt;&lt;/video&gt;
&lt;/keygen&gt;


Backtrace:

ASSERTION FAILED: !layerRect().isEmpty()
../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp(148) : void WebCore::TextureMapperLayer::paintSelf(const WebCore::TextureMapperPaintOptions&amp;)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff94ed1700 (LWP 30522)]
0x00007fffed74709f in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:321
321	    *(int *)(uintptr_t)0xbbadbeef = 0;
#0  0x00007fffed74709f in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:321
#1  0x00007ffff36f45af in WebCore::TextureMapperLayer::paintSelf (this=0x7fffd80ab6a0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:148
#2  0x00007ffff36f476f in WebCore::TextureMapperLayer::paintSelfAndChildren (this=0x7fffd80ab6a0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:164
#3  0x00007ffff36f4c73 in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica (this=0x7fffd80ab6a0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:219
#4  0x00007ffff36f697e in WebCore::TextureMapperLayer::paintRecursive (this=0x7fffd80ab6a0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:433
#5  0x00007ffff36f495f in WebCore::TextureMapperLayer::paintSelfAndChildren (this=0x7fffd8017ee0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:179
#6  0x00007ffff36f4c73 in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica (this=0x7fffd8017ee0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:219
#7  0x00007ffff36f697e in WebCore::TextureMapperLayer::paintRecursive (this=0x7fffd8017ee0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:433
#8  0x00007ffff36f495f in WebCore::TextureMapperLayer::paintSelfAndChildren (this=0x7fffd8044260, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:179
#9  0x00007ffff36f4c73 in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica (this=0x7fffd8044260, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:219
#10 0x00007ffff36f697e in WebCore::TextureMapperLayer::paintRecursive (this=0x7fffd8044260, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:433
#11 0x00007ffff36f495f in WebCore::TextureMapperLayer::paintSelfAndChildren (this=0x7fffd80a9ea0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:179
#12 0x00007ffff36f4c73 in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica (this=0x7fffd80a9ea0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:219
#13 0x00007ffff36f697e in WebCore::TextureMapperLayer::paintRecursive (this=0x7fffd80a9ea0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:433
#14 0x00007ffff36f495f in WebCore::TextureMapperLayer::paintSelfAndChildren (this=0x7fffd80a96a0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:179
#15 0x00007ffff36f4c73 in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica (this=0x7fffd80a96a0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:219
#16 0x00007ffff36f697e in WebCore::TextureMapperLayer::paintRecursive (this=0x7fffd80a96a0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:433
#17 0x00007ffff36f495f in WebCore::TextureMapperLayer::paintSelfAndChildren (this=0x7fffd8044a60, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:179
#18 0x00007ffff36f4c73 in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica (this=0x7fffd8044a60, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:219
#19 0x00007ffff36f697e in WebCore::TextureMapperLayer::paintRecursive (this=0x7fffd8044a60, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:433
#20 0x00007ffff36f495f in WebCore::TextureMapperLayer::paintSelfAndChildren (this=0x7fffd80aaea0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:179
#21 0x00007ffff36f4c73 in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica (this=0x7fffd80aaea0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:219
#22 0x00007ffff36f697e in WebCore::TextureMapperLayer::paintRecursive (this=0x7fffd80aaea0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:433
#23 0x00007ffff36f495f in WebCore::TextureMapperLayer::paintSelfAndChildren (this=0x7fffd80aa6a0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:179
#24 0x00007ffff36f4c73 in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica (this=0x7fffd80aa6a0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:219
#25 0x00007ffff36f697e in WebCore::TextureMapperLayer::paintRecursive (this=0x7fffd80aa6a0, options=...) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:433
#26 0x00007ffff36f3d1c in WebCore::TextureMapperLayer::paint (this=0x7fffd80aa6a0) at ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:84
#27 0x00007ffff29ab7b8 in WebKit::LayerTreeHostGtk::compositeLayersToContext (this=0x7fffd97f6578, purpose=WebKit::LayerTreeHostGtk::NotForResize) at ../../Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:308
#28 0x00007ffff29ab8ce in WebKit::LayerTreeHostGtk::flushAndRenderLayers (this=0x7fffd97f6578) at ../../Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:332
#29 0x00007ffff29ab284 in WebKit::LayerTreeHostGtk::layerFlushTimerFired (this=0x7fffd97f6578) at ../../Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:251
#30 0x00007ffff29acff5 in std::_Mem_fn&lt;void (WebKit::LayerTreeHostGtk::*)()&gt;::operator()&lt;, void&gt;(WebKit::LayerTreeHostGtk*) const (this=0xcd50e0, __object=0x7fffd97f6578) at /usr/include/c++/4.8/functional:601
#31 0x00007ffff29acf54 in std::_Bind&lt;std::_Mem_fn&lt;void (WebKit::LayerTreeHostGtk::*)()&gt; (WebKit::LayerTreeHostGtk*)&gt;::__call&lt;void, , 0ul&gt;(std::tuple&lt;&gt;&amp;&amp;, std::_Index_tuple&lt;0ul&gt;) (this=0xcd50e0, __args=&lt;unknown type in /home/reni/data/REPOS/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0xb8619ff, DIE 0xb948a58&gt;) at /usr/include/c++/4.8/functional:1296
#32 0x00007ffff29acde6 in std::_Bind&lt;std::_Mem_fn&lt;void (WebKit::LayerTreeHostGtk::*)()&gt; (WebKit::LayerTreeHostGtk*)&gt;::operator()&lt;, void&gt;() (this=0xcd50e0) at /usr/include/c++/4.8/functional:1355
#33 0x00007ffff29acad9 in std::_Function_handler&lt;void (), std::_Bind&lt;std::_Mem_fn&lt;void (WebKit::LayerTreeHostGtk::*)()&gt; (WebKit::LayerTreeHostGtk*)&gt; &gt;::_M_invoke(std::_Any_data const&amp;) (__functor=...) at /usr/include/c++/4.8/functional:2071
#34 0x00007ffff253eb9e in std::function&lt;void ()&gt;::operator()() const (this=0x7fffffffd548) at /usr/include/c++/4.8/functional:2464
#35 0x00007fffed791c1c in WTF::GMainLoopSource::voidCallback (this=0x7fffd97f65d8) at ../../Source/WTF/wtf/gobject/GMainLoopSource.cpp:365
#36 0x00007fffed79238d in WTF::GMainLoopSource::voidSourceCallback (source=0x7fffd97f65d8) at ../../Source/WTF/wtf/gobject/GMainLoopSource.cpp:456
#37 0x00007fffea55aa1d in g_main_dispatch (context=0x478b00) at gmain.c:3064
#38 g_main_context_dispatch (context=context@entry=0x478b00) at gmain.c:3663
#39 0x00007fffea55ad88 in g_main_context_iterate (context=0x478b00, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at gmain.c:3734
#40 0x00007fffea55b04a in g_main_loop_run (loop=0x901d10) at gmain.c:3928
#41 0x00007ffff44b7750 in WTF::RunLoop::run () at ../../Source/WTF/wtf/gtk/RunLoopGtk.cpp:59
#42 0x00007ffff29a854c in WebKit::ChildProcessMain&lt;WebKit::WebProcess, WebKit::WebProcessMain&gt; (argc=2, argv=0x7fffffffd8e8) at ../../Source/WebKit2/Shared/unix/ChildProcessMain.h:61
#43 0x00007ffff29a83b1 in WebKit::WebProcessMainUnix (argc=2, argv=0x7fffffffd8e8) at ../../Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp:77
#44 0x00000000004008d1 in main (argc=2, argv=0x7fffffffd8e8) at ../../Source/WebKit2/WebProcess/EntryPoint/unix/WebProcessMain.cpp:44</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1105169</commentid>
    <comment_count>1</comment_count>
    <who name="Renata Hodovan">rhodovan.u-szeged</who>
    <bug_when>2015-06-27 03:51:37 -0700</bug_when>
    <thetext>Cannot repro this anymore.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>246653</attachid>
            <date>2015-02-16 08:50:48 -0800</date>
            <delta_ts>2015-02-16 08:50:48 -0800</delta_ts>
            <desc>Test case</desc>
            <filename>crash.html</filename>
            <type>text/html</type>
            <size>225</size>
            <attacher name="Renata Hodovan">rhodovan.u-szeged</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxzdHlsZT4KKiB7CiAgICAtd2Via2l0LXBlcnNwZWN0aXZlOjQzMS41
cGM7CiAgICBkaXNwbGF5OmlubGluZS1ibG9jazsKICAgIGRpcmVjdGlvbjogcnRsOwogICAgcGFk
ZGluZy1yaWdodDogODAwOSU7Cn0KPC9zdHlsZT4KPGtleWdlbiBhdXRvZm9jdXM+CiAgICA8dmlk
ZW8gY29udHJvbHMgc3JjPSJodHRwOi8vZ29vZ2xlLmNvbSI+PC92aWRlbz4KPC9rZXlnZW4+
</data>

          </attachment>
      

    </bug>

</bugzilla>