[Webkit-unassigned] [Bug 183644] New: MessagePort should remove its listeners when being closed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 14 14:10:58 PDT 2018


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

            Bug ID: 183644
           Summary: MessagePort should remove its listeners when being
                    closed
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Service Workers
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: youennf at gmail.com

Otherwise we end up with something like:
1   0x628c6e97d WTFCrash
2   0x6199a5ca1 WebCore::JSVMClientData::~JSVMClientData()
3   0x6199a5eb5 WebCore::JSVMClientData::~JSVMClientData()
4   0x6199a5ed9 WebCore::JSVMClientData::~JSVMClientData()
5   0x6289e13ca JSC::VM::~VM()
6   0x6289e4065 JSC::VM::~VM()
7   0x627717e77 WTF::ThreadSafeRefCounted<JSC::VM>::deref() const
8   0x628458cc1 void WTF::derefIfNotNull<JSC::VM>(JSC::VM*)
9   0x6284499e7 WTF::RefPtr<JSC::VM, WTF::DumbPtrTraits<JSC::VM> >::operator=(std::nullptr_t)
10  0x628867dfa JSC::JSLockHolder::~JSLockHolder()
11  0x628867e75 JSC::JSLockHolder::~JSLockHolder()
12  0x6199a739a WebCore::WorkerScriptController::~WorkerScriptController()
13  0x6199a75a5 WebCore::WorkerScriptController::~WorkerScriptController()
14  0x61b3889f2 WebCore::WorkerGlobalScope::clearScript()
15  0x61b388936 WebCore::WorkerThread::stop(WTF::Function<void ()>&&)::$_16::operator()(WebCore::ScriptExecutionContext&) const::'lambda'(WebCore::ScriptExecutionContext&)::operator()(WebCore::ScriptExecutionContext&) const
16  0x61b3888e4 WTF::Function<void (WebCore::ScriptExecutionContext&)>::CallableWrapper<WebCore::WorkerThread::stop(WTF::Function<void ()>&&)::$_16::operator()(WebCore::ScriptExecutionContext&) const::'lambda'(WebCore::ScriptExecutionContext&)>::call(WebCore::ScriptExecutionContext&)
17  0x6197e062e WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const
18  0x6197cdead WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&)
19  0x61b3777a0 WebCore::WorkerRunLoop::Task::performTask(WebCore::WorkerGlobalScope*)
20  0x61b376b4e WebCore::WorkerRunLoop::runCleanupTasks(WebCore::WorkerGlobalScope*)
21  0x61b3761e0 WebCore::WorkerRunLoop::run(WebCore::WorkerGlobalScope*)
22  0x61b37ad23 WebCore::WorkerThread::runEventLoop()
23  0x61b35e948 WebCore::DedicatedWorkerThread::runEventLoop()
24  0x61b37a870 WebCore::WorkerThread::workerThread()
25  0x61b386778 WebCore::WorkerThread::start(WTF::Function<void (WTF::String const&)>&&)::$_12::operator()() const
26  0x61b386739 WTF::Function<void ()>::CallableWrapper<WebCore::WorkerThread::start(WTF::Function<void (WTF::String const&)>&&)::$_12>::call()
27  0x628c8a87b WTF::Function<void ()>::operator()() const
28  0x628cfab9f WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*)
29  0x628d002f5 WTF::wtfThreadEntryPoint(void*)
30  0x7fff7fabe6c1 _pthread_body
31  0x7fff7fabe56d _pthread_body

-- 
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/20180314/a6371b5e/attachment-0001.html>


More information about the webkit-unassigned mailing list