[Webkit-unassigned] [Bug 25930] New: Mismatched free
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 21 07:00:06 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=25930
Summary: Mismatched free
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: webkit at dpinol.com
valgrind reports free is called where delete[] should be called.
Not sure if bug is at CSS or WTF
WebKit-r43887/WebKit/qt/tests/qwebpage> valgrind --track-origins=yes
./tst_qwebpage
=8572== Mismatched free() / delete / delete []
==8572== at 0x4023E5A: free (vg_replace_malloc.c:323)
==8572== by 0x42FD0D5: WTF::fastFree(void*) (FastMalloc.cpp:216)
==8572== by 0x43DA8B8:
WebCore::CSSSelectorList::adoptSelectorVector(WTF::Vector<WebCore::CSSSelector*,
0u>&) (CSSSelectorList.cpp:57)
==8572== by 0x43C4F8E:
WebCore::CSSStyleRule::adoptSelectorVector(WTF::Vector<WebCore::CSSSelector*,
0u>&) (CSSStyleRule.h:53)
==8572== by 0x43C213E:
WebCore::CSSParser::createStyleRule(WTF::Vector<WebCore::CSSSelector*, 0u>*)
(CSSParser.cpp:4547)
==8572== by 0x4C85EEF: cssyyparse(void*) (CSSGrammar.y:790)
==8572== by 0x43ACAAB:
WebCore::CSSParser::parseSheet(WebCore::CSSStyleSheet*, WebCore::String const&)
(CSSParser.cpp:224)
==8572== by 0x441761E: WebCore::CSSStyleSheet::parseString(WebCore::String
const&, bool) (CSSStyleSheet.cpp:164)
==8572== by 0x43DFE14: WebCore::parseUASheet(WebCore::String const&)
(CSSStyleSelector.cpp:489)
==8572== by 0x43DFE51: WebCore::parseUASheet(char const*, unsigned int)
(CSSStyleSelector.cpp:495)
==8572== by 0x43E02EB: WebCore::loadSimpleDefaultStyle()
(CSSStyleSelector.cpp:534)
==8572== by 0x43DEEEB:
WebCore::CSSStyleSelector::CSSStyleSelector(WebCore::Document*, WebCore::String
const&, WebCore::StyleSheetList*, WebCore::CSSStyleSheet*, bool, bool)
(CSSStyleSelector.cpp:409)
==8572== by 0x4439BEF: WebCore::Document::attach() (Document.cpp:1271)
==8572== by 0x4689111:
WebCore::Frame::setDocument(WTF::PassRefPtr<WebCore::Document>) (Frame.cpp:245)
==8572== by 0x4606CA7: WebCore::FrameLoader::begin(WebCore::KURL const&,
bool, WebCore::SecurityOrigin*) (FrameLoader.cpp:938)
==8572== Address 0x6c8c348 is 0 bytes inside a block of size 16 alloc'd
==8572== at 0x4024A4E: operator new(unsigned int) (vg_replace_malloc.c:224)
==8572== by 0x43C1333: WebCore::CSSParser::createFloatingSelector()
(CSSParser.cpp:4382)
==8572== by 0x4C86343: cssyyparse(void*) (CSSGrammar.y:881)
==8572== by 0x43ACAAB:
WebCore::CSSParser::parseSheet(WebCore::CSSStyleSheet*, WebCore::String const&)
(CSSParser.cpp:224)
==8572== by 0x441761E: WebCore::CSSStyleSheet::parseString(WebCore::String
const&, bool) (CSSStyleSheet.cpp:164)
==8572== by 0x43DFE14: WebCore::parseUASheet(WebCore::String const&)
(CSSStyleSelector.cpp:489)
==8572== by 0x43DFE51: WebCore::parseUASheet(char const*, unsigned int)
(CSSStyleSelector.cpp:495)
==8572== by 0x43E02EB: WebCore::loadSimpleDefaultStyle()
(CSSStyleSelector.cpp:534)
==8572== by 0x43DEEEB:
WebCore::CSSStyleSelector::CSSStyleSelector(WebCore::Document*, WebCore::String
const&, WebCore::StyleSheetList*, WebCore::CSSStyleSheet*, bool, bool)
(CSSStyleSelector.cpp:409)
==8572== by 0x4439BEF: WebCore::Document::attach() (Document.cpp:1271)
==8572== by 0x4689111:
WebCore::Frame::setDocument(WTF::PassRefPtr<WebCore::Document>) (Frame.cpp:245)
==8572== by 0x4606CA7: WebCore::FrameLoader::begin(WebCore::KURL const&,
bool, WebCore::SecurityOrigin*) (FrameLoader.cpp:938)
==8572== by 0x4603631: WebCore::FrameLoader::init() (FrameLoader.cpp:292)
==8572== by 0x4688E02: WebCore::Frame::init() (Frame.cpp:189)
==8572== by 0x486B5A7: QWebFramePrivate::init(QWebFrame*, WebCore::Page*,
QWebFrameData*) (qwebframe.cpp:130)
--
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