Bug 247268

Summary: REGRESSION(256099@main): [ iOS macOS Debug ] 27X imported/w3c/web-platform-tests/(Layout tests) are constantly crashing
Product: WebKit Reporter: Hercules Hjalmarsson <hhjalmarsson>
Component: New BugsAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Hercules Hjalmarsson
Reported 2022-10-31 10:07:37 PDT
imported/w3c/web-platform-tests/mixed-content/gen/worker-classic.http-rp/opt-in/worker-module.https.html imported/w3c/web-platform-tests/mixed-content/gen/worker-classic.http-rp/unset/worker-classic.https.html imported/w3c/web-platform-tests/mixed-content/gen/worker-classic.http-rp/unset/worker-module.https.html imported/w3c/web-platform-tests/mixed-content/gen/worker-module.http-rp/opt-in/worker-classic.https.html imported/w3c/web-platform-tests/mixed-content/gen/worker-module.http-rp/opt-in/worker-module.https.html imported/w3c/web-platform-tests/mixed-content/gen/worker-module.http-rp/unset/worker-classic.https.html imported/w3c/web-platform-tests/mixed-content/gen/worker-module.http-rp/unset/worker-module.https.html imported/w3c/web-platform-tests/resource-timing/resource_nested_dedicated_worker.worker.html imported/w3c/web-platform-tests/service-workers/service-worker/worker-interception.https.html imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/worker-classic.http-rp/upgrade/worker-classic.https.html imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/worker-classic.http-rp/upgrade/worker-module.https.html imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/worker-module.http-rp/upgrade/worker-classic.https.html imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/worker-module.http-rp/upgrade/worker-module.https.html imported/w3c/web-platform-tests/wasm/serialization/module/nested-worker-success.any.worker.html imported/w3c/web-platform-tests/web-locks/query.tentative.https.any.worker.html imported/w3c/web-platform-tests/webmessaging/MessageEvent-trusted.any.worker.html imported/w3c/web-platform-tests/webmessaging/message-channels/worker-post-after-close.any.worker.html imported/w3c/web-platform-tests/webmessaging/message-channels/worker.any.worker.html imported/w3c/web-platform-tests/websockets/Create-on-worker-shutdown.any.worker.html imported/w3c/web-platform-tests/workers/baseurl/alpha/worker-in-worker.html imported/w3c/web-platform-tests/workers/dedicated-worker-in-data-url-context.window.html imported/w3c/web-platform-tests/workers/modules/dedicated-worker-import-blob-url.any.worker.html imported/w3c/web-platform-tests/workers/nested_worker.worker.html imported/w3c/web-platform-tests/workers/nested_worker_close_from_parent_worker.html imported/w3c/web-platform-tests/workers/nested_worker_close_self.worker.html imported/w3c/web-platform-tests/workers/nested_worker_importScripts.worker.html imported/w3c/web-platform-tests/workers/semantics/multiple-workers/003.html Are 27 constantly crashing WPT on macOS and iOS Debug ToT and since 256099@main. HISTORY: https://results.webkit.org/?limit=100&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fmixed-content%2Fgen%2Fworker-classic.http-rp%2Funset%2Fworker-classic.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fmixed-content%2Fgen%2Fworker-classic.http-rp%2Funset%2Fworker-module.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fmixed-content%2Fgen%2Fworker-module.http-rp%2Fopt-in%2Fworker-classic.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fmixed-content%2Fgen%2Fworker-module.http-rp%2Fopt-in%2Fworker-module.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fmixed-content%2Fgen%2Fworker-module.http-rp%2Funset%2Fworker-classic.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fmixed-content%2Fgen%2Fworker-module.http-rp%2Funset%2Fworker-module.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fresource-timing%2Fresource_nested_dedicated_worker.worker.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fservice-workers%2Fservice-worker%2Fworker-interception.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fupgrade-insecure-requests%2Fgen%2Fworker-classic.http-rp%2Fupgrade%2Fworker-classic.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fupgrade-insecure-requests%2Fgen%2Fworker-classic.http-rp%2Fupgrade%2Fworker-module.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fupgrade-insecure-requests%2Fgen%2Fworker-module.http-rp%2Fupgrade%2Fworker-classic.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fupgrade-insecure-requests%2Fgen%2Fworker-module.http-rp%2Fupgrade%2Fworker-module.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fwasm%2Fserialization%2Fmodule%2Fnested-worker-success.any.worker.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fweb-locks%2Fquery.tentative.https.any.worker.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebaudio%2Fthe-audio-api%2Fthe-audioworklet-interface%2Fsimple-input-output.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebmessaging%2FMessageEvent-trusted.any.worker.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebmessaging%2Fmessage-channels%2Fworker-post-after-close.any.worker.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebmessaging%2Fmessage-channels%2Fworker.any.worker.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebsockets%2FCreate-on-worker-shutdown.any.worker.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fworkers%2Fbaseurl%2Falpha%2Fworker-in-worker.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fworkers%2Fdedicated-worker-in-data-url-context.window.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fworkers%2Fmodules%2Fdedicated-worker-import-blob-url.any.worker.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fworkers%2Fnested_worker.worker.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fworkers%2Fnested_worker_close_from_parent_worker.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fworkers%2Fnested_worker_close_self.worker.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fworkers%2Fnested_worker_importScripts.worker.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fworkers%2Fsemantics%2Fmultiple-workers%2F003.html DIFF: ASSERTION FAILED: isMainThread() /OpenSource/WebKitBuild/Debug/usr/local/include/wtf/NeverDestroyed.h(55) : static void WTF::MainThreadAccessTraits::assertAccess() 1 0x5b83e0919 WTFCrash 2 0x56b1d40ab WTFCrashWithInfo(int, char const*, char const*, int) 3 0x56b37a4ec WTF::MainThreadAccessTraits::assertAccess() 4 0x570911549 WTF::NeverDestroyed<WTF::HashMap<WebCore::ProcessQualified<WTF::UUID>, WebCore::WorkerScriptLoader*, WTF::DefaultHash<WebCore::ProcessQualified<WTF::UUID> >, WTF::HashTraits<WebCore::ProcessQualified<WTF::UUID> >, WTF::HashTraits<WebCore::WorkerScriptLoader*>, WTF::HashTableTraits>, WTF::MainThreadAccessTraits>::storagePointer() const 5 0x5709114d5 WTF::NeverDestroyed<WTF::HashMap<WebCore::ProcessQualified<WTF::UUID>, WebCore::WorkerScriptLoader*, WTF::DefaultHash<WebCore::ProcessQualified<WTF::UUID> >, WTF::HashTraits<WebCore::ProcessQualified<WTF::UUID> >, WTF::HashTraits<WebCore::WorkerScriptLoader*>, WTF::HashTableTraits>, WTF::MainThreadAccessTraits>::get() 6 0x570909180 WebCore::scriptExecutionContextIdentifierToWorkerScriptLoaderMap() 7 0x570908f75 WebCore::WorkerScriptLoader::~WorkerScriptLoader() 8 0x570909215 WebCore::WorkerScriptLoader::~WorkerScriptLoader() 9 0x570909239 WebCore::WorkerScriptLoader::~WorkerScriptLoader() 10 0x56e2b280c std::__1::default_delete<WebCore::WorkerScriptLoader>::operator()(WebCore::WorkerScriptLoader*) const 11 0x56e2b2787 WTF::RefCounted<WebCore::WorkerScriptLoader, std::__1::default_delete<WebCore::WorkerScriptLoader> >::deref() const 12 0x5708cc0e2 WTF::DefaultRefDerefTraits<WebCore::WorkerScriptLoader>::derefIfNotNull(WebCore::WorkerScriptLoader*) 13 0x5708ce5a1 WTF::RefPtr<WebCore::WorkerScriptLoader, WTF::RawPtrTraits<WebCore::WorkerScriptLoader>, WTF::DefaultRefDerefTraits<WebCore::WorkerScriptLoader> >::operator=(std::nullptr_t) 14 0x5708ce560 WebCore::Worker::notifyFinished()::$_3::operator()() const 15 0x5708ce537 WTF::ScopeExit<WebCore::Worker::notifyFinished()::$_3>::~ScopeExit() 16 0x5708c6635 WTF::ScopeExit<WebCore::Worker::notifyFinished()::$_3>::~ScopeExit() 17 0x5708c6357 WebCore::Worker::notifyFinished() 18 0x57090aef1 WebCore::WorkerScriptLoader::notifyFinished() 19 0x57090ad7f WebCore::WorkerScriptLoader::didFinishLoading(WTF::ObjectIdentifier<WebCore::ResourceLoader>, WebCore::NetworkLoadMetrics const&) 20 0x56f589a49 WebCore::ThreadableLoaderClientWrapper::didFinishLoading(WTF::ObjectIdentifier<WebCore::ResourceLoader>, WebCore::NetworkLoadMetrics const&) 21 0x56f5899bf WebCore::WorkerThreadableLoader::MainThreadBridge::didFinishLoading(WTF::ObjectIdentifier<WebCore::ResourceLoader>, WebCore::NetworkLoadMetrics const&)::$_18::operator()(WebCore::ScriptExecutionContext&) 22 0x56f589861 WTF::Detail::CallableWrapper<WebCore::WorkerThreadableLoader::MainThreadBridge::didFinishLoading(WTF::ObjectIdentifier<WebCore::ResourceLoader>, WebCore::NetworkLoadMetrics const&)::$_18, void, WebCore::ScriptExecutionContext&>::call(WebCore::ScriptExecutionContext&) 23 0x56de474b7 WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const 24 0x56de3333d WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&) 25 0x5709084ad WebCore::WorkerDedicatedRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*) 26 0x5709079e1 WebCore::WorkerDedicatedRunLoop::runInMode(WebCore::WorkerOrWorkletGlobalScope*, WebCore::ModePredicate const&) 27 0x570906025 WebCore::WorkerDedicatedRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*) 28 0x570905fc4 WebCore::WorkerOrWorkletThread::runEventLoop() 29 0x5708c404a WebCore::DedicatedWorkerThread::runEventLoop() 30 0x5709063a3 WebCore::WorkerOrWorkletThread::workerOrWorkletThread() 31 0x5709248a8 WebCore::WorkerThread::createThread()::$_14::operator()() const com.apple.WebKit.WebContent.Development terminated (pid 67178) for reason: crash
Attachments
Radar WebKit Bug Importer
Comment 1 2022-10-31 10:08:02 PDT
Hercules Hjalmarsson
Comment 2 2022-10-31 10:10:15 PDT
This issue can be bisected to 256099@main using command: run-webkit-tests --debug --iterations=2 imported/w3c/web-platform-tests/mixed-content/gen/worker-classic.http-rp/opt-in/worker-module.https.html
EWS
Comment 3 2022-10-31 10:25:20 PDT
Test gardening commit 256156@main (cd998140218f): <https://commits.webkit.org/256156@main> Reviewed commits have been landed. Closing PR #5959 and removing active labels.
Chris Dumez
Comment 4 2022-10-31 11:26:21 PDT
Guilty patch was reverted in https://commits.webkit.org/256160@main.
Chris Dumez
Comment 5 2022-10-31 11:31:07 PDT
EWS
Comment 6 2022-10-31 11:57:38 PDT
Committed 256164@main (0942a72f2939): <https://commits.webkit.org/256164@main> Reviewed commits have been landed. Closing PR #5967 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.