<?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>55375</bug_id>
          
          <creation_ts>2011-02-28 07:31:23 -0800</creation_ts>
          <short_desc>http/tests/websocket/tests/reload-crash.html sometimes crashes beneath SocketStreamHandle::readStreamCallback on Windows</short_desc>
          <delta_ts>2011-03-14 14:44:13 -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>Page Loading</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>44138</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, LayoutTestFailure, PlatformOnly</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
    
    <cc>bweinstein</cc>
    
    <cc>yutak</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>359039</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-02-28 07:31:23 -0800</bug_when>
    <thetext>http/tests/websocket/tests/reload-crash.html sometimes crashes on Windows. Here are some crash logs:

http://build.webkit.org/results/Windows%207%20Release%20(Tests)/r79849%20(9839)/http/tests/websocket/tests/reload-crash-crash-log.txt
http://
build.webkit.org/results/Windows%207%20Release%20(Tests)/r79855%20(9843)/http/tests/websocket/tests/reload-crash-crash-log.txt

We&apos;re crashing beneath SocketStreamHandle::readStreamCallback. It looks like we trampoline this call over to the main thread; maybe the SocketStreamHandle has already been destroyed by the time the main thread runs the function?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359058</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-02-28 08:00:34 -0800</bug_when>
    <thetext>Perhaps a duplicate of bug 44138?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359061</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-02-28 08:05:54 -0800</bug_when>
    <thetext>Added to the Skipped file in r79865.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359062</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-02-28 08:06:29 -0800</bug_when>
    <thetext>&lt;rdar://problem/9062357&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>359088</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-02-28 08:51:56 -0800</bug_when>
    <thetext>In this slightly different crash log: http://build.webkit.org/results/Windows%207%20Release%20(Tests)/r79864%20(9851)/http/tests/websocket/tests/reload-crash-crash-log.txt

...the crashing code is this:

FAULTING_SOURCE_CODE:  
   523:             length = CFReadStreamRead(m_readStream.get(), localBuffer, sizeof(localBuffer));
   524:             ptr = localBuffer;
   525:         }
   526: 
&gt;  527:         m_client-&gt;didReceiveData(this, reinterpret_cast&lt;const char*&gt;(ptr), length);
   528: 
   529:         break;
   530:     }
   531:     case kCFStreamEventCanAcceptBytes:
   532:         ASSERT_NOT_REACHED();</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>367249</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-03-14 14:44:13 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 44138 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>