[Webkit-unassigned] [Bug 265263] Worker IDL Interface is not exposed to 'SharedWorker'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 30 17:55:56 PST 2023


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

--- Comment #7 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
This change leads to consistent crash in 'debug' build on following test:

imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/nested-sharedworker-success.https.html

Crash log: https://ews-build.s3-us-west-2.amazonaws.com/macOS-AppleSilicon-Sonoma-Debug-WK2-Tests-EWS/e035bd8d-3120/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/nested-sharedworker-success.https-crash-log.txt

No crash log found for WebKitTestRunner:20478.

stdout:

stderr:
ASSERTION FAILED: RunLoop::isMain()
/Volumes/Data/worker/macOS-AppleSilicon-Sonoma-Debug-Build-EWS/build/Source/WebKit/WebProcess/WebProcess.cpp(1183) : NetworkProcessConnection &WebKit::WebProcess::ensureNetworkProcessConnection()
1   0x137dfd248 WTFCrash
2   0x11e725cd0 std::__1::span<unsigned char const, 18446744073709551615ul>::span[abi:v160006]<unsigned char const*>(unsigned char const*, unsigned long)
3   0x120904afc WebKit::WebProcess::ensureNetworkProcessConnection()
4   0x120d24b70 WebKit::WebLoaderStrategy::addOnlineStateChangeListener(WTF::Function<void (bool)>&&)
5   0x285c461a8 WebCore::Worker::Worker(WebCore::ScriptExecutionContext&, JSC::RuntimeFlags, WebCore::WorkerOptions&&)
6   0x285c463b8 WebCore::Worker::Worker(WebCore::ScriptExecutionContext&, JSC::RuntimeFlags, WebCore::WorkerOptions&&)
7   0x285c46434 WebCore::Worker::create(WebCore::ScriptExecutionContext&, JSC::RuntimeFlags, WTF::String const&, WebCore::WorkerOptions&&)
8   0x281fa87cc WebCore::JSDOMConstructor<WebCore::JSWorker>::construct(JSC::JSGlobalObject*, JSC::CallFrame*)
9   0x2a4e54270 8   ???                                 0x00000002a4e54270 0x0 + 11356422768
10  0x1384f37c4 llint_entry
11  0x1384f4838 llint_entry
12  0x1384f32ac llint_entry
13  0x1384f32ac llint_entry
14  0x1384f37c4 llint_entry
15  0x1384f32ac llint_entry
16  0x1384ccfb4 vmEntryToJavaScript
17  0x13965b5fc JSC::Interpreter::executeCallImpl(JSC::VM&, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
18  0x13965b6ec JSC::Interpreter::executeCall(JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
19  0x1398ead38 JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
20  0x1398eaff8 JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
21  0x139b4e278 JSC::runJSMicrotask(JSC::JSGlobalObject*, WTF::ObjectIdentifierGeneric<JSC::MicrotaskIdentifierType, WTF::ObjectIdentifierThreadSafeAccessTraits>, JSC::JSValue, JSC::JSValue, JSC::JSValue, JSC::JSValue, JSC::JSValue)
22  0x139b4e424 JSC::JSMicrotask::run(JSC::JSGlobalObject*)
23  0x283150a74 WebCore::JSExecState::runTask(JSC::JSGlobalObject*, JSC::Microtask&)
24  0x28328ef28 WebCore::JSMicrotaskCallback::call()
25  0x28328eea8 WebCore::JSWorkerGlobalScopeBase::queueMicrotaskToEventLoop(JSC::JSGlobalObject&, WTF::Ref<JSC::Microtask, WTF::RawPtrTraits<JSC::Microtask>>&&)::$_3::operator()()
26  0x28328ee04 WTF::Detail::CallableWrapper<WebCore::JSWorkerGlobalScopeBase::queueMicrotaskToEventLoop(JSC::JSGlobalObject&, WTF::Ref<JSC::Microtask, WTF::RawPtrTraits<JSC::Microtask>>&&)::$_3, void>::call()
27  0x2800260e8 WTF::Function<void ()>::operator()() const
28  0x283ab0aec WebCore::EventLoopFunctionDispatchTask::execute()
29  0x283b155c0 WebCore::MicrotaskQueue::performMicrotaskCheckpoint()
30  0x283aa77a4 WebCore::EventLoop::performMicrotaskCheckpoint()
31  0x283aa9f40 WebCore::EventLoopTaskGroup::performMicrotaskCheckpoint()

> I think I should close my PR or change to draft till figure out, what could be the reason of above 'assertion'.

-- 
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/20231201/7db94d1d/attachment.htm>


More information about the webkit-unassigned mailing list