<?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>55602</bug_id>
          
          <creation_ts>2011-03-02 12:34:31 -0800</creation_ts>
          <short_desc>REGRESSION (r79817): Lots of leaks of FloatingObjects seen on SnowLeopard Intel Leaks bot</short_desc>
          <delta_ts>2011-03-03 05:46:09 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://build.webkit.org/results/SnowLeopard%20Intel%20Leaks/r80149%20(15273)/DumpRenderTree2-leaks.txt</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>55611</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Benjamin Poulain">benjamin</assigned_to>
          <cc>benjamin</cc>
    
    <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>hyatt</cc>
    
    <cc>mitz</cc>
    
    <cc>sam</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>360986</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-03-02 12:34:31 -0800</bug_when>
    <thetext>The SnowLeopard Intel Leaks bot is showing lots of leaks of FloatingObjects. See the URL for an example.

Maybe this is related to the recent work done in this area in r79817 and r79834?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>360987</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-03-02 12:35:00 -0800</bug_when>
    <thetext>&lt;rdar://problem/9076342&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>360990</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-03-02 12:36:35 -0800</bug_when>
    <thetext>The number of leaks jumped from 409 in r79816:

http://build.webkit.org/builders/SnowLeopard%20Intel%20Leaks/builds/15177

...to 3641 in r79817:

http://build.webkit.org/builders/SnowLeopard%20Intel%20Leaks/builds/15178</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>360992</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-03-02 12:39:14 -0800</bug_when>
    <thetext>r79834 seems to have had no effect on the number of leaks:

http://build.webkit.org/builders/SnowLeopard%20Intel%20Leaks/builds/15186
http://build.webkit.org/builders/SnowLeopard%20Intel%20Leaks/builds/15187</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>360993</commentid>
    <comment_count>4</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2011-03-02 12:41:08 -0800</bug_when>
    <thetext>It is probably my fault. I have probably forgot at delete when the object are removed from the list.

You can assign to me, I can have a look on Saturday.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361049</commentid>
    <comment_count>5</comment_count>
      <attachid>84459</attachid>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2011-03-02 13:52:37 -0800</bug_when>
    <thetext>Created attachment 84459
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361057</commentid>
    <comment_count>6</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2011-03-02 13:56:27 -0800</bug_when>
    <thetext>I went over all the call removing objects of m_floatingObjects and found an instance were I forgot to call deleteAllValues().

I created https://bugs.webkit.org/show_bug.cgi?id=55611 to look for a better way to handle memory so we have a long term solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361470</commentid>
    <comment_count>7</comment_count>
      <attachid>84459</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-03-03 02:44:55 -0800</bug_when>
    <thetext>Comment on attachment 84459
Patch

Clearing flags on attachment: 84459

Committed r80221: &lt;http://trac.webkit.org/changeset/80221&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361471</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-03-03 02:45:00 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361537</commentid>
    <comment_count>9</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-03-03 05:46:09 -0800</bug_when>
    <thetext>Great! Leaks went from 12434 in r80218:

http://build.webkit.org/builders/SnowLeopard%20Intel%20Leaks/builds/15291

…to 10964 in r80226:

http://build.webkit.org/builders/SnowLeopard%20Intel%20Leaks/builds/15292

Thanks, Benjamin!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>84459</attachid>
            <date>2011-03-02 13:52:37 -0800</date>
            <delta_ts>2011-03-03 02:44:55 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-55602-20110302225234.patch</filename>
            <type>text/plain</type>
            <size>1720</size>
            <attacher name="Benjamin Poulain">benjamin</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogODAxNjAKZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwppbmRleCBiNWE4OTQ5MGU4OGFmYjk1
MmNmOWF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