<?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>48996</bug_id>
          
          <creation_ts>2010-11-04 07:44:39 -0700</creation_ts>
          <short_desc>http/tests/websocket/tests/workers/close-in-onmessage-crash.html sometimes crashes on Windows</short_desc>
          <delta_ts>2022-02-12 21:57:35 -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>WONTFIX</resolution>
          
          
          <bug_file_loc>http://build.webkit.org/results/Windows%20Release%20(Tests)/r71332%20(6003)/results.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, LayoutTestFailure, PlatformOnly</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>55579</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Per Arne Vollan">pvollan</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>joenotcharles</cc>
    
    <cc>peavo</cc>
    
    <cc>pvollan</cc>
    
    <cc>ukai</cc>
    
    <cc>yutak</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>304649</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2010-11-04 07:44:39 -0700</bug_when>
    <thetext>http/tests/websocket/tests/workers/close-in-onmessage-crash.html sometimes crashes on Windows. See the URL for one such example.

I&apos;ve added the test to the Skipped file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>304664</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2010-11-04 07:55:48 -0700</bug_when>
    <thetext>&lt;rdar://problem/8630448&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>305110</commentid>
    <comment_count>2</comment_count>
    <who name="Yuta Kitamura">yutak</who>
    <bug_when>2010-11-04 19:52:43 -0700</bug_when>
    <thetext>To understand the situation better, I want to ask:

- Is the stack trace available?
- How frequent did the crash happen?
- Does this test crash on debug builds (not only release builds)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>305234</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2010-11-05 05:26:10 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; - Is the stack trace available?

Unfortunately, the crash has only happened on our Windows 7 bot, and we don&apos;t have a way to get crash logs on Windows 7 currently. So: no. :-(

&gt; - How frequent did the crash happen?

I looked back in the buildbot logs and recorded every time I saw the crash, until I got bored:

http://build.webkit.org/results/Windows%20Release%20(Tests)/r71321%20(5993)/results.html
http://build.webkit.org/results/Windows%20Release%20(Tests)/r71311%20(5985)/results.html
http://build.webkit.org/results/Windows%20Release%20(Tests)/r71306%20(5981)/results.html
http://build.webkit.org/results/Windows%20Release%20(Tests)/r71303%20(5979)/results.html
http://build.webkit.org/results/Windows%20Release%20(Tests)/r71233%20(5941)/results.html
http://build.webkit.org/results/Windows%20Release%20(Tests)/r71227%20(5938)/results.html
http://build.webkit.org/results/Windows%20Release%20(Tests)/r71206%20(5922)/results.html
http://build.webkit.org/results/Windows%20Release%20(Tests)/r71163%20(5901)/results.html
http://build.webkit.org/results/Windows%20Release%20(Tests)/r71113%20(5887)/results.html
http://build.webkit.org/results/Windows%20Release%20(Tests)/r71107%20(5881)/results.html
http://build.webkit.org/results/Windows%20Release%20(Tests)/r71099%20(5874)/results.html
http://build.webkit.org/results/Windows%20Release%20(Tests)/r71093%20(5869)/results.html

That&apos;s an average of 12 builds between crashes, but since we have two different bots running Windows Release (Tests) and only one of them is seeing the crash, that means it&apos;s happening once every 6 builds (on average).

&gt; - Does this test crash on debug builds (not only release builds)?

Unfortunately the logs for the Debug testers seem to be screwed up (see &lt;http://build.webkit.org/waterfall?last_time=1288749756&amp;show=Windows%20Debug%20%28Tests%29&gt;), so I can&apos;t say.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>305235</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2010-11-05 05:27:03 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; the crash has only happened on our Windows 7 bot

We have 2 Windows XP bots and 2 Windows 7 bots. The Windows XP bots have Cygwin 1.5/Python 2.5.2 installed, while the Windows 7 bots have Cygwin 1.7/Python 2.6.5. Maybe that&apos;s a clue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>305264</commentid>
    <comment_count>5</comment_count>
    <who name="Yuta Kitamura">yutak</who>
    <bug_when>2010-11-05 07:23:44 -0700</bug_when>
    <thetext>Thank you for providing information. I&apos;m not sure about the root cause yet, and I will try to reproduce in my local environment later (but it may take some time to set up).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>311393</commentid>
    <comment_count>6</comment_count>
    <who name="Yuta Kitamura">yutak</who>
    <bug_when>2010-11-19 05:49:18 -0800</bug_when>
    <thetext>OK, I set up a new Windows 7 environment with cygwin 1.7, and I think I have reproduced the crash. I will take a close look.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>312245</commentid>
    <comment_count>7</comment_count>
    <who name="Yuta Kitamura">yutak</who>
    <bug_when>2010-11-22 01:33:52 -0800</bug_when>
    <thetext>Today I tried to track this down but failed. What I got was a bogus (corrupt) stack trace which only contained CoreFoundation.dll functions and a few functions from OS DLLs.

I&apos;m not sure but my guess is that there is some sort of race condition behind this crash (because this test employs a worker).

This needs further investigation. Probably I should take a close look at WebSocket+worker implementation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>312246</commentid>
    <comment_count>8</comment_count>
    <who name="Yuta Kitamura">yutak</who>
    <bug_when>2010-11-22 01:35:48 -0800</bug_when>
    <thetext>FYI, this crash occurs about 6% of the time on my local environment.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>