ASSERTION FAILED: !shouldAllowResourceToAskForCredentials() in WebCore::ResourceLoader::didBlockAuthenticationChallenge()
https://bugs.webkit.org/show_bug.cgi?id=210434
Summary ASSERTION FAILED: !shouldAllowResourceToAskForCredentials() in WebCore::Resou...
Ryan Haddad
Reported 2020-04-13 09:55:55 PDT
ASSERTION FAILED: !shouldAllowResourceToAskForCredentials() ./loader/ResourceLoader.cpp(491) : void WebCore::ResourceLoader::didBlockAuthenticationChallenge() 1 0x1d268df59 WTFCrash 2 0x1b52f7d8b WTFCrashWithInfo(int, char const*, char const*, int) 3 0x1b8841283 WebCore::ResourceLoader::didBlockAuthenticationChallenge() 4 0x1a95d218f WebKit::WebResourceLoader::didBlockAuthenticationChallenge() 5 0x1a9bd45d4 void IPC::callMemberFunctionImpl<WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(), std::__1::tuple<> >(WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(), std::__1::tuple<>&&, std::__1::integer_sequence<unsigned long>) 6 0x1a9bd4530 void IPC::callMemberFunction<WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(), std::__1::tuple<>, std::__1::integer_sequence<unsigned long> >(std::__1::tuple<>&&, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)()) 7 0x1a9bd1db6 void IPC::handleMessage<Messages::WebResourceLoader::DidBlockAuthenticationChallenge, WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)()>(IPC::Decoder&, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)()) 8 0x1a9bd14be WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection&, IPC::Decoder&) 9 0x1a958d516 WebKit::NetworkProcessConnection::didReceiveMessage(IPC::Connection&, IPC::Decoder&) 10 0x1a8074759 IPC::Connection::dispatchMessage(IPC::Decoder&) 11 0x1a80750b2 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) 12 0x1a8075790 IPC::Connection::dispatchOneIncomingMessage() 13 0x1a8094bfe IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_7::operator()() 14 0x1a8094b0e WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_7, void>::call() 15 0x1d26b91a2 WTF::Function<void ()>::operator()() const 16 0x1d2732f08 WTF::RunLoop::performWork() 17 0x1d2734691 WTF::RunLoop::performWork(void*) 18 0x7fff34998f12 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ 19 0x7fff34998eb1 __CFRunLoopDoSource0 20 0x7fff34998ccb __CFRunLoopDoSources0 21 0x7fff349979fa __CFRunLoopRun 22 0x7fff34996ffe CFRunLoopRunSpecific 23 0x7fff3702b2a8 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 24 0x7fff370ddd2f -[NSRunLoop(NSRunLoop) run] 25 0x7fff6eb2e51a _xpc_objc_main.cold.4 26 0x7fff6eb2e460 _xpc_objc_main 27 0x7fff6eb2df93 _xpc_copy_xpcservice_dictionary 28 0x1a88ce28b WebKit::XPCServiceMain(int, char const**) 29 0x1a9c82e6b WKXPCServiceMain 30 0x10a88aec2 main 31 0x7fff6e8e0cc9 start LEAK: 1 WebPageProxy this is seen with http/tests/security/basic-auth-module-propagate.html and http/tests/security/basic-auth-module.html, which were recently added with https://trac.webkit.org/changeset/260003/webkit
Attachments
Radar WebKit Bug Importer
Comment 1 2020-04-13 09:56:50 PDT
Yusuke Suzuki
Comment 3 2020-04-13 10:25:20 PDT
Reproduced this crash with r259978 with this test file. This means that this crash is existing crash before r260003. Please mark it Crash for WK2-Debug builds for now.
Yusuke Suzuki
Comment 4 2020-04-13 10:35:42 PDT
*** Bug 210439 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.