Memory leak related to tdf#93392

Dennis Francis dennisfrancis.in at gmail.com
Thu Aug 20 11:01:08 PDT 2015


On Thu, Aug 20, 2015 at 3:44 PM, Dennis Francis <dennisfrancis.in at gmail.com>
wrote:
>
> Hi
>
> I ran valgrind on soffice built on master and I am investigating the
trace posted at http://pastebin.ca/3117264
>
> It seems to suggest that not all objects of type SvpGcpHelper are
deallocated.
> The SvpGcpHelper objects are deleted directly by
SvpGlyphPeer::RemovingGlyph.
> This function is getting called by GlyphCache::RemovingGlyph, which in
turn is called by
> ServerFont::GarbageCollect.
>
> GlyphCache::GarbageCollect calls ServerFont::GarbageCollect. But does not
look like GarbageCollect()'s clears _all_ SvpGcpHelper objects.
>
> Should not SvpGcpHelper objects be cleaned up completely in one of the
destructors ? If so could someone please point to the object whose
destructor should be deleting all remaining SvpGcpHelper objects ?
>


I have submitted a patch at https://gerrit.libreoffice.org/#/c/17880/
regarding this.

Thanks,
Dennis

http://www.ldcs.co.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150820/2ae60257/attachment.html>


More information about the LibreOffice mailing list