<?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>277568</bug_id>
          
          <creation_ts>2024-08-02 14:36:17 -0700</creation_ts>
          <short_desc>REGRESSION (281429@main): [ iOS macOS Debug ] ASSERTION FAILED: requestData-&gt;requestMap.contains(path) result of TestWebKitAPI.WKNavigation.HTTPSOnlyInitialLoad to be a consistent crash</short_desc>
          <delta_ts>2024-08-26 10:05:07 -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="Marta Darbinyan">darbinyan</reporter>
          <assigned_to name="Matthew Finkel">m_finkel</assigned_to>
          <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>2050402</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2024-08-02 14:36:17 -0700</bug_when>
    <thetext>Description:
TestWebKitAPI.WKNavigation.HTTPSOnlyInitialLoad

Is a consistent crash since the change 281429@main applied.

This issue can be reproduced by using the command: 
run-api-tests --root  --exit-after-n-failures 1 --debug TestWebKitAPI.WKNavigation.HTTPSOnlyInitialLoad

History:
https://results.webkit.org/?suite=api-tests&amp;test=TestWebKitAPI.WKNavigation.HTTPSOnlyInitialLoad&amp;style=debug

Result:
ASSERTION FAILED: This HTTPServer does not know how to respond to a request for /notsecure
        requestData-&gt;requestMap.contains(path)
        /Volumes/Data/worker/Apple-iOS-17-Simulator-Debug-Build/build/Tools/TestWebKitAPI/cocoa/HTTPServer.mm(399) : auto TestWebKitAPI::HTTPServer::respondToRequests(Connection, Ref&lt;RequestData&gt;)::(anonymous class)::operator()(Vector&lt;char&gt; &amp;&amp;)
        1   0x102536b34 TestWebKitAPI::HTTPServer::respondToRequests(TestWebKitAPI::Connection, WTF::Ref&lt;TestWebKitAPI::HTTPServer::RequestData, WTF::RawPtrTraits&lt;TestWebKitAPI::HTTPServer::RequestData&gt;, WTF::DefaultRefDerefTraits&lt;TestWebKitAPI::HTTPServer::RequestData&gt;&gt;)::$_11::operator()(WTF::Vector&lt;char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)
        2   0x102536968 WTF::Detail::CallableWrapper&lt;TestWebKitAPI::HTTPServer::respondToRequests(TestWebKitAPI::Connection, WTF::Ref&lt;TestWebKitAPI::HTTPServer::RequestData, WTF::RawPtrTraits&lt;TestWebKitAPI::HTTPServer::RequestData&gt;, WTF::DefaultRefDerefTraits&lt;TestWebKitAPI::HTTPServer::RequestData&gt;&gt;)::$_11, void, WTF::Vector&lt;char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;&gt;::call(WTF::Vector&lt;char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)
        3   0x102538fb8 WTF::Function&lt;void (WTF::Vector&lt;char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)&gt;::operator()(WTF::Vector&lt;char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;) const
        4   0x102538918 WTF::CompletionHandler&lt;void (WTF::Vector&lt;char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)&gt;::operator()(WTF::Vector&lt;char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)
        5   0x102538774 TestWebKitAPI::Connection::receiveHTTPRequest(WTF::CompletionHandler&lt;void (WTF::Vector&lt;char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)&gt;&amp;&amp;, WTF::Vector&lt;char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;) const::$_12::operator()(WTF::Vector&lt;unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)
        6   0x102538508 WTF::Detail::CallableWrapper&lt;TestWebKitAPI::Connection::receiveHTTPRequest(WTF::CompletionHandler&lt;void (WTF::Vector&lt;char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)&gt;&amp;&amp;, WTF::Vector&lt;char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;) const::$_12, void, WTF::Vector&lt;unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;&gt;::call(WTF::Vector&lt;unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)
        7   0x10252bfb0 WTF::Function&lt;void (WTF::Vector&lt;unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)&gt;::operator()(WTF::Vector&lt;unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;) const
        8   0x10252bc80 WTF::CompletionHandler&lt;void (WTF::Vector&lt;unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)&gt;::operator()(WTF::Vector&lt;unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)
        9   0x10252b8bc TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler&lt;void (WTF::Vector&lt;unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)&gt;&amp;&amp;, unsigned long) const::$_4::operator()(NSObject&lt;OS_dispatch_data&gt;*, NSObject&lt;OS_nw_content_context&gt;*, bool, NSObject&lt;OS_nw_error&gt;*)
        10  0x10252bb54 WTF::BlockPtr&lt;void (NSObject&lt;OS_dispatch_data&gt;*, NSObject&lt;OS_nw_content_context&gt;*, bool, NSObject&lt;OS_nw_error&gt;*)&gt; WTF::BlockPtr&lt;void (NSObject&lt;OS_dispatch_data&gt;*, NSObject&lt;OS_nw_content_context&gt;*, bool, NSObject&lt;OS_nw_error&gt;*)&gt;::fromCallable&lt;TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler&lt;void (WTF::Vector&lt;unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)&gt;&amp;&amp;, unsigned long) const::$_4&gt;(TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler&lt;void (WTF::Vector&lt;unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)&gt;&amp;&amp;, unsigned long) const::$_4)::&apos;lambda&apos;(void*, NSObject&lt;OS_dispatch_data&gt;*, NSObject&lt;OS_nw_content_context&gt;*, bool, NSObject&lt;OS_nw_error&gt;*)::operator()(void*, NSObject&lt;OS_dispatch_data&gt;*, NSObject&lt;OS_nw_content_context&gt;*, bool, NSObject&lt;OS_nw_error&gt;*) const
        11  0x10252bafc WTF::BlockPtr&lt;void (NSObject&lt;OS_dispatch_data&gt;*, NSObject&lt;OS_nw_content_context&gt;*, bool, NSObject&lt;OS_nw_error&gt;*)&gt; WTF::BlockPtr&lt;void (NSObject&lt;OS_dispatch_data&gt;*, NSObject&lt;OS_nw_content_context&gt;*, bool, NSObject&lt;OS_nw_error&gt;*)&gt;::fromCallable&lt;TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler&lt;void (WTF::Vector&lt;unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)&gt;&amp;&amp;, unsigned long) const::$_4&gt;(TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler&lt;void (WTF::Vector&lt;unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;&amp;)&gt;&amp;&amp;, unsigned long) const::$_4)::&apos;lambda&apos;(void*, NSObject&lt;OS_dispatch_data&gt;*, NSObject&lt;OS_nw_content_context&gt;*, bool, NSObject&lt;OS_nw_error&gt;*)::__invoke(void*, NSObject&lt;OS_dispatch_data&gt;*, NSObject&lt;OS_nw_content_context&gt;*, bool, NSObject&lt;OS_nw_error&gt;*)
        12  0x10cd3f0bc _dispatch_block_async_invoke2
        13  0x10cd2f978 _dispatch_client_callout
        14  0x10cd3e7c8 _dispatch_main_queue_drain
        15  0x10cd3e2bc _dispatch_main_queue_callback_4CF
        16  0x108f29960 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
        17  0x108f24078 __CFRunLoopRun
        18  0x108f234d4 CFRunLoopRunSpecific
        19  0x1134ff40c -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
        20  0x10324e0c4 TestWebKitAPI::Util::run(bool*)
        21  0x102a665f4 WKNavigation_HTTPSOnlyInitialLoad_Test::TestBody()
        22  0x10332d0a4 void testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)
        23  0x1032eb2b8 void testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::Test, void&gt;(testing::Test*, void (testing::Test::*)(), char const*)
        24  0x1032eb208 testing::Test::Run()
        25  0x1032ec15c testing::TestInfo::Run()
        26  0x1032ed338 testing::TestSuite::Run()
        27  0x1032fb10c testing::internal::UnitTestImpl::RunAllTests()
        28  0x103331fac bool testing::internal::HandleSehExceptionsInMethodIfSupported&lt;testing::internal::UnitTestImpl, bool&gt;(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        29  0x1032faac8 bool testing::internal::HandleExceptionsInMethodIfSupported&lt;testing::internal::UnitTestImpl, bool&gt;(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        30  0x1032faa24 testing::UnitTest::Run()
        31  0x10275f8e4 RUN_ALL_TESTS()
        Child process terminated with signal 5: Trace/BPT trap

Builder Link: https://build.webkit.org/#/builders/933/builds/2080</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2050404</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-08-02 14:37:07 -0700</bug_when>
    <thetext>&lt;rdar://problem/133089106&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054056</commentid>
    <comment_count>2</comment_count>
    <who name="Matthew Finkel">m_finkel</who>
    <bug_when>2024-08-20 07:42:09 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/32452</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055366</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-26 10:05:05 -0700</bug_when>
    <thetext>Committed 282747@main (80c1e6d05e46): &lt;https://commits.webkit.org/282747@main&gt;

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

    </bug>

</bugzilla>