<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - ASSERTION FAILED: m_normalWorld->hasOneRef() under WorkerThread::stop"
href="https://bugs.webkit.org/show_bug.cgi?id=168356">168356</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ASSERTION FAILED: m_normalWorld->hasOneRef() under WorkerThread::stop
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>JavaScriptCore
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>joepeck@webkit.org
</td>
</tr>
<tr>
<th>CC</th>
<td>fpizlo@apple.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=301579" name="attach_301579" title="[CRASH] Crash Log">attachment 301579</a> <a href="attachment.cgi?id=301579&action=edit" title="[CRASH] Crash Log">[details]</a></span>
[CRASH] Crash Log
Assert seen while adding new Worker web-platform-tests. Seen at r212337.
* Steps to reproduce: (with local changes)
1. Add new Worker web-platform-test tests (to be added soon to <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Resource Timing] Support Resource Timing in Workers"
href="show_bug.cgi?id=168086">bug 168086</a>)
2. Enable Resource Timing
3. <a href="http://localhost:8800/resource-timing/rt-performance-extensions.worker.html">http://localhost:8800/resource-timing/rt-performance-extensions.worker.html</a>
4. Reload
=> CRASH
ASSERTION FAILED: m_normalWorld->hasOneRef()
/Users/pecoraro/Code/safari/OpenSource/Source/WebCore/bindings/js/WebCoreJSClientData.cpp(55) : virtual WebCore::JSVMClientData::~JSVMClientData()
1 0x1112b83ed WTFCrash
2 0x11666227a WebCore::JSVMClientData::~JSVMClientData()
3 0x116662485 WebCore::JSVMClientData::~JSVMClientData()
4 0x1166624a9 WebCore::JSVMClientData::~JSVMClientData()
5 0x11118b8fc JSC::VM::~VM()
6 0x11118d4e5 JSC::VM::~VM()
7 0x110b6c7b7 WTF::ThreadSafeRefCounted<JSC::VM>::deref() const
8 0x110b6c761 void WTF::derefIfNotNull<JSC::VM>(JSC::VM*)
9 0x110d6652b WTF::RefPtr<JSC::VM>::operator=(std::nullptr_t)
10 0x110d770aa JSC::JSLockHolder::~JSLockHolder()
11 0x110d77125 JSC::JSLockHolder::~JSLockHolder()
12 0x1167c3cff WebCore::WorkerScriptController::~WorkerScriptController()
13 0x1167c3ee5 WebCore::WorkerScriptController::~WorkerScriptController()
14 0x1167cbe42 WebCore::WorkerGlobalScope::clearScript()
15 0x1167cbd86 WebCore::WorkerThread::stop()::$_0::operator()(WebCore::ScriptExecutionContext&) const::'lambda'(WebCore::ScriptExecutionContext&)::operator()(WebCore::ScriptExecutionContext&) const
16 0x1167cbd34 WTF::Function<void (WebCore::ScriptExecutionContext&)>::CallableWrapper<WebCore::WorkerThread::stop()::$_0::operator()(WebCore::ScriptExecutionContext&) const::'lambda'(WebCore::ScriptExecutionContext&)>::call(WebCore::ScriptExecutionContext&)
17 0x11427f741 WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const
18 0x11426abdd WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&)
19 0x1167c08c9 WebCore::WorkerRunLoop::Task::performTask(WebCore::WorkerRunLoop const&, WebCore::WorkerGlobalScope*)
20 0x1167bfd72 WebCore::WorkerRunLoop::runCleanupTasks(WebCore::WorkerGlobalScope*)
21 0x1167bf4d0 WebCore::WorkerRunLoop::run(WebCore::WorkerGlobalScope*)
22 0x1167c8903 WebCore::WorkerThread::runEventLoop()
23 0x1141de318 WebCore::DedicatedWorkerThread::runEventLoop()
24 0x1167c866d WebCore::WorkerThread::workerThread()
25 0x1167c80f5 WebCore::WorkerThread::workerThreadStart(void*)
26 0x111329f99 WTF::createThread(void (*)(void*), void*, char const*)::$_0::operator()() const
27 0x111329f6d void std::__1::__invoke_void_return_wrapper<void>::__call<WTF::createThread(void (*)(void*), void*, char const*)::$_0&>(WTF::createThread(void (*)(void*), void*, char const*)::$_0&&&)
28 0x111329f19 std::__1::__function::__func<WTF::createThread(void (*)(void*), void*, char const*)::$_0, std::__1::allocator<WTF::createThread(void (*)(void*), void*, char const*)::$_0>, void ()>::operator()()
29 0x1108a07ca std::__1::function<void ()>::operator()() const
30 0x1113289a7 WTF::threadEntryPoint(void*)
31 0x11132a581 WTF::wtfThreadEntryPoint(void*)
LEAK: 1 WebFrame
LEAK: 50 WebCoreNode
LEAK: 1 CachedResource
LEAK: 1 BidiRun</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>