<?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>73760</bug_id>
          
          <creation_ts>2011-12-03 20:36:07 -0800</creation_ts>
          <short_desc>Assertion failure in CachedResource::addClientToSet while browsing on engadet.com</short_desc>
          <delta_ts>2012-02-17 14:09:03 -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>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>78834</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
    
    <cc>avi</cc>
    
    <cc>dan</cc>
    
    <cc>japhet</cc>
    
    <cc>koivisto</cc>
    
    <cc>marshall</cc>
    
    <cc>paulirish</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>514620</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-12-03 20:36:07 -0800</bug_when>
    <thetext>Stack trace:

ASSERTION FAILED: !isPurgeable()
/Users/rniwa/webkit/Source/WebCore/loader/cache/CachedResource.cpp(380) : void WebCore::CachedResource::addClientToSet(WebCore::CachedResourceClient*)
1   0x101f29bbf WebCore::CachedResource::addClientToSet(WebCore::CachedResourceClient*)
2   0x101f2a097 WebCore::CachedResource::addClient(WebCore::CachedResourceClient*)
3   0x102cf6b25 WebCore::StyleCachedImage::addClient(WebCore::RenderObject*)
4   0x102b46c0e WebCore::RenderObject::updateFillImages(WebCore::FillLayer const*, WebCore::FillLayer const*)
5   0x102b4d762 WebCore::RenderObject::setStyle(WTF::PassRefPtr&lt;WebCore::RenderStyle&gt;)
6   0x102b4b426 WebCore::RenderObject::setAnimatableStyle(WTF::PassRefPtr&lt;WebCore::RenderStyle&gt;)
7   0x1029ce8fa WebCore::NodeRendererFactory::createRenderer()
8   0x1029cf45a WebCore::NodeRendererFactory::createRendererIfNeeded()
9   0x1029bd90e WebCore::Node::createRendererIfNeeded()
10  0x102264c3b WebCore::Element::attach()
11  0x101f8718c WebCore::ContainerNode::attach()
12  0x102264c6d WebCore::Element::attach()
13  0x101f8718c WebCore::ContainerNode::attach()
14  0x102264c6d WebCore::Element::attach()
15  0x101f4b091 WebCore::Node::reattach()
16  0x102264450 WebCore::Element::recalcStyle(WebCore::Node::StyleChange)
17  0x102264a39 WebCore::Element::recalcStyle(WebCore::Node::StyleChange)
18  0x102264a39 WebCore::Element::recalcStyle(WebCore::Node::StyleChange)
19  0x10211e2ea WebCore::Document::recalcStyle(WebCore::Node::StyleChange)
20  0x10211f5f8 WebCore::Document::updateStyleIfNeeded()
21  0x10210e5a4 WebCore::Document::updateStyleForAllDocuments()
22  0x102c51c17 WebCore::ScheduledAction::execute(WebCore::Document*)
23  0x102c51cca WebCore::ScheduledAction::execute(WebCore::ScriptExecutionContext*)
24  0x1022185a4 WebCore::DOMTimer::fired()
25  0x102e1c464 WebCore::ThreadTimers::sharedTimerFiredInternal()
26  0x102e1c677 WebCore::ThreadTimers::sharedTimerFired()
27  0x102cb1fb2 WebCore::timerFired(__CFRunLoopTimer*, void*)
28  0x7fff81a01bb8 __CFRunLoopRun</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>514875</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-12-04 21:01:10 -0800</bug_when>
    <thetext>It&apos;s not immediately clear if this is a CSS issue or a page loading one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>515114</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-12-05 09:01:07 -0800</bug_when>
    <thetext>What is special about the resource that is causing the assertion?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>515307</commentid>
    <comment_count>3</comment_count>
    <who name="Marshall Greenblatt">marshall</who>
    <bug_when>2011-12-05 12:37:37 -0800</bug_when>
    <thetext>I&apos;m hitting this assertion intermittently on Mac when browsing &quot;back&quot; to a page that loads images using the background-image CSS attribute. I think this may be related to or causing the following issue that has been reported to Chromium: http://code.google.com/p/chromium/issues/detail?id=70268</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>558582</commentid>
    <comment_count>4</comment_count>
    <who name="Dan Fabulich">dan</who>
    <bug_when>2012-02-16 15:16:12 -0800</bug_when>
    <thetext>japhet has posted a patch for this issue on Chromium Bug http://code.google.com/p/chromium/issues/detail?id=111218

http://code.google.com/p/chromium/issues/attachmentText?id=111218&amp;aid=1112180029000&amp;name=purge.txt&amp;token=_DaxbOW_9S9EBpe9nqfGokF3TOA%3A1329433694325

After this patch, addClientToSet forces the resource to be unpurgeable if it&apos;s currently purgeable.

This will probably also fix webkit bug 78834 and thereby fix Chromium bug http://code.google.com/p/chromium/issues/detail?id=111027</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>558659</commentid>
    <comment_count>5</comment_count>
    <who name="Avi Drissman">avi</who>
    <bug_when>2012-02-16 16:33:35 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; japhet has posted a patch for this issue on Chromium Bug http://code.google.com/p/chromium/issues/detail?id=111218
&gt; 
&gt; http://code.google.com/p/chromium/issues/attachmentText?id=111218&amp;aid=1112180029000&amp;name=purge.txt&amp;token=_DaxbOW_9S9EBpe9nqfGokF3TOA%3A1329433694325
&gt; 
&gt; After this patch, addClientToSet forces the resource to be unpurgeable if it&apos;s currently purgeable.
&gt; 
&gt; This will probably also fix webkit bug 78834 and thereby fix Chromium bug http://code.google.com/p/chromium/issues/detail?id=111027

The patch doesn&apos;t appear to fix the problem in bug 78834. Let me know what I can do to help track this one down.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>559526</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Chapin">japhet</who>
    <bug_when>2012-02-17 14:09:03 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 78834 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>