<?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>167594</bug_id>
          
          <creation_ts>2017-01-30 09:55:29 -0800</creation_ts>
          <short_desc>[ios-simulator] API test WebKit2.WKWebProcessPlugInRangeHandle timing out</short_desc>
          <delta_ts>2017-04-21 15:56:17 -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>New Bugs</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=170496</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>
          <dependson>161967</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Andy Estes">aestes</assigned_to>
          <cc>aestes</cc>
    
    <cc>ap</cc>
    
    <cc>mitz</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1271290</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-01-30 09:55:29 -0800</bug_when>
    <thetext>[ios-simulator] API test WebKit2.WKWebProcessPlugInRangeHandle timing out

https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Release%20WK2%20%28Tests%29/builds/3262</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271293</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-01-30 10:02:16 -0800</bug_when>
    <thetext>Test was added with https://trac.webkit.org/changeset/211354</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271299</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2017-01-30 10:09:18 -0800</bug_when>
    <thetext>The test passes for me in the iOS Simulator. Not sure what’s going on.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271363</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-01-30 12:15:12 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; The test passes for me in the iOS Simulator. Not sure what’s going on.

This is making the bots red, so I&apos;d like to roll out if necessary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271372</commentid>
    <comment_count>4</comment_count>
    <who name="">mitz</who>
    <bug_when>2017-01-30 12:27:15 -0800</bug_when>
    <thetext>If possible, I’d just disable the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271374</commentid>
    <comment_count>5</comment_count>
    <who name="">mitz</who>
    <bug_when>2017-01-30 12:27:43 -0800</bug_when>
    <thetext>Ryan, are you able to reproduce this locally?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1271438</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-01-30 15:25:24 -0800</bug_when>
    <thetext>&lt;rdar://problem/30274363&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1272026</commentid>
    <comment_count>7</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-01-31 19:57:57 -0800</bug_when>
    <thetext>Disabled test in http://trac.webkit.org/projects/webkit/changeset/211467.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1272031</commentid>
    <comment_count>8</comment_count>
    <who name="">mitz</who>
    <bug_when>2017-01-31 20:28:47 -0800</bug_when>
    <thetext>On a computer that’s reproducing this failure, I see that the Web Content process is crashing with this backtrace:

  * frame #0: 0x000000010d113569 CoreFoundation`CFStringGetLength + 9
    frame #1: 0x0000000123a611bd DataDetectorsCore`_typesAreEqual + 43
    frame #2: 0x0000000123a613e4 DataDetectorsCore`_DDResultTypeIsAnyPhoneKind + 22
    frame #3: 0x0000000123a61341 DataDetectorsCore`_DDGetRelevantResultsForUrlificationRange + 28
    frame #4: 0x0000000123a61432 DataDetectorsCore`DDResultGetQueryRangeForURLification + 25
    frame #5: 0x000000011538ac23 WebCore`WebCore::softLink_DataDetectorsCore_DDResultGetQueryRangeForURLification(result=0x00007fb1ab10acc0) + 35 at DataDetectorsCoreSoftLink.h:49
    frame #6: 0x0000000115388411 WebCore`WebCore::DataDetection::detectContentInRange(contextRange=0x00007fff56249be8, types=DataDetectorTypeAll, context=0x00007fb1ab0009c0) + 5569 at DataDetection.mm:536</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1272033</commentid>
    <comment_count>9</comment_count>
    <who name="">mitz</who>
    <bug_when>2017-01-31 20:49:09 -0800</bug_when>
    <thetext>The crash seems to happen because we somehow mangle the value passed to DDResultGetQueryRangeForURLification. It is not the value of result seen in frame #5 above. Perhaps something about the “soft linking” code or the forward declarations used when not using the Apple Internal SDK is causing it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1294404</commentid>
    <comment_count>10</comment_count>
    <who name="">mitz</who>
    <bug_when>2017-04-04 23:24:45 -0700</bug_when>
    <thetext>Looks like Andy found the cause in bug 170496.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1294412</commentid>
    <comment_count>11</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2017-04-04 23:41:45 -0700</bug_when>
    <thetext>*** Bug 170496 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1294415</commentid>
    <comment_count>12</comment_count>
      <attachid>306265</attachid>
    <who name="Andy Estes">aestes</who>
    <bug_when>2017-04-04 23:49:08 -0700</bug_when>
    <thetext>Created attachment 306265
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1294418</commentid>
    <comment_count>13</comment_count>
      <attachid>306265</attachid>
    <who name="Andy Estes">aestes</who>
    <bug_when>2017-04-05 00:08:17 -0700</bug_when>
    <thetext>Comment on attachment 306265
Patch

Nevermind, this is just gardening. No need for a review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1294423</commentid>
    <comment_count>14</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2017-04-05 00:40:45 -0700</bug_when>
    <thetext>Committed r214933: &lt;https://trac.webkit.org/r214933&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1295395</commentid>
    <comment_count>15</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-04-07 11:11:21 -0700</bug_when>
    <thetext>This test is still timing out on the bots:

https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Release%20WK2%20(Tests)/builds/501</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1295466</commentid>
    <comment_count>16</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-04-07 13:13:03 -0700</bug_when>
    <thetext>I disabled test again in https://trac.webkit.org/changeset/215112/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1297486</commentid>
    <comment_count>17</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2017-04-14 13:35:14 -0700</bug_when>
    <thetext>Committed r215372: &lt;https://trac.webkit.org/changeset/215372&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1297742</commentid>
    <comment_count>18</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-04-16 00:19:09 -0700</bug_when>
    <thetext>What was the new fix after 2017-04-07?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1297967</commentid>
    <comment_count>19</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2017-04-17 12:07:38 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #18)
&gt; What was the new fix after 2017-04-07?

See bug #161967</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1299955</commentid>
    <comment_count>20</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-04-21 15:48:23 -0700</bug_when>
    <thetext>This API test is still a flaky timeout.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1299960</commentid>
    <comment_count>21</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2017-04-21 15:56:17 -0700</bug_when>
    <thetext>Disabled test in http://trac.webkit.org/projects/webkit/changeset/215651</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>306265</attachid>
            <date>2017-04-04 23:49:08 -0700</date>
            <delta_ts>2017-04-05 00:40:12 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-167594-20170404234908.patch</filename>
            <type>text/plain</type>
            <size>1603</size>
            <attacher name="Andy Estes">aestes</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjE0ODM5CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggZDU2ZTc0ZDI1OGZlZjIxZWVmZTk1ODA2MmZhODk2ZTEz
M2NhMzU0Ni4uOTM4NjlmN2E3ZWVlMzU1Y2FhNzBjYTEyZjFhOTA1ZTYzNzA1YmYzNSAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE1
IEBACisyMDE3LTA0LTA0ICBBbmR5IEVzdGVzICA8YWVzdGVzQGFwcGxlLmNvbT4KKworICAgICAg
ICBbaW9zLXNpbXVsYXRvcl0gQVBJIHRlc3QgV2ViS2l0Mi5XS1dlY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