Bug 236824 - REGRESSION: [macOS Debug WK1] ASSERTION FAILED: !allScriptExecutionContextsMap().contains(m_identifier) under WebCore::Document::Document
Summary: REGRESSION: [macOS Debug WK1] ASSERTION FAILED: !allScriptExecutionContextsMa...
Status: RESOLVED DUPLICATE of bug 236123
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-02-17 21:42 PST by Ryan Haddad
Modified: 2022-02-18 12:25 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 2022-02-17 21:42:42 PST
The following tests are failing an assertion on macOS Debug WK1 bots. History suggests that this started with https://trac.webkit.org/changeset/288201/webkit

http/tests/multipart/load-last-non-html-frame.py
http/tests/multipart/multipart-html.py
http/tests/multipart/multipart-replace-non-html-content.py
http/tests/multipart/multipart-wait-before-boundary.html

ASSERTION FAILED: !allScriptExecutionContextsMap().contains(m_identifier)
./dom/ScriptExecutionContext.cpp(118) : WebCore::ScriptExecutionContext::ScriptExecutionContext(WebCore::ScriptExecutionContextIdentifier)
1   0x103b9b439 WTFCrash
2   0x12b2358cb WTFCrashWithInfo(int, char const*, char const*, int)
3   0x12eb0dc51 WebCore::ScriptExecutionContext::ScriptExecutionContext(WebCore::ProcessQualified<WTF::UUID>)
4   0x12e8da7bb WebCore::Document::Document(WebCore::Frame*, WebCore::Settings const&, WTF::URL const&, WTF::OptionSet<WebCore::Document::DocumentClass>, unsigned int, WebCore::ProcessQualified<WTF::UUID>)
5   0x12ee1c343 WebCore::HTMLDocument::HTMLDocument(WebCore::Frame*, WebCore::Settings const&, WTF::URL const&, WebCore::ProcessQualified<WTF::UUID>, WTF::OptionSet<WebCore::Document::DocumentClass>, unsigned int)
6   0x12efcbdf5 WebCore::TextDocument::TextDocument(WebCore::Frame*, WebCore::Settings const&, WTF::URL const&, WebCore::ProcessQualified<WTF::UUID>)
7   0x12efcbf03 WebCore::TextDocument::TextDocument(WebCore::Frame*, WebCore::Settings const&, WTF::URL const&, WebCore::ProcessQualified<WTF::UUID>)
8   0x12e8ab25d WebCore::TextDocument::create(WebCore::Frame*, WebCore::Settings const&, WTF::URL const&, WebCore::ProcessQualified<WTF::UUID>)
9   0x12e8aa911 WebCore::DOMImplementation::createDocument(WTF::String const&, WebCore::Frame*, WebCore::Settings const&, WTF::URL const&, WebCore::ProcessQualified<WTF::UUID>)
10  0x12f57e913 WebCore::DocumentWriter::createDocument(WTF::URL const&, WebCore::ProcessQualified<WTF::UUID>)
11  0x12f56e871 WebCore::DocumentWriter::begin(WTF::URL const&, bool, WebCore::Document*, WebCore::ProcessQualified<WTF::UUID>)
12  0x12f567127 WebCore::DocumentLoader::commitData(WebCore::SharedBuffer const&)
13  0x10f457cd4 -[WebFrame(WebInternal) _commitData:]
14  0x10f5794f1 -[WebHTMLRepresentation receivedData:withDataSource:]
15  0x10f43f5ba -[WebDataSource(WebInternal) _receivedData:]
16  0x10f434f3f WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, WebCore::SharedBuffer const&)
17  0x12f56e71f WebCore::DocumentLoader::commitLoad(WebCore::SharedBuffer const&)
18  0x12f566d8b WebCore::DocumentLoader::maybeFinishLoadingMultipartContent()
19  0x12f566a42 WebCore::DocumentLoader::finishedLoading()
20  0x12f566537 WebCore::DocumentLoader::notifyFinished(WebCore::CachedResource&, WebCore::NetworkLoadMetrics const&)
21  0x12f731aea WebCore::CachedResource::checkNotify(WebCore::NetworkLoadMetrics const&)
22  0x12f724a9c WebCore::CachedResource::finishLoading(WebCore::FragmentedSharedBuffer const*, WebCore::NetworkLoadMetrics const&)
23  0x12f72eef6 WebCore::CachedRawResource::finishLoading(WebCore::FragmentedSharedBuffer const*, WebCore::NetworkLoadMetrics const&)
24  0x12f6a2a9e WebCore::SubresourceLoader::didFinishLoading(WebCore::NetworkLoadMetrics const&)
25  0x12f683d98 WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle*, WebCore::NetworkLoadMetrics const&)
26  0x130fb3687 -[WebCoreResourceHandleAsOperationQueueDelegate connectionDidFinishLoading:]::$_7::operator()()
27  0x130fb325e WTF::Detail::CallableWrapper<-[WebCoreResourceHandleAsOperationQueueDelegate connectionDidFinishLoading:]::$_7, void>::call()
28  0x103bc98a2 WTF::Function<void ()>::operator()() const
29  0x103c5fc40 WTF::RunLoop::performWork()
30  0x103c64671 WTF::RunLoop::performWork(void*)
31  0x7fff205b50dc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__


https://results.webkit.org/?suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&test=http%2Ftests%2Fmultipart%2Fload-last-non-html-frame.py&test=http%2Ftests%2Fmultipart%2Fmultipart-html.py&test=http%2Ftests%2Fmultipart%2Fmultipart-replace-non-html-content.py&test=http%2Ftests%2Fmultipart%2Fmultipart-wait-before-boundary.html
Comment 1 Radar WebKit Bug Importer 2022-02-17 21:42:52 PST
<rdar://problem/89127177>
Comment 2 Ryan Haddad 2022-02-18 12:25:26 PST

*** This bug has been marked as a duplicate of bug 236123 ***