Bug 207237 - REGRESSION: [ macOS wk1 ] ASSERTION FAILED: http/tests/notifications/event-listener-crash.html is flaky crashing
Summary: REGRESSION: [ macOS wk1 ] ASSERTION FAILED: http/tests/notifications/event-li...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-02-04 15:53 PST by Jacob Uphoff
Modified: 2020-02-05 16:21 PST (History)
2 users (show)

See Also:


Attachments
Update Test Expectations (1.52 KB, patch)
2020-02-04 16:06 PST, Jacob Uphoff
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Uphoff 2020-02-04 15:53:22 PST
http/tests/notifications/event-listener-crash.html

This test started flaky crashing recently on commit 255532

I was not able to reproduce with running the test in iterations, I am still working on repro steps.

History:

https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fnotifications%2Fevent-listener-crash.html

Assertion:

No crash log found for DumpRenderTree:1144.

stdout:
Test that setting a null event listener in the options dictionary does not cause a crash.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS No crash.
PASS successfullyParsed is true

TEST COMPLETE


stderr:
ASSERTION FAILED: _notifications.contains(notificationID)
/Volumes/Data/slave/catalina-debug/build/Tools/DumpRenderTree/mac/MockWebNotificationProvider.mm(76) : -[MockWebNotificationProvider cancelNotification:]
1   0x105910c39 WTFCrash
2   0x104ab6f6b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x104b164ae -[MockWebNotificationProvider cancelNotification:]
4   0x1102f1ba4 WebNotificationClient::cancel(WebCore::Notification*)
5   0x11eb2a23d WebCore::Notification::close()
6   0x11eb2a2f8 WebCore::Notification::suspend(WebCore::ReasonForSuspension)
7   0x11f823000 auto WebCore::ScriptExecutionContext::suspendActiveDOMObjects(WebCore::ReasonForSuspension)::$_6::operator()<WebCore::ActiveDOMObject>(WebCore::ActiveDOMObject&) const
8   0x11f822f61 WTF::Detail::CallableWrapper<WebCore::ScriptExecutionContext::suspendActiveDOMObjects(WebCore::ReasonForSuspension)::$_6, WebCore::ScriptExecutionContext::ShouldContinue, WebCore::ActiveDOMObject&>::call(WebCore::ActiveDOMObject&)
9   0x11f804637 WTF::Function<WebCore::ScriptExecutionContext::ShouldContinue (WebCore::ActiveDOMObject&)>::operator()(WebCore::ActiveDOMObject&) const
10  0x11f8044aa WebCore::ScriptExecutionContext::forEachActiveDOMObject(WTF::Function<WebCore::ScriptExecutionContext::ShouldContinue (WebCore::ActiveDOMObject&)> const&) const
11  0x11f80471e WebCore::ScriptExecutionContext::suspendActiveDOMObjects(WebCore::ReasonForSuspension)
12  0x11f605b84 WebCore::Document::suspendActiveDOMObjects(WebCore::ReasonForSuspension)
13  0x11f603709 WebCore::Document::suspendScheduledTasks(WebCore::ReasonForSuspension)
14  0x11f6183e2 WebCore::Document::suspend(WebCore::ReasonForSuspension)
15  0x11fa2b629 WebCore::CachedFrame::CachedFrame(WebCore::Frame&)
16  0x11fa2bb6d WebCore::CachedFrame::CachedFrame(WebCore::Frame&)
17  0x11fa320ad std::__1::__unique_if<WebCore::CachedFrame>::__unique_single std::__1::make_unique<WebCore::CachedFrame, WebCore::Frame&>(WebCore::Frame&)
18  0x11fa2b9cf decltype(auto) WTF::makeUnique<WebCore::CachedFrame, WebCore::Frame&>(WebCore::Frame&)
19  0x11fa2c1d3 WebCore::CachedPage::CachedPage(WebCore::Page&)
20  0x11fa2c23d WebCore::CachedPage::CachedPage(WebCore::Page&)
21  0x11fa317ad std::__1::__unique_if<WebCore::CachedPage>::__unique_single std::__1::make_unique<WebCore::CachedPage, WebCore::Page&>(WebCore::Page&)
22  0x11fa287df decltype(auto) WTF::makeUnique<WebCore::CachedPage, WebCore::Page&>(WebCore::Page&)
23  0x11fa28316 WebCore::BackForwardCache::addIfCacheable(WebCore::HistoryItem&, WebCore::Page*)
24  0x1201ad30a WebCore::FrameLoader::commitProvisionalLoad()
25  0x12013c6ec WebCore::DocumentLoader::commitIfReady()
26  0x12013cc02 WebCore::DocumentLoader::finishedLoading()
27  0x12014746e WebCore::DocumentLoader::maybeLoadEmpty()
28  0x1201475f3 WebCore::DocumentLoader::startLoadingMainResource()
29  0x1201d2767 WebCore::FrameLoader::continueLoadAfterNavigationPolicy(WebCore::ResourceRequest const&, WebCore::FormState*, WebCore::NavigationPolicyDecision, WebCore::AllowNavigationToInvalidURL)::$_11::operator()()
30  0x1201d2319 WTF::Detail::CallableWrapper<WebCore::FrameLoader::continueLoadAfterNavigationPolicy(WebCore::ResourceRequest const&, WebCore::FormState*, WebCore::NavigationPolicyDecision, WebCore::AllowNavigationToInvalidURL)::$_11, void>::call()
31  0x11cdfbf8a WTF::Function<void ()>::operator()() const
Comment 1 Radar WebKit Bug Importer 2020-02-04 15:53:38 PST
<rdar://problem/59169378>
Comment 2 Jacob Uphoff 2020-02-04 16:06:16 PST
Created attachment 389729 [details]
Update Test Expectations
Comment 3 Ryan Haddad 2020-02-04 16:39:47 PST
Comment on attachment 389729 [details]
Update Test Expectations

Clearing flags on attachment: 389729

Committed r255775: <https://trac.webkit.org/changeset/255775>