Status: Untriaged
Owner: ----
Labels: Type-Bug Pri-2 OS-Linux Area-WebKit Size-Medium Valgrind

New issue 16584 by [email protected]: Occasional leak in  
WebCore::CSSRuleSet::addToRuleSet()
http://code.google.com/p/chromium/issues/detail?id=16584

Valgrind complained about a leak in
AutomatedUITestBase.OpenBrowserWindow
This usually shows up as a possible leak, but once in a while
it's a definite leak.  To see it either way, try
   sh tools/valgrind/chrome_tests.sh -t ui --

Here's valgrind's warning:

16 bytes in 1 blocks are definitely lost in loss record 149 of 405
    at operator new(unsigned int) (vg_replace_malloc.c:212)
    by WebCore::CSSRuleSet::addToRuleSet(WebCore::AtomicStringImpl*,
WTF::HashMap<WebCore::AtomicStringImpl*, WebCore::CSSRuleDataList*,
WTF::PtrHash<WebCore::AtomicStringImpl*>,
WTF::HashTraits<WebCore::AtomicStringImpl*>,
WTF::HashTraits<WebCore::CSSRuleDataList*> >&, WebCore::CSSStyleRule*,
WebCore::CSSSelector*) (CSSStyleSelector.h:324)
    by WebCore::CSSRuleSet::addRule(WebCore::CSSStyleRule*,  
WebCore::CSSSelector*)
(CSSStyleSelector.cpp:2681)
    by WebCore::CSSRuleSet::addRulesFromSheet(WebCore::CSSStyleSheet*,
WebCore::MediaQueryEvaluator const&, WebCore::CSSStyleSelector*)
(CSSStyleSelector.cpp:2709)
    by WebCore::loadSimpleDefaultStyle() (CSSStyleSelector.cpp:550)
    by WebCore::CSSStyleSelector::CSSStyleSelector(WebCore::Document*,  
WebCore::String
const&, WebCore::StyleSheetList*, WebCore::CSSStyleSheet*, bool, bool)
(CSSStyleSelector.cpp:424)
    by WebCore::Document::attach() (Document.cpp:1314)
    by WebCore::Frame::setDocument(WTF::PassRefPtr<WebCore::Document>)
(Frame.cpp:267)
    by WebCore::FrameLoader::begin(WebCore::KURL const&, bool,  
WebCore::SecurityOrigin*)
(FrameLoader.cpp:921)
    by WebCore::FrameLoader::init() (FrameLoader.cpp:301)
    by WebCore::Frame::init() (Frame.cpp:211)
...

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to