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

Sven Schwedas sven.schwedas at tao.at
Tue Jan 29 06:08:47 PST 2013


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?

(And would this actually help, or are there enough unrelated memory
leaks in WebKit?)

-- 
Best regards,
Sven SCHWEDAS
Systemadministrator
TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz
sven.schwedas at tao.at | +43 (0)680 301 7167
skype: sven.schwedas | xmpp: sven.schwedas at tao.at | www.tao.at



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 729 bytes
Desc: OpenPGP digital signature
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20130129/5a5f12bd/attachment.sig>


More information about the webkit-gtk mailing list