<?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>192486</bug_id>
          
          <creation_ts>2018-12-06 18:28:27 -0800</creation_ts>
          <short_desc>Consecutive DumpRenderTree crashes are happening again on WinCairo BuildBots since r238903</short_desc>
          <delta_ts>2018-12-07 01:16:38 -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>Tools / Tests</component>
          <version>WebKit Nightly 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=192161</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=188036</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>glenn</cc>
    
    <cc>jbedard</cc>
    
    <cc>lforschler</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1485905</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-12-06 18:28:27 -0800</bug_when>
    <thetext>Consecutive DumpRenderTree crashes are happening again on WinCairo BuildBots since r238903

WinCairo BuildBots is using WEBKIT_TEST_CHILD_PROCESSES to avoid Bug 192161.
But, WEBKIT_TEST_CHILD_PROCESSES was removed in Bug 192161.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485906</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-12-06 18:30:17 -0800</bug_when>
    <thetext>(In reply to Fujii Hironori from comment #0)
&gt; WinCairo BuildBots is using WEBKIT_TEST_CHILD_PROCESSES to avoid Bug 192161.

Oops. Wrong bug id. I meant this:

  Bug 188036 – Consecutive DumpRenderTree crash on WinCairo BuildBots</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485913</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2018-12-06 19:38:35 -0800</bug_when>
    <thetext>Didn&apos;t see WEBKIT_TEST_CHILD_PROCESSES being used anywhere, apparently didn&apos;t look hard enough. This is an easy enough fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485916</commentid>
    <comment_count>3</comment_count>
      <attachid>356780</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2018-12-06 19:50:55 -0800</bug_when>
    <thetext>Created attachment 356780
Original Behavior</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485917</commentid>
    <comment_count>4</comment_count>
      <attachid>356781</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2018-12-06 19:54:19 -0800</bug_when>
    <thetext>Created attachment 356781
Possible Improvement</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485918</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2018-12-06 19:58:11 -0800</bug_when>
    <thetext>I don&apos;t have a great way to test this (nor am I familiar with the original bug) but I have 2 patches, either one will likely fix the issue. The first patch will return the original behavior and respect WEBKIT_TEST_CHILD_PROCESSES. The second what I think we actually want here, it modifies the maximum number of child processes for the WinCairo port, that way no one has to worry about setting up WEBKIT_TEST_CHILD_PROCESSES on machines running these tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485919</commentid>
    <comment_count>6</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-12-06 20:57:52 -0800</bug_when>
    <thetext>Thank you very much for working on this. I tested both patches,
and confirmed both work fine.

IMO, Original Behavior patch is somewhat more preferable because
Bug 188036 is happening only on WinCairo test bot. WinCairo test
bot is now running on 8-thread machine, but has limited RAM.
run-webkit-tests trys to run 8 DumpRenderTree processes on it,
but fails to spawning a new process due to memory shortage. It
doesn&apos;t happen on my PC. And, we have a plan to add new bot
machines. I don&apos;t know the spec yet. But, I hope it would be able
to run more workers to shorten testing time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485922</commentid>
    <comment_count>7</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2018-12-06 21:20:51 -0800</bug_when>
    <thetext>(In reply to Fujii Hironori from comment #6)
&gt; Thank you very much for working on this. I tested both patches,
&gt; and confirmed both work fine.
&gt; 
&gt; IMO, Original Behavior patch is somewhat more preferable because
&gt; Bug 188036 is happening only on WinCairo test bot. WinCairo test
&gt; bot is now running on 8-thread machine, but has limited RAM.
&gt; run-webkit-tests trys to run 8 DumpRenderTree processes on it,
&gt; but fails to spawning a new process due to memory shortage. It
&gt; doesn&apos;t happen on my PC. And, we have a plan to add new bot
&gt; machines. I don&apos;t know the spec yet. But, I hope it would be able
&gt; to run more workers to shorten testing time.

For now, I&apos;ll land the first then.

We&apos;ve actually had this problem with simulators too, the &apos;right&apos; solution is to have the port define default processes based on CPU and RAM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485923</commentid>
    <comment_count>8</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-12-06 21:27:23 -0800</bug_when>
    <thetext>(In reply to Jonathan Bedard from comment #7)
&gt; For now, I&apos;ll land the first then.
&gt; 
&gt; We&apos;ve actually had this problem with simulators too, the &apos;right&apos; solution is
&gt; to have the port define default processes based on CPU and RAM.

It makes sense. I get the idea.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485924</commentid>
    <comment_count>9</comment_count>
      <attachid>356782</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2018-12-06 21:28:03 -0800</bug_when>
    <thetext>Created attachment 356782
Patch for landing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485932</commentid>
    <comment_count>10</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-12-06 22:17:53 -0800</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 356782:

imported/w3c/web-platform-tests/WebCryptoAPI/generateKey/failures_RSASSA-PKCS1-v1_5.https.any.html bug 192488
The commit-queue is continuing to process your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485933</commentid>
    <comment_count>11</comment_count>
      <attachid>356782</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-12-06 22:18:41 -0800</bug_when>
    <thetext>Comment on attachment 356782
Patch for landing

Clearing flags on attachment: 356782

Committed r238950: &lt;https://trac.webkit.org/changeset/238950&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485934</commentid>
    <comment_count>12</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-12-06 22:18:43 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485935</commentid>
    <comment_count>13</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-12-06 22:19:30 -0800</bug_when>
    <thetext>&lt;rdar://problem/46546609&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485945</commentid>
    <comment_count>14</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-12-07 01:16:38 -0800</bug_when>
    <thetext>WinCairo test bots get back to normal. Thank you very much.
I am going to do comment#7 task in Bug 192490.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>356780</attachid>
            <date>2018-12-06 19:50:55 -0800</date>
            <delta_ts>2018-12-06 21:28:01 -0800</delta_ts>
            <desc>Original Behavior</desc>
            <filename>bug-192486-20181206195054.patch</filename>
            <type>text/plain</type>
            <size>1341</size>
            <attacher name="Jonathan Bedard">jbedard</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDIzODk0NykKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEzIEBACisyMDE4LTEyLTA2ICBKb25hdGhhbiBCZWRhcmQgIDxqYmVkYXJkQGFwcGxlLmNv
bT4KKworICAgICAgICBDb25zZWN1dGl2ZSBEdW1wUmVuZGVyVHJlZSBjcmFzaGVzIGFyZSBoYXBw
ZW5pbmcgYWdhaW4gb24gV2luQ2Fpcm8gQnVpbGRCb3RzIHNpbmNlIHIyMzg5MDMKKyAgICAgICAg
aHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE5MjQ4NgorCisgICAgICAg
IFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICogU2NyaXB0cy93ZWJraXRw
eS9sYXlvdXRfdGVzdHMvcnVuX3dlYmtpdF90ZXN0cy5weToKKyAgICAgICAgKF9zZXRfdXBfZGVy
aXZlZF9vcHRpb25zKToKKwogMjAxOC0xMi0wNiAgSm9uYXRoYW4gQmVkYXJkICA8amJlZGFyZEBh
cHBsZS5jb20+CiAKICAgICAgICAgUkVHUkVTU0lPTjogcnVuLXdlYmtpdC10ZXN0cyBtYXkgZmFp
bCB3aGVuIHVzaW5nIGJvb3RlZCBzaW11bGF0b3JzCkluZGV4OiBUb29scy9TY3JpcHRzL3dlYmtp
dHB5L2xheW91dF90ZXN0cy9ydW5fd2Via2l0X3Rlc3RzLnB5Cj09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFRvb2xz
L1NjcmlwdHMvd2Via2l0cHkvbGF5b3V0X3Rlc3RzL3J1bl93ZWJraXRfdGVzdHMucHkJKHJldmlz
aW9uIDIzODk0NykKKysrIFRvb2xzL1NjcmlwdHMvd2Via2l0cHkvbGF5b3V0X3Rlc3RzL3J1bl93
ZWJraXRfdGVzdHMucHkJKHdvcmtpbmcgY29weSkKQEAgLTM3MCw2ICszNzAsOSBAQCBkZWYgX3By
aW50X2V4cGVjdGF0aW9ucyhwb3J0LCBvcHRpb25zLCBhCiAKIGRlZiBfc2V0X3VwX2Rlcml2ZWRf
b3B0aW9ucyhwb3J0LCBvcHRpb25zKToKICAgICAiIiJTZXRzIHRoZSBvcHRpb25zIHZhbHVlcyB0
aGF0IGRlcGVuZCBvbiBvdGhlciBvcHRpb25zIHZhbHVlcy4iIiIKKyAgICBpZiBub3Qgb3B0aW9u
cy5jaGlsZF9wcm9jZXNzZXM6CisgICAgICAgIG9wdGlvbnMuY2hpbGRfcHJvY2Vzc2VzID0gb3Mu
ZW52aXJvbi5nZXQoJ1dFQktJVF9URVNUX0NISUxEX1BST0NFU1NFUycpCisKICAgICBpZiBub3Qg
b3B0aW9ucy5jb25maWd1cmF0aW9uOgogICAgICAgICBvcHRpb25zLmNvbmZpZ3VyYXRpb24gPSBw
b3J0LmRlZmF1bHRfY29uZmlndXJhdGlvbigpCiAK
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>356781</attachid>
            <date>2018-12-06 19:54:19 -0800</date>
            <delta_ts>2018-12-06 21:21:03 -0800</delta_ts>
            <desc>Possible Improvement</desc>
            <filename>bug-192486-20181206195418.patch</filename>
            <type>text/plain</type>
            <size>1281</size>
            <attacher name="Jonathan Bedard">jbedard</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDIzODk0NykKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE0IEBACisyMDE4LTEyLTA2ICBKb25hdGhhbiBCZWRhcmQgIDxqYmVkYXJkQGFwcGxlLmNv
bT4KKworICAgICAgICBDb25zZWN1dGl2ZSBEdW1wUmVuZGVyVHJlZSBjcmFzaGVzIGFyZSBoYXBw
ZW5pbmcgYWdhaW4gb24gV2luQ2Fpcm8gQnVpbGRCb3RzIHNpbmNlIHIyMzg5MDMKKyAgICAgICAg
aHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE5MjQ4NgorCisgICAgICAg
IFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICogU2NyaXB0cy93ZWJraXRw
eS9wb3J0L3dpbi5weToKKyAgICAgICAgKFdpbkNhaXJvUG9ydCk6CisgICAgICAgIChXaW5DYWly
b1BvcnQubWF4X2NoaWxkX3Byb2Nlc3Nlcyk6CisKIDIwMTgtMTItMDYgIEpvbmF0aGFuIEJlZGFy
ZCAgPGpiZWRhcmRAYXBwbGUuY29tPgogCiAgICAgICAgIFJFR1JFU1NJT046IHJ1bi13ZWJraXQt
dGVzdHMgbWF5IGZhaWwgd2hlbiB1c2luZyBib290ZWQgc2ltdWxhdG9ycwpJbmRleDogVG9vbHMv
U2NyaXB0cy93ZWJraXRweS9wb3J0L3dpbi5weQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9TY3JpcHRz
L3dlYmtpdHB5L3BvcnQvd2luLnB5CShyZXZpc2lvbiAyMzg5NDcpCisrKyBUb29scy9TY3JpcHRz
L3dlYmtpdHB5L3BvcnQvd2luLnB5CSh3b3JraW5nIGNvcHkpCkBAIC00OTAsMyArNDkwLDYgQEAg
Y2xhc3MgV2luQ2Fpcm9Qb3J0KFdpblBvcnQpOgogICAgICAgICBmYWxsYmFja19uYW1lcyA9IFsn
d2luY2Fpcm8tJyArIHZlcnNpb25fbmFtZV9tYXAudG9fbmFtZSh2ZXJzaW9uLCBwbGF0Zm9ybT1z
ZWxmLnBvcnRfbmFtZSkubG93ZXIoKS5yZXBsYWNlKCcgJywgJycpIGZvciB2ZXJzaW9uIGluIGZh
bGxiYWNrX3ZlcnNpb25zXQogICAgICAgICBmYWxsYmFja19uYW1lcy5hcHBlbmQoJ3dpbmNhaXJv
JykKICAgICAgICAgcmV0dXJuIG1hcChzZWxmLl93ZWJraXRfYmFzZWxpbmVfcGF0aCwgZmFsbGJh
Y2tfbmFtZXMpCisKKyAgICBkZWYgbWF4X2NoaWxkX3Byb2Nlc3NlcyhzZWxmLCBkZXZpY2VfdHlw
ZT1Ob25lKToKKyAgICAgICAgcmV0dXJuIDIK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>356782</attachid>
            <date>2018-12-06 21:28:03 -0800</date>
            <delta_ts>2018-12-06 22:18:41 -0800</delta_ts>
            <desc>Patch for landing</desc>
            <filename>bug-192486-20181206212803.patch</filename>
            <type>text/plain</type>
            <size>1451</size>
            <attacher name="Jonathan Bedard">jbedard</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDIzODk0NykKKysr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