<?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>16866</bug_id>
          
          <creation_ts>2008-01-13 16:50:01 -0800</creation_ts>
          <short_desc>fast/frames/frame-name-reset.html crashes Windows XP</short_desc>
          <delta_ts>2008-01-14 10:45:30 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://build.webkit.org/builders/trunk-win-release/builds/6984</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alice.barraclough</cc>
    
    <cc>aroben</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>67166</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-01-13 16:50:01 -0800</bug_when>
    <thetext>fast/frames/frame-name-reset.html crashes on my Windows XP machine and on a build bot running Windows XP (see URL). When run in the debugger, the test outputs the ALERT message, then hangs for a while under CFNetwork code, then appears to crash due to memory corruption.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67168</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-01-13 16:57:14 -0800</bug_when>
    <thetext>&lt;http://build.webkit.org/builders/trunk-win-release/builds/6954&gt; (@r29409) is the earliest run with this crash, because earlier runs crashed in an earlier test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67175</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-01-13 19:39:21 -0800</bug_when>
    <thetext>My untested theory of the day is that calling CFURLConnectionResume on a connection during one of that connection&apos;s callbacks results in the connection being over-released due to a bug in CFURLConnection. (In the test case, alert() is called under the data: URL&apos;s CFURLConnection&apos;s callback, and the chrome uses a PageGroupLoadDeferrer around the alert, which calls CFURLConnectionHalt and CFURLConnectionResume on the data: URL connection).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67176</commentid>
    <comment_count>3</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-01-13 19:41:24 -0800</bug_when>
    <thetext>&lt;rdar://problem/5686091&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67182</commentid>
    <comment_count>4</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-01-13 21:10:05 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In the test case, alert()
&gt; is called under the data: URL&apos;s CFURLConnection&apos;s callback

I was wrong. It is called under the test&apos;s URL&apos;s (file:///cygwin/...) callback, so it is not immediately clear how the data: URL is involved. The file: URL connection is also halted and resumed, but that is expected to happen in any test that calls alert() before it is finished loading.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67186</commentid>
    <comment_count>5</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-01-13 21:49:12 -0800</bug_when>
    <thetext>To test my theory, I added a CFRetain(d-&gt;m_connection.get()) in the !defers case of ResourceHandle::setDefersLoading(). After doing that, I could not reproduce the crash.

I am not sure that the problem is over-releasing, though. It might be simply that there are still messages posted for the CFURLConnection on the queue when it is deallocated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67203</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2008-01-14 05:53:22 -0800</bug_when>
    <thetext>This reminds me of a crash that Alice was working on -- maybe she can shed some more light?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67233</commentid>
    <comment_count>7</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-01-14 10:45:30 -0800</bug_when>
    <thetext>The problem is most probably in a non-WebKit component.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>