In DebuggerCallFrame::evaluateWithCallFrame(), if the script string that is passed in is bad, it will fail to create an Executable i.e. EvalExecutable::create() returns null. However, DebuggerCallFrame::evaluateWithCallFrame() currently just clears the exception and proceeds to attempt to execute the Executable (which again is null). A crash ensues. DebuggerCallFrame::evaluateWithCallFrame() should abort if the Executable pointer is null. Patch coming.
Created attachment 222183 [details] the patch.
Thanks. Landed in r162752: <http://trac.webkit.org/r162752>.
Regression test?
(In reply to comment #3) > Regression test? Will work on regression test at https://bugs.webkit.org/show_bug.cgi?id=128121.