<?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>246656</bug_id>
          
          <creation_ts>2022-10-17 15:56:57 -0700</creation_ts>
          <short_desc>REGRESSION(255600@main): [ iOS ] ASSERTION FAILED: threadLikeAssertion.isCurrent() hit by TestWebKitAPI.WebKit.RequestRectForFoundTextRange every time</short_desc>
          <delta_ts>2022-10-21 10:11:09 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="Hercules Hjalmarsson">hhjalmarsson</reporter>
          <assigned_to name="Aditya Keerthi">akeerthi</assigned_to>
          <cc>ap</cc>
    
    <cc>darin</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1906294</commentid>
    <comment_count>0</comment_count>
    <who name="Hercules Hjalmarsson">hhjalmarsson</who>
    <bug_when>2022-10-17 15:56:57 -0700</bug_when>
    <thetext>TestWebKitAPI.WebKit.RequestRectForFoundTextRange

Is a constant API failure on iOS ToT and since 255600@main.

HISTORY:
https://results.webkit.org/?suite=api-tests&amp;test=TestWebKitAPI.WebKit.RequestRectForFoundTextRange

DIFF:
ASSERTION FAILED: threadLikeAssertion.isCurrent()
/Volumes/Data/worker//build/OpenSource/WebKitBuild/Debug-iphonesimulator/usr/local/include/wtf/ThreadAssertions.h(158) : void WTF::assertIsCurrent(const WTF::ThreadLikeAssertion &amp;)
1   0x5322ae989 WTFCrash
2   0x5571d087b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x5571eb6a3 WTF::assertIsCurrent(WTF::ThreadLikeAssertion const&amp;)
4   0x558d8c0e7 WTF::CompletionHandler&lt;void (WebCore::FloatRect)&gt;::operator()(WebCore::FloatRect)
5   0x55968997d WebKit::WebFoundTextRangeController::requestRectForFoundTextRange(WebKit::WebFoundTextRange const&amp;, WTF::CompletionHandler&lt;void (WebCore::FloatRect)&gt;&amp;&amp;)
6   0x5598c5ab2 WebKit::WebPage::requestRectForFoundTextRange(WebKit::WebFoundTextRange const&amp;, WTF::CompletionHandler&lt;void (WebCore::FloatRect)&gt;&amp;&amp;)
7   0x559a1914c void IPC::callMemberFunctionImpl&lt;WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebFoundTextRange const&amp;, WTF::CompletionHandler&lt;void (WebCore::FloatRect)&gt;&amp;&amp;), void (WebCore::FloatRect), std::__1::tuple&lt;WebKit::WebFoundTextRange&gt;, 0ul&gt;(WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebFoundTextRange const&amp;, WTF::CompletionHandler&lt;void (WebCore::FloatRect)&gt;&amp;&amp;), WTF::CompletionHandler&lt;void (WebCore::FloatRect)&gt;&amp;&amp;, std::__1::tuple&lt;WebKit::WebFoundTextRange&gt;&amp;&amp;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt;)
8   0x559a19042 void IPC::callMemberFunction&lt;WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebFoundTextRange const&amp;, WTF::CompletionHandler&lt;void (WebCore::FloatRect)&gt;&amp;&amp;), void (WebCore::FloatRect), std::__1::tuple&lt;WebKit::WebFoundTextRange&gt;, std::__1::integer_sequence&lt;unsigned long, 0ul&gt; &gt;(std::__1::tuple&lt;WebKit::WebFoundTextRange&gt;&amp;&amp;, WTF::CompletionHandler&lt;void (WebCore::FloatRect)&gt;&amp;&amp;, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebFoundTextRange const&amp;, WTF::CompletionHandler&lt;void (WebCore::FloatRect)&gt;&amp;&amp;))
9   0x559949ded void IPC::handleMessageAsync&lt;Messages::WebPage::RequestRectForFoundTextRange, WebKit::WebPage, void (WebKit::WebPage::*)(WebKit::WebFoundTextRange const&amp;, WTF::CompletionHandler&lt;void (WebCore::FloatRect)&gt;&amp;&amp;)&gt;(IPC::Connection&amp;, IPC::Decoder&amp;, WebKit::WebPage*, void (WebKit::WebPage::*)(WebKit::WebFoundTextRange const&amp;, WTF::CompletionHandler&lt;void (WebCore::FloatRect)&gt;&amp;&amp;))
10  0x559936352 WebKit::WebPage::didReceiveWebPageMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
11  0x5598c761b WebKit::WebPage::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
12  0x559f585d3 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
13  0x5590a27f1 WebKit::WebProcess::didReceiveMessage(IPC::Connection&amp;, IPC::Decoder&amp;)
14  0x559f2bf6b IPC::Connection::dispatchMessage(IPC::Decoder&amp;)
15  0x559f2c555 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)
16  0x559f2c84d IPC::Connection::dispatchOneIncomingMessage()
17  0x559f4b175 IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_16::operator()()
18  0x559f4b089 WTF::Detail::CallableWrapper&lt;IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr&lt;IPC::Decoder, std::__1::default_delete&lt;IPC::Decoder&gt; &gt;)::$_16, void&gt;::call()
19  0x5322dace2 WTF::Function&lt;void ()&gt;::operator()() const
20  0x53236ee82 WTF::RunLoop::performWork()
21  0x532372f5e WTF::RunLoop::performWork(void*)
22  0x5291f6ebd __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
23  0x5291f6dfc __CFRunLoopDoSource0
24  0x5291f65f9 __CFRunLoopDoSources0
25  0x5291f0db3 __CFRunLoopRun
26  0x5291f0637 CFRunLoopRunSpecific
27  0x52b90c9fc -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
28  0x52b90cc1a -[NSRunLoop(NSRunLoop) run]
29  0x52a097e3f _xpc_objc_main
30  0x52a099de1 xpc_main
31  0x557f1672a WebKit::XPCServiceMain(int, char const**)
LEAK: 1 WebProcessPool

