Bug 307597

Summary: [GTK][WPE] imported/w3c/web-platform-tests/service-workers/service-worker/redirected-response.https.html randomly crashes with Assertions enabled
Product: WebKit Reporter: Carlos Alberto Lopez Perez <clopez>
Component: New BugsAssignee: Carlos Alberto Lopez Perez <clopez>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Carlos Alberto Lopez Perez
Reported 2026-02-11 14:32:28 PST
The test imported/w3c/web-platform-tests/service-workers/service-worker/redirected-response.https.html is causing issues on the GTK & WPE EWS causing those to give false positives randomly. This is the crash log STDERR: /sdk/webkit/WebKitBuild/WPE/Release/bin/ServiceWorkerProcess: No such file or directory. STDERR: STDERR: warning: Can't open file /memfd:WebKitSharedMemory (deleted) during file-backed mapping note processing STDERR: CONSOLE MESSAGE: Not allowed to follow a redirection while loading https://web-platform.test:9443/service-workers/service-worker/resources/redirect.py?Redirect=https%3A%2F%2Fweb-platform.test%3A9443%2Fservice-workers%2Fservice-worker%2Fresources%2Fsimple.txt%3F&error STDERR: CONSOLE MESSAGE: Fetch API cannot load https://web-platform.test:9443/service-workers/service-worker/resources/redirect.py?Redirect=https%3A%2F%2Fweb-platform.test%3A9443%2Fservice-workers%2Fservice-worker%2Fresources%2Fsimple.txt%3F&error due to access control checks. STDERR: CONSOLE MESSAGE: Response served by service worker has redirections STDERR: CONSOLE MESSAGE: Fetch API cannot load https://web-platform.test:9443/service-workers/service-worker/resources/simple.txt? due to access control checks. STDERR: CONSOLE MESSAGE: Response served by service worker has redirections STDERR: CONSOLE MESSAGE: Fetch API cannot load https://web-platform.test:9443/service-workers/service-worker/resources/simple.txt? due to access control checks. STDERR: CONSOLE MESSAGE: Response served by service worker is opaque redirect STDERR: CONSOLE MESSAGE: Fetch API cannot load https://web-platform.test:9443/service-workers/service-worker/resources/redirect.py?Redirect=https%3A%2F%2Fweb-platform.test%3A9443%2Fservice-workers%2Fservice-worker%2Fresources%2Fsimple.txt%3F&original-redirect-mode=follow&sw=manual due to access control checks. STDERR: CONSOLE MESSAGE: Response served by service worker is opaque redirect STDERR: CONSOLE MESSAGE: Fetch API cannot load https://web-platform.test:9443/service-workers/service-worker/resources/redirect.py?Redirect=https%3A%2F%2Fweb-platform.test%3A9443%2Fservice-workers%2Fservice-worker%2Fresources%2Fsimple.txt%3F&original-redirect-mode=error&sw=manual due to access control checks. STDERR: CONSOLE MESSAGE: Not allowed to follow a redirection while loading https://web-platform.test:9443/service-workers/service-worker/sample?url=https%3A%2F%2Fweb-platform.test%3A9443%2Fservice-workers%2Fservice-worker%2Fresources%2Fsimple.txt%3F&original-redirect-mode=error&sw=gen STDERR: CONSOLE MESSAGE: Fetch API cannot load https://web-platform.test:9443/service-workers/service-worker/sample?url=https%3A%2F%2Fweb-platform.test%3A9443%2Fservice-workers%2Fservice-worker%2Fresources%2Fsimple.txt%3F&original-redirect-mode=error&sw=gen due to access control checks. STDERR: CONSOLE MESSAGE: Not allowed to follow a redirection while loading https://web-platform.test:9443/service-workers/service-worker/sample?url=https%3A%2F%2Fweb-platform.test%3A9443%2Fservice-workers%2Fservice-worker%2Fresources%2Fsimple.txt%3F&original-redirect-mode=error&sw=gen-manual STDERR: CONSOLE MESSAGE: Fetch API cannot load https://web-platform.test:9443/service-workers/service-worker/sample?url=https%3A%2F%2Fweb-platform.test%3A9443%2Fservice-workers%2Fservice-worker%2Fresources%2Fsimple.txt%3F&original-redirect-mode=error&sw=gen-manual due to access control checks. STDERR: CONSOLE MESSAGE: Not allowed to follow a redirection while loading https://web-platform.test:9443/service-workers/service-worker/sample?url=blank.html&original-redirect-mode=error&sw=gen-manual STDERR: CONSOLE MESSAGE: Fetch API cannot load https://web-platform.test:9443/service-workers/service-worker/sample?url=blank.html&original-redirect-mode=error&sw=gen-manual due to access control checks. STDERR: ASSERTION FAILED: !m_ongoingFetchTasks.contains(key) STDERR: ../../../Source/WebCore/workers/service/ServiceWorkerGlobalScope.cpp(286) : void WebCore::ServiceWorkerGlobalScope::addFetchTask(FetchKey, WTF::Ref<WebCore::ServiceWorkerFetch::Client>&&) STDERR: 1 0x7f1f2423edcc WebCore::ServiceWorkerGlobalScope::addFetchTask(std::pair<WTF::ObjectIdentifierGeneric<WebCore::ProcessIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long>, WTF::ObjectIdentifierGeneric<WebCore::FetchIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long> >, WTF::Ref<WebCore::ServiceWorkerFetch::Client, WTF::RawPtrTraits<WebCore::ServiceWorkerFetch::Client>, WTF::DefaultRefDerefTraits<WebCore::ServiceWorkerFetch::Client> >&&) STDERR: 2 0x7f1f242dc25f WTF::Detail::CallableWrapper<WebCore::ServiceWorkerThreadProxy::startFetch(WTF::ObjectIdentifierGeneric<WebCore::ProcessIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long>, WTF::ObjectIdentifierGeneric<WebCore::FetchIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long>, WTF::Ref<WebCore::ServiceWorkerFetch::Client, WTF::RawPtrTraits<WebCore::ServiceWorkerFetch::Client>, WTF::DefaultRefDerefTraits<WebCore::ServiceWorkerFetch::Client> >&&, WebCore::ResourceRequest&&, WTF::String&&, WebCore::FetchOptions&&, bool, WTF::String&&, WTF::String&&)::{lambda(auto:1&)#1}, void, WebCore::ScriptExecutionContext&>::call(WebCore::ScriptExecutionContext&) STDERR: 3 0x7f1f241f56ea WebCore::WorkerDedicatedRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*) STDERR: 4 0x7f1f2420152b WebCore::WorkerDedicatedRunLoop::runInMode(WebCore::WorkerOrWorkletGlobalScope*, WebCore::ModePredicate const&) STDERR: 5 0x7f1f24202b7c WebCore::WorkerDedicatedRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*) STDERR: 6 0x7f1f242032e3 WebCore::WorkerOrWorkletThread::runEventLoop() STDERR: 7 0x7f1f2420634f WebCore::WorkerOrWorkletThread::workerOrWorkletThread() STDERR: 8 0x7f1f1fdac068 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) STDERR: 9 0x7f1f1fe54d4d WTF::wtfThreadEntryPoint(void*) STDERR: 10 0x7f1f17c8aaa4 start_thread STDERR: 11 0x7f1f17d17c6c clone3 STDERR: CONSOLE MESSAGE: Service Worker context closed STDERR: ServiceWorkerProcess terminated (pid 881665) for reason: crash See: https://ews-build.s3-us-west-2.amazonaws.com/WPE-WK2-Tests-EWS/58b4448c-110557/imported/w3c/web-platform-tests/service-workers/service-worker/redirected-response.https-crash-log.txt https://ews-build.webkit.org/#/builders/34/builds/110557 Note that on Release without assertions enabled (post-commit) the test passes always
Attachments
Carlos Alberto Lopez Perez
Comment 2 2026-02-11 14:40:25 PST
EWS
Comment 3 2026-02-11 14:45:03 PST
Test gardening commit 307308@main (19a13e1cc7dc): <https://commits.webkit.org/307308@main> Reviewed commits have been landed. Closing PR #58441 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.