Bug 242229
Summary: | [mac] ASSERTION FAILED: globalScope.registration().active()->state() == ServiceWorkerState::Activated: imported/w3c/web-platform-tests/service-workers/service-worker/claim-with-redirect.https.html is randomly crashing | ||
---|---|---|---|
Product: | WebKit | Reporter: | Fujii Hironori <fujii.hironori> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ap, cdumez, youennf |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Fujii Hironori
[mac] ASSERTION FAILED: globalScope.registration().active()->state() == ServiceWorkerState::Activated: imported/w3c/web-platform-tests/service-workers/service-worker/claim-with-redirect.https.html is randomly crashing
https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fservice-workers%2Fservice-worker%2Fclaim-with-redirect.https.html
251241@main
Buildbot: builder Apple-BigSur-Debug-AppleSilicon-WK2-Tests build 6409
https://build.webkit.org/#/builders/103/builds/6409
ASSERTION FAILED: globalScope.registration().active()->state() == ServiceWorkerState::Activated
./workers/service/context/ServiceWorkerFetch.cpp(167) : void WebCore::ServiceWorkerFetch::dispatchFetchEvent(Ref<WebCore::ServiceWorkerFetch::Client> &&, WebCore::ServiceWorkerGlobalScope &, WebCore::ResourceRequest &&, WTF::String &&, WebCore::FetchOptions &&, WebCore::FetchIdentifier, bool, WTF::String &&, WTF::String &&)
1 0x13dd70734 WTFCrash
2 0x117f17850 WebCore::JSHTMLHeadElement::createPrototype(JSC::VM&, WebCore::JSDOMGlobalObject&)
3 0x11cd1f1c0 WebCore::ServiceWorkerFetch::dispatchFetchEvent(WTF::Ref<WebCore::ServiceWorkerFetch::Client, WTF::RawPtrTraits<WebCore::ServiceWorkerFetch::Client> >&&, WebCore::ServiceWorkerGlobalScope&, WebCore::ResourceRequest&&, WTF::String&&, WebCore::FetchOptions&&, WTF::ObjectIdentifier<WebCore::FetchIdentifierType>, bool, WTF::String&&, WTF::String&&)
4 0x11cda1c2c WebCore::ServiceWorkerThread::queueTaskToFireFetchEvent(WTF::Ref<WebCore::ServiceWorkerFetch::Client, WTF::RawPtrTraits<WebCore::ServiceWorkerFetch::Client> >&&, WebCore::ResourceRequest&&, WTF::String&&, WebCore::FetchOptions&&, WTF::ObjectIdentifier<WebCore::FetchIdentifierType>, bool, WTF::String&&, WTF::String&&)::$_34::operator()()
5 0x11cda19e8 WTF::Detail::CallableWrapper<WebCore::ServiceWorkerThread::queueTaskToFireFetchEvent(WTF::Ref<WebCore::ServiceWorkerFetch::Client, WTF::RawPtrTraits<WebCore::ServiceWorkerFetch::Client> >&&, WebCore::ResourceRequest&&, WTF::String&&, WebCore::FetchOptions&&, WTF::ObjectIdentifier<WebCore::FetchIdentifierType>, bool, WTF::String&&, WTF::String&&)::$_34, void>::call()
6 0x119eb9d0c WTF::Function<void ()>::operator()() const
7 0x11a843ae4 WebCore::EventLoopFunctionDispatchTask::execute()
8 0x11a836c70 WebCore::EventLoop::run()
9 0x11cc1c700 WebCore::WorkerEventLoop::scheduleToRun()::$_3::operator()(WebCore::ScriptExecutionContext&) const
10 0x11cc1c4f0 WTF::Detail::CallableWrapper<WebCore::WorkerEventLoop::scheduleToRun()::$_3, void, WebCore::ScriptExecutionContext&>::call(WebCore::ScriptExecutionContext&)
11 0x119b0ab84 WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const
12 0x119af9ad8 WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&)
13 0x11cc68590 WebCore::WorkerDedicatedRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*)
14 0x11cc67a1c WebCore::WorkerDedicatedRunLoop::runInMode(WebCore::WorkerOrWorkletGlobalScope*, WebCore::ModePredicate const&)
15 0x11cc67644 WebCore::WorkerDedicatedRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*)
16 0x11cc2cfcc WebCore::WorkerOrWorkletThread::runEventLoop()
17 0x11cd20e40 WebCore::ServiceWorkerThread::runEventLoop()
18 0x11cc2d344 WebCore::WorkerOrWorkletThread::workerOrWorkletThread()
19 0x11cc8c4f8 WebCore::WorkerThread::createThread()::$_4::operator()() const
20 0x11cc8c474 WTF::Detail::CallableWrapper<WebCore::WorkerThread::createThread()::$_4, void>::call()
21 0x13dd9b898 WTF::Function<void ()>::operator()() const
22 0x13de7efc8 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)
23 0x13de8d888 WTF::wtfThreadEntryPoint(void*)
24 0x191eab878 _pthread_start
25 0x191ea65e0 thread_start
ServiceWorkerProcess terminated (pid 17876) for reason: crash
LEAK: 1 WebPageProxy
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Fujii Hironori
Buildbot: builder macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS build 33844
https://ews-build.webkit.org/#/builders/60/builds/33844
https://ews-build.s3-us-west-2.amazonaws.com/macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS/460589-33844/results.html
Fujii Hironori
This assertion was added by 197576@main (bug#181698).
youenn fablet
*** This bug has been marked as a duplicate of bug 241627 ***