WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
285954
[macOS Debug] ASSERTION FAILED: Unsafe to ref/deref from different threads in inspector/worker/runtime-basic-subworker.html (failure in EWS)
https://bugs.webkit.org/show_bug.cgi?id=285954
Summary
[macOS Debug] ASSERTION FAILED: Unsafe to ref/deref from different threads in...
Marta Darbinyan
Reported
2025-01-14 15:27:33 PST
inspector/worker/runtime-basic-subworker.html test is flaky crashing in macOS queue and flaky failure in EWS. ASSERTION FAILED: Unsafe to ref/deref from different threads m_isOwnedByMainThread == isMainThread() /Volumes/Data/worker/Apple-Ventura-Debug-Build/build/WebKitBuild/Debug/usr/local/include/wtf/RefCounted.h(119) : void WTF::RefCountedBase::applyRefDerefThreadingCheck() const 1 0x128aa71fc WTF::RefCountedBase::applyRefDerefThreadingCheck() const 2 0x128aa9524 WTF::RefCountedBase::ref() const 3 0x12de88f38 WTF::DefaultRefDerefTraits<WebCore::WorkerInspectorProxy>::ref(WebCore::WorkerInspectorProxy&) 4 0x12de88f08 WTF::Ref<WebCore::WorkerInspectorProxy, WTF::RawPtrTraits<WebCore::WorkerInspectorProxy>, WTF::DefaultRefDerefTraits<WebCore::WorkerInspectorProxy>>::Ref(WebCore::WorkerInspectorProxy&) 5 0x12de83ed4 WTF::Ref<WebCore::WorkerInspectorProxy, WTF::RawPtrTraits<WebCore::WorkerInspectorProxy>, WTF::DefaultRefDerefTraits<WebCore::WorkerInspectorProxy>>::Ref(WebCore::WorkerInspectorProxy&) 6 0x12de8a594 WebCore::WorkerWorkerAgent::connectToAllWorkerInspectorProxies() 7 0x12de68e6c WebCore::InspectorWorkerAgent::enable() 8 0x11fe2dfb0 Inspector::WorkerBackendDispatcher::enable(long, WTF::RefPtr<WTF::JSONImpl::Object, WTF::RawPtrTraits<WTF::JSONImpl::Object>, WTF::DefaultRefDerefTraits<WTF::JSONImpl::Object>>&&) 9 0x11fe2dd44 Inspector::WorkerBackendDispatcher::dispatch(long, WTF::String const&, WTF::Ref<WTF::JSONImpl::Object, WTF::RawPtrTraits<WTF::JSONImpl::Object>, WTF::DefaultRefDerefTraits<WTF::JSONImpl::Object>>&&) 10 0x11fdea38c Inspector::BackendDispatcher::dispatch(WTF::String const&) 11 0x12dd26104 WebCore::WorkerInspectorController::dispatchMessageFromFrontend(WTF::String const&) 12 0x12fbcba18 WebCore::WorkerInspectorProxy::sendMessageToWorkerInspectorController(WTF::String const&)::$_14::operator()(WebCore::ScriptExecutionContext&) const 13 0x12fbcb960 WTF::Detail::CallableWrapper<WebCore::WorkerInspectorProxy::sendMessageToWorkerInspectorController(WTF::String const&)::$_14, void, WebCore::ScriptExecutionContext&>::call(WebCore::ScriptExecutionContext&) 14 0x12b65c934 WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const 15 0x12c0926bc WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&) 16 0x12fbe28a4 WebCore::WorkerDedicatedRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*) 17 0x12fbe1d6c WebCore::WorkerDedicatedRunLoop::runInMode(WebCore::WorkerOrWorkletGlobalScope*, WebCore::ModePredicate const&) 18 0x12fbe02a4 WebCore::WorkerDedicatedRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*) 19 0x12fbe01d8 WebCore::WorkerOrWorkletThread::runEventLoop() 20 0x12fbe05ec WebCore::WorkerOrWorkletThread::workerOrWorkletThread() 21 0x12fc05b20 WebCore::WorkerThread::createThread()::$_18::operator()() const 22 0x12fc05acc WTF::Detail::CallableWrapper<WebCore::WorkerThread::createThread()::$_18, void>::call() 23 0x11e5be774 WTF::Function<void ()>::operator()() const 24 0x11e701978 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) 25 0x11e70e184 WTF::wtfThreadEntryPoint(void*) 26 0x19a25ffa8 _pthread_start 27 0x19a25ada0 thread_start Test result:
https://build.webkit.org/results/Apple-Sonoma-Debug-WK2-Tests/288693@main%20(3003)/results.html
History:
https://results.webkit.org/?suite=layout-tests&test=inspector%2Fworker%2Fruntime-basic-subworker.html&style=debug
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-01-14 15:27:56 PST
<
rdar://problem/142914104
>
EWS
Comment 2
2025-01-14 15:51:41 PST
Test gardening commit
288899@main
(d594f4bd2b9d): <
https://commits.webkit.org/288899@main
> Reviewed commits have been landed. Closing PR #39032 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug