<?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>249673</bug_id>
          
          <creation_ts>2022-12-20 13:20:02 -0800</creation_ts>
          <short_desc>REGRESSION(257982@main) [ iOS ]  &quot;ASSERTION FAILED: handleArray.size()... /WebProcessProxyCocoa.mm(253) : void WebKit::WebProcessProxy::unblockAccessibilityServerIfNeeded()\n1</short_desc>
          <delta_ts>2022-12-21 22:33:15 -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>WebKit Misc.</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=239722</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="Robert Jenner">jenner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ggaren</cc>
    
    <cc>pvollan</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1920886</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-12-20 13:20:02 -0800</bug_when>
    <thetext>We have over 1900 API-tests are are crashing/ hitting the following assert on ALL debug iOS platforms:

&quot;ASSERTION FAILED: handleArray.size() == 2\n/Volumes/Data/worker/Apple-iOS-16-Simulator-Debug-Build/build/Source/WebKit/UIProcess/Cocoa/WebProcessProxyCocoa.mm(253) : void WebKit::WebProcessProxy::unblockAccessibilityServerIfNeeded()\n1   0x12339ea49 WTFCrash\n2   0x1425a3ebb WTFCrashWithInfo(int, char const*, char const*, int)\n3   0x143b98f08 WebKit::WebProcessProxy::unblockAccessibilityServerIfNeeded()\n4   0x144243068 WebKit::WebProcessProxy::didFinishLaunching(WebKit::ProcessLauncher*, IPC::Connection::Identifier)\n5   0x142c2e1a7 WebKit::ProcessLauncher::didFinishLaunchingProcess(int, IPC::Connection::Identifier)\n6   0x143c51e29 invocation function for block in WebKit::ProcessLauncher::launchProcess()\n7   0x1194a0ea8 _xpc_connection_reply_callout\n8   0x119495ff5 _xpc_connection_call_reply_async\n9   0x1171a3aa0 _dispatch_client_callout3\n10  0x1171c375e _dispatch_mach_msg_async_reply_invoke\n11  0x1171b31e9 _dispatch_main_queue_drain\n12  0x1171b2de4 _dispatch_main_queue_callback_4CF\n13  0x118c0a9f7 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__\n14  0x118c053c6 __CFRunLoopRun\n15  0x118c04637 CFRunLoopRunSpecific\n16  0x11cea39fc -[NSRunLoop(NSRunLoop) runMode:beforeDate:]\n17  0x1107c84b3 TestWebKitAPI::Util::run(bool*)\n18  0x1107b6d73 -[TestNavigationDelegate waitForDidFinishNavigation]\n19  0x1107b8702 -[WKWebView(TestWebKitAPIExtras) _test_waitForDidFinishNavigation]\n20  0x1107ba6f2 -[WKWebView(TestWebKitAPI) synchronouslyLoadHTMLString:baseURL:]\n21  0x1107ba777 -[WKWebView(TestWebKitAPI) synchronouslyLoadHTMLString:]\n22  0x11079705a iOSMouseSupport_TrackButtonMaskFromTouchStart_Test::TestBody()\n23  0x11086597b void testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)\n24  0x11083c48a void testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)\n25  0x11083c3d3 testing::Test::Run()\n26  0x11083d411 testing::TestInfo::Run()\n27  0x11083e494 testing::TestSuite::Run()\n28  0x11084cb8c testing::internal::UnitTestImpl::RunAllTests()\n29  0x110869d2b bool testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::internal::UnitTestImpl, bool&gt;(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)\n30  0x11084c56a bool testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::internal::UnitTestImpl, bool&gt;(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)\n31  0x11084c455 testing::UnitTest::Run()\nChild process terminated with signal 11: Segmentation fault\n&quot;
        },
        {


HISTORY:
https://results.webkit.org/suites?platform=ios</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1920888</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-12-20 13:25:27 -0800</bug_when>
    <thetext>I was able to reproduce the assert running tests as follows:

run-api-tests --verbose --no-build --ios-simulator TestWebKitAPI.iOSMouseSupport.TrackButtonMaskFromTouchStart   


I was able to see in the history that the last passes occurred at 257978@main and the first crashes/asserts appeared at 257982@main.

I was able to reproduce the assert/crashes at 257984@main, but not at 257981@main. While there is a gap in built products for testing, our history indicates that the first time this occurred was 257982@main. So with everything passing at 257981@main it appears that 257982@main is our regression point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1920889</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-12-20 13:26:19 -0800</bug_when>
    <thetext>&lt;rdar://problem/103568827&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1920902</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2022-12-20 13:46:59 -0800</bug_when>
    <thetext>Reverted the original commit here:

https://commits.webkit.org/258162@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1921311</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-12-21 22:33:15 -0800</bug_when>
    <thetext>Marked RESOLVED/FIXED per the above.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>