<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>163504</bug_id>
          
          <creation_ts>2016-10-16 11:19:14 -0700</creation_ts>
          <short_desc>[GTK] Some WebKitWebContext is always leaked</short_desc>
          <delta_ts>2017-09-21 07:07:25 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1240742</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-10-16 11:19:14 -0700</bug_when>
    <thetext>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&apos;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&apos;m tired of bugs caused by destroying stuff at exit time, and this is a GObject) or to just not track leaks of WebProcessPools.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1351180</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2017-09-21 07:07:17 -0700</bug_when>
    <thetext>Hm, I&apos;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&apos;t remember. :/ I think the problem might be a reference cycle inside WebKit somewhere.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>