<?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>82052</bug_id>
          
          <creation_ts>2012-03-23 06:48:23 -0700</creation_ts>
          <short_desc>[Qt] REGRESSION(r111480): It made svg/as-image and svg/as-objects tests assert</short_desc>
          <delta_ts>2012-05-14 03:50: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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>78315</blocked>
    
    <blocked>79668</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Tim Horton">thorton</assigned_to>
          <cc>kkristof</cc>
    
    <cc>krit</cc>
    
    <cc>loki</cc>
    
    <cc>morrita</cc>
    
    <cc>ossy</cc>
    
    <cc>rhodovan.u-szeged</cc>
    
    <cc>thorton</cc>
    
    <cc>zarvai</cc>
    
    <cc>zherczeg</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>586294</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-03-23 06:48:23 -0700</bug_when>
    <thetext>You can easily reproduce it: $Tools/Scripts/old-run-webkit-tests --debug svg/as-image

first run:
svg/as-image/img-preserveAspectRatio-support-2.html -&gt; crashed
svg/as-image/svg-image-leak-loader.html -&gt; crashed

second run:
svg/as-image/animated-svg-as-image.html -&gt; crashed
svg/as-image/svg-image-leak-loader.html -&gt; crashed

...


ASSERTION FAILED: !needsLayout()
../../../../Source/WebCore/page/FrameView.cpp(2958) : virtual void WebCore::FrameView::paintContents(WebCore::GraphicsContext*, const WebCore::IntRect&amp;)
1   0x7f2bc7c28b27 /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::FrameView::paintContents(WebCore::GraphicsContext*, WebCore::IntRect const&amp;)+0x25f) [0x7f2bc7c28b27]
2   0x7f2bc7d2b811 /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::ScrollView::paint(WebCore::GraphicsContext*, WebCore::IntRect const&amp;)+0x4ab) [0x7f2bc7d2b811]
3   0x7f2bc8155d89 /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::SVGImage::draw(WebCore::GraphicsContext*, WebCore::FloatRect const&amp;, WebCore::FloatRect const&amp;, WebCore::ColorSpace, WebCore::CompositeOperator)+0x3a3) [0x7f2bc8155d89]
4   0x7f2bc81558f3 /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::SVGImage::drawSVGToImageBuffer(WebCore::ImageBuffer*, WebCore::IntSize const&amp;, float, WebCore::SVGImage::ShouldClearBuffer)+0x321) [0x7f2bc81558f3]
5   0x7f2bc8158bf9 /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::SVGImageCache::redraw()+0x13b) [0x7f2bc8158bf9]
6   0x7f2bc8158a87 /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::SVGImageCache::imageContentChanged()+0x113) [0x7f2bc8158a87]
7   0x7f2bc7b06e9e /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::CachedImage::changedInRect(WebCore::Image const*, WebCore::IntRect const&amp;)+0x7e) [0x7f2bc7b06e9e]
8   0x7f2bc815490b /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::SVGImageChromeClient::invalidateContentsAndRootView(WebCore::IntRect const&amp;, bool)+0x93) [0x7f2bc815490b]
9   0x7f2bc7bbe94c /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::Chrome::invalidateContentsAndRootView(WebCore::IntRect const&amp;, bool)+0x42) [0x7f2bc7bbe94c]
10  0x7f2bc7d2abc9 /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::ScrollView::repaintContentRectangle(WebCore::IntRect const&amp;, bool)+0x19d) [0x7f2bc7d2abc9]
11  0x7f2bc7c2442c /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::FrameView::doDeferredRepaints()+0x19e) [0x7f2bc7c2442c]
12  0x7f2bc7c24184 /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::FrameView::endDeferredRepaints()+0x138) [0x7f2bc7c24184]
13  0x7f2bc7c21269 /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::FrameView::layout(bool)+0xcbb) [0x7f2bc7c21269]
14  0x7f2bc7c24783 /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::FrameView::layoutTimerFired(WebCore::Timer&lt;WebCore::FrameView&gt;*)+0x21) [0x7f2bc7c24783]
15  0x7f2bc7c31518 /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::Timer&lt;WebCore::FrameView&gt;::fired()+0x6e) [0x7f2bc7c31518]
16  0x7f2bc7d4a3e2 /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::ThreadTimers::sharedTimerFiredInternal()+0xc6) [0x7f2bc7d4a3e2]
17  0x7f2bc7d4a319 /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::ThreadTimers::sharedTimerFired()+0x19) [0x7f2bc7d4a319]
18  0x7f2bc801ad1a /home/oszi/WebKit/WebKitBuild/Debug/lib/libQtWebKit.so.4(WebCore::SharedTimerQt::timerEvent(QTimerEvent*)+0x6a) [0x7f2bc801ad1a]
19  0x7f2bc0c0e519 /usr/local/Trolltech/Qt-4.8.0/lib/libQtCore.so.4(QObject::event(QEvent*)+0xa9) [0x7f2bc0c0e519]
20  0x7f2bc14ca19c /usr/local/Trolltech/Qt-4.8.0/lib/libQtGui.so.4(QApplicationPrivate::notify_helper(QObject*, QEvent*)+0xac) [0x7f2bc14ca19c]
21  0x7f2bc14d106d /usr/local/Trolltech/Qt-4.8.0/lib/libQtGui.so.4(QApplication::notify(QObject*, QEvent*)+0x13d) [0x7f2bc14d106d]
22  0x7f2bc0bfc0ec /usr/local/Trolltech/Qt-4.8.0/lib/libQtCore.so.4(QCoreApplication::notifyInternal(QObject*, QEvent*)+0x8c) [0x7f2bc0bfc0ec]
23  0x7f2bc0c3052e /usr/local/Trolltech/Qt-4.8.0/lib/libQtCore.so.4(+0x1cf52e) [0x7f2bc0c3052e]
24  0x7f2bc0c2d47d /usr/local/Trolltech/Qt-4.8.0/lib/libQtCore.so.4(+0x1cc47d) [0x7f2bc0c2d47d]
25  0x7f2bc2e486f2 /lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f2) [0x7f2bc2e486f2]
26  0x7f2bc2e4c568 /lib/libglib-2.0.so.0(+0x42568) [0x7f2bc2e4c568]
27  0x7f2bc2e4c71c /lib/libglib-2.0.so.0(g_main_context_iteration+0x6c) [0x7f2bc2e4c71c]
28  0x7f2bc0c2d163 /usr/local/Trolltech/Qt-4.8.0/lib/libQtCore.so.4(QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;)+0x73) [0x7f2bc0c2d163]
29  0x7f2bc1576a9e /usr/local/Trolltech/Qt-4.8.0/lib/libQtGui.so.4(+0x2c2a9e) [0x7f2bc1576a9e]
30  0x7f2bc0bfaca2 /usr/local/Trolltech/Qt-4.8.0/lib/libQtCore.so.4(QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;)+0x32) [0x7f2bc0bfaca2]
31  0x7f2bc0bfb114 /usr/local/Trolltech/Qt-4.8.0/lib/libQtCore.so.4(QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;)+0x164) [0x7f2bc0bfb114]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>586297</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-03-23 07:01:24 -0700</bug_when>
    <thetext>Similar bug: https://bugs.webkit.org/show_bug.cgi?id=79631</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>586300</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-03-23 07:02:15 -0700</bug_when>
    <thetext>tests skipped - http://trac.webkit.org/changeset/111857</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>589714</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-03-28 00:35:08 -0700</bug_when>
    <thetext>*** Bug 82434 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>589715</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-03-28 00:36:36 -0700</bug_when>
    <thetext>Tim, Hajime, could you check and fix the regression you caused, please?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>589716</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-03-28 00:37:09 -0700</bug_when>
    <thetext>New failing tests skipped by r112370</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>589795</commentid>
    <comment_count>6</comment_count>
    <who name="Kristóf Kosztyó">kkristof</who>
    <bug_when>2012-03-28 02:57:36 -0700</bug_when>
    <thetext>the svg/as-object tests also start to assert
I skipped them in r112378 http://trac.webkit.org/changeset/112378</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>592077</commentid>
    <comment_count>7</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-03-30 05:12:22 -0700</bug_when>
    <thetext>Set priority to P1, because crashes/asserts are always serious problems. (But I don&apos;t think if anybody is interested in fixing bugs ...)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>592127</commentid>
    <comment_count>8</comment_count>
    <who name="Zoltan Arvai">zarvai</who>
    <bug_when>2012-03-30 06:40:18 -0700</bug_when>
    <thetext>Other asserting test skipped in r112662: 

svg/zoom/page/zoom-mask-with-percentages.svg 
http://trac.webkit.org/changeset/112662</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>592297</commentid>
    <comment_count>9</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2012-03-30 10:57:37 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; Set priority to P1, because crashes/asserts are always serious problems. (But I don&apos;t think if anybody is interested in fixing bugs ...)

I&apos;ll take it, since I&apos;ve seen reports of it happening on Mac too, intermittently. Ugh.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>596715</commentid>
    <comment_count>10</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2012-04-05 11:06:06 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; (In reply to comment #7)
&gt; &gt; Set priority to P1, because crashes/asserts are always serious problems. (But I don&apos;t think if anybody is interested in fixing bugs ...)
&gt; 
&gt; I&apos;ll take it, since I&apos;ve seen reports of it happening on Mac too, intermittently. Ugh.

Stephen managed to make this reproduce and (thankfully) fixed it!

See if http://trac.webkit.org/changeset/113323 helps.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>597269</commentid>
    <comment_count>11</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-04-06 03:08:37 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; (In reply to comment #9)
&gt; &gt; (In reply to comment #7)
&gt; &gt; &gt; Set priority to P1, because crashes/asserts are always serious problems. (But I don&apos;t think if anybody is interested in fixing bugs ...)
&gt; &gt; 
&gt; &gt; I&apos;ll take it, since I&apos;ve seen reports of it happening on Mac too, intermittently. Ugh.
&gt; 
&gt; Stephen managed to make this reproduce and (thankfully) fixed it!
&gt; 
&gt; See if http://trac.webkit.org/changeset/113323 helps.

I unskipped the tests in http://trac.webkit.org/changeset/113419
But leave the bug open for 1-2 days to make sure if these tests don&apos;t crash anymore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>622794</commentid>
    <comment_count>12</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-05-14 03:50:55 -0700</bug_when>
    <thetext>They don&apos;t crash long time ago, so we can close it now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>