<?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>23992</bug_id>
          
          <creation_ts>2009-02-17 13:55:29 -0800</creation_ts>
          <short_desc>REGRESSION: crash on windows loading http://www.stickam.com/liveStreams.do</short_desc>
          <delta_ts>2009-02-18 14:12:17 -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>Page Loading</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.stickam.com/liveStreams.do</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ojan Vafai">ojan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>darin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>110003</commentid>
    <comment_count>0</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2009-02-17 13:55:29 -0800</bug_when>
    <thetext>I only have a debug build of Chromium. So you can see the stack here: http://crbug.com/7682

But a *Windows* webkit nightly seems to crash in the same place. Mac nightlies load fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110005</commentid>
    <comment_count>1</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2009-02-17 14:01:14 -0800</bug_when>
    <thetext>Looks like it started with darin&apos;s change here: http://trac.webkit.org/changeset/40824

Specifically removing the null check for doc in Frame::contentRenderer() (Frame.cpp:1130)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110007</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-02-17 14:08:12 -0800</bug_when>
    <thetext>marking p1 since this is a regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110009</commentid>
    <comment_count>3</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2009-02-17 14:30:01 -0800</bug_when>
    <thetext>I&apos;m happy to just add the null-check back in. Don&apos;t know if that&apos;s the right fix though. Will send a patch with the null-check if I don&apos;t hear otherwise.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110011</commentid>
    <comment_count>4</comment_count>
      <attachid>27738</attachid>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2009-02-17 14:43:03 -0800</bug_when>
    <thetext>Created attachment 27738
Fix crash on page load of http://www.stickam.com/liveStreams.do. Just readds a null-check that was removed in r40824.

 WebCore/page/Frame.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110063</commentid>
    <comment_count>5</comment_count>
      <attachid>27738</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-02-18 04:11:39 -0800</bug_when>
    <thetext>Comment on attachment 27738
Fix crash on page load of http://www.stickam.com/liveStreams.do. Just readds a null-check that was removed in r40824.

r=me

The code change looks fine, but I&apos;m somewhat confused whether this needs a layout test. Did this problem cause crashes in existing tests on Windows? If it did not, can a new test be created for this fix?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110117</commentid>
    <comment_count>6</comment_count>
    <who name="Ojan Vafai">ojan</who>
    <bug_when>2009-02-18 14:02:29 -0800</bug_when>
    <thetext>IRC discussion:
ojan: ap: regarding https://bugs.webkit.org/show_bug.cgi?id=23992...i haven&apos;t really been able to come up with a reduced case for the crash. it does crash everytime loading the page in question, but i haven&apos; been able to figure out where exactly. saving a static version of the page and loading it doesn&apos;t cause a crash. i can dig further into the stack trace to try and understand when we&apos;re hitting this, but i&apos;m not sure how much fruit that will yield.
ap: ojan: ok

I did dig further. Looks like it&apos;s crashing in the actual load event. I think (not sure) that an iframe is being appended to the page onload of the top-level window. The contentRenderer is grabbed before the iframe has a document.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110121</commentid>
    <comment_count>7</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2009-02-18 14:12:17 -0800</bug_when>
    <thetext>Landed as http://trac.webkit.org/changeset/41066</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>27738</attachid>
            <date>2009-02-17 14:43:03 -0800</date>
            <delta_ts>2009-02-18 04:11:39 -0800</delta_ts>
            <desc>Fix crash on page load of http://www.stickam.com/liveStreams.do. Just readds a null-check that was removed in r40824.</desc>
            <filename>d-of-http-www.stickam.com-liveStreams.do.-Just-readds-a-null-check-that-was-removed-in-r40824..patch</filename>
            <type>text/plain</type>
            <size>437</size>
            <attacher name="Ojan Vafai">ojan</attacher>
            
              <data encoding="base64">MjEzNWEyYjI3NGE2NDlhODIxYzlkZTkzZmUxOGQ4MDBkYjQzNTBhYwpkaWZmIC0tZ2l0IGEvV2Vi
Q29yZS9wYWdlL0ZyYW1lLmNwcCBiL1dlYkNvcmUvcGFnZS9GcmFtZS5jcHAKaW5kZXggZTBlNDBk
OS4uNDZkYTRmNCAxMDA2NDQKLS0tIGEvV2ViQ29yZS9wYWdlL0ZyYW1lLmNwcAorKysgYi9XZWJD
b3JlL3BhZ2UvRnJhbWUuY3BwCkBAIC0xMTEwLDYgKzExMTAsOCBAQCB2b2lkIEZyYW1lOjpjbGVh
ckRPTVdpbmRvdygpCiBSZW5kZXJWaWV3KiBGcmFtZTo6Y29udGVudFJlbmRlcmVyKCkgY29uc3QK
IHsKICAgICBEb2N1bWVudCogZG9jID0gZG9jdW1lbnQoKTsKKyAgICBpZiAoIWRvYykKKyAgICAg
ICAgcmV0dXJuIDA7CiAgICAgUmVuZGVyT2JqZWN0KiBvYmplY3QgPSBkb2MtPnJlbmRlcmVyKCk7
CiAgICAgaWYgKCFvYmplY3QpCiAgICAgICAgIHJldHVybiAwOwo=
</data>
<flag name="review"
          id="13481"
          type_id="1"
          status="+"
          setter="ap"
    />
          </attachment>
      

    </bug>

</bugzilla>