<?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>85073</bug_id>
          
          <creation_ts>2012-04-27 09:43:29 -0700</creation_ts>
          <short_desc>Layout Test fast/images/gif-large-checkerboard.html is a flaky crash</short_desc>
          <delta_ts>2012-04-28 00:48:48 -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>Page Loading</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>85077</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>54322</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov (Google)">dglazkov</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>japhet</cc>
    
    <cc>koivisto</cc>
    
    <cc>noel.gordon</cc>
    
    <cc>schenney</cc>
    
    <cc>yong.li.webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>611592</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2012-04-27 09:43:29 -0700</bug_when>
    <thetext>Test added in http://trac.webkit.org/changeset/67604 is crashing frequently. Not sure why, the stack traces have loader stuff in them. It&apos;s a puzzle. CC&apos;ing peeps who may actually see something here.

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Fimages%2Fgif-large-checkerboard.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>611643</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2012-04-27 10:32:39 -0700</bug_when>
    <thetext>As an additional datapoint. The svg/carto.net/scrollbar.svg test is also crashing occasionally with a very similar stack: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&amp;tests=svg%2Fcarto.net%2Fscrollbar.svg</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>611651</commentid>
    <comment_count>2</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2012-04-27 10:37:50 -0700</bug_when>
    <thetext>Stack trace for the scrollbar.svg test:

STDOUT: 	base::debug::StackTrace::StackTrace() [0x86d1f6]
STDOUT: 	base::(anonymous namespace)::StackDumpSignalHandler() [0x82de15]
STDOUT: 	0x7f9d390e7af0
STDOUT: 	WTF::Vector&lt;&gt;::size() [0x4e0122]
STDOUT: 	WTF::CStringBuffer::length() [0x4e16f6]
STDOUT: 	WTF::CString::length() [0x4e172a]
STDOUT: 	WebCore::KURLGooglePrivate::string() [0x10c0d34]
STDOUT: 	WebCore::KURL::string() [0x4ac6b4]
STDOUT: 	WebCore::CachedResource::overheadSize() [0x15e48e1]
STDOUT: 	WebCore::CachedResource::size() [0x15f8973]
STDOUT: 	WebCore::MemoryCache::lruListFor() [0x15f7290]
STDOUT: 	WebCore::MemoryCache::removeFromLRUList() [0x15f7349]
STDOUT: 	WebCore::CachedResource::setDecodedSize() [0x15e34dd]
STDOUT: 	WebCore::CachedCSSStyleSheet::destroyDecodedData() [0x15dc9a9]
STDOUT: 	WebCore::MemoryCache::pruneDeadResourcesToSize() [0x15f6c5e]
STDOUT: 	WebCore::MemoryCache::pruneDeadResources() [0x15f6993]
STDOUT: 	WebCore::MemoryCache::prune() [0x15f84ba]
STDOUT: 	WebCore::CachedResource::didAccessDecodedData() [0x15e3754]
STDOUT: 	WebCore::CachedImage::didDraw() [0x15dfe5e]
STDOUT: 	WebCore::BitmapImage::draw() [0x11d11b4]
STDOUT: 	WebCore::BitmapImage::draw() [0x10fbee0]
STDOUT: 	WebCore::GraphicsContext::drawImage() [0x1127ba8]
STDOUT: 	WebCore::RenderSVGImage::paint() [0x1e447ea]
STDOUT: 	WebCore::RenderSVGContainer::paint() [0x1e96c77]

Stack trace for gif-large-checkerboard.html:

STDERR: [23103:23103:3008304309080:ERROR:process_util_posix.cc(143)] Received signal 11
STDERR: 	base::debug::StackTrace::StackTrace() [0x86d1f6]
STDERR: 	base::(anonymous namespace)::StackDumpSignalHandler() [0x82de15]
STDERR: 	0x7fac0d2ccaf0
STDERR: 	WTF::Vector&lt;&gt;::size() [0x4e0122]
STDERR: 	WTF::CStringBuffer::length() [0x4e16f6]
STDERR: 	WTF::CString::length() [0x4e172a]
STDERR: 	WebCore::KURLGooglePrivate::string() [0x10c0d34]
STDERR: 	WebCore::KURL::string() [0x4ac6b4]
STDERR: 	WebCore::CachedResource::overheadSize() [0x15e48e1]
STDERR: 	WebCore::CachedResource::size() [0x15f8973]
STDERR: 	WebCore::MemoryCache::lruListFor() [0x15f7290]
STDERR: 	WebCore::MemoryCache::removeFromLRUList() [0x15f7349]
STDERR: 	WebCore::CachedResource::setDecodedSize() [0x15e34dd]
STDERR: 	WebCore::CachedCSSStyleSheet::destroyDecodedData() [0x15dc9a9]
STDERR: 	WebCore::MemoryCache::pruneDeadResourcesToSize() [0x15f6c5e]
STDERR: 	WebCore::MemoryCache::pruneDeadResources() [0x15f6993]
STDERR: 	WebCore::MemoryCache::prune() [0x15f84ba]
STDERR: 	WebCore::CachedResource::didAccessDecodedData() [0x15e3754]
STDERR: 	WebCore::CachedImage::didDraw() [0x15dfe5e]
STDERR: 	WebCore::BitmapImage::draw() [0x11d11b4]
STDERR: 	WebCore::BitmapImage::draw() [0x10fbee0]
STDERR: 	WebCore::GraphicsContext::drawImage() [0x1127ba8]
STDERR: 	WebCore::GraphicsContext::drawImage() [0x11278fe]
STDERR: 	WebCore::GraphicsContext::drawImage() [0x11277eb]
STDERR: 	WebCore::RenderImage::paintIntoRect() [0x19737f8]
STDERR: 	WebCore::RenderImage::paintReplaced() [0x19730b8]
STDERR: 	WebCore::RenderReplaced::paint() [0x19e63eb]
STDERR: 	WebCore::RenderImage::paint() [0x19731e7]
STDERR: 	WebCore::InlineBox::paint() [0x18ad041]
STDERR: 	WebCore::InlineFlowBox::paint() [0x18b28f4]
STDERR: 	WebCore::RootInlineBox::paint() [0x1a41984]
STDERR: 	WebCore::RenderLineBoxList::paint() [0x19b2dc2]
STDERR: 	WebCore::RenderBlock::paintContents() [0x18d350f]
STDERR: 	WebCore::RenderBlock::paintObject() [0x18d3d62]
STDERR: 	WebCore::RenderBlock::paint() [0x18d2573]
STDERR: 	WebCore::RenderBlock::paintChildren() [0x18d3861]
STDERR: 	WebCore::RenderBlock::paintContents() [0x18d3528]
STDERR: 	WebCore::RenderBlock::paintObject() [0x18d3d62]
STDERR: 	WebCore::RenderBlock::paint() [0x18d2573]
STDERR: 	WebCore::RenderLayer::paintLayerContents() [0x198bc40]
STDERR: 	WebCore::RenderLayer::paintLayerContentsAndReflection() [0x198b2f6]
STDERR: 	WebCore::RenderLayer::paintLayer() [0x198b1d4]
STDERR: 	WebCore::RenderLayer::paintList() [0x198c310]
STDERR: 	WebCore::RenderLayer::paintLayerContents() [0x198bec2]
STDERR: 	WebCore::RenderLayer::paintLayerContentsAndReflection() [0x198b2f6]
STDERR: 	WebCore::RenderLayer::paintLayer() [0x198b1d4]
STDERR: 	WebCore::RenderLayer::paint() [0x198a78b]
STDERR: 	WebCore::FrameView::paintContents() [0x16560ed]
STDERR: 	WebCore::ScrollView::paint() [0x10cffa2]
STDERR: 	WebKit::PageWidgetDelegate::paint() [0x514fa7]
STDERR: 	WebKit::WebViewImpl::paint() [0x4cfaea]
STDERR: 	WebViewHost::paintRect() [0x480fb9]
STDERR: 	WebViewHost::paintInvalidatedRegion() [0x481240]
STDERR: 	TestShell::dump() [0x46cdcc]
STDERR: 	TestShell::testFinished() [0x46b5d6]
STDERR: 	LayoutTestController::WorkQueue::processWorkSoon() [0x44a8cc]
STDERR: 	LayoutTestController::locationChangeDone() [0x44bdfd]
STDERR: 	WebViewHost::locationChangeDone() [0x4804ac]
STDERR: 	WebViewHost::didFinishLoad() [0x47d72a]
STDERR: 	WebKit::FrameLoaderClientImpl::dispatchDidFinishLoad() [0x5029cb]
STDERR: 	WebCore::FrameLoader::checkLoadCompleteForThisFrame() [0x159fec1]
STDERR: 	WebCore::FrameLoader::checkLoadComplete() [0x15a0a40]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>611657</commentid>
    <comment_count>3</comment_count>
    <who name="Yong Li">yong.li.webkit</who>
    <bug_when>2012-04-27 10:40:30 -0700</bug_when>
    <thetext> The gif-large-checkerboard test uses a super large gif image, which could lead out-of-memory.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>611699</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-04-27 11:13:21 -0700</bug_when>
    <thetext>When did this start? Might be same as bug 85077.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>611718</commentid>
    <comment_count>5</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2012-04-27 11:26:01 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; When did this start? Might be same as bug 85077.

Hard to tell precisely, but it looks like the carto.net stuff started flaking around 115350s or so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>611912</commentid>
    <comment_count>6</comment_count>
    <who name="noel gordon">noel.gordon</who>
    <bug_when>2012-04-27 14:41:18 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt;  The gif-large-checkerboard test uses a super large gif image, which could lead out-of-memory.

We&apos;re protected from large allocations: bug 72864, bug 48634, and the large image test fast/images/size-failure.html is passing.

  http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20-%20webkit.org&amp;showAllRuns=true&amp;showExpectations=true&amp;tests=%20fast%2Fimages%2Fsize-failure.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>611913</commentid>
    <comment_count>7</comment_count>
    <who name="noel gordon">noel.gordon</who>
    <bug_when>2012-04-27 14:42:58 -0700</bug_when>
    <thetext>The gif-large-checkerboard is a relatively small image, ~1600 x 2000 px, and the renderer is happy to try paint it: WebCore::RenderImage::paintIntoRect().  Suggests it&apos;s decoded ok.  Paints fine for me in Chrome.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>611939</commentid>
    <comment_count>8</comment_count>
    <who name="noel gordon">noel.gordon</who>
    <bug_when>2012-04-27 15:19:15 -0700</bug_when>
    <thetext>Image paint is followed by normal memory cache pruning and LRU re-organisation.  I see style sheet pruning

  WebCore::CachedCSSStyleSheet::destroyDecodedData()

in the trace.  Maybe bug 85004 which is in this (rough) range - flaking began around 115350s comment #5.

WebCore::KURL::string() goes berserk: is the style sheet URL bogus when computing CachedResource::overheadSize()?

  http://trac.webkit.org/browser/trunk/Source/WebCore/loader/cache/CachedResource.cpp?rev=111610#L749</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>611972</commentid>
    <comment_count>9</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2012-04-27 16:01:41 -0700</bug_when>
    <thetext>This might well be bug 85077.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>612007</commentid>
    <comment_count>10</comment_count>
    <who name="noel gordon">noel.gordon</who>
    <bug_when>2012-04-27 16:35:13 -0700</bug_when>
    <thetext>Can&apos;t read that bug.  Best I can say is image decoding looks ok here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>612179</commentid>
    <comment_count>11</comment_count>
    <who name="noel gordon">noel.gordon</who>
    <bug_when>2012-04-27 23:58:27 -0700</bug_when>
    <thetext>Can sniff the wind though; test went green after the fix landed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>612180</commentid>
    <comment_count>12</comment_count>
    <who name="noel gordon">noel.gordon</who>
    <bug_when>2012-04-28 00:02:10 -0700</bug_when>
    <thetext>Committed r115551: &lt;http://trac.webkit.org/changeset/115551&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>612181</commentid>
    <comment_count>13</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2012-04-28 00:06:00 -0700</bug_when>
    <thetext>Marking dupe to make the relationship clear.

*** This bug has been marked as a duplicate of bug 85077 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>612186</commentid>
    <comment_count>14</comment_count>
    <who name="noel gordon">noel.gordon</who>
    <bug_when>2012-04-28 00:13:41 -0700</bug_when>
    <thetext>Concur.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>612197</commentid>
    <comment_count>15</comment_count>
    <who name="noel gordon">noel.gordon</who>
    <bug_when>2012-04-28 00:48:48 -0700</bug_when>
    <thetext>And started at bug 85004, I believe.  Wonder if that works well for forum sites like http://gcfly.org/viewthread.php?tid=5721 where images thrash the decoded resources mem cache.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>