[Webkit-unassigned] [Bug 53062] New: Leaking CSSRuleDataList

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 24 21:50:19 PST 2011


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

           Summary: Leaking CSSRuleDataList
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simon.fraser at apple.com
                CC: koivisto at iki.fi


Created an attachment (id=80017)
 --> (https://bugs.webkit.org/attachment.cgi?id=80017&action=review)
Leaks log

Running 'run-webkit-tests --debug --leaks LayoutTests/fast/css' shows some leaks of CSSRuleDataList objects.

On SnowLeopard, at r76568.

Massaged leaks output attached. Sample stack is:


    | WebCore::JSNode::appendChild(JSC::ExecState*)
    | WebCore::Node::appendChild(WTF::PassRefPtr<WebCore::Node>, int&, bool)
    | WebCore::ContainerNode::appendChild(WTF::PassRefPtr<WebCore::Node>, int&, bool)
    | WebCore::notifyChildInserted(WebCore::Node*)
    | WebCore::HTMLStyleElement::insertedIntoDocument()
    | WebCore::StyleElement::insertedIntoDocument(WebCore::Document*, WebCore::Element*)
    | WebCore::StyleElement::process(WebCore::Element*)
    | WebCore::StyleElement::createSheet(WebCore::Element*, int, WTF::String const&)
    | WebCore::CSSStyleSheet::checkLoaded()
    | WebCore::HTMLStyleElement::sheetLoaded()
    | WebCore::StyleElement::sheetLoaded(WebCore::Document*)
    | WebCore::Document::removePendingSheet()
    | WebCore::Document::styleSelectorChanged(WebCore::StyleSelectorUpdateFlag)
    | WebCore::Document::recalcStyle(WebCore::Node::StyleChange)
    | WebCore::Element::recalcStyle(WebCore::Node::StyleChange)
    | WebCore::Document::styleSelector()
    | WebCore::Document::createStyleSelector()
    | WebCore::CSSStyleSelector::CSSStyleSelector(WebCore::Document*, WebCore::StyleSheetList*, WebCore::CSSStyleSheet*, WebCore::CSSStyleSheet*, WTF::Vector<WTF::RefPtr<WebCore::CSSStyleSheet>, 0ul> const*, bool, bool)
    | WebCore::CSSRuleSet::addRulesFromSheet(WebCore::CSSStyleSheet*, WebCore::MediaQueryEvaluator const&, WebCore::CSSStyleSelector*)
    | WebCore::CSSRuleSet::addStyleRule(WebCore::CSSStyleRule*)
    | WebCore::CSSRuleSet::addRule(WebCore::CSSStyleRule*, WebCore::CSSSelector*)
    | WebCore::CSSRuleSet::addToRuleSet(WTF::AtomicStringImpl*, WTF::HashMap<WTF::AtomicStringImpl*, WebCore::CSSRuleDataList*, WTF::PtrHash<WTF::AtomicStringImpl*>, WTF::HashTraits<WTF::AtomicStringImpl*>, WTF::HashTraits<WebCore::CSSRuleDataList*> >&, WebCore::CSSStyleRule*, WebCore::CSSSelector*)
    | WebCore::CSSRuleDataList::CSSRuleDataList(unsigned int, WebCore::CSSStyleRule*, WebCore::CSSSelector*)
    | WTF::fastMalloc(unsigned long)

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