WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
277568
REGRESSION (
281429@main
): [ iOS macOS Debug ] ASSERTION FAILED: requestData->requestMap.contains(path) result of TestWebKitAPI.WKNavigation.HTTPSOnlyInitialLoad to be a consistent crash
https://bugs.webkit.org/show_bug.cgi?id=277568
Summary
REGRESSION (281429@main): [ iOS macOS Debug ] ASSERTION FAILED: requestData->...
Marta Darbinyan
Reported
2024-08-02 14:36:17 PDT
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&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
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-08-02 14:37:07 PDT
<
rdar://problem/133089106
>
Matthew Finkel
Comment 2
2024-08-20 07:42:09 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/32452
EWS
Comment 3
2024-08-26 10:05:05 PDT
Committed
282747@main
(80c1e6d05e46): <
https://commits.webkit.org/282747@main
> Reviewed commits have been landed. Closing PR #32452 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug