[Webkit-unassigned] [Bug 277568] New: REGRESSION (281429 at main): [ iOS macOS Debug ] ASSERTION FAILED: requestData->requestMap.contains(path) result of TestWebKitAPI.WKNavigation.HTTPSOnlyInitialLoad to be a consistent crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 2 14:36:17 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=277568

            Bug ID: 277568
           Summary: REGRESSION (281429 at main): [ iOS macOS Debug ]
                    ASSERTION FAILED:
                    requestData->requestMap.contains(path) result of
                    TestWebKitAPI.WKNavigation.HTTPSOnlyInitialLoad to be
                    a consistent crash
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: darbinyan at apple.com

Description:
TestWebKitAPI.WKNavigation.HTTPSOnlyInitialLoad

Is a consistent crash since the change 281429 at 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&test=TestWebKitAPI.WKNavigation.HTTPSOnlyInitialLoad&style=debug

Result:
ASSERTION FAILED: This HTTPServer does not know how to respond to a request for /notsecure
        requestData->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<RequestData>)::(anonymous class)::operator()(Vector<char> &&)
        1   0x102536b34 TestWebKitAPI::HTTPServer::respondToRequests(TestWebKitAPI::Connection, WTF::Ref<TestWebKitAPI::HTTPServer::RequestData, WTF::RawPtrTraits<TestWebKitAPI::HTTPServer::RequestData>, WTF::DefaultRefDerefTraits<TestWebKitAPI::HTTPServer::RequestData>>)::$_11::operator()(WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)
        2   0x102536968 WTF::Detail::CallableWrapper<TestWebKitAPI::HTTPServer::respondToRequests(TestWebKitAPI::Connection, WTF::Ref<TestWebKitAPI::HTTPServer::RequestData, WTF::RawPtrTraits<TestWebKitAPI::HTTPServer::RequestData>, WTF::DefaultRefDerefTraits<TestWebKitAPI::HTTPServer::RequestData>>)::$_11, void, WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&>::call(WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)
        3   0x102538fb8 WTF::Function<void (WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>::operator()(WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) const
        4   0x102538918 WTF::CompletionHandler<void (WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>::operator()(WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)
        5   0x102538774 TestWebKitAPI::Connection::receiveHTTPRequest(WTF::CompletionHandler<void (WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) const::$_12::operator()(WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)
        6   0x102538508 WTF::Detail::CallableWrapper<TestWebKitAPI::Connection::receiveHTTPRequest(WTF::CompletionHandler<void (WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, WTF::Vector<char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) const::$_12, void, WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&>::call(WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)
        7   0x10252bfb0 WTF::Function<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>::operator()(WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&) const
        8   0x10252bc80 WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>::operator()(WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)
        9   0x10252b8bc TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_4::operator()(NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)
        10  0x10252bb54 WTF::BlockPtr<void (NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)> WTF::BlockPtr<void (NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)>::fromCallable<TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_4>(TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_4)::'lambda'(void*, NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)::operator()(void*, NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*) const
        11  0x10252bafc WTF::BlockPtr<void (NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)> WTF::BlockPtr<void (NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)>::fromCallable<TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_4>(TestWebKitAPI::Connection::receiveBytes(WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, unsigned long) const::$_4)::'lambda'(void*, NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)::__invoke(void*, NSObject<OS_dispatch_data>*, NSObject<OS_nw_content_context>*, bool, NSObject<OS_nw_error>*)
        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<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
        23  0x1032eb2b8 void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(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<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
        29  0x1032faac8 bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240802/29072096/attachment-0001.htm>


More information about the webkit-unassigned mailing list