[Webkit-unassigned] [Bug 24458] QWebView memory leak

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 31 06:06:40 PDT 2009


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


robert at roberthogan.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robert at roberthogan.net




------- Comment #10 from robert at roberthogan.net  2009-05-31 06:06 PDT -------
i ran valgrind against the case in comment #2 and the biggest culprit was plain
to see! The leak is from 1000 url loads.

==16523== 11,331,196 (9,702,200 direct, 1,628,996 indirect) bytes in 8,725
blocks are definitely lost in loss record 421 of 421
==16523==    at 0x40269EE: operator new(unsigned int) (vg_replace_malloc.c:224)
==16523==    by 0x474FCD3: WebCore::FontFallbackList::fontDataAt(WebCore::Font
const*, unsigned int) const (in
/home/robert/qtsdk-2009.01/qt/lib/libQtWebKit.so.4.5.0)
==16523==    by 0x45EE0F0: WebCore::Font::cachePrimaryFont() const (in
/home/robert/qtsdk-2009.01/qt/lib/libQtWebKit.so.4.5.0)
==16523==    by 0x45EE137: WebCore::Font::ascent() const (in
/home/robert/qtsdk-2009.01/qt/lib/libQtWebKit.so.4.5.0)
==16523==    by 0x46A1B01: WebCore::RenderListMarker::calcPrefWidths() (in
/home/robert/qtsdk-2009.01/qt/lib/libQtWebKit.so.4.5.0)
==16523==    by 0x469E550: WebCore::RenderListItem::updateMarkerLocation() (in
/home/robert/qtsdk-2009.01/qt/lib/libQtWebKit.so.4.5.0)
==16523==    by 0x469E611: WebCore::RenderListItem::calcPrefWidths() (in
/home/robert/qtsdk-2009.01/qt/lib/libQtWebKit.so.4.5.0)
==16523==    by 0x466BEFA: WebCore::RenderBox::minPrefWidth() const (in
/home/robert/qtsdk-2009.01/qt/lib/libQtWebKit.so.4.5.0)
==16523==    by 0x46598CD: WebCore::RenderBlock::calcBlockPrefWidths() (in
/home/robert/qtsdk-2009.01/qt/lib/libQtWebKit.so.4.5.0)
==16523==    by 0x4665859: WebCore::RenderBlock::calcPrefWidths() (in
/home/robert/qtsdk-2009.01/qt/lib/libQtWebKit.so.4.5.0)
==16523==    by 0x466BEFA: WebCore::RenderBox::minPrefWidth() const (in
/home/robert/qtsdk-2009.01/qt/lib/libQtWebKit.so.4.5.0)
==16523==    by 0x46598CD: WebCore::RenderBlock::calcBlockPrefWidths() (in
/home/robert/qtsdk-2009.01/qt/lib/libQtWebKit.so.4.5.0)
==16523==
==16523== LEAK SUMMARY:
==16523==    definitely lost: 9,706,770 bytes in 8,752 blocks.
==16523==    indirectly lost: 2,240,423 bytes in 19,186 blocks.
==16523==      possibly lost: 117,083 bytes in 88 blocks.
==16523==    still reachable: 2,951,274 bytes in 18,305 blocks.
==16523==         suppressed: 0 bytes in 0 blocks.


-- 
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