<?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>69511</bug_id>
          
          <creation_ts>2011-10-06 03:43:05 -0700</creation_ts>
          <short_desc>[Qt] REGRESSION(r96779): It made svg/as-image/svg-nested.html timeout</short_desc>
          <delta_ts>2012-05-25 00:19:55 -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>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>30225</blocked>
    
    <blocked>79666</blocked>
    
    <blocked>79668</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
    
    <cc>arv</cc>
    
    <cc>cevans</cc>
    
    <cc>darin</cc>
    
    <cc>kbalazs</cc>
    
    <cc>lauro.neto</cc>
    
    <cc>ossy</cc>
    
    <cc>rhodovan.u-szeged</cc>
    
    <cc>webkit-sed</cc>
    
    <cc>zherczeg</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>479044</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-10-06 03:43:05 -0700</bug_when>
    <thetext>After http://trac.webkit.org/changeset/96779 this test always fails with timeout:
http://build.webkit.org/results/Qt%20Linux%20Release/r96779%20%2838208%29/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479207</commentid>
    <comment_count>1</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2011-10-06 09:34:58 -0700</bug_when>
    <thetext>The data URL for the SVG image now contains &lt;a&gt;&lt;a&gt;...&lt;/a&gt;&lt;/a&gt;. This used to be URL encoded.

Does Qt do something different for SVG images than other ports?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479212</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-10-06 09:38:50 -0700</bug_when>
    <thetext>This test introduced in http://trac.webkit.org/changeset/57263/trunk/LayoutTests/fast/images/svg-nested.html . (Chris or Adam, have you got any idea?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479218</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-10-06 09:43:45 -0700</bug_when>
    <thetext>We can URL encode them in the test, if that would be helpful.  The intent of that test is to create a very deeply nested DOM in the SVG image.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479220</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-10-06 09:44:03 -0700</bug_when>
    <thetext>(and to check that we don&apos;t crash when that happens)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479224</commentid>
    <comment_count>5</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2011-10-06 09:48:37 -0700</bug_when>
    <thetext>There should be no need to URL encode this data URL.

FYI: It does not time out on other ports and Qurl passes other tests that have markup (html) in a data URL.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>479226</commentid>
    <comment_count>6</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2011-10-06 09:50:45 -0700</bug_when>
    <thetext>I&apos;ll get the Qt port building on my machine so I can track this down</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>481944</commentid>
    <comment_count>7</comment_count>
    <who name="Erik Arvidsson">arv</who>
    <bug_when>2011-10-11 14:57:16 -0700</bug_when>
    <thetext>Here is a stack trace

#0  _wordcopy_fwd_dest_aligned (dstp=16305872, srcp=16305888, len=11580) at wordcopy.c:197
#1  0x00007ffff149873e in memmove (dest=0xf81db0, src=&lt;value optimized out&gt;, len=137996) at memmove.c:73
#2  0x00007ffff21f2474 in QByteArray::remove(int, int) () from /usr/local/Trolltech/Qt-4.7.4/lib/libQtCore.so.4
#3  0x00007ffff21f3f50 in QByteArray::replace(int, int, char const*, int) ()
  from /usr/local/Trolltech/Qt-4.7.4/lib/libQtCore.so.4
#4  0x00007ffff229ae86 in QUrl::setEncodedUrl(QByteArray const&amp;, QUrl::ParsingMode) ()
  from /usr/local/Trolltech/Qt-4.7.4/lib/libQtCore.so.4
#5  0x00007ffff229b6a6 in QUrl::fromEncoded(QByteArray const&amp;) () from /usr/local/Trolltech/Qt-4.7.4/lib/libQtCore.so.4
#6  0x00007ffff605acf5 in WebCore::KURL::operator QUrl (this=0xc0cf08) at ../../../Source/WebCore/platform/qt/KURLQt.cpp:40
#7  0x00007ffff6041409 in WebCore::ResourceRequest::toNetworkRequest (this=0xc0cf08, originatingFrame=0x94f0b0)
   at ../../../Source/WebCore/platform/network/qt/ResourceRequestQt.cpp:87
#8  0x00007ffff6045d47 in WebCore::QNetworkReplyHandler::QNetworkReplyHandler (this=0xc0c040, handle=0xc0aa20, 
   loadType=WebCore::QNetworkReplyHandler::AsynchronousLoad, deferred=false)
   at ../../../Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp:402
#9  0x00007ffff604074f in WebCore::ResourceHandle::start (this=0xc0aa20, context=0x985ff0)
   at ../../../Source/WebCore/platform/network/qt/ResourceHandleQt.cpp:112
#10 0x00007ffff5e22955 in WebCore::ResourceHandle::create (context=0x985ff0, request=..., client=0xc0b8e0, 
   defersLoading=false, shouldContentSniff=true) at ../../../Source/WebCore/platform/network/ResourceHandle.cpp:71</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>536714</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-01-16 12:47:45 -0800</bug_when>
    <thetext>Any update on why this is happening?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>547969</commentid>
    <comment_count>9</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-02-02 10:34:53 -0800</bug_when>
    <thetext>It is still valid. Any volunteer to pick it up?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>626450</commentid>
    <comment_count>10</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-17 04:34:29 -0700</bug_when>
    <thetext>Still valid now. Zoltán? AFAIK, you are searching a good debugging thing. :) It is debugging and SVG too. ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633249</commentid>
    <comment_count>11</comment_count>
    <who name="Lauro Moura Maranhao Neto">lauro.neto</who>
    <bug_when>2012-05-24 14:41:07 -0700</bug_when>
    <thetext>Using latest WebKit revision this test takes 10s on average running on Qt4 and under 1s on Qt5 (both WK1/WK2). Wouldn&apos;t it be better to move it to &quot;qt-4.8&quot; skip list instead of &quot;qt&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633272</commentid>
    <comment_count>12</comment_count>
    <who name="Balazs Kelemen">kbalazs</who>
    <bug_when>2012-05-24 14:59:45 -0700</bug_when>
    <thetext>(In reply to comment #11)
&gt; Using latest WebKit revision this test takes 10s on average running on Qt4 and under 1s on Qt5 (both WK1/WK2). Wouldn&apos;t it be better to move it to &quot;qt-4.8&quot; skip list instead of &quot;qt&quot;?

Best would be to fix it for Qt4, but if it&apos;s non-trivial and there is no volunteer for the task I support skipping it on Qt4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633628</commentid>
    <comment_count>13</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-25 00:07:18 -0700</bug_when>
    <thetext>I think I got the root of the problem. http://trac.webkit.org/changeset/114240 made QtWebKit use libxml instead of QtXmlPatterns, but for only Qt 5. It seems QtXmlPatterns are very very slow, but libxml is quite fast.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633636</commentid>
    <comment_count>14</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-25 00:13:17 -0700</bug_when>
    <thetext>Oh, I didn&apos;t see Comment7, it isn&apos;t libxml/QtXmlPatterns related, but QUrl related thing. But I don&apos;t think if anybody will fix it in Qt 4.8. (maybe Digia for commercial users)

But this test works fine on Qt 4.8 too, but it is very slow. So I marked it as SLOW - r118485. And the bug isn&apos;t in WebKit, but in Qt 4.8, so we can close it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>633639</commentid>
    <comment_count>15</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-25 00:19:55 -0700</bug_when>
    <thetext>Qt bug report, maybe somebody is interested in fixing it - https://bugreports.qt-project.org/browse/QTBUG-25907</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>