<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 - Web Inspector: CRASH in LayoutTests/inspector/debugger/terminate-dedicated-worker-while-paused.html"
   href="https://bugs.webkit.org/show_bug.cgi?id=151838">151838</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Web Inspector: CRASH in LayoutTests/inspector/debugger/terminate-dedicated-worker-while-paused.html
          </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>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>Web Inspector
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>joepeck&#64;webkit.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>bburg&#64;apple.com, ggaren&#64;apple.com, graouts&#64;webkit.org, joepeck&#64;webkit.org, mark.lam&#64;apple.com, mattbaker&#64;apple.com, nvasilyev&#64;apple.com, sbarati&#64;apple.com, timothy&#64;apple.com, webkit-bug-importer&#64;group.apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=266581" name="attach_266581" title="[CRASH] Multiple Crash Report">attachment 266581</a> <a href="attachment.cgi?id=266581&amp;action=edit" title="[CRASH] Multiple Crash Report">[details]</a></span>
[CRASH] Multiple Crash Report

* SUMMARY
CRASH in LayoutTests/inspector/debugger/terminate-dedicated-worker-while-paused.html.

* STEPS TO REPRODUCE
1. Unskip LayoutTests/inspector/debugger/terminate-dedicated-worker-while-paused.html
2. shell&gt; run-webkit-tests --debug inspector/debugger --iterations=10 -1
  =&gt; this test crashes

* CRASH LOG
Multiple attached

<span class="quote">&gt; Crashed Thread:        34  WebCore: Worker
&gt; Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
&gt; Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000</span >
&gt;
Thread 0:: Dispatch queue: com.apple.main-thread
<span class="quote">&gt; 0   llint_entry + 3366
&gt; 1   llint_entry + 26604
&gt; 2   llint_entry + 27485
&gt; 3   llint_entry + 26604
&gt; 4   llint_entry + 26604
&gt; 5   vmEntryToJavaScript + 334
&gt; 6   JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 213 (JITCode.cpp:80)
&gt; 7   JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;) + 1186 (Interpreter.cpp:1032)
&gt; 8   JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;) + 190 (CallData.cpp:39)
&gt; 9   JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;) + 83 (CallData.cpp:44)
&gt; 10  WebCore::JSMainThreadExecState::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;) + 107 (JSMainThreadExecState.h:56)
&gt; 11  WebCore::functionCallHandlerFromAnyThread(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;, WTF::NakedPtr&lt;JSC::Exception&gt;&amp;) + 109 (JSMainThreadExecState.cpp:54)
&gt; 12  Deprecated::ScriptFunctionCall::call(bool&amp;) + 488 (ScriptFunctionCall.cpp:138)
&gt; 13  Inspector::InjectedScriptBase::callFunctionWithEvalEnabled(Deprecated::ScriptFunctionCall&amp;, bool&amp;) const + 193 (InjectedScriptBase.cpp:81)
&gt; 14  Inspector::InjectedScriptBase::makeCall(Deprecated::ScriptFunctionCall&amp;, WTF::RefPtr&lt;Inspector::InspectorValue&gt;*) + 137 (InjectedScriptBase.cpp:100)
&gt; 15  Inspector::InjectedScriptBase::makeEvalCall(WTF::String&amp;, Deprecated::ScriptFunctionCall&amp;, WTF::RefPtr&lt;Inspector::Protocol::Runtime::RemoteObject&gt;*, Inspector::Protocol::OptOutput&lt;bool&gt;*, Inspector::Protocol::OptOutput&lt;int&gt;*) + 78 (InjectedScriptBase.cpp:112)
&gt; 16  Inspector::InjectedScript::evaluate(WTF::String&amp;, WTF::String const&amp;, WTF::String const&amp;, bool, bool, bool, bool, WTF::RefPtr&lt;Inspector::Protocol::Runtime::RemoteObject&gt;*, Inspector::Protocol::OptOutput&lt;bool&gt;*, Inspector::Protocol::OptOutput&lt;int&gt;*) + 417 (InjectedScript.cpp:68)
&gt; 17  Inspector::InspectorRuntimeAgent::evaluate(WTF::String&amp;, WTF::String const&amp;, WTF::String const*, bool const*, bool const*, int const*, bool const*, bool const*, bool const*, WTF::RefPtr&lt;Inspector::Protocol::Runtime::RemoteObject&gt;&amp;, Inspector::Protocol::OptOutput&lt;bool&gt;*, Inspector::Protocol::OptOutput&lt;int&gt;*) + 626 (InspectorRuntimeAgent.cpp:128)
&gt; 18  non-virtual thunk to Inspector::InspectorRuntimeAgent::evaluate(WTF::String&amp;, WTF::String const&amp;, WTF::String const*, bool const*, bool const*, int const*, bool const*, bool const*, bool const*, WTF::RefPtr&lt;Inspector::Protocol::Runtime::RemoteObject&gt;&amp;, Inspector::Protocol::OptOutput&lt;bool&gt;*, Inspector::Protocol::OptOutput&lt;int&gt;*) + 252 (InspectorRuntimeAgent.cpp:116)
&gt; 19  Inspector::RuntimeBackendDispatcher::evaluate(long, WTF::RefPtr&lt;Inspector::InspectorObject&gt;&amp;&amp;) + 2601 (InspectorBackendDispatchers.cpp:4969)
&gt; 20  Inspector::RuntimeBackendDispatcher::dispatch(long, WTF::String const&amp;, WTF::Ref&lt;Inspector::InspectorObject&gt;&amp;&amp;) + 827 (InspectorBackendDispatchers.cpp:4898)
&gt; 21  Inspector::BackendDispatcher::dispatch(WTF::String const&amp;) + 1997 (InspectorBackendDispatcher.cpp:181)
&gt; 22  WebCore::InspectorController::dispatchMessageFromFrontend(WTF::String const&amp;) + 47 (InspectorController.cpp:381)
&gt; 23  WebCore::InspectorBackendDispatchTask::timerFired() + 158 (InspectorFrontendClientLocal.cpp:103)
&gt; ...
&gt; 
&gt; Thread 34 Crashed:: WebCore: Worker
&gt; 0   WTF::Atomic&lt;unsigned char&gt;::compareExchangeWeak(unsigned char, unsigned char, std::__1::memory_order) + 367 (atomic:879)
&gt; 1   WTF::LockBase::lock() + 37 (Lock.h:51)
&gt; 2   void WTF::addIterator&lt;JSC::CodeBlock*, JSC::CodeBlock*, WTF::IdentityExtractor, WTF::PtrHash&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt; &gt;(WTF::HashTable&lt;JSC::CodeBlock*, JSC::CodeBlock*, WTF::IdentityExtractor, WTF::PtrHash&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt; &gt; const*, WTF::HashTableConstIterator&lt;JSC::CodeBlock*, JSC::CodeBlock*, WTF::IdentityExtractor, WTF::PtrHash&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt; &gt;*) + 162 (HashTable.h:1386)
&gt; 3   WTF::HashTableConstIterator&lt;JSC::CodeBlock*, JSC::CodeBlock*, WTF::IdentityExtractor, WTF::PtrHash&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt; &gt;::HashTableConstIterator(WTF::HashTable&lt;JSC::CodeBlock*, JSC::CodeBlock*, WTF::IdentityExtractor, WTF::PtrHash&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt; &gt; const*, JSC::CodeBlock* const*, JSC::CodeBlock* const*) + 59 (HashTable.h:128)
&gt; 4   WTF::HashTableConstIterator&lt;JSC::CodeBlock*, JSC::CodeBlock*, WTF::IdentityExtractor, WTF::PtrHash&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt; &gt;::HashTableConstIterator(WTF::HashTable&lt;JSC::CodeBlock*, JSC::CodeBlock*, WTF::IdentityExtractor, WTF::PtrHash&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt; &gt; const*, JSC::CodeBlock* const*, JSC::CodeBlock* const*) + 45 (HashTable.h:129)
&gt; 5   WTF::HashTable&lt;JSC::CodeBlock*, JSC::CodeBlock*, WTF::IdentityExtractor, WTF::PtrHash&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt; &gt;::makeConstIterator(JSC::CodeBlock**) const + 64 (HashTable.h:463)
&gt; 6   WTF::HashTable&lt;JSC::CodeBlock*, JSC::CodeBlock*, WTF::IdentityExtractor, WTF::PtrHash&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt; &gt;::begin() const + 89 (HashTable.h:376)
&gt; 7   WTF::HashSet&lt;JSC::CodeBlock*, WTF::PtrHash&lt;JSC::CodeBlock*&gt;, WTF::HashTraits&lt;JSC::CodeBlock*&gt; &gt;::begin() const + 39 (HashSet.h:173)
&gt; 8   void JSC::CodeBlockSet::iterate&lt;JSC::Debugger::ClearCodeBlockDebuggerRequestsFunctor&gt;(JSC::Debugger::ClearCodeBlockDebuggerRequestsFunctor&amp;) + 67 (CodeBlockSet.h:83)
&gt; 9   void JSC::Heap::forEachCodeBlock&lt;JSC::Debugger::ClearCodeBlockDebuggerRequestsFunctor&gt;(JSC::Debugger::ClearCodeBlockDebuggerRequestsFunctor&amp;) + 63 (HeapInlines.h:155)
&gt; 10  JSC::Debugger::clearBreakpoints() + 100 (Debugger.cpp:480)
&gt; 11  Inspector::ScriptDebugServer::clearBreakpoints() + 31 (ScriptDebugServer.cpp:126)
&gt; 12  Inspector::InspectorDebuggerAgent::clearDebuggerBreakpointState() + 32 (InspectorDebuggerAgent.cpp:786)
&gt; 13  Inspector::InspectorDebuggerAgent::clearInspectorBreakpointState() + 189 (InspectorDebuggerAgent.cpp:781)
&gt; 14  Inspector::InspectorDebuggerAgent::disable(bool) + 86 (InspectorDebuggerAgent.cpp:107)
&gt; 15  WebCore::WebDebuggerAgent::disable(bool) + 47 (WebDebuggerAgent.cpp:49)
&gt; 16  Inspector::InspectorDebuggerAgent::willDestroyFrontendAndBackend(Inspector::DisconnectReason) + 54 (InspectorDebuggerAgent.cpp:83)
&gt; 17  Inspector::AgentRegistry::willDestroyFrontendAndBackend(Inspector::DisconnectReason) + 117 (InspectorAgentRegistry.cpp:68)
&gt; 18  WebCore::WorkerInspectorController::disconnectFrontend(Inspector::DisconnectReason) + 248 (WorkerInspectorController.cpp:163)
&gt; 19  WebCore::WorkerInspectorController::workerGlobalScopeDestroyed() + 114 (WorkerInspectorController.cpp:145)
&gt; 20  WebCore::WorkerGlobalScope::~WorkerGlobalScope() + 214 (WorkerGlobalScope.cpp:87)
&gt; 21  WebCore::DedicatedWorkerGlobalScope::~DedicatedWorkerGlobalScope() + 21 (DedicatedWorkerGlobalScope.cpp:56)
&gt; 22  WebCore::DedicatedWorkerGlobalScope::~DedicatedWorkerGlobalScope() + 21 (DedicatedWorkerGlobalScope.cpp:56)
&gt; 23  WebCore::DedicatedWorkerGlobalScope::~DedicatedWorkerGlobalScope() + 25 (DedicatedWorkerGlobalScope.cpp:55)
&gt; 24  WTF::RefCounted&lt;WebCore::WorkerGlobalScope&gt;::deref() + 83 (RefCounted.h:146)
&gt; 25  void WTF::derefIfNotNull&lt;WebCore::WorkerGlobalScope&gt;(WebCore::WorkerGlobalScope*) + 58 (PassRefPtr.h:43)
&gt; 26  WTF::RefPtr&lt;WebCore::WorkerGlobalScope&gt;::operator=(std::nullptr_t) + 55 (RefPtr.h:142)
&gt; 27  WebCore::WorkerThread::workerThread() + 1312 (WorkerThread.cpp:168)
&gt; 28  WebCore::WorkerThread::workerThreadStart(void*) + 21 (WorkerThread.cpp:129)
&gt; ...</span ></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>