[Webkit-unassigned] [Bug 112926] New: Web Inspector: Page crash when using Script preprocessor
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 21 09:54:35 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=112926
Summary: Web Inspector: Page crash when using Script
preprocessor
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: johnjbarton at chromium.org
CC: keishi at webkit.org, pmuellr at yahoo.com,
pfeldman at chromium.org, yurys at chromium.org,
apavlov at chromium.org, loislo at chromium.org,
vsevik at chromium.org,
web-inspector-bugs at googlegroups.com
See also bug 111889 Bug 80992 and Bug 104384
When I apply the script preprocessor twice, the second time the page crashes (sad face page).
In a debug build I see:
...
injectedScript._commandLineAPIImpl = new CommandLineAPIImpl();
return injectedScript;
})
../../third_party/WebKit/Source/WebCore/bindings/v8/ScriptDebugServer.cpp(158) : WTF::String WebCore::ScriptDebugServer::ScriptPreprocessor::preprocessSourceCode(const WTF::String&, const WTF::String&, WebCore::DOMWindow*)
ERROR: Resulted in 0 bytes:
../../third_party/WebKit/Source/WebCore/bindings/v8/ScriptDebugServer.cpp(159) : WTF::String WebCore::ScriptDebugServer::ScriptPreprocessor::preprocessSourceCode(const WTF::String&, const WTF::String&, WebCore::DOMWindow*)
ERROR: dispatchDidParseSource:
../../third_party/WebKit/Source/WebCore/bindings/v8/ScriptDebugServer.cpp(557) : void WebCore::ScriptDebugServer::dispatchDidParseSource(WebCore::ScriptDebugListener*, v8::Handle<v8::Object>)
ASSERTION FAILED: v->IsFunction()
../../third_party/WebKit/Source/WebCore/bindings/v8/custom/V8InjectedScriptManager.cpp(103) : WebCore::ScriptObject WebCore::InjectedScriptManager::createInjectedScript(const WTF::String&, WebCore::ScriptState*, int)
The truncated output and the next two messages are my debugging output, indicating that just before the crash we preprocessed a script and the result has zero bytes then hit an assert in V8InjectedScriptManager.cpp
So I guess that the injected script from the reload is being preprocessed with the preprocessor from the previous reload, that preprocessor is failing to return a string, and the assert is hitting before the error from the failure of the preprocessor lands in the Inspector.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list