* SUMMARY CRASHes running inspector-protocol/debugger/terminate-dedicated-worker-while-paused.html. * STEPS TO REPRODUCE 1. shell> run-webkit-tests --debug inspector-protocol/debugger/terminate-dedicated-worker-while-paused.html --repeat-each 2 -v --no-retry -g => CRASH * CRASH 1 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.apple.WebCore 0x000000010c63baeb WebCore::WorkerMessagingProxy::postMessageToPageInspector(WTF::String const&)::$_11::operator()(WebCore::ScriptExecutionContext&) const + 27 1 com.apple.WebCore 0x000000010c63babc std::__1::__function::__func<WebCore::WorkerMessagingProxy::postMessageToPageInspector(WTF::String const&)::$_11, std::__1::allocator<WebCore::WorkerMessagingProxy::postMessageToPageInspector(WTF::String const&)::$_11>, void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) + 92 2 com.apple.WebCore 0x000000010ab8680b std::__1::function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const + 59 3 com.apple.WebCore 0x000000010ab5988d WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&) + 29 4 com.apple.WebCore 0x000000010ab51ed9 WebCore::Document::postTask(WebCore::ScriptExecutionContext::Task)::$_0::operator()() const + 633 5 com.apple.WebCore 0x000000010ab51c4c std::__1::__function::__func<WebCore::Document::postTask(WebCore::ScriptExecutionContext::Task)::$_0, std::__1::allocator<WebCore::Document::postTask(WebCore::ScriptExecutionContext::Task)::$_0>, void ()>::operator()() + 60 6 com.apple.JavaScriptCore 0x0000000106b34d5a std::__1::function<void ()>::operator()() const + 26 (functional:1755) 7 com.apple.JavaScriptCore 0x0000000106bac942 WTF::callFunctionObject(void*) + 258 (MainThread.cpp:212) 8 com.apple.JavaScriptCore 0x0000000106bac042 WTF::dispatchFunctionsFromMainThread() + 418 (MainThread.cpp:171) ... * CRASH 2 Thread 14 Crashed:: WebCore: Worker 0 com.apple.WebCore 0x000000010891a1cc JSC::HandleBase::slot() const + 12 1 com.apple.WebCore 0x000000010a884f45 JSC::Handle<WebCore::JSWorkerGlobalScope>::get() const + 21 2 com.apple.WebCore 0x000000010a884ad5 JSC::HandleConverter<JSC::Handle<WebCore::JSWorkerGlobalScope>, WebCore::JSWorkerGlobalScope>::operator->() + 21 3 com.apple.WebCore 0x000000010a884426 WebCore::WorkerScriptController::detachDebugger(JSC::Debugger*) + 54 4 com.apple.WebCore 0x000000010a88654f WebCore::WorkerScriptDebugServer::removeListener(Inspector::ScriptDebugListener*, bool) + 143 5 com.apple.WebCore 0x000000010a851f45 WebCore::WorkerDebuggerAgent::stopListeningScriptDebugServer(bool) + 69 6 com.apple.JavaScriptCore 0x000000010496daaa Inspector::InspectorDebuggerAgent::disable(bool) + 74 (InspectorDebuggerAgent.cpp:108) 7 com.apple.WebCore 0x000000010a7af58f WebCore::WebDebuggerAgent::disable(bool) + 47 ...
<rdar://problem/19299495>
Created attachment 243517 [details] [PATCH] Proposed Fix After this change, the test still crashes, but consistently crashes like other Worker Inspector tests somewhere in JavaScriptCore.
Comment on attachment 243517 [details] [PATCH] Proposed Fix Clearing flags on attachment: 243517 Committed r177587: <http://trac.webkit.org/changeset/177587>
All reviewed patches have been landed. Closing bug.