[Webkit-unassigned] [Bug 23473] New: [GTK] Mismatched free() / delete / delete []

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 22 00:27:11 PST 2009


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

           Summary: [GTK] Mismatched free() / delete / delete []
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: louis at mizi.com


I can see the following message when I run GtkLauncher with valgrind(memcheck).
I tested two nightly snapshots. Both of 40102 and 39811 snapshots have same
problem. If you want to reproduce it, just compile webkit with gtk backend and
--enable-debug option, and run GtkLauncher and wait.

I have not tested other port.

==1011== 
==1011== Mismatched free() / delete / delete []
==1011==    at 0x402265C: free (vg_replace_malloc.c:323)
==1011==    by 0x4D5CB1F: WTF::fastFree(void*) (FastMalloc.cpp:216)
==1011==    by 0x46BD8DE:
WebCore::CSSSelectorList::adoptSelectorVector(WTF::Vector<WebCore::CSSSelector*,
0>&) (CSSSelectorList.cpp:57)
==1011==    by 0x46A7408:
WebCore::CSSStyleRule::adoptSelectorVector(WTF::Vector<WebCore::CSSSelector*,
0>&) (CSSStyleRule.h:53)
==1011==    by 0x46914A9:
WebCore::CSSParser::createStyleRule(WTF::Vector<WebCore::CSSSelector*, 0>*)
(CSSParser.cpp:4547)
==1011==    by 0x4CEE94E: cssyyparse(void*) (CSSGrammar.y:792)
==1011==    by 0x469F7E9:
WebCore::CSSParser::parseSheet(WebCore::CSSStyleSheet*, WebCore::String const&)
(CSSParser.cpp:224)
==1011==    by 0x46FC033: WebCore::CSSStyleSheet::parseString(WebCore::String
const&, bool) (CSSStyleSheet.cpp:164)
==1011==    by 0x46DC249: WebCore::parseUASheet(WebCore::String const&)
(CSSStyleSelector.cpp:485)
==1011==    by 0x46DC286: WebCore::parseUASheet(char const*, unsigned)
(CSSStyleSelector.cpp:491)
==1011==    by 0x46DD502: WebCore::loadSimpleDefaultStyle()
(CSSStyleSelector.cpp:530)
==1011==    by 0x46DE2EE:
WebCore::CSSStyleSelector::CSSStyleSelector(WebCore::Document*, WebCore::String
const&, WebCore::StyleSheetList*, WebCore::CSSStyleSheet*, bool, bool)
(CSSStyleSelector.cpp:405)
==1011==  Address 0x78552d0 is 0 bytes inside a block of size 16 alloc'd
==1011==    at 0x4023294: operator new(unsigned) (vg_replace_malloc.c:224)
==1011==    by 0x4691F12: WebCore::CSSParser::createFloatingSelector()
(CSSParser.cpp:4382)
==1011==    by 0x4CEED60: cssyyparse(void*) (CSSGrammar.y:883)
==1011==    by 0x469F7E9:
WebCore::CSSParser::parseSheet(WebCore::CSSStyleSheet*, WebCore::String const&)
(CSSParser.cpp:224)
==1011==    by 0x46FC033: WebCore::CSSStyleSheet::parseString(WebCore::String
const&, bool) (CSSStyleSheet.cpp:164)
==1011==    by 0x46DC249: WebCore::parseUASheet(WebCore::String const&)
(CSSStyleSelector.cpp:485)
==1011==    by 0x46DC286: WebCore::parseUASheet(char const*, unsigned)
(CSSStyleSelector.cpp:491)
==1011==    by 0x46DD502: WebCore::loadSimpleDefaultStyle()
(CSSStyleSelector.cpp:530)
==1011==    by 0x46DE2EE:
WebCore::CSSStyleSelector::CSSStyleSelector(WebCore::Document*, WebCore::String
const&, WebCore::StyleSheetList*, WebCore::CSSStyleSheet*, bool, bool)
(CSSStyleSelector.cpp:405)
==1011==    by 0x4726909: WebCore::Document::attach() (Document.cpp:1269)
==1011==    by 0x496CE6D:
WebCore::Frame::setDocument(WTF::PassRefPtr<WebCore::Document>) (Frame.cpp:264)
==1011==    by 0x4905321: WebCore::FrameLoader::begin(WebCore::KURL const&,
bool, WebCore::SecurityOrigin*) (FrameLoader.cpp:937)


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list