RESOLVED FIXED 180693
[GLIB] ASSERTION FAILED: response.httpStatusCode() < 300 || response.httpStatusCode() >= 400 || response.httpStatusCode() == 304 || !response.httpHeaderField(HTTPHeaderName::Location) running imported/w3c/web-platform-tests/cors/preflight-failure.htm
https://bugs.webkit.org/show_bug.cgi?id=180693
Summary [GLIB] ASSERTION FAILED: response.httpStatusCode() < 300 || response.httpStat...
Ms2ger (he/him; ⌚ UTC+1/+2)
Reported 2017-12-12 06:07:24 PST
// We want redirect responses to be processed through willSendRequestInternal. // The only exception is redirection with no Location headers. Or in rare circumstances, // cases of too many redirects from CFNetwork (<rdar://problem/30610988>). #if !PLATFORM(COCOA) ASSERT(response.httpStatusCode() < 300 || response.httpStatusCode() >= 400 || response.httpStatusCode() == 304 || !response.httpHeaderField(HTTPHeaderName::Location)); #endif Backtrace: STDERR: 1 0x7fcae077083d WTFCrash STDERR: 2 0x7fcade847ba9 WebCore::SubresourceLoader::didReceiveResponse(WebCore::ResourceResponse const&) STDERR: 3 0x7fcadce56f64 WebKit::WebResourceLoader::didReceiveResponse(WebCore::ResourceResponse const&, bool) STDERR: 4 0x7fcadd17f551 void IPC::callMemberFunctionImpl<WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::ResourceResponse const&, bool), std::tuple<WebCore::ResourceResponse, bool>, 0ul, 1ul>(WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::ResourceResponse const&, bool), std::tuple<WebCore::ResourceResponse, bool>&&, std::integer_sequence<unsigned long, 0ul, 1ul>) STDERR: 5 0x7fcadd17eeb7 void IPC::callMemberFunction<WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::ResourceResponse const&, bool), std::tuple<WebCore::ResourceResponse, bool>, std::integer_sequence<unsigned long, 0ul, 1ul> >(std::tuple<WebCore::ResourceResponse, bool>&&, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::ResourceResponse const&, bool)) STDERR: 6 0x7fcadd17e4e6 void IPC::handleMessage<Messages::WebResourceLoader::DidReceiveResponse, WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::ResourceResponse const&, bool)>(IPC::Decoder&, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::ResourceResponse const&, bool)) STDERR: 7 0x7fcadd17df06 WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection&, IPC::Decoder&) STDERR: 8 0x7fcadce3d707 WebKit::NetworkProcessConnection::didReceiveMessage(IPC::Connection&, IPC::Decoder&) STDERR: 9 0x7fcadcabf206 IPC::Connection::dispatchMessage(IPC::Decoder&) STDERR: 10 0x7fcadcabf370 IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >) STDERR: 11 0x7fcadcabf571 IPC::Connection::dispatchOneMessage() STDERR: 12 0x7fcadcabf0b7 STDERR: 13 0x7fcadcac60e4 STDERR: 14 0x7fcadc9bc4f4 WTF::Function<void ()>::operator()() const STDERR: 15 0x7fcae07a5d76 WTF::RunLoop::performWork() STDERR: 16 0x7fcae07f7342 STDERR: 17 0x7fcae07f7367 STDERR: 18 0x7fcae07f72e2 STDERR: 19 0x7fcae07f7311 STDERR: 20 0x7fcad30cea2a g_main_context_dispatch STDERR: 21 0x7fcad30cedd0 STDERR: 22 0x7fcad30cf0f2 g_main_loop_run STDERR: 23 0x7fcae07f7868 WTF::RunLoop::run() STDERR: 24 0x7fcadd0b9da0 int WebKit::ChildProcessMain<WebKit::WebProcess, WebKit::WebProcessMain>(int, char**) STDERR: 25 0x7fcadd0b99f8 WebProcessMainUnix STDERR: 26 0x4009b1 main STDERR: 27 0x7fcad3b9b830 __libc_start_main STDERR: 28 0x400869 _start
Attachments
Lauro Moura
Comment 1 2021-02-02 12:25:25 PST
No crash in WPE debug as of r272186. Removed the skip in that revision. Closing.
EWS
Comment 2 2023-11-16 10:50:21 PST
Committed 270836@main (131ac6d0af06): <https://commits.webkit.org/270836@main> Reviewed commits have been landed. Closing PR #20542 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.