WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
163504
[GTK] Some WebKitWebContext is always leaked
https://bugs.webkit.org/show_bug.cgi?id=163504
Summary
[GTK] Some WebKitWebContext is always leaked
Michael Catanzaro
Reported
2016-10-16 11:19:14 PDT
We intentionally leak the default WebKitWebContext, but WebProcessPool is tracked by our leak checker so in debug builds we get a report of one leaked web context per web process. It's definitely a bug for any class tracked by leak checker to ever be leaked. We need to decide whether to free the default web context (possibly risky: I'm tired of bugs caused by destroying stuff at exit time, and this is a GObject) or to just not track leaks of WebProcessPools.
Attachments
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2017-09-21 07:07:17 PDT
Hm, I'm not sure about this anymore. I remember at some point debugging the problem and discovering that the default WebKitWebContext is never created by Epiphany. I wonder where I posted my analysis of that; I don't remember. :/ I think the problem might be a reference cycle inside WebKit somewhere.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug