RESOLVED WORKSFORME 141648
ASSERTION FAILED: !layerRect().isEmpty() in WebCore::TextureMapperLayer::paintSelf
https://bugs.webkit.org/show_bug.cgi?id=141648
Summary ASSERTION FAILED: !layerRect().isEmpty() in WebCore::TextureMapperLayer::pain...
Renata Hodovan
Reported 2015-02-16 08:50:48 PST
Created attachment 246653 [details] Test case Load this test with debug WK and force it to lose focus (e.g. click somewhere outside the browser window): <!DOCTYPE html> <style> * { -webkit-perspective:431.5pc; display:inline-block; direction: rtl; padding-right: 8009%; } </style> <keygen autofocus> <video controls src="http://google.com"></video> </keygen> Backtrace: ASSERTION FAILED: !layerRect().isEmpty() ../../Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp(148) : void WebCore::TextureMapperLayer::paintSelf(const WebCore::TextureMapperPaintOptions&) 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<void (WebKit::LayerTreeHostGtk::*)()>::operator()<, void>(WebKit::LayerTreeHostGtk*) const (this=0xcd50e0, __object=0x7fffd97f6578) at /usr/include/c++/4.8/functional:601 #31 0x00007ffff29acf54 in std::_Bind<std::_Mem_fn<void (WebKit::LayerTreeHostGtk::*)()> (WebKit::LayerTreeHostGtk*)>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) (this=0xcd50e0, __args=<unknown type in /home/reni/data/REPOS/webkit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37, CU 0xb8619ff, DIE 0xb948a58>) at /usr/include/c++/4.8/functional:1296 #32 0x00007ffff29acde6 in std::_Bind<std::_Mem_fn<void (WebKit::LayerTreeHostGtk::*)()> (WebKit::LayerTreeHostGtk*)>::operator()<, void>() (this=0xcd50e0) at /usr/include/c++/4.8/functional:1355 #33 0x00007ffff29acad9 in std::_Function_handler<void (), std::_Bind<std::_Mem_fn<void (WebKit::LayerTreeHostGtk::*)()> (WebKit::LayerTreeHostGtk*)> >::_M_invoke(std::_Any_data const&) (__functor=...) at /usr/include/c++/4.8/functional:2071 #34 0x00007ffff253eb9e in std::function<void ()>::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=<optimized out>) 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<WebKit::WebProcess, WebKit::WebProcessMain> (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
Attachments
Test case (225 bytes, text/html)
2015-02-16 08:50 PST, Renata Hodovan
no flags
Renata Hodovan
Comment 1 2015-06-27 03:51:37 PDT
Cannot repro this anymore.
Note You need to log in before you can comment on or make changes to this bug.