[Webkit-unassigned] [Bug 115586] New: [GTK] Memory leaks in WebCore::FontCache::createFontPlatformData

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 4 03:39:01 PDT 2013


           Summary: [GTK] Memory leaks in
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: elima at igalia.com

Valgrind traces show memory being lost in WebCore::FontCache::createFontPlatformData when calling FcFontMatch() and not freeing the returned FcPattern.

There are several traces with different stack paths, but all end with this pattern:

==28564== 1,424 (512 direct, 912 indirect) bytes in 1 blocks are definitely lost in loss record 6,376 of 6,599
==28564==    at 0x4C28CCE: realloc (vg_replace_malloc.c:632)
==28564==    by 0x78B5A57: FcPatternObjectInsertElt (fcpat.c:358)
==28564==    by 0x78B68E7: FcPatternObjectAddWithBinding (fcpat.c:507)
==28564==    by 0x78B34B7: FcFontRenderPrepare (fcmatch.c:416)
==28564==    by 0x78B36CC: FcFontMatch (fcmatch.c:553)
==28564==    by 0x627F969: WebCore::FontCache::createFontPlatformData(WebCore::FontDescription const&, WTF::AtomicString const&) (in /opt/jhbuild/gnome3/checkout/WebKit/WebKitBuild/Release/.libs/libwebkit2gtk-3.0.so.0.21.0)

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

More information about the webkit-unassigned mailing list