<?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>13060</bug_id>
          
          <creation_ts>2007-03-13 13:04:34 -0700</creation_ts>
          <short_desc>REGRESSION: Repro ASSERT failure in Cache::adjustSize running layout tests</short_desc>
          <delta_ts>2007-03-14 13:59:30 -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>WebCore Misc.</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, LayoutTestFailure, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Geoffrey Garen">ggaren</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hyatt</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>19064</commentid>
    <comment_count>0</comment_count>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2007-03-13 13:04:34 -0700</bug_when>
    <thetext>This bug is also in Radar as &lt;rdar://5060208&gt;

* STEPS TO REPRODUCE
run-webkit-tests --leaks fast/dom

[12:47pm] darin: ASSERTION FAILED: delta &gt;= 0 || ((int)m_liveResourcesSize + delta &gt;= 0)
[12:47pm] darin: (/Users/darin/Safari/OpenSource/WebCore/loader/Cache.cpp:352 void WebCore::Cache::adjustSize(bool, int))

Darin says this is reproducible 100% of the time.

-------------------------------------------

&lt;GMT13-Mar-2007 19:52:36GMT&gt; Geoff Garen:
I think this is a regression caused by Hyatt&apos;s recent cache changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18890</commentid>
    <comment_count>1</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2007-03-14 10:09:10 -0700</bug_when>
    <thetext>CachedScript is dereferenced twice in fast/dom/script-element-gc.html, causing m_liveResourcesSize underflow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18916</commentid>
    <comment_count>2</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2007-03-14 13:59:30 -0700</bug_when>
    <thetext>r20194</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>