[webkit-gtk] [JSCore] Tracing down memory leaks

Sergio Villar Senin svillar at igalia.com
Fri Feb 1 01:12:07 PST 2013

En 29/01/13 15:08, Sven Schwedas escribiu:
> Hi all,
> I'm having a problem with memory leaks in a webkit app I wrote, to
> be more precise with native objects exposed via JSCore.
> Here is a test case (a modified GtkLauncher main.c , new code
> wrapped in "Test code" comments): 
> http://up.tao.at/download/12d29a2bd46cb74294007174bb20a44a/main.c
> And a test page: 
> http://up.tao.at/download/c8be9cbf4e4a3a46f8132bdc220702c3/dbustest.html
>  Somehow, the _js_dbus_call method is leaking memory with every
> call and I cannot determine where – valgrinding GtkLauncher
> produces a lot of results, but none directly related to this
> function.
> So, how can I track this down?

How do you run valgrind? Are you using --smc-check=all ?


More information about the webkit-gtk mailing list