WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 22834
Bug 23473
[GTK] Mismatched free() / delete / delete []
https://bugs.webkit.org/show_bug.cgi?id=23473
Summary
[GTK] Mismatched free() / delete / delete []
Louis JANG
Reported
2009-01-22 00:27:11 PST
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)
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2009-01-22 14:29:26 PST
Why is this tagged as being a GTK-only bug? I don't see anything in the stack trace to imply that it is.
Craig Schlenter
Comment 2
2009-01-23 00:10:51 PST
See
bug 22834
.. I think it's the same thing.
Tony Chang
Comment 3
2009-02-27 14:12:04 PST
*** This bug has been marked as a duplicate of
22834
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug