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

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

Only saw this once in a dozen runs.  Happened in
AutomatedUITestBase.CloseBrowserWindow

Just like bug 16584, it is usually a "still reachable" leak, i.e.
16 bytes in 1 blocks are still reachable in loss record XX of YY
but once in a while is it reported as an actual leak, i.e.
16 bytes in 1 blocks are definitely lost in loss record WW of ZZ

You can see it (amongst an amazing amount of spam) with

sh tools/valgrind/chrome-tests.sh -t ui
--gtest_filter=AutomatedUITestBase.CloseBrowserWindow
--show_all_leaks > log 2>&1

Here's the warning:

16 bytes in 1 blocks are definitely lost in loss record 150 of 431
    at 0x7EA334C: operator new(unsigned int) (vg_replace_malloc.c:212)
    by 0x89D9E4B: WebCore::CSSParser::createFloatingSelector()
(CSSParser.cpp:4509)
    by 0x8D91AF3: cssyyparse(void*) (CSSGrammar.y:1084)
    by 0x89E4713: WebCore::CSSParser::parseSheet(WebCore::CSSStyleSheet*,
WebCore::String const&) (CSSParser.cpp:224)
    by 0x8A25ECF: WebCore::CSSStyleSheet::parseString(WebCore::String
const&, bool) (CSSStyleSheet.cpp:164)
    by 0x8A00FF0: WebCore::parseUASheet(WebCore::String const&)
(CSSStyleSelector.cpp:504)
    by 0x8A0101C: WebCore::parseUASheet(char const*, unsigned int)
(CSSStyleSelector.cpp:510)
    by 0x8A03C7B: WebCore::loadSimpleDefaultStyle()  
(CSSStyleSelector.cpp:549)
    by 0x8A15B3A:
WebCore::CSSStyleSelector::CSSStyleSelector(WebCore::Document*,
WebCore::String const&, WebCore::StyleSheetList*, WebCore::CSSStyleSheet*,
bool, bool) (CSSStyleSelector.cpp:424)
    by 0x8A584F6: WebCore::Document::attach() (Document.cpp:1317)
    by 0x86AEDE4:
WebCore::Frame::setDocument(WTF::PassRefPtr<WebCore::Document>)  
(Frame.cpp:267)
    by 0x867095B: WebCore::FrameLoader::begin(WebCore::KURL const&, bool,
WebCore::SecurityOrigin*) (FrameLoader.cpp:920)
    by 0x867AFF5: WebCore::FrameLoader::init() (FrameLoader.cpp:300)
    by 0x86AEE2D: 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