<?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>22483</bug_id>
          
          <creation_ts>2008-11-25 02:21:59 -0800</creation_ts>
          <short_desc>Assertion failure in CachedResource::makePurgeable during layout tests</short_desc>
          <delta_ts>2008-11-25 14:48:05 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>koivisto</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>100187</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-11-25 02:21:59 -0800</bug_when>
    <thetext>run-webkit-tests http

An assertion fails between tests, not resulting in any reported failure:

Thread 0 Crashed:
0   com.apple.WebCore             	0x0339ca0b WTF::RefCountedBase::hasOneRef() const + 71 (RefCounted.h:42)
1   com.apple.WebCore             	0x033c1adc WebCore::CachedResource::makePurgeable(bool) + 282 (CachedResource.cpp:334)
2   com.apple.WebCore             	0x033bcf5c WebCore::CachedImage::destroyDecodedData() + 178 (CachedImage.cpp:328)
3   com.apple.WebCore             	0x033b5fed WebCore::Cache::pruneDeadResources() + 725 (Cache.cpp:348)
4   com.apple.WebCore             	0x033baefd WebCore::Cache::prune() + 85 (Cache.h:128)
5   com.apple.WebCore             	0x033b640a WebCore::Cache::setCapacities(unsigned int, unsigned int, unsigned int) + 196 (Cache.cpp:393)
6   com.apple.WebKit              	0x008d41bf +[WebView(WebFileInternal) _setCacheModel:] + 1719 (WebView.mm:4494)
7   com.apple.WebKit              	0x0084dd50 +[WebCache empty] + 84 (WebCache.mm:89)
8   com.apple.WebKit              	0x00853d75 +[WebCoreStatistics emptyCache] + 43 (WebCoreStatistics.mm:158)
9   DumpRenderTree                	0x000072ce main + 142 (DumpRenderTree.mm:547)
10  DumpRenderTree                	0x000030ae start + 54</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100297</commentid>
    <comment_count>1</comment_count>
      <attachid>25505</attachid>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2008-11-25 14:30:02 -0800</bug_when>
    <thetext>Created attachment 25505
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100300</commentid>
    <comment_count>2</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2008-11-25 14:47:18 -0800</bug_when>
    <thetext>Sending        WebCore/ChangeLog
Sending        WebCore/loader/CachedImage.cpp
Transmitting file data ..
Committed revision 38761.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100302</commentid>
    <comment_count>3</comment_count>
      <attachid>25505</attachid>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2008-11-25 14:48:05 -0800</bug_when>
    <thetext>Comment on attachment 25505
patch

bdash reviewed this</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>25505</attachid>
            <date>2008-11-25 14:30:02 -0800</date>
            <delta_ts>2008-11-25 14:48:05 -0800</delta_ts>
            <desc>patch</desc>
            <filename>cache-svg-image-crash.patch</filename>
            <type>text/plain</type>
            <size>1390</size>
            <attacher name="Antti Koivisto">koivisto</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiAzODc2MCkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTUgQEAKKzIwMDgtMTEtMjUgIEFudHRpIEtvaXZpc3RvICA8YW50dGlAYXBwbGUu
Y29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIEZp
eCBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MjI0ODMKKyAgICAgICAg
QXNzZXJ0aW9uIGZhaWx1cmUgaW4gQ2FjaGVkUmVzb3VyY2U6Om1ha2VQdXJnZWFibGUgZHVyaW5n
IGxheW91dCB0ZXN0cworICAgICAgICAKKyAgICAgICAgRGVsZXRpbmcgU1ZHIGltYWdlIGNhbiBy
ZS1lbnRlciBkZXN0cm95RGVjb2RlZERhdGEuCisKKyAgICAgICAgKiBsb2FkZXIvQ2FjaGVkSW1h
Z2UuY3BwOgorICAgICAgICAoV2ViQ29yZTo6Q2FjaGVkSW1hZ2U6OmRlc3Ryb3lEZWNvZGVkRGF0
YSk6CisKIDIwMDgtMTEtMjUgIERhdmlkIExldmluICA8bGV2aW5AY2hyb21pdW0ub3JnPgogCiAg
ICAgICAgIFJldmlld2VkIGJ5IEFsZXhleSBQcm9za3VyeWFrb3YuCkluZGV4OiBXZWJDb3JlL2xv
YWRlci9DYWNoZWRJbWFnZS5jcHAKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gV2ViQ29yZS9sb2FkZXIvQ2FjaGVk
SW1hZ2UuY3BwCShyZXZpc2lvbiAzODc0NCkKKysrIFdlYkNvcmUvbG9hZGVyL0NhY2hlZEltYWdl
LmNwcAkod29ya2luZyBjb3B5KQpAQCAtMzIwLDcgKzMyMCw4IEBAIHZvaWQgQ2FjaGVkSW1hZ2U6
OmNoZWNrTm90aWZ5KCkKIAogdm9pZCBDYWNoZWRJbWFnZTo6ZGVzdHJveURlY29kZWREYXRhKCkK
IHsKLSAgICBpZiAoIWhhc0NsaWVudHMoKSAmJiAoIW1faW1hZ2UgfHwgbV9pbWFnZS0+aGFzT25l
UmVmKCkpICYmICFtX2xvYWRpbmcpIHsKKyAgICBib29sIGNhbkRlbGV0ZUltYWdlID0gIW1faW1h
Z2UgfHwgKG1faW1hZ2UtPmhhc09uZVJlZigpICYmIG1faW1hZ2UtPmlzQml0bWFwSW1hZ2UoKSk7
CisgICAgaWYgKCFoYXNDbGllbnRzKCkgJiYgY2FuRGVsZXRlSW1hZ2UgJiYgIW1fbG9hZGluZykg
ewogICAgICAgICAvLyBJbWFnZSByZWZzIHRoZSBkYXRhIGJ1ZmZlciBzbyB3ZSBzaG91bGQgbm90
IG1ha2UgaXQgcHVyZ2VhYmxlIHdoaWxlIHRoZSBpbWFnZSBpcyBhbGl2ZS4gCiAgICAgICAgIC8v
IEludm9raW5nIGFkZENsaWVudCgpIHdpbGwgcmVjb25zdHJ1Y3QgdGhlIGltYWdlIG9iamVjdC4K
ICAgICAgICAgbV9pbWFnZSA9IDA7Cg==
</data>
<flag name="review"
          id="11850"
          type_id="1"
          status="+"
          setter="koivisto"
    />
          </attachment>
      

    </bug>

</bugzilla>