[ios-simulator] API test WebKit2.WKWebProcessPlugInRangeHandle timing out https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Release%20WK2%20%28Tests%29/builds/3262
Test was added with https://trac.webkit.org/changeset/211354
The test passes for me in the iOS Simulator. Not sure what’s going on.
(In reply to comment #2) > The test passes for me in the iOS Simulator. Not sure what’s going on. This is making the bots red, so I'd like to roll out if necessary.
If possible, I’d just disable the test.
Ryan, are you able to reproduce this locally?
<rdar://problem/30274363>
Disabled test in http://trac.webkit.org/projects/webkit/changeset/211467.
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
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.
Looks like Andy found the cause in bug 170496.
*** Bug 170496 has been marked as a duplicate of this bug. ***
Created attachment 306265 [details] Patch
Comment on attachment 306265 [details] Patch Nevermind, this is just gardening. No need for a review.
Committed r214933: <https://trac.webkit.org/r214933>
This test is still timing out on the bots: https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Release%20WK2%20(Tests)/builds/501
I disabled test again in https://trac.webkit.org/changeset/215112/webkit
Committed r215372: <https://trac.webkit.org/changeset/215372>
What was the new fix after 2017-04-07?
(In reply to Alexey Proskuryakov from comment #18) > What was the new fix after 2017-04-07? See bug #161967
This API test is still a flaky timeout.
Disabled test in http://trac.webkit.org/projects/webkit/changeset/215651