[webkit-dev] [WIP][GTK] Memory leak detection

Brian Holt brian.holt at samsung.com
Tue May 21 03:25:02 PDT 2013

Hi Rego, 

Thanks for the link to the wiki, there are some very interesting additional
valgrind options that we could use. 

The goal of this work would be to automate the process so that we could link
it in to the buildbot at some point.

I'll definitely update the wiki when the patch is accepted.


-----Original Message-----
From: webkit-dev-bounces at lists.webkit.org
[mailto:webkit-dev-bounces at lists.webkit.org] On Behalf Of Manuel Rego
Sent: 21 May 2013 08:28
To: webkit-dev at lists.webkit.org
Cc: Eduardo Lima Mitev
Subject: Re: [webkit-dev] [WIP][GTK] Memory leak detection

Hi Brian,

On 05/20/2013 04:48 PM, Brian Holt wrote:
> Memory leak detection is a recurrent topic on this mailing list [1-5] 
> but at present there exists only support for the Mac leaks tool[6].  
> The de facto standard for memory checking and leak detection for Unix 
> is Valgrind and the goal of this work is to launch the DRT under 
> Valgrind to generate a xml file with details of leaks found, and then 
> to parse this file and display this information.

My mate Edu Lima has recently added documentation about how to use valgrind
to find memory leaks in WebKitGTK+ using MiniBrowser:

> This work is being tracked under
> https://bugs.webkit.org/show_bug.cgi?id=116317.
> This is a work in progress, but as a first attempt leak checking can 
> be done using the existing run-webkit-tests script as follows:
> $ Tools/Scripts/run-webkit-tests --gtk --leak --wrapper="valgrind"
> LayoutTests/accessibility/accessibility-node-memory-management.html

It looks nice, once this is ready we should update the wiki accordingly.

My 2 cents,
webkit-dev mailing list
webkit-dev at lists.webkit.org

More information about the webkit-dev mailing list