[webkit-gtk] Memory leaks creating and removing webviews

Sergio Villar Senin svillar at igalia.com
Fri Jun 14 01:35:11 PDT 2013


En 14/06/13 10:29, Brian Holt escribiu:
>> I am not saying that there are no leaks, but it's better to use tools like
> valgrind as it can properly point to the sources of potential memory leaks.
> 
> I've just finished running all the LayoutTests (30K+) with the
> DumpRenderTree under valgrind
> (https://bugs.webkit.org/show_bug.cgi?id=116317) and the good news is that
> there are only a few leaks in WK Gtk, mostly one-off leaks in external
> libraries like enchant, fontconfig, GL etc.

Cool

> Also, running a page making XMLHttpRequests on the DRT under valgrind shows
> that there are no "leaks" in the sense that memory is no longer available.
> What is far more likely is that the references are being held in some
> structure (HashTable?) and upon exit are properly freed.  

This is interesting, maybe it's just a matter of bad refcounting. Will
try to take a look at it.

BR


More information about the webkit-gtk mailing list