[Webkit-unassigned] [Bug 61835] New: Web Inspector: [JSC] JSLock ASSERTs Seen Under eventListenerHandlerBody

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 31 20:46:09 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=61835

           Summary: Web Inspector: [JSC] JSLock ASSERTs Seen Under
                    eventListenerHandlerBody
           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: joepeck at webkit.org
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


A few of the ASSERTs. I only saw this with the Interpreter and not the JIT.
But it might as well be fixed.

 ASSERTION FAILED: JSLock::lockCount() > 0
 Source/JavaScriptCore/runtime/JSCell.h(399) : void* JSC::Heap::allocate(size_t)
 1   JSC::Heap::allocate(unsigned long)
 2   JSC::JSCell::operator new(unsigned long, JSC::JSGlobalData*)
 3   JSC::jsNontrivialString(JSC::JSGlobalData*, JSC::UString const&)
 4   JSC::jsNontrivialString(JSC::ExecState*, JSC::UString const&)
 5   JSC::JSValue JSC::jsMakeNontrivialString<char const*, JSC::UString, char const*, JSC::UString, char const*, JSC::UString>(JSC::ExecState*, char const*, JSC::UString, char const*, JSC::UString, char const*, JSC::UString)
 6   _ZN3JSCL25functionProtoFuncToStringEPNS_9ExecStateE
 7   JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
 8   JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&)
 9   _ZN3JSCL24callDefaultValueFunctionEPNS_9ExecStateEPKNS_8JSObjectERKNS_10IdentifierE
 10  JSC::JSObject::defaultValue(JSC::ExecState*, JSC::PreferredPrimitiveType) const
 11  JSC::JSObject::toPrimitive(JSC::ExecState*, JSC::PreferredPrimitiveType) const
 12  JSC::JSObject::toString(JSC::ExecState*) const
 13  WebCore::eventListenerHandlerBody(WebCore::Document*, WebCore::EventListener*)
 14  WebCore::InspectorDOMAgent::buildObjectForEventListener(WebCore::RegisteredEventListener const&, WTF::AtomicString const&, WebCore::Node*)
 15  WebCore::InspectorDOMAgent::getEventListenersForNode(WTF::String*, int, WTF::RefPtr<WebCore::InspectorArray>*)

 ASSERTION FAILED: JSLock::lockCount() > 0
 JSCell.h(399) : void* JSC::Heap::allocate(size_t)
 1   JSC::Heap::allocate(unsigned long)
 2   JSC::JSCell::operator new(unsigned long, JSC::JSGlobalData*)
 3   JSC::jsNontrivialString(JSC::JSGlobalData*, JSC::UString const&)
 4   JSC::jsNontrivialString(JSC::ExecState*, JSC::UString const&)
 5   WebCore::JSLazyEventListener::initializeJSFunction(WebCore::ScriptExecutionContext*) const
 6   WebCore::JSEventListener::jsFunction(WebCore::ScriptExecutionContext*) const
 7   WebCore::eventListenerHandlerBody(WebCore::Document*, WebCore::EventListener*)
 8   WebCore::InspectorDOMAgent::buildObjectForEventListener(WebCore::RegisteredEventListener const&, WTF::AtomicString const&, WebCore::Node*)
 9   WebCore::InspectorDOMAgent::getEventListenersForNode(WTF::String*, int, WTF::RefPtr<WebCore::InspectorArray>*)

Patch to follow.

-- 
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