[Webkit-unassigned] [Bug 280792] New: [EWS] inspector/worker/debugger-pause-subworker.html is pre-existing failure in Sonoma EWS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 2 16:29:51 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=280792

            Bug ID: 280792
           Summary: [EWS] inspector/worker/debugger-pause-subworker.html
                    is pre-existing failure in Sonoma EWS
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: darbinyan at apple.com

The following test is pre-existing failure in Sonoma EWS and also flaky timeout failure crash on ToT.
inspector/worker/debugger-pause-subworker.html

Crash log:
ASSERTION FAILED: Unsafe to ref/deref from different threads
m_isOwnedByMainThread == isMainThread()
/Volumes/Data/worker/macOS-Sonoma-Debug-Build-EWS/build/WebKitBuild/Debug/usr/local/include/wtf/RefCounted.h(126) : void WTF::RefCountedBase::applyRefDerefThreadingCheck() const
1   0x32d9fac60 WTF::RefCountedBase::applyRefDerefThreadingCheck() const
2   0x32db15328 WTF::RefCountedBase::ref() const
3   0x332b166fc WTF::DefaultRefDerefTraits<WebCore::WorkerInspectorProxy>::ref(WebCore::WorkerInspectorProxy&)
4   0x332b166cc WTF::Ref<WebCore::WorkerInspectorProxy, WTF::RawPtrTraits<WebCore::WorkerInspectorProxy>, WTF::DefaultRefDerefTraits<WebCore::WorkerInspectorProxy>>::Ref(WebCore::WorkerInspectorProxy&)
5   0x332b118ac WTF::Ref<WebCore::WorkerInspectorProxy, WTF::RawPtrTraits<WebCore::WorkerInspectorProxy>, WTF::DefaultRefDerefTraits<WebCore::WorkerInspectorProxy>>::Ref(WebCore::WorkerInspectorProxy&)
6   0x332b17c30 WebCore::WorkerWorkerAgent::connectToAllWorkerInspectorProxies()
7   0x332af6e4c WebCore::InspectorWorkerAgent::enable()
8   0x11a76a1b4 Inspector::WorkerBackendDispatcher::enable(long, WTF::RefPtr<WTF::JSONImpl::Object, WTF::RawPtrTraits<WTF::JSONImpl::Object>, WTF::DefaultRefDerefTraits<WTF::JSONImpl::Object>>&&)
9   0x11a769f48 Inspector::WorkerBackendDispatcher::dispatch(long, WTF::String const&, WTF::Ref<WTF::JSONImpl::Object, WTF::RawPtrTraits<WTF::JSONImpl::Object>, WTF::DefaultRefDerefTraits<WTF::JSONImpl::Object>>&&)
10  0x11a7265c8 Inspector::BackendDispatcher::dispatch(WTF::String const&)
11  0x3329b95c4 WebCore::WorkerInspectorController::dispatchMessageFromFrontend(WTF::String const&)
12  0x3346349a0 WebCore::WorkerInspectorProxy::sendMessageToWorkerInspectorController(WTF::String const&)::$_13::operator()(WebCore::ScriptExecutionContext&) const
13  0x3346348e8 WTF::Detail::CallableWrapper<WebCore::WorkerInspectorProxy::sendMessageToWorkerInspectorController(WTF::String const&)::$_13, void, WebCore::ScriptExecutionContext&>::call(WebCore::ScriptExecutionContext&)
14  0x330529f80 WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const
15  0x330ef2b4c WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&)
16  0x33464b1dc WebCore::WorkerDedicatedRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*)
17  0x33464a64c WebCore::WorkerDedicatedRunLoop::runInMode(WebCore::WorkerOrWorkletGlobalScope*, WebCore::ModePredicate const&)
18  0x334648bd8 WebCore::WorkerDedicatedRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*)
19  0x334648b0c WebCore::WorkerOrWorkletThread::runEventLoop()
20  0x334648f20 WebCore::WorkerOrWorkletThread::workerOrWorkletThread()
21  0x33466de30 WebCore::WorkerThread::createThread()::$_18::operator()() const
22  0x33466dddc WTF::Detail::CallableWrapper<WebCore::WorkerThread::createThread()::$_18, void>::call()
23  0x118f18eb4 WTF::Function<void ()>::operator()() const
24  0x11904c828 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)
25  0x119058eb0 WTF::wtfThreadEntryPoint(void*)
26  0x1942faf94 _pthread_start
27  0x1942f5d34 thread_start
com.apple.WebKit.WebContent.Development terminated (pid 9833) for reason: crash
LEAK: 2 WebPageProxy

Diff Link: https://build.webkit.org/results/Apple-Ventura-Debug-AppleSilicon-WK1-Tests/284442@main%20(7690)/inspector/worker/debugger-pause-subworker-crash-log.txt

Timeout errors:
@@ -1,4 +1,4 @@
-CONSOLE MESSAGE: TypeError: undefined is not an object (evaluating '[].x.x')
+FAIL: Timed out waiting for notifyDone to be called
 Ensure we can pause in Subworkers.

Diff Link: https://build.webkit.org/results/Apple-Sequoia-Debug-WK1-Tests/284496@main%20(100)/inspector/worker/debugger-pause-subworker-diff.txt

Failure logs:
 -- Running test case: Subworker.Debugger.Pause.Breakpoint
 Triggering pause...
-PASS: Should be paused in a Subworker CallFrame.
-PASS: Pause reason should be a breakpoint.
-PAUSE AT triggerBreakpoint:9:5
-      5
-      6    function triggerBreakpoint() {
-      7        let alpha = 1;
- ->   8        |let beta = 2; // BREAKPOINT
-      9        let gamma = 3;
-     10    }
-     11
+
+FAIL: Should be paused in a Subworker CallFrame.
+    Expected: WorkerTarget instance #2
+    Actual: DirectBackendTarget instance #1
+FAIL: Pause reason should be a breakpoint.
+    Expected: "breakpoint"
+    Actual: null
+PAUSE AT Global Code:1:1
+--- Source Unavailable ---

Diff link: https://build.webkit.org/results/Apple-Sequoia-Release-AppleSilicon-WK1-Tests/284513@main%20(166)/inspector/worker/debugger-pause-subworker-diff.txt


History:
https://results.webkit.org/?suite=layout-tests&test=inspector%2Fworker%2Fdebugger-pause-subworker.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241002/b514851b/attachment-0001.htm>


More information about the webkit-unassigned mailing list