<?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>98960</bug_id>
          
          <creation_ts>2012-10-10 15:46:19 -0700</creation_ts>
          <short_desc>[WK2] fast/parser/document-open-in-unload.html causes next test to crash</short_desc>
          <delta_ts>2012-10-10 21:47:38 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>98345</dup_id>
          
          <bug_file_loc></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 name="Vicki Pfau">jeffrey+webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>beidson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>739350</commentid>
    <comment_count>0</comment_count>
    <who name="Vicki Pfau">jeffrey+webkit</who>
    <bug_when>2012-10-10 15:46:19 -0700</bug_when>
    <thetext>The layout test fast/parser/document-open-in-unload.html will cause the next test to crash when run with WebKit Test Runner.

A portion of the backtrace reveals the crash to be inside of the loader:
0   com.apple.WebCore             	0x00000001057980dc WebCore::DocumentLoader::isClientRedirect() const + 12 (DocumentLoader.h:124)
1   com.apple.WebCore             	0x00000001057918e8 WebCore::FrameLoader::commitProvisionalLoad() + 1784 (FrameLoader.cpp:1750)
2   com.apple.WebCore             	0x00000001054c027c WebCore::DocumentLoader::commitIfReady() + 60 (DocumentLoader.cpp:283)
3   com.apple.WebCore             	0x00000001054c081c WebCore::DocumentLoader::commitLoad(char const*, int) + 76 (DocumentLoader.cpp:314)
4   com.apple.WebCore             	0x00000001054c0cfb WebCore::DocumentLoader::receivedData(char const*, int) + 59 (DocumentLoader.cpp:388)
5   com.apple.WebCore             	0x0000000106123b87 WebCore::MainResourceLoader::addData(char const*, int, bool) + 87 (MainResourceLoader.cpp:193)
6   com.apple.WebCore             	0x000000010657a1ec WebCore::ResourceLoader::didReceiveData(char const*, int, long long, bool) + 108 (ResourceLoader.cpp:281)
7   com.apple.WebCore             	0x0000000106125475 WebCore::MainResourceLoader::didReceiveData(char const*, int, long long, bool) + 1013 (MainResourceLoader.cpp:482)
8   com.apple.WebCore             	0x000000010657ab2f WebCore::ResourceLoader::didReceiveData(WebCore::ResourceHandle*, char const*, int, int) + 143 (ResourceLoader.cpp:436)
...

It appears that FrameLoader::m_documentLoader becomes null at some point before m_documentLoader-&gt;isClientRedirect gets called, causing the crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>739367</commentid>
    <comment_count>1</comment_count>
    <who name="Vicki Pfau">jeffrey+webkit</who>
    <bug_when>2012-10-10 16:09:47 -0700</bug_when>
    <thetext>Skipped in r130976</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>739375</commentid>
    <comment_count>2</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2012-10-10 16:18:09 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; The layout test fast/parser/document-open-in-unload.html will cause the next test to crash when run with WebKit Test Runner.

Any idea when this started...?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>739382</commentid>
    <comment_count>3</comment_count>
    <who name="Vicki Pfau">jeffrey+webkit</who>
    <bug_when>2012-10-10 16:26:00 -0700</bug_when>
    <thetext>&lt;rdar://problem/12474923&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>739600</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-10-10 21:47:38 -0700</bug_when>
    <thetext>

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

    </bug>

</bugzilla>