[Webkit-unassigned] [Bug 59699] New: Global object is recreated on teardown, for no good reason

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 28 06:56:10 PDT 2011


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

           Summary: Global object is recreated on teardown, for no good
                    reason
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: staikos at kde.org
                CC: mjs at apple.com


#4  0x00075618 in JSC::Structure::addPropertyTransition(JSC::Structure*, JSC::Identifier const&, unsigned int, JSC::JSCell*, unsigned int&) ()
#5  0x008467c6 in JSC::JSObject::putDirectInternal(JSC::Identifier const&, JSC::JSValue, unsigned int, bool, JSC::PutPropertySlot&, JSC::JSCell*) ()
#6  0x0005284c in JSC::InternalFunction::InternalFunction(JSC::JSGlobalData*, JSC::JSGlobalObject*, WTF::NonNullPassRefPtr<JSC::Structure>, JSC::Identifier const&) ()
#7  0x0006f158 in JSC::StringConstructor::StringConstructor(JSC::ExecState*, JSC::JSGlobalObject*, WTF::NonNullPassRefPtr<JSC::Structure>, JSC::Structure*, JSC::StringPrototype*) ()
#8  0x00059df6 in JSC::JSGlobalObject::reset(JSC::JSValue) ()
#9  0x0005b2b4 in JSC::JSGlobalObject::init(JSC::JSObject*) ()
#10 0x002458c0 in WebCore::JSDOMGlobalObject::JSDOMGlobalObject(WTF::NonNullPassRefPtr<JSC::Structure>, WebCore::JSDOMGlobalObject::JSDOMGlobalObjectData*, JSC::JSObject*) ()
#11 0x00246290 in WebCore::JSDOMWindowBase::JSDOMWindowBase(WTF::NonNullPassRefPtr<JSC::Structure>, WTF::PassRefPtr<WebCore::DOMWindow>, WebCore::JSDOMWindowShell*) ()
#12 0x0019e062 in WebCore::JSDOMWindow::JSDOMWindow(WTF::NonNullPassRefPtr<JSC::Structure>, WTF::PassRefPtr<WebCore::DOMWindow>, WebCore::JSDOMWindowShell*) ()
#13 0x0024a054 in WebCore::JSDOMWindowShell::setWindow(WTF::PassRefPtr<WebCore::DOMWindow>) ()
#14 0x0025cb3c in WebCore::ScriptController::clearWindowShell(bool) ()
#15 0x003aa490 in WebCore::Frame::~Frame() ()

You can see from this trace that frame teardown is creating a new global object for no good reason that I can determine.  We immediately get rid of it all anyway.

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