<?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>19580</bug_id>
          
          <creation_ts>2008-06-16 08:24:25 -0700</creation_ts>
          <short_desc>REGRESSION (r34432): PGO-only crash in HTMLCollection::resetCollectionInfo (codegen issue?)</short_desc>
          <delta_ts>2008-07-10 15:59:40 -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>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>data:text/html,&lt;form name=myForm&gt;&lt;textarea name=myText&gt;&lt;/textarea&gt;&lt;/form&gt;&lt;script&gt;window.myForm.myText.value=&apos;test&apos;;&lt;/script&gt;</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar, PlatformOnly, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>808caaa4.8ce9.9cd6c799e9f6</reporter>
          <assigned_to name="Adam Roben (:aroben)">aroben</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
    
    <cc>aroben</cc>
    
    <cc>dave.english</cc>
    
    <cc>dev+webkit</cc>
    
    <cc>greger.cronquist</cc>
    
    <cc>jun.zhn</cc>
    
    <cc>lvpoker</cc>
    
    <cc>redmojave</cc>
    
    <cc>rogerd.parish</cc>
    
    <cc>sam.kellyc</cc>
    
    <cc>sam</cc>
    
    <cc>zwarich</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83464</commentid>
    <comment_count>0</comment_count>
    <who name="">808caaa4.8ce9.9cd6c799e9f6</who>
    <bug_when>2008-06-16 08:24:25 -0700</bug_when>
    <thetext>source:

---
&lt;form name=myForm&gt;
	&lt;textarea name=myText&gt;&lt;/textarea&gt;
&lt;/form&gt;

&lt;script&gt;window.myForm.myText.value=&apos;test&apos;;&lt;/script&gt;
---

debugger outout:
---
Access violation - code c0000005 (!!! second chance !!!)
eax=00000000 ebx=0012f250 ecx=7fd1e3a0 edx=00000020 esi=7fd1e3a0 edi=0012f248
eip=100ad160 esp=0012f1dc ebp=0012f1fc iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000206
WebKit!WebCore__HTMLCollection__resetCollectionInfo+10:
100ad160 8b9800010000     mov     ebx,[eax+0x100]   ds:0023:00000100=????????
0:000&gt; k
ChildEBP RetAddr
0012f1fc 100b592e WebKit!WebCore__HTMLCollection__resetCollectionInfo+0x10
0012f210 100ba061 WebKit!WebCore__HTMLCollection__namedItems+0x1e
0012f230 102cb8c0 WebKit!WebCore__HTMLFormElement__getNamedElements+0x21
0012f258 102669a8 WebKit!WebCore__JSHTMLFormElement__canGetItemsForName+0x40
0012f274 103dc15b WebKit!WebCore__JSHTMLFormElement__getOwnPropertySlot+0x18
0012f2ac 10071956 WebKit!KJS__JSValue__get+0x51
0012f49c 1009dc5f WebKit!KJS__Machine__privateExecute+0x2e86
0012f4f4 1009dad7 WebKit!KJS__Machine__execute+0xcf
0012f53c 1013dfc1 WebKit!KJS__Interpreter__evaluate+0xd7
0012f578 1012ac99 WebKit!WebCore__ScriptController__evaluate+0xb1
0012f594 10023a6e WebKit!WebCore__FrameLoader__executeScript+0x49
0012f758 100326d7 WebKit!WebCore__HTMLTokenizer__scriptExecution+0x10e
0012f7f8 1005e9d9 WebKit!WebCore__HTMLTokenizer__scriptHandler+0x257
0012f830 1005e108 WebKit!WebCore__HTMLTokenizer__parseSpecial+0x369
0012f96c 1005ee32 WebKit!WebCore__HTMLTokenizer__parseTag+0x11a8
7fef7410 00000000 WebKit!WebCore__HTMLTokenizer__write+0x2b2
---

host is safari 4DP(4.526.12.2).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83486</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-06-16 10:18:59 -0700</bug_when>
    <thetext>I cannot reproduce the crash on Mac OS X.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84362</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-06-25 02:18:40 -0700</bug_when>
    <thetext>*** Bug 19763 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84363</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-06-25 02:21:07 -0700</bug_when>
    <thetext>Per bug bug 19763, a crash with this stack trace happens when opening yahoo.com now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84364</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-06-25 02:22:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/6033046&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84525</commentid>
    <comment_count>5</comment_count>
    <who name="Matt Lilek">dev+webkit</who>
    <bug_when>2008-06-26 15:35:13 -0700</bug_when>
    <thetext>This doesn&apos;t seem to crash with a debug build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84729</commentid>
    <comment_count>6</comment_count>
    <who name="Matt Lilek">dev+webkit</who>
    <bug_when>2008-06-29 14:05:03 -0700</bug_when>
    <thetext>*** Bug 19818 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84770</commentid>
    <comment_count>7</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-06-30 11:46:57 -0700</bug_when>
    <thetext>Looks like m_base-&gt;document() is returning 0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84771</commentid>
    <comment_count>8</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-06-30 11:50:32 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; Looks like m_base-&gt;document() is returning 0.

This seems to only affect nightly builds, not ToT Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84816</commentid>
    <comment_count>9</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-06-30 20:33:23 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; (In reply to comment #7)
&gt; &gt; Looks like m_base-&gt;document() is returning 0.
&gt; 
&gt; This seems to only affect nightly builds, not ToT Safari.

Apparently it only affects Release builds, not Debug builds, so my statement above was not quite right (ToT Safari is affected, in Release builds).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84912</commentid>
    <comment_count>10</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-01 15:13:20 -0700</bug_when>
    <thetext>data:text/html,&lt;form name=myForm&gt;&lt;textarea name=myText&gt;&lt;/textarea&gt;&lt;/form&gt;&lt;script&gt;window.myForm.myText.value=&apos;test&apos;;&lt;/script&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84913</commentid>
    <comment_count>11</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-01 15:21:22 -0700</bug_when>
    <thetext>r34388 does not crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84930</commentid>
    <comment_count>12</comment_count>
    <who name="Jon Honeycutt">jhoneycutt</who>
    <bug_when>2008-07-01 18:17:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/6029794&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84932</commentid>
    <comment_count>13</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-01 18:23:48 -0700</bug_when>
    <thetext>Looks like I narrowed this down incorrectly. It *does* crash in r34503.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84933</commentid>
    <comment_count>14</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-01 18:53:25 -0700</bug_when>
    <thetext>It looks like at some point a JSHTMLFormElement is getting passed instead of an HTMLFormElement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84934</commentid>
    <comment_count>15</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-01 18:56:15 -0700</bug_when>
    <thetext>(In reply to comment #14)
&gt; It looks like at some point a JSHTMLFormElement is getting passed instead of an
&gt; HTMLFormElement.

Specifically, HTMLFormElement::elements calls HTMLFormCollection::create and passes in &quot;this&quot;, but for some reason &quot;this&quot; is being turned into the JSHTMLFormElement that wraps this HTMLFormElement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84935</commentid>
    <comment_count>16</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-01 18:58:05 -0700</bug_when>
    <thetext>Here&apos;s the disassembly for HTMLFormElement::elements:

PassRefPtr&lt;HTMLCollection&gt; HTMLFormElement::elements()
{
00E10710  push        ebp  
00E10711  mov         ebp,esp 
00E10713  push        ecx  
    return HTMLFormCollection::create(this);
00E10714  test        ecx,ecx 
00E10716  push        ecx  
00E10717  mov         dword ptr [esp],ecx 
00E1071A  je          WebCore::HTMLFormElement::elements+0Fh (0E1071Fh) 
00E1071C  inc         dword ptr [ecx+4] 
00E1071F  lea         eax,[ebp-4] 
00E10722  push        esi  
00E10723  push        eax  
00E10724  call        WebCore::HTMLFormCollection::create (0E09F70h) 
00E10729  mov         esi,dword ptr [ebp+8] 
00E1072C  pop         ecx  
00E1072D  pop         ecx  
00E1072E  mov         ecx,dword ptr [eax] 
00E10730  and         dword ptr [eax],0 
00E10733  mov         eax,dword ptr [ebp-4] 
00E10736  test        eax,eax 
00E10738  mov         dword ptr [esi],ecx 
00E1073A  jne         010A4FF6 
00E10740  mov         eax,esi 
00E10742  pop         esi  
}
00E10743  leave            
00E10744  ret         4    
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84936</commentid>
    <comment_count>17</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-01 19:02:35 -0700</bug_when>
    <thetext>For comparison, here&apos;s the disassembly from a Debug build:

PassRefPtr&lt;HTMLCollection&gt; HTMLFormElement::elements()
{
00E318C0  push        ebp  
00E318C1  mov         ebp,esp 
00E318C3  sub         esp,0Ch 
00E318C6  mov         dword ptr [ebp-0Ch],0CCCCCCCCh 
00E318CD  mov         dword ptr [ebp-8],0CCCCCCCCh 
00E318D4  mov         dword ptr [ebp-4],0CCCCCCCCh 
00E318DB  mov         dword ptr [ebp-4],ecx 
    return HTMLFormCollection::create(this);
00E318DE  push        ecx  
00E318DF  mov         ecx,esp 
00E318E1  mov         eax,dword ptr [this] 
00E318E4  push        eax  
00E318E5  call        WTF::PassRefPtr&lt;WebCore::HTMLFormElement&gt;::PassRefPtr&lt;WebCore::HTMLFormElement&gt; (0AE5A06h) 
00E318EA  lea         ecx,[ebp-0Ch] 
00E318ED  push        ecx  
00E318EE  call        WebCore::HTMLFormCollection::create (114B9C0h) 
00E318F3  add         esp,8 
00E318F6  push        eax  
00E318F7  mov         ecx,dword ptr [ebp+8] 
00E318FA  call        WTF::PassRefPtr&lt;WebCore::HTMLCollection&gt;::PassRefPtr&lt;WebCore::HTMLCollection&gt;&lt;WebCore::HTMLFormCollection&gt; (0E33E50h) 
00E318FF  lea         ecx,[ebp-0Ch] 
00E31902  call        WTF::PassRefPtr&lt;WebCore::HTMLFormCollection&gt;::~PassRefPtr&lt;WebCore::HTMLFormCollection&gt; (0E32CB0h) 
00E31907  mov         eax,dword ptr [ebp+8] 
}
00E3190A  add         esp,0Ch 
00E3190D  cmp         ebp,esp 
00E3190F  call        WTF::HashTableConstIteratorAdapter&lt;WTF::HashTable&lt;void *,std::pair&lt;void *,PrintJobManager *&gt;,WTF::PairFirstExtractor&lt;std::pair&lt;void *,PrintJobManager *&gt; &gt;,WTF::PtrHash&lt;void *&gt;,WTF::PairHashTraits&lt;WTF::HashTraits&lt;void *&gt;,WTF::HashTraits&lt;PrintJobManager *&gt; &gt;,WTF::HashTraits&lt;void *&gt; &gt;,std::pair&lt;void *,PrintJobManager *&gt; &gt;::operator-&gt;+0Ch (6F3FFCh) 
00E31914  mov         esp,ebp 
00E31916  pop         ebp  
00E31917  ret         4    
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84938</commentid>
    <comment_count>18</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-01 19:27:03 -0700</bug_when>
    <thetext>It looks like in a released version of WebKit.dll HTMLFormElement::elements was inlined within HTMLFormElement::getNamedElements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84939</commentid>
    <comment_count>19</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-01 19:33:42 -0700</bug_when>
    <thetext>(In reply to comment #18)
&gt; It looks like in a released version of WebKit.dll HTMLFormElement::elements was
&gt; inlined within HTMLFormElement::getNamedElements.

Of course that was back before r34432, when HTMLFormCollection::create was added.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84940</commentid>
    <comment_count>20</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-01 19:40:07 -0700</bug_when>
    <thetext>(In reply to comment #16)
&gt; Here&apos;s the disassembly for HTMLFormElement::elements:
&gt; 
&gt; PassRefPtr&lt;HTMLCollection&gt; HTMLFormElement::elements()
&gt; {
&gt; 00E10710  push        ebp  
&gt; 00E10711  mov         ebp,esp 
&gt; 00E10713  push        ecx  
&gt;     return HTMLFormCollection::create(this);
&gt; 00E10714  test        ecx,ecx 
&gt; 00E10716  push        ecx  
&gt; 00E10717  mov         dword ptr [esp],ecx 
&gt; 00E1071A  je          WebCore::HTMLFormElement::elements+0Fh (0E1071Fh) 
&gt; 00E1071C  inc         dword ptr [ecx+4] 
&gt; 00E1071F  lea         eax,[ebp-4] 
&gt; 00E10722  push        esi  
&gt; 00E10723  push        eax  
&gt; 00E10724  call        WebCore::HTMLFormCollection::create (0E09F70h) 

It looks like the value in esi ends up being the value of the argument passed to HTMLFormCollection::create. If this were working correctly, ecx would be the value passed to HTMLFormCollection::create.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84950</commentid>
    <comment_count>21</comment_count>
    <who name="">808caaa4.8ce9.9cd6c799e9f6</who>
    <bug_when>2008-07-01 23:27:21 -0700</bug_when>
    <thetext>(In reply to comment #20)
I wonder if that isn&apos;t push esp....
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84987</commentid>
    <comment_count>22</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-02 10:34:18 -0700</bug_when>
    <thetext>I reverted the parts of r34432 that are relevant to HTMLFormCollection, and the bug no longer occurs. Here&apos;s the disassembly from a PGO build with part of r34432 reverted:

PassRefPtr&lt;HTMLCollection&gt; HTMLFormElement::elements()
{
00E09F20  push        ebp  
00E09F21  mov         ebp,esp 
00E09F23  sub         esp,14h 
00E09F26  push        ebx  
00E09F27  push        esi  
00E09F28  push        edi  
00E09F29  mov         dword ptr [ebp-14h],ecx 
    return new HTMLFormCollection(this);
00E09F2C  call        WTF::TCMalloc_ThreadCache::GetCache (0D80790h) 
00E09F31  push        20h  
00E09F33  mov         edi,eax 
00E09F35  call        WTF::ClassIndex (0DB72D0h) 
00E09F3A  movzx       esi,byte ptr WebCore::CSSStyleSelector::s_styleNotYetAvailable+54h (1213628h)[eax] 
00E09F41  mov         eax,dword ptr WebCore::CSSStyleSelector::s_styleNotYetAvailable+1D4h (12137A8h)[esi*4] 
00E09F48  pop         ecx  
00E09F49  lea         ebx,[edi+esi*8+0Ch] 
00E09F4D  mov         ecx,ebx 
00E09F4F  mov         dword ptr [ebp-8],eax 
00E09F52  call        WTF::RefPtr&lt;KJS::SourceElements&gt;::operator! (0E18310h) 
00E09F57  test        al,al 
00E09F59  jne         010A57DC 
00E09F5F  mov         eax,dword ptr [ebp-8] 
00E09F62  sub         dword ptr [edi],eax 
00E09F64  dec         word ptr [ebx+4] 
00E09F68  movzx       eax,word ptr [ebx+4] 
00E09F6C  cmp         ax,word ptr [ebx+6] 
00E09F70  jb          010A5840 
00E09F76  mov         edi,dword ptr [ebx] 
00E09F78  test        edi,edi 
00E09F7A  mov         eax,dword ptr [edi] 
00E09F7C  mov         dword ptr [ebx],eax 
00E09F7E  je          010A582D 
00E09F84  mov         eax,dword ptr [ebp-14h] 
00E09F87  test        eax,eax 
00E09F89  push        ecx  
00E09F8A  mov         dword ptr [esp],eax 
00E09F8D  je          WebCore::HTMLFormElement::elements+72h (0E09F92h) 
00E09F8F  inc         dword ptr [eax+4] 
00E09F92  call        WebCore::HTMLFormCollection::HTMLFormCollection (0E0E570h) 
00E09F97  test        eax,eax 
00E09F99  mov         ecx,dword ptr [ebp+8] 
00E09F9C  pop         edi  
00E09F9D  pop         esi  
00E09F9E  mov         dword ptr [ecx],eax 
00E09FA0  pop         ebx  
00E09FA1  je          WebCore::HTMLFormElement::elements+86h (0E09FA6h) 
00E09FA3  inc         dword ptr [eax+4] 
00E09FA6  mov         eax,ecx 
}
00E09FA8  leave            
00E09FA9  ret         4    
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85001</commentid>
    <comment_count>23</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-02 12:08:16 -0700</bug_when>
    <thetext>Disabling LTCG for just HTMLFormElement.cpp does not seem to fix the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85012</commentid>
    <comment_count>24</comment_count>
    <who name="">808caaa4.8ce9.9cd6c799e9f6</who>
    <bug_when>2008-07-02 14:33:49 -0700</bug_when>
    <thetext>(In reply to comment #23)
*At least*, HTMLFormCollection::create() has same problem.
With r34813,

mov     eax, [ebp+0Ch]
and     dword ptr [ebp+0Ch], 0
push    ecx ; PassRefPtr&lt;&gt;(form)
mov     edi, ecx ; edi is fastMalloced space
mov     [esp], eax
call    ??0HTMLFormCollection@WebCore... ; ctor

Oh, HTMLFormCollection::this and form cannot be same.

I wonder if 1st push ecx isn&apos;t push esp, again.

// btw, almost all fastMalloc() is inlined (by LTCG) ... is it desired??
// It&apos;s pretty large, for each, and may affect mem cache, I feel.
// I haven&apos;t check which is finally faster, inlined or not inlined.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85013</commentid>
    <comment_count>25</comment_count>
    <who name="">808caaa4.8ce9.9cd6c799e9f6</who>
    <bug_when>2008-07-02 14:48:08 -0700</bug_when>
    <thetext>(In reply to comment #24. errata)
push    ecx ; *should be* PassRefPtr&lt;&gt;(form)
mov     edi, ecx ; ecx is fastMalloced space, edi should be _this for HTMLFormCollection
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85417</commentid>
    <comment_count>26</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-07-07 18:00:00 -0700</bug_when>
    <thetext>*** Bug 19934 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85529</commentid>
    <comment_count>27</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-09 09:51:42 -0700</bug_when>
    <thetext>*** Bug 19752 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85670</commentid>
    <comment_count>28</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-10 15:12:42 -0700</bug_when>
    <thetext>Turning off LTCG for all of WebCore fixes the crash. I now suspect that I wasn&apos;t building correctly when turning off LTCG for certain files previously.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85692</commentid>
    <comment_count>29</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-10 15:52:03 -0700</bug_when>
    <thetext>(In reply to comment #23)
&gt; Disabling LTCG for just HTMLFormElement.cpp does not seem to fix the issue.

Yes it does! You just have to actually get HTMLFormElement.cpp to rebuild!
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85693</commentid>
    <comment_count>30</comment_count>
      <attachid>22224</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-10 15:55:49 -0700</bug_when>
    <thetext>Created attachment 22224
patch + changelog</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85694</commentid>
    <comment_count>31</comment_count>
      <attachid>22224</attachid>
    <who name="Cameron Zwarich (cpst)">zwarich</who>
    <bug_when>2008-07-10 15:57:53 -0700</bug_when>
    <thetext>Comment on attachment 22224
patch + changelog

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85695</commentid>
    <comment_count>32</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-07-10 15:59:40 -0700</bug_when>
    <thetext>Landed in r35105</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>22224</attachid>
            <date>2008-07-10 15:55:49 -0700</date>
            <delta_ts>2008-07-10 15:57:53 -0700</delta_ts>
            <desc>patch + changelog</desc>
            <filename>0001--Fix-Bug-19580-REGRESSION-r34432-PGO-only.patch</filename>
            <type>text/plain</type>
            <size>2671</size>
            <attacher name="Adam Roben (:aroben)">aroben</attacher>
            
              <data encoding="base64">RnJvbSAzYWUyZDFhYmZhODk2YjQyZTNlOTdhZmU4ZGVmMmZkYjcxMDk0ODRkIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBBZGFtIFJvYmVuIDxhcm9iZW5AYXBwbGUuY29tPgpEYXRlOiBU
aHUsIDEwIEp1bCAyMDA4IDE4OjUzOjM0IC0wNDAwClN1YmplY3Q6IFtQRlJdICAgICAgICAgRml4
IEJ1ZyAxOTU4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bGVt
ZW50c1tpXS0+Zm9ybURlc3Ryb3llZCgpOwogICAgIGZvciAodW5zaWduZWQgaSA9IDA7IGkgPCBp
bWdFbGVtZW50cy5zaXplKCk7ICsraSkKLS0gCjEuNS42LnJjMy4xNTYuZzFhMDEKCg==
</data>
<flag name="review"
          id="9777"
          type_id="1"
          status="+"
          setter="zwarich"
    />
          </attachment>
      

    </bug>

</bugzilla>