Bug 227310

Summary: imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic.any*.html are crashing in debug
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Page LoadingAssignee: Alex Christensen <achristensen>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, ap, beidson, ews-watchlist, japhet, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=227307
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2021-06-23 11:52:59 PDT
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000bbadbeef Exception Note: EXC_CORPSE_NOTIFY Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [6592] VM Regions Near 0xbbadbeef: --> __TEXT 10708d000-107091000 [ 16K] r-x/r-x SM=COW /Volumes/*/*.Development Application Specific Information: dyld4 config: DYLD_LIBRARY_PATH=/Volumes/Data/WebKit/OpenSource/WebKitBuild/Debug DYLD_FRAMEWORK_PATH=/Volumes/Data/WebKit/OpenSource/WebKitBuild/Debug Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.apple.JavaScriptCore 0x0000000136fadffe WTFCrash + 14 (Assertions.cpp:321) 1 com.apple.WebCore 0x0000000148fd7d4b WTFCrashWithInfo(int, char const*, char const*, int) + 27 (Assertions.h:697) 2 com.apple.WebCore 0x000000014cbcb7d6 WebCore::ResourceLoader::didBlockAuthenticationChallenge() + 150 (ResourceLoader.cpp:510) 3 com.apple.WebKit 0x000000011feeb4e7 WebKit::WebResourceLoader::didBlockAuthenticationChallenge() + 311 (WebResourceLoader.cpp:281) 4 com.apple.WebKit 0x00000001204ea3bb 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>) + 123 (HandleMessage.h:43) 5 com.apple.WebKit 0x00000001204ea32d 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::*)()) + 109 (HandleMessage.h:49) 6 com.apple.WebKit 0x00000001204e8114 void IPC::handleMessage<Messages::WebResourceLoader::DidBlockAuthenticationChallenge, WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)()>(IPC::Decoder&, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)()) + 148 (HandleMessage.h:119) 7 com.apple.WebKit 0x00000001204e78e0 WebKit::WebResourceLoader::didReceiveWebResourceLoaderMessage(IPC::Connection&, IPC::Decoder&) + 928 (WebResourceLoaderMessageReceiver.cpp:64) 8 com.apple.WebKit 0x000000011fea8132 WebKit::NetworkProcessConnection::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 146 (NetworkProcessConnection.cpp:94) 9 com.apple.WebKit 0x000000011e15908e IPC::Connection::dispatchMessage(IPC::Decoder&) + 494 (Connection.cpp:1058) 10 com.apple.WebKit 0x000000011e159832 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) + 610 (Connection.cpp:1103) 11 com.apple.WebKit 0x000000011e159e2d IPC::Connection::dispatchOneIncomingMessage() + 189 (Connection.cpp:1172) 12 com.apple.WebKit 0x000000011e179875 IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_12::operator()() + 85 (Connection.cpp:1027) 13 com.apple.WebKit 0x000000011e179789 WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)::$_12, void>::call() + 25 (Function.h:53) 14 com.apple.JavaScriptCore 0x0000000136fd6ef2 WTF::Function<void ()>::operator()() const + 130 (Function.h:82)
Attachments
Patch (4.62 KB, patch)
2021-07-06 16:21 PDT, Alex Christensen
no flags
Chris Dumez
Comment 2 2021-06-28 08:19:02 PDT
(In reply to Alexey Proskuryakov from comment #1) > I don't see any crashes on the bots: > https://results.webkit.org/?suite=layout-tests&suite=layout- > tests&test=imported%2Fw3c%2Fweb-platform- > tests%2Ffetch%2Fapi%2Fcredentials%2Fauthentication-basic.any. > html&test=imported%2Fw3c%2Fweb-platform- > tests%2Ffetch%2Fapi%2Fcredentials%2Fauthentication-basic.any.worker.html > > Or is it with an updated version that hasn't been landed? The test is part of Bug 227307 but has not landed yet. Even once landed you won't see the crashes since I skipped the test in that patch.
Radar WebKit Bug Importer
Comment 3 2021-06-30 11:53:34 PDT
Alex Christensen
Comment 4 2021-07-06 16:21:03 PDT
EWS
Comment 5 2021-07-06 17:27:47 PDT
Committed r279629 (239447@main): <https://commits.webkit.org/239447@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 432986 [details].
Note You need to log in before you can comment on or make changes to this bug.