Bug 116854

Summary: [Qt] fast/workers/dedicated-worker-lifecycle.html crashes with enabled parallel GC
Product: WebKit Reporter: Ádám Kallai <kadam>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: allan.jensen, fpizlo, gavinp, noam, oliver, ossy, rgabor, szledan, zarvai, zherczeg
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 79668, 90957    

Ádám Kallai
Reported 2013-05-28 01:38:10 PDT
The layout test is failing with crash after r150751 (http://trac.webkit.org/changeset/150751). The crash appeared on 32bit Wk1/Wk2 bots but I could to reproduce it on Wk2 only. Could you check what happend to it? #0 0xf578abf2 in WTFCrash () at /home/kadam/webkit/WebKit/Source/WTF/wtf/Assertions.cpp:339 #1 0xf4e57ad1 in WebCore::GraphicsContext3D::shaderSource (this=0xeb204ea0, shader=<unknown type>, string=0xe4c6b5e4) at /home/kadam/webkit/WebKit/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:861 #2 0xf4e6ecfb in WebCore::TextureMapperShaderProgram::TextureMapperShaderProgram(WTF::PassRefPtr<WebCore::GraphicsContext3D>, WTF::String const&, WTF::String const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #3 0xf4e6f891 in WebCore::TextureMapperShaderProgram::create(WTF::PassRefPtr<WebCore::GraphicsContext3D>, unsigned int) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #4 0xf4e6244b in WebCore::TextureMapperGLData::SharedGLData::getShaderProgram (this=0xeb2085b0, options=<unknown type>) at /home/kadam/webkit/WebKit/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp:96 #5 0xf4e6464e in WebCore::TextureMapperGL::drawTexture (this=0xeb204b08, texture=<unknown type>, flags=0, textureSize=0xe4c6b734, targetRect=0xe4c6b778, modelViewMatrix=0xe4c6b830, opacity=1, exposedEdges=<unknown type>) at /home/kadam/webkit/WebKit/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp:626 #6 0xf4e6440b in WebCore::TextureMapperGL::drawTexture (this=0xeb204b08, texture=0xeb20a860, targetRect=0xe4c6b778, matrix=0xe4c6b830, opacity=1, exposedEdges=<unknown type>) at /home/kadam/webkit/WebKit/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp:589 #7 0xf4b3a50e in WebCore::TextureMapperTile::paint(WebCore::TextureMapper*, WebCore::TransformationMatrix const&, float, unsigned int) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #8 0xf4e72da9 in WebCore::CoordinatedBackingStore::paintTilesToTextureMapper(WTF::Vector<WebCore::TextureMapperTile*, 0u, WTF::CrashOnOverflow>&, WebCore::TextureMapper*, WebCore::TransformationMatrix const&, float, WebCore::FloatRect const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #9 0xf4e73121 in WebCore::CoordinatedBackingStore::paintToTextureMapper(WebCore::TextureMapper*, WebCore::FloatRect const&, WebCore::TransformationMatrix const&, float) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #10 0xf4b36fa0 in WebCore::TextureMapperLayer::paintSelf(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #11 0xf4b372ea in WebCore::TextureMapperLayer::paintSelfAndChildren(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #12 0xf4b377be in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #13 0xf4b38de0 in WebCore::TextureMapperLayer::paintRecursive(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #14 0xf4b3745b in WebCore::TextureMapperLayer::paintSelfAndChildren(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #15 0xf4b377be in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #16 0xf4b38de0 in WebCore::TextureMapperLayer::paintRecursive(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #17 0xf4b3745b in WebCore::TextureMapperLayer::paintSelfAndChildren(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #18 0xf4b377be in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #19 0xf4b38de0 in WebCore::TextureMapperLayer::paintRecursive(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #20 0xf4b3745b in WebCore::TextureMapperLayer::paintSelfAndChildren(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #21 0xf4b377be in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #22 0xf4b38de0 in WebCore::TextureMapperLayer::paintRecursive(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #23 0xf4b3745b in WebCore::TextureMapperLayer::paintSelfAndChildren(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #24 0xf4b377be in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #25 0xf4b38de0 in WebCore::TextureMapperLayer::paintRecursive(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #26 0xf4b3745b in WebCore::TextureMapperLayer::paintSelfAndChildren(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #27 0xf4b377be in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #28 0xf4b38de0 in WebCore::TextureMapperLayer::paintRecursive(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #29 0xf4b3745b in WebCore::TextureMapperLayer::paintSelfAndChildren(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #30 0xf4b377be in WebCore::TextureMapperLayer::paintSelfAndChildrenWithReplica(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #31 0xf4b38de0 in WebCore::TextureMapperLayer::paintRecursive(WebCore::TextureMapperPaintOptions const&) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #32 0xf4b36a49 in WebCore::TextureMapperLayer::paint() () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #33 0xf4e7b2a5 in WebCore::CoordinatedGraphicsScene::paintToCurrentGLContext(WebCore::TransformationMatrix const&, float, WebCore::FloatRect const&, unsigned int) () at /usr/include/c++/4.6/bits/stl_algobase.h:218 #34 0xf4074cab in WebKit::ContentsSGNode::render(QSGRenderNode::RenderState const&) () at /home/kadam/webkit/WebKit/Source/WTF/wtf/PassRefPtr.h:76 #35 0xf74d084d in QSGDefaultRenderer::renderNodes(QSGNode* const*, int) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Quick.so.5 #36 0xf74d133c in QSGDefaultRenderer::render() () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Quick.so.5 #37 0xf74d7d17 in QSGRenderer::renderScene(QSGBindable const&) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Quick.so.5 #38 0xf74d7e7d in QSGRenderer::renderScene() () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Quick.so.5 #39 0xf74e336e in QSGContext::renderNextFrame(QSGRenderer*, unsigned int) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Quick.so.5 #40 0xf7518174 in QQuickWindowPrivate::renderSceneGraph(QSize const&) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Quick.so.5 #41 0xf7616d79 in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Quick.so.5 #42 0xf2af8957 in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5 #43 0xf2a60d4c in start_thread (arg=0xe4c6eb40) at pthread_create.c:308 #44 0xf28baace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Attachments
Csaba Osztrogonác
Comment 1 2013-05-28 02:00:03 PDT
cc Zoltán, maybe you are interested in a GC related bug.
Allan Sandfeld Jensen
Comment 2 2013-05-28 03:54:39 PDT
This looks like glCreateShader fails
Csaba Osztrogonác
Comment 3 2013-05-28 05:52:16 PDT
I found the root of the problem. Again. :) The problem is the limited number of threads, see https://bugs.webkit.org/show_bug.cgi?id=88966#c8 for details. I set the stack size to 1M on the bots, and now both of these tests pass on WK1/WK2 in release/debug, so it's safe to unskip them. *** This bug has been marked as a duplicate of bug 88966 ***
Note You need to log in before you can comment on or make changes to this bug.