Bug 222081 - REGRESSION (r273048): ASSERTION FAILED: response.certificateInfo() under WebCore::DocumentLoader::responseReceived
Summary: REGRESSION (r273048): ASSERTION FAILED: response.certificateInfo() under WebC...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-02-17 17:01 PST by Ryan Haddad
Modified: 2021-02-17 17:06 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2021-02-17 17:01:33 PST
These three tests are consistently asserting on macOS debug bots:
TestWebKitAPI.WKWebView.LoadSimulatedRequestUpdatesBackForwardList
TestWebKitAPI.WKWebView.LoadSimulatedRequestUsingResponseData
TestWebKitAPI.WKWebView.LoadSimulatedRequestUsingResponseHTMLString

        ASSERTION FAILED: response.certificateInfo()
        ./loader/DocumentLoader.cpp(836) : void WebCore::DocumentLoader::responseReceived(const WebCore::ResourceResponse &, CompletionHandler<void ()> &&)
        1   0x14622c169 WTFCrash
        2   0x12856d25b WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x12c28f3c4 WebCore::DocumentLoader::responseReceived(WebCore::ResourceResponse const&, WTF::CompletionHandler<void ()>&&)
        4   0x12c28f259 WebCore::DocumentLoader::handleSubstituteDataLoadNow()
        5   0x12c2be3f2 WebCore::DocumentLoader::tryLoadingSubstituteData()::$_5::operator()() const
        6   0x12c2be29e WTF::Detail::CallableWrapper<WebCore::DocumentLoader::tryLoadingSubstituteData()::$_5, void>::call()
        7   0x146257a52 WTF::Function<void ()>::operator()() const
        8   0x1462df2df WTF::RunLoop::dispatch(WTF::HashSet<WTF::RefPtr<WTF::SchedulePair, WTF::RawPtrTraits<WTF::SchedulePair>, WTF::DefaultRefDerefTraits<WTF::SchedulePair> >, WTF::SchedulePairHash, WTF::HashTraits<WTF::RefPtr<WTF::SchedulePair, WTF::RawPtrTraits<WTF::SchedulePair>, WTF::DefaultRefDerefTraits<WTF::SchedulePair> > > > const&, WTF::Function<void ()>&&)::$_0::operator()(__CFRunLoopTimer*, void*) const
        9   0x1462df28d WTF::RunLoop::dispatch(WTF::HashSet<WTF::RefPtr<WTF::SchedulePair, WTF::RawPtrTraits<WTF::SchedulePair>, WTF::DefaultRefDerefTraits<WTF::SchedulePair> >, WTF::SchedulePairHash, WTF::HashTraits<WTF::RefPtr<WTF::SchedulePair, WTF::RawPtrTraits<WTF::SchedulePair>, WTF::DefaultRefDerefTraits<WTF::SchedulePair> > > > const&, WTF::Function<void ()>&&)::$_0::__invoke(__CFRunLoopTimer*, void*)
        10  0x7fff2046390d __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
        11  0x7fff204633e8 __CFRunLoopDoTimer
        12  0x7fff20462f42 __CFRunLoopDoTimers
        13  0x7fff2044957f __CFRunLoopRun
        14  0x7fff204486ce CFRunLoopRunSpecific
        15  0x7fff211d5fa1 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
        16  0x7fff21264384 -[NSRunLoop(NSRunLoop) run]
        17  0x7fff2009f3dd _xpc_objc_main
        18  0x7fff2009ee65 _xpc_copy_xpcservice_dictionary
        19  0x119da781c WebKit::XPCServiceMain(int, char const**)
        20  0x11b3cb23b WKXPCServiceMain
        21  0x10e8daea2 main
        22  0x7fff2036d621 start
        23  0x1


https://results.webkit.org/?suite=api-tests&suite=api-tests&suite=api-tests&test=TestWebKitAPI.WKWebView.LoadSimulatedRequestUpdatesBackForwardList&test=TestWebKitAPI.WKWebView.LoadSimulatedRequestUsingResponseHTMLString&test=TestWebKitAPI.WKWebView.LoadSimulatedRequestUsingResponseData
Comment 1 Ryan Haddad 2021-02-17 17:02:02 PST
It looks like this started with https://trac.webkit.org/changeset/273048/webkit
Comment 2 Radar WebKit Bug Importer 2021-02-17 17:02:28 PST
<rdar://problem/74456462>
Comment 3 Ryan Haddad 2021-02-17 17:06:35 PST
(In reply to Ryan Haddad from comment #1)
> It looks like this started with
> https://trac.webkit.org/changeset/273048/webkit
I got my commits mixed up, this is actually the fix for the problem that was introduced by https://trac.webkit.org/changeset/273023/webkit