title: IE8 crashing on reload only when site on localhost, only when javascript is enabled, only in IE8 mode
body: <p>Here are the versions:</p>
  
  <ul>
  <li>IE 8.0.6001.18702</li>
  <li>Visual Studio Web Developer 2010 10.0.40219.1.SP1Rel</li>
  <li>.Net 4.0.30319 SP1Rel</li>
  <li>jQuery 1.6.2</li>
  </ul>
  
  <p>When I run the site on localhost through Visual Studio, with IE set to IE8 mode and javascript enabled, the browser will crash when the page is reloaded. It doesn't crash when URL is changed or tab/window closed. The messages I get are:</p>
  
  <p>VS JIT message:</p>
  
  <blockquote>
    <p>An unhandled win32 exception occurred in iexplore.exe [<em>some PID</em>].</p>
  </blockquote>
  
  <p>Error when debugging with VS:</p>
  
  <blockquote>
    <p>Unhandled exception at 0x3fa078d8 in iexplore.exe: 0xC0000005: Access violation reading location 0x00000008.</p>
  </blockquote>
  
  <p>Call stack location: mshtml.dll!3fa078d8()</p>
  
  <blockquote>
    <p>3FA078D8  mov         eax,dword ptr [ebx+8]</p>
  </blockquote>
  
  <p>When I cancel out of debugging the page usually loads just fine in the tab. Every now and then I'll get the "We were unable to return you to the page you were viewing." message.</p>
  
  <p>To make it even more fun, this only happens on the home page of the site, and isn't reproduceable on the DEV server. Switching to IE7 mode makes the crashes never occur. Or commenting out some of the javascript files loaded at the bottom of the page.</p>
  
  <p>I've tried running IE8 with Addons disabled, and the crashes still happen. I tried running with Fiddler enabled and it still crashes.</p>