<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>140520</bug_id>
          
          <creation_ts>2015-01-15 15:46:47 -0800</creation_ts>
          <short_desc>[Win] Crash in &apos;inspector-protocol/debugger/setBreakpoint-dfg.html&apos;</short_desc>
          <delta_ts>2015-02-05 10:22:28 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>mark.lam</cc>
    
    <cc>msaboff</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1061668</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-01-15 15:46:47 -0800</bug_when>
    <thetext>The layout test &apos;inspector-protocol/debugger/setBreakpoint-dfg.html&apos; is crashing on Windows.

Apparently the value we are working with is not (as expected) a JSScope

The crash trace is:

&gt;	WTF.dll!WTFCrashWithSecurityImplication() Line 335	C++
 	JavaScriptCore.dll!JSC::jsCast&lt;JSC::JSScope *&gt;(JSC::JSValue from) Line 249	C++
 	JavaScriptCore.dll!JSC::Register::scope() Line 239	C++
 	JavaScriptCore.dll!JSC::ExecState::scope(int scopeRegisterOffset) Line 50	C++
 	JavaScriptCore.dll!JSC::DebuggerCallFrame::scope() Line 149	C++
 	JavaScriptCore.dll!Inspector::ScriptDebugServer::exceptionOrCaughtValue(JSC::ExecState * state) Line 342	C++
 	JavaScriptCore.dll!Inspector::ScriptDebugServer::dispatchDidPause(Inspector::ScriptDebugListener * listener) Line 140	C++
 	JavaScriptCore.dll!Inspector::ScriptDebugServer::dispatchFunctionToListeners(const WTF::HashSet&lt;Inspector::ScriptDebugListener *,WTF::PtrHash&lt;Inspector::ScriptDebugListener *&gt;,WTF::HashTraits&lt;Inspector::ScriptDebugListener *&gt; &gt; &amp; listeners, void (Inspector::ScriptDebugListener *) * callback) Line 281	C++
 	JavaScriptCore.dll!Inspector::ScriptDebugServer::dispatchFunctionToListeners(void (Inspector::ScriptDebugListener *) * callback) Line 274	C++
 	JavaScriptCore.dll!Inspector::ScriptDebugServer::handlePause(JSC::JSGlobalObject * vmEntryGlobalObject, JSC::Debugger::ReasonForPause __formal) Line 315	C++
 	JavaScriptCore.dll!JSC::Debugger::pauseIfNeeded(JSC::ExecState * callFrame) Line 679	C++
 	JavaScriptCore.dll!JSC::Debugger::updateCallFrameAndPauseIfNeeded(JSC::ExecState * callFrame) Line 635	C++
 	JavaScriptCore.dll!JSC::Debugger::atStatement(JSC::ExecState * callFrame) Line 715	C++
 	JavaScriptCore.dll!JSC::Interpreter::debug(JSC::ExecState * callFrame, JSC::DebugHookID debugHookID) Line 1228	C++
 	JavaScriptCore.dll!operationDebug(JSC::ExecState * exec, int debugHookID) Line 1005	C++
 	[External Code]	
 	[Frames below may be incorrect and/or missing]	
 	JavaScriptCore.dll!llint_entry() Line 7211	Unknown
 	JavaScriptCore.dll!vmEntryToJavaScript() Line 109	Unknown
 	JavaScriptCore.dll!JSC::JITCode::execute(JSC::VM * vm, JSC::ProtoCallFrame * protoCallFrame) Line 77	C++
 	JavaScriptCore.dll!JSC::Interpreter::execute(JSC::EvalExecutable * eval, JSC::ExecState * callFrame, JSC::JSValue thisValue, JSC::JSScope * scope) Line 1201	C++
 	JavaScriptCore.dll!JSC::globalFuncEval(JSC::ExecState * exec) Line 527	C++
 	[External Code]	
 	JavaScriptCore.dll!llint_entry() Line 7178	Unknown
 	JavaScriptCore.dll!llint_entry() Line 7178	Unknown
 	JavaScriptCore.dll!llint_entry() Line 7178	Unknown
 	JavaScriptCore.dll!vmEntryToJavaScript() Line 109	Unknown
 	JavaScriptCore.dll!JSC::JITCode::execute(JSC::VM * vm, JSC::ProtoCallFrame * protoCallFrame) Line 77	C++
 	JavaScriptCore.dll!JSC::Interpreter::executeCall(JSC::ExecState * callFrame, JSC::JSObject * function, JSC::CallType callType, const JSC::CallData &amp; callData, JSC::JSValue thisValue, const JSC::ArgList &amp; args) Line 978	C++
 	JavaScriptCore.dll!JSC::call(JSC::ExecState * exec, JSC::JSValue functionObject, JSC::CallType callType, const JSC::CallData &amp; callData, JSC::JSValue thisValue, const JSC::ArgList &amp; args) Line 39	C++
 	JavaScriptCore.dll!JSC::call(JSC::ExecState * exec, JSC::JSValue functionObject, JSC::CallType callType, const JSC::CallData &amp; callData, JSC::JSValue thisValue, const JSC::ArgList &amp; args, JSC::JSValue * exception) Line 44	C++
 	WebKit.dll!WebCore::JSMainThreadExecState::call(JSC::ExecState * exec, JSC::JSValue functionObject, JSC::CallType callType, const JSC::CallData &amp; callData, JSC::JSValue thisValue, const JSC::ArgList &amp; args, JSC::JSValue * exception) Line 56	C++
 	WebKit.dll!WebCore::functionCallHandlerFromAnyThread(JSC::ExecState * exec, JSC::JSValue functionObject, JSC::CallType callType, const JSC::CallData &amp; callData, JSC::JSValue thisValue, const JSC::ArgList &amp; args, JSC::JSValue * exception) Line 52	C++
 	JavaScriptCore.dll!Deprecated::ScriptFunctionCall::call(bool &amp; hadException) Line 138	C++
 	JavaScriptCore.dll!Inspector::InjectedScriptBase::callFunctionWithEvalEnabled(Deprecated::ScriptFunctionCall &amp; function, bool &amp; hadException) Line 89	C++
 	JavaScriptCore.dll!Inspector::InjectedScriptBase::makeCall(Deprecated::ScriptFunctionCall &amp; function, WTF::RefPtr&lt;Inspector::InspectorValue&gt; * result) Line 108	C++
 	JavaScriptCore.dll!Inspector::InjectedScriptBase::makeEvalCall(WTF::String &amp; errorString, Deprecated::ScriptFunctionCall &amp; function, WTF::RefPtr&lt;Inspector::Protocol::Runtime::RemoteObject&gt; * objectResult, Inspector::Protocol::OptOutput&lt;bool&gt; * wasThrown) Line 121	C++
 	JavaScriptCore.dll!Inspector::InjectedScript::evaluate(WTF::String &amp; errorString, const WTF::String &amp; expression, const WTF::String &amp; objectGroup, bool includeCommandLineAPI, bool returnByValue, bool generatePreview, WTF::RefPtr&lt;Inspector::Protocol::Runtime::RemoteObject&gt; * result, Inspector::Protocol::OptOutput&lt;bool&gt; * wasThrown) Line 70	C++
 	JavaScriptCore.dll!Inspector::InspectorRuntimeAgent::evaluate(WTF::String &amp; errorString, const WTF::String &amp; expression, const WTF::String * objectGroup, const bool * includeCommandLineAPI, const bool * doNotPauseOnExceptionsAndMuteConsole, const int * executionContextId, const bool * returnByValue, const bool * generatePreview, WTF::RefPtr&lt;Inspector::Protocol::Runtime::RemoteObject&gt; &amp; result, Inspector::Protocol::OptOutput&lt;bool&gt; * wasThrown) Line 132	C++
 	JavaScriptCore.dll!Inspector::InspectorRuntimeBackendDispatcher::evaluate(long callId, const Inspector::InspectorObject &amp; message) Line 4274	C++
 	JavaScriptCore.dll!Inspector::InspectorRuntimeBackendDispatcher::dispatch(long callId, const WTF::String &amp; method, WTF::Ref&lt;Inspector::InspectorObject&gt; &amp;&amp; message) Line 4200	C++
 	JavaScriptCore.dll!Inspector::InspectorBackendDispatcher::dispatch(const WTF::String &amp; message) Line 131	C++
 	WebKit.dll!WebCore::InspectorController::dispatchMessageFromFrontend(const WTF::String &amp; message) Line 363	C++
 	WebKit.dll!WebCore::InspectorBackendDispatchTask::timerFired() Line 99	C++
 	[External Code]	
 	WebKit.dll!WebCore::Timer::fired() Line 133	C++
 	WebKit.dll!WebCore::ThreadTimers::sharedTimerFiredInternal() Line 135	C++
 	WebKit.dll!WebCore::ThreadTimers::sharedTimerFired() Line 108	C++
 	WebKit.dll!WebCore::TimerWindowWndProc(HWND__ * hWnd, unsigned int message, unsigned int wParam, long lParam) Line 93	C++
 	[External Code]	
 	DumpRenderTree.dll!runTest(const std::basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt; &amp; inputLine) Line 1132	C++
 	DumpRenderTree.dll!main(int argc, const char * * argv) Line 1476	C++
 	DumpRenderTree.dll!dllLauncherEntryPoint(int argc, const char * * argv) Line 1506	C++
 	DumpRenderTree.exe!main(int argc, const char * * argv) Line 239	C++
 	[External Code]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1067126</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-02-05 10:22:28 -0800</bug_when>
    <thetext>&lt;rdar://problem/19731661&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>