<?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>118138</bug_id>
          
          <creation_ts>2013-06-27 08:15:22 -0700</creation_ts>
          <short_desc>[Qt][WK2] tst_QQuickWebView::removeFromCanvas() API tests fails.</short_desc>
          <delta_ts>2014-02-03 03:26:26 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>70236</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Gábor Ábrahám">abrhm</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abecsi</cc>
    
    <cc>hausmann</cc>
    
    <cc>jturcotte</cc>
    
    <cc>kadam</cc>
    
    <cc>ossy</cc>
    
    <cc>yoon</cc>
    
    <cc>zarvai</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>904249</commentid>
    <comment_count>0</comment_count>
    <who name="Gábor Ábrahám">abrhm</who>
    <bug_when>2013-06-27 08:15:22 -0700</bug_when>
    <thetext>Message on bot:
QFATAL : tst_QQuickWebView::removeFromCanvas() Received signal 11
FAIL!  : tst_QQuickWebView::removeFromCanvas() Received a fatal error.
   Loc: [Unknown file(0)]

I generated backtrace:

#0  0x00007ffff5515936 in WTFCrash () at /home/abrhm/webkit/WebKit/Source/WTF/wtf/Assertions.cpp:339
#1  0x00007ffff4c18da2 in WebCore::CoordinatedGraphicsScene::layerByID (this=0x73f130, id=67)
    at /home/abrhm/webkit/WebKit/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.h:126
#2  0x00007ffff4c1b3eb in WebCore::CoordinatedGraphicsScene::setRootLayerID (this=0x73f130, layerID=67)
    at /home/abrhm/webkit/WebKit/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:418
#3  0x00007ffff4c1c820 in WebCore::CoordinatedGraphicsScene::commitSceneState (this=0x73f130, state=...)
    at /home/abrhm/webkit/WebKit/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:624
#4  0x00007ffff3ac6e8f in WTF::FunctionWrapper&lt;void (WebCore::CoordinatedGraphicsScene::*)(WebCore::CoordinatedGraphicsState const&amp;)&gt;::operator() (this=0x741510, c=0x73f130, p1=...) at /home/abrhm/webkit/WebKit/Source/WTF/wtf/Functional.h:246
#5  0x00007ffff3ac6d03 in WTF::BoundFunctionImpl&lt;WTF::FunctionWrapper&lt;void (WebCore::CoordinatedGraphicsScene::*)(WebCore::CoordinatedGraphicsState const&amp;)&gt;, void (WebCore::CoordinatedGraphicsScene*, WebCore::CoordinatedGraphicsState)&gt;::operator()() (this=0x741500)
    at /home/abrhm/webkit/WebKit/Source/WTF/wtf/Functional.h:522
#6  0x00007ffff3c5bddd in WTF::Function&lt;void ()&gt;::operator()() const (this=0x6cefb0)
    at /home/abrhm/webkit/WebKit/Source/WTF/wtf/Functional.h:704
#7  0x00007ffff4c1cbb8 in WebCore::CoordinatedGraphicsScene::syncRemoteContent (this=0x73f130)
    at /home/abrhm/webkit/WebKit/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:679
#8  0x00007ffff4c19712 in WebCore::CoordinatedGraphicsScene::paintToCurrentGLContext (this=0x73f130, matrix=..., opacity=1, clipRect=..., 
    PaintFlags=0) at /home/abrhm/webkit/WebKit/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsScene.cpp:80
#9  0x00007ffff3cd980f in WebKit::ContentsSGNode::render (this=0x7fff743c85c0, state=...)
    at /home/abrhm/webkit/WebKit/Source/WebKit2/UIProcess/qt/QtWebPageSGNode.cpp:65
#10 0x00007ffff7983478 in QSGDefaultRenderer::renderNodes(QSGNode* const*, int) ()
   from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Quick.so.5
#11 0x00007ffff7983f83 in QSGDefaultRenderer::render() () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Quick.so.5
#12 0x00007ffff7989e59 in QSGRenderer::renderScene(QSGBindable const&amp;) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Quick.so.5
#13 0x00007ffff7989f87 in QSGRenderer::renderScene() () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Quick.so.5
#14 0x00007ffff7994054 in QSGContext::renderNextFrame(QSGRenderer*, unsigned int) ()
   from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Quick.so.5
#15 0x00007ffff79c3cce in QQuickWindowPrivate::renderSceneGraph(QSize const&amp;) () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Quick.so.5
#16 0x00007ffff7aaf2b7 in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Quick.so.5
#17 0x00007ffff26c3876 in ?? () from /usr/local/Trolltech/Qt5/Qt-5.0.1/lib/libQt5Core.so.5
#18 0x00007fffed8d1e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#19 0x00007ffff204cccd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#20 0x0000000000000000 in ?? ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>904569</commentid>
    <comment_count>1</comment_count>
    <who name="Gwang Yoon Hwang">yoon</who>
    <bug_when>2013-06-28 05:04:08 -0700</bug_when>
    <thetext>I&apos;ve found the problem of this failure.

When QtWebPageSGNode destructed, CoordinatedGraphicsScene clears its all of resources including m_registeredLayers during purgeGLResources but CoordinatedLayerTreeHost clears just backingstores.

To fix this failure, I think we need to destruct all of CoordinatedGraphicsLayers in CoordinatedLayerTreeHost during purgeBackingStore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>975752</commentid>
    <comment_count>2</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2014-02-03 03:26:26 -0800</bug_when>
    <thetext>=== Bulk closing of Qt bugs ===

If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.

If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>