<?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>53402</bug_id>
          
          <creation_ts>2011-01-30 12:58:01 -0800</creation_ts>
          <short_desc>Add sanity check to help diagnose bug 52819</short_desc>
          <delta_ts>2011-01-31 20:04:33 -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>History</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>52819</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Charles Reis">creis</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>mihaip</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>342360</commentid>
    <comment_count>0</comment_count>
    <who name="Charles Reis">creis</who>
    <bug_when>2011-01-30 12:58:01 -0800</bug_when>
    <thetext>We&apos;re seeing many crash reports for bug 52819 in HistoryController::itemsAreClones.  The crashes happen when fromItem in recursiveSetProvisionalItem is null, which happens if the parent HistoryItem does not have a child item with the target frame name.

The crash reports suggest that fromItem has 0 children, which should be impossible.  (The previous call to itemsAreClones should verify that fromItem and item have the same number of children, and item clearly has children.)  On the flip side, it&apos;s possible for the crash to happen if fromItem has ended up with two children of the same name, though the crash reports don&apos;t seen to be consistent with that.

This bug is for adding a sanity check to help diagnose which (if either) of these is happening in practice, since we don&apos;t have any information about how to reproduce the crash yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>342363</commentid>
    <comment_count>1</comment_count>
      <attachid>80599</attachid>
    <who name="Charles Reis">creis</who>
    <bug_when>2011-01-30 13:05:12 -0800</bug_when>
    <thetext>Created attachment 80599
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>342985</commentid>
    <comment_count>2</comment_count>
      <attachid>80599</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-01-31 20:04:29 -0800</bug_when>
    <thetext>Comment on attachment 80599
Patch

Clearing flags on attachment: 80599

Committed r77210: &lt;http://trac.webkit.org/changeset/77210&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>342986</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-01-31 20:04:33 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>80599</attachid>
            <date>2011-01-30 13:05:12 -0800</date>
            <delta_ts>2011-01-31 20:04:29 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-53402-20110130130511.patch</filename>
            <type>text/plain</type>
            <size>1697</size>
            <attacher name="Charles Reis">creis</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDc2NTc4KQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTQgQEAKKzIwMTEtMDEtMzAgIENoYXJsaWUg
UmVpcyAgPGNyZWlzQGN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ly93ZWJraXQub3JnL2IvNTI4MTku
CisgICAgICAgIGlmIChzaXplID4gMCkgeworICAgICAgICAgICAgLy8gZnJvbUl0ZW0gc2hvdWxk
IGhhdmUgc2FtZSBudW1iZXIgb2YgY2hpbGRyZW4gYWNjb3JkaW5nIHRvIGhhc1NhbWVGcmFtZXMs
CisgICAgICAgICAgICAvLyBidXQgY3Jhc2ggZHVtcHMgc3VnZ2VzdCBpdCBtaWdodCBoYXZlIDAu
CisgICAgICAgICAgICBpZiAoIWZyb21JdGVtLT5jaGlsZHJlbigpLnNpemUoKSkKKyAgICAgICAg
ICAgICAgICBDUkFTSCgpOworICAgICAgICAgICAgLy8gaXRlbXNBcmVDbG9uZXMgY2hlY2tlZCBm
cm9tSXRlbS0+aGFzU2FtZUZyYW1lcyhpdGVtKS4gQ2hlY2sgdmljZSB2ZXJzYS4KKyAgICAgICAg
ICAgIGlmICghaXRlbS0+aGFzU2FtZUZyYW1lcyhmcm9tSXRlbSkpCisgICAgICAgICAgICAgICAg
Q1JBU0goKTsKKyAgICAgICAgfQorCiAgICAgICAgIGZvciAoaW50IGkgPSAwOyBpIDwgc2l6ZTsg
KytpKSB7CiAgICAgICAgICAgICBTdHJpbmcgY2hpbGRGcmFtZU5hbWUgPSBjaGlsZEl0ZW1zW2ld
LT50YXJnZXQoKTsKICAgICAgICAgICAgIEhpc3RvcnlJdGVtKiBmcm9tQ2hpbGRJdGVtID0gZnJv
bUl0ZW0tPmNoaWxkSXRlbVdpdGhUYXJnZXQoY2hpbGRGcmFtZU5hbWUpOwo=
</data>

          </attachment>
      

    </bug>

</bugzilla>