/Volumes/Data/worker//build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/FindInPage.mm:699
Value of: CGRectEqualToRect(rect, CGRectMake(252, 146, 44, 19))
  Actual: false
Expected: true


/Volumes/Data/worker//build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/FindInPage.mm:708
Value of: CGRectEqualToRect(rect, CGRectMake(229, 646, 72, 19))
  Actual: false
Expected: true


/Volumes/Data/worker//build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitCocoa/FindInPage.mm:716
Value of: CGRectEqualToRect(rect, CGRectMake(229, 104, 72, 19))
  Actual: false
Expected: true

LEAK: 1 WebPageProxy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1906296</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-10-17 15:57:34 -0700</bug_when>
    <thetext>&lt;rdar://problem/101266728&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1906297</commentid>
    <comment_count>2</comment_count>
    <who name="Hercules Hjalmarsson">hhjalmarsson</who>
    <bug_when>2022-10-17 15:58:17 -0700</bug_when>
    <thetext>This issue can be bisected to 255600@main using command:

run-api-tests --debug --iterations=2  --ios-simulator  TestWebKitAPI.WebKit.RequestRectForFoundTextRange</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1906299</commentid>
    <comment_count>3</comment_count>
    <who name="Hercules Hjalmarsson">hhjalmarsson</who>
    <bug_when>2022-10-17 16:04:24 -0700</bug_when>
    <thetext>Issue is only happening on Debug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1906321</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-10-17 17:06:23 -0700</bug_when>
    <thetext>Not obvious to me how this change could cause this assertion failure, but if this what bisection shows, I guess that has to be correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1906332</commentid>
    <comment_count>5</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2022-10-17 17:32:25 -0700</bug_when>
    <thetext>Wow, I wonder what it is! I’d hate to have to roll it out, but I also have no idea where to begin to track it down. Doesn’t fail on Mac?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1906353</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-10-17 19:51:36 -0700</bug_when>
    <thetext>Correct, only iOS simulator according to bots.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1907176</commentid>
    <comment_count>7</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2022-10-20 16:23:10 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/5606</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1907328</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-10-21 10:11:06 -0700</bug_when>
    <thetext>Committed 255832@main (9c64727f1f36): &lt;https://commits.webkit.org/255832@main&gt;

Reviewed commits have been landed. Closing PR #5606 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>