Bug 169172 - [GTK] ASSERTION FAILED: 2000 >= std::max(rect.width(), rect.height()) in WebKit::CoordinatedGraphicsScene::updateImageBacking when loading www.apple.com
Summary: [GTK] ASSERTION FAILED: 2000 >= std::max(rect.width(), rect.height()) in WebK...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-04 11:46 PST by Michael Catanzaro
Modified: 2018-06-18 07:03 PDT (History)
5 users (show)

See Also:


Attachments
Full backtrace (16.30 KB, text/plain)
2017-03-04 11:46 PST, Michael Catanzaro
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2017-03-04 11:46:47 PST
Created attachment 303400 [details]
Full backtrace

Try to load www.apple.com. It will crash:

ASSERTION FAILED: 2000 >= std::max(rect.width(), rect.height())
../../Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp(506) : void WebKit::CoordinatedGraphicsScene::updateImageBacking(WebCore::CoordinatedImageBackingID, WTF::PassRefPtr<WebCore::CoordinatedSurface>)

Full backtrace attached. Truncated backtrace:

#0  0x00007fae27183192 in WTFCrash ()
    at ../../Source/WTF/wtf/Assertions.cpp:323
#1  0x00007fae2f577020 in (anonymous namespace)::CoordinatedGraphicsScene::updateImageBacking (this=0x7fadbec23000, imageID=140384198738224, surface=...)
    at ../../Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:506
#2  0x00007fae2f576d52 in (anonymous namespace)::CoordinatedGraphicsScene::syncImageBackings (this=0x7fadbec23000, state=...)
    at ../../Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:483
#3  0x00007fae2f577548 in (anonymous namespace)::CoordinatedGraphicsScene::commitSceneState (this=0x7fadbec23000, state=...)
    at ../../Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:568
#4  0x00007fae2f5916fe in (anonymous namespace)::ThreadedCompositor::<lambda()>::operator()(void) const (__closure=0xd64b2d0)
    at ../../Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:215
#5  0x00007fae2f5934de in std::_Function_handler<void(), WebKit::ThreadedCompositor::updateSceneState(const WebCore::CoordinatedGraphicsState&)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...)
    at /usr/include/c++/6.3.1/functional:1731
#6  0x00007fae2f0c1f4c in std::function<void()>::operator()(void) const (
    this=0x7fadb93fba00) at /usr/include/c++/6.3.1/functional:2127
#7  0x00007fae2f5778e4 in (anonymous namespace)::CoordinatedGraphicsScene::syncRemoteContent (this=0x7fadbec23000)
    at ../../Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:622
#8  0x00007fae2f574c24 in (anonymous namespace)::CoordinatedGraphicsScene::paintToCurrentGLContext (this=0x7fadbec23000, matrix=..., opacity=1, clipRect=..., 
    backgroundColor=..., drawsBackground=false, contentPosition=..., 
    PaintFlags=1)
    at ../../Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:86
#9  0x00007fae2f591691 in (anonymous namespace)::ThreadedCompositor::renderLayerTree (this=0x7fadbe5c6000)
    at ../../Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:205
#10 0x00007fae2f59077d in (anonymous namespace)::ThreadedCompositor::<lambda()>::operator()(void) const (__closure=0x7fadbec182e0)
    at ../../Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:58
Comment 1 Adrian Perez 2018-06-15 08:54:10 PDT
Is this still relevant/happening? I cannot reproduce it with a
fresh build from toda's “trunk”.

Moreover, I would say this has not beeng happening for a good while.
I distinctively remember loading the Apple webpage by the end of
2017 to check the specs of laptops, and I am sure I have accessed
it a few times during the latest months.

Probably we can close this one, WDYT Michael?
Comment 2 Zan Dobersek 2018-06-18 07:03:45 PDT
The '>= 2000' condition hasn't changed, but content on apple.com might have.