<?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>159990</bug_id>
          
          <creation_ts>2016-07-20 15:54:28 -0700</creation_ts>
          <short_desc>REGRESSION(r148588): ews classes might get garbage collected</short_desc>
          <delta_ts>2016-07-20 17:29:03 -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>Tools / Tests</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=114558</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=160001</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=159539</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Aakash Jain">aakash_jain</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>glenn</cc>
    
    <cc>lforschler</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1212911</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2016-07-20 15:54:28 -0700</bug_when>
    <thetext>sometimes running webkit-patch command for ews queues fails with below error.

buildbot$ ./Tools/Scripts/webkit-patch ios-ews --bot-id=bot110 --exit-after-iteration 1
Usage: webkit-patch [options] COMMAND [ARGS]

webkit-patch: error: no such option: --exit-after-iteration


It happens because webkit-patch sometimes do not know about ews classes. This happens because AbstractEarlyWarningSystem.load_ews_classes() is called in webkitpy/tool/commands/__init__.py, but the result is not stored in a variable and it might get garbage collected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1212918</commentid>
    <comment_count>1</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2016-07-20 16:05:44 -0700</bug_when>
    <thetext>This issue got exposed by a recent commit &lt;http://trac.webkit.org/r203386&gt;, and we did a temporary fix  &lt;http://trac.webkit.org/r203417&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1212919</commentid>
    <comment_count>2</comment_count>
      <attachid>284162</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2016-07-20 16:06:07 -0700</bug_when>
    <thetext>Created attachment 284162
Proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1212938</commentid>
    <comment_count>3</comment_count>
      <attachid>284162</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-07-20 16:29:20 -0700</bug_when>
    <thetext>Comment on attachment 284162
Proposed patch

Clearing flags on attachment: 284162

Committed r203479: &lt;http://trac.webkit.org/changeset/203479&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1212939</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-07-20 16:29:25 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1212951</commentid>
    <comment_count>5</comment_count>
      <attachid>284162</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-07-20 17:08:56 -0700</bug_when>
    <thetext>Comment on attachment 284162
Proposed patch

Aakash, could you please revert the temporary fix?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1212968</commentid>
    <comment_count>6</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2016-07-20 17:28:23 -0700</bug_when>
    <thetext>sure, reverting it in https://bugs.webkit.org/show_bug.cgi?id=160001</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>284162</attachid>
            <date>2016-07-20 16:06:07 -0700</date>
            <delta_ts>2016-07-20 16:29:20 -0700</delta_ts>
            <desc>Proposed patch</desc>
            <filename>ews-load-classes</filename>
            <type>text/plain</type>
            <size>1171</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDIwMzQ3MykKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEzIEBACisyMDE2LTA3LTIwICBBYWthc2ggSmFpbiAgPGFha2FzaF9qYWluQGFwcGxlLmNv
bT4KKworICAgICAgICBSRUdSRVNTSU9OKHIxNDg1ODgpOiBld3MgY2xhc3NlcyBtaWdodCBnZXQg
Z2FyYmFnZSBjb2xsZWN0ZWQKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19i
dWcuY2dpP2lkPTE1OTk5MAorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgor
CisgICAgICAgICogU2NyaXB0cy93ZWJraXRweS90b29sL2NvbW1hbmRzL19faW5pdF9fLnB5OiBT
dG9yZSB0aGUgbG9hZGVkIGV3cyBjbGFzc2VzCisgICAgICAgIGluIGEgdmFyaWFibGUgc28gdGhh
dCB0aGV5IGRvIG5vdCBnZXQgZ2FyYmFnZSBjb2xsZWN0ZWQuCisKIDIwMTYtMDctMjAgIFdlbnNv
biBIc2llaCAgPHdlbnNvbl9oc2llaEBhcHBsZS5jb20+CiAKICAgICAgICAgVW5yZXZpZXdlZCBp
T1MgYnVpbGQgZml4LgpJbmRleDogVG9vbHMvU2NyaXB0cy93ZWJraXRweS90b29sL2NvbW1hbmRz
L19faW5pdF9fLnB5Cj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFRvb2xzL1NjcmlwdHMvd2Via2l0cHkvdG9vbC9j
b21tYW5kcy9fX2luaXRfXy5weQkocmV2aXNpb24gMjAzNDczKQorKysgVG9vbHMvU2NyaXB0cy93
ZWJraXRweS90b29sL2NvbW1hbmRzL19faW5pdF9fLnB5CSh3b3JraW5nIGNvcHkpCkBAIC0yMiw0
ICsyMiw0IEBAIGZyb20gd2Via2l0cHkudG9vbC5jb21tYW5kcy5zaGVyaWZmYm90IGkKIGZyb20g
d2Via2l0cHkudG9vbC5jb21tYW5kcy51cGxvYWQgaW1wb3J0ICoKIGZyb20gd2Via2l0cHkudG9v
bC5jb21tYW5kcy5zdWdnZXN0bm9taW5hdGlvbnMgaW1wb3J0ICoKIAotQWJzdHJhY3RFYXJseVdh
cm5pbmdTeXN0ZW0ubG9hZF9ld3NfY2xhc3NlcygpCitjbGFzc2VzID0gQWJzdHJhY3RFYXJseVdh
cm5pbmdTeXN0ZW0ubG9hZF9ld3NfY2xhc3NlcygpCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